/* ====== General Layout ====== */
.custom-main-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: stretch;
    gap: 40px;
    padding: 70px 80px;
    background: #f5f6fa;
    font-family: "Poppins", sans-serif;
}

/* ====== Left (Events Section) ====== */
.custom-event-container {
    flex: 2.5;
    background: #fff;
    border: 1px solid #e3e6ed;
    border-radius: 14px;
    padding: 30px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.05);
}

.custom-event-title {
    color: #1b2a4e;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 25px;
    border-left: 6px solid #e63946;
    padding-left: 14px;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

/* ====== Event Cards ====== */
.custom-event-section {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: flex-start;
}

.custom-event-card {
    width: 330px;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    cursor: pointer;
}

.custom-event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.08);

}

.custom-event-card img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    border-bottom: 2px solid #e63946;
}

.custom-event-content {
    padding: 20px;
}

.custom-event-card-title {
    font-size: 18px;
    font-weight: 700;
    color: #1b2a4e;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.custom-event-description {
    font-size: 15px;
    color: #444;
    line-height: 1.7;
    height: 150px;
    overflow: hidden;
}

.custom-read-more {
    color: #e63946;
    font-weight: 600;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.custom-read-more:hover {
    color: #1b2a4e;
    text-decoration: underline;
}

.custom-event-date {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    font-size: 13px;
    color: #555;
}

.custom-event-date i {
    color: #e63946;
}

/* ====== Right (Newsletter Section) ====== */
/* ====== Right (Newsletter Section) ====== */
.custom-newsletter-box {
    flex: 1;
    background: #fff;
    padding: 25px 28px;
    border-radius: 14px;
    border: 1px solid #e3e6ed;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 100%;
}

.custom-newsletter-title {
    color: #1b2a4e;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    border-left: 5px solid #e63946;
    padding-left: 10px;
    text-transform: uppercase;
}

.custom-newsletter-text {
    font-size: 15px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 20px;
}

.custom-newsletter-links {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.custom-newsletter-links li {
    margin-bottom: 12px;
    border-bottom: 1px dashed #e3e6ed;
    padding-bottom: 8px;
}

.custom-newsletter-links a {
    text-decoration: none;
    color: #1b2a4e;
    font-weight: 600;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.custom-newsletter-links a i {
    color: #e63946;
    font-size: 14px;
    transition: 0.3s ease;
}

.custom-newsletter-links a:hover {
    color: #e63946;
    transform: translateX(4px);
}

.custom-newsletter-links a:hover i {
    color: #1b2a4e;
}

/* Read More Container */
.custom-readmore-container {
    margin-top: 25px;
    text-align: center;
}

.custom-readmore-btn {
    display: inline-block;
    background: linear-gradient(135deg, #1b2a4e 0%, #253b6e 100%);
    color: #ffffff;
    padding: 10px 26px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(27, 42, 78, 0.15);
    position: relative;
    overflow: hidden;
}

.custom-readmore-btn:hover {
    background: linear-gradient(135deg, #e63946 0%, #d62839 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(230, 57, 70, 0.35);
    color: #ffffff;
}

.custom-readmore-btn::after {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transform: skewX(-25deg);
    transition: all 0.5s ease;
}

.custom-readmore-btn:hover::after {
    left: 125%;
}

/* ====== Responsive: Newsletter Box ====== */
@media (max-width: 992px) {
    .custom-main-section {
        flex-direction: column;
        padding: 40px 25px;
    }

    .custom-event-container,
    .custom-newsletter-box {
        width: 100%;
    }

    .custom-newsletter-box {
        padding: 30px 20px;
        margin-top: 20px;
    }

    .custom-newsletter-title {
        font-size: 22px;
        margin-bottom: 15px;
    }

    .custom-newsletter-text {
        font-size: 14px;
        margin-bottom: 15px;
    }
}

/* Mobile Optimization */
@media (max-width: 576px) {
    .custom-main-section {
        padding: 25px 15px;
    }

    .custom-newsletter-box {
        padding: 22px 18px;
        border-radius: 10px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
    }

    .custom-newsletter-title {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .custom-newsletter-text {
        font-size: 13px;
        line-height: 1.6;
        margin-bottom: 12px;
    }

    .custom-newsletter-links a {
        font-size: 14px;
    }

    .custom-readmore-btn {
        font-size: 13px;
        padding: 8px 18px;
    }
}

/* =========================
   MAIN SECTION LAYOUT
========================= */
.placement-achievement-company-logo-section {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 40px;
    padding: 60px 70px;
    background: #f5f6fa;
    font-family: "Poppins", sans-serif;
}

.left-placement-achievement {
    flex: 2.5;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 25px;
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    color: #1b2a4e;
    border-left: 5px solid #e63946;
    padding-left: 12px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

/* =========================
   PLACEMENTS SECTION
========================= */
.placement-section,
.achievement-section {
    background: #fff;
    padding: 25px 30px;
    border-radius: 14px;
    border: 1px solid #e3e6ed;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.placement-scroll,
.achievement-scroll {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: #ccc transparent;
    scroll-behavior: smooth;
    padding-bottom: 10px;
}

.placement-scroll::-webkit-scrollbar,
.achievement-scroll::-webkit-scrollbar {
    height: 6px;
}

.placement-scroll::-webkit-scrollbar-thumb,
.achievement-scroll::-webkit-scrollbar-thumb {
    background: #c2c2c2;
    border-radius: 4px;
}

/* =========================
   PLACEMENT & ACHIEVEMENT CARD STYLE
========================= */
.placement-card,
.achievement-card {
    flex: 0 0 auto;
    background: #ffffff;
    border-radius: 14px;
    text-align: center;
    padding: 24px 6px 0px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e3e6ed;
    width: 180px;
    cursor: pointer;
}

.achievement-card {
    width: 160px;
    padding: 15px 8px;
}

.placement-card:hover,
.achievement-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

/* Circular Image */
.student-photo {
    width: 90px;
    height: 90px;
    border: 3px solid #1b2a4e;
    border-radius: 50%;
    margin: 0 auto 10px;
    overflow: hidden;
    background: #fff;
}

.student-photo img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    object-position: center;
}

/* Text Styles */
.placement-card h3,
.achievement-card h3 {
    font-size: 15px;
    font-weight: 700;
    color: #1b2a4e;
    margin-bottom: 2px;
}

.course {
    font-size: 13px;
    color: #555;
    margin-bottom: 4px;
}

.Rollno {
    font-size: 13px;
    color: #e63946;
    font-weight: 600;
    margin: 4px 0;
}

.company {
    font-size: 12px;
    color: #666;
}

.company-img {
    width: 52px;
    height: 60px;
    margin-top: 5px;
    object-fit: contain;
    margin-top: -11%;
}

/* =========================
   COMPANY LOGO SECTION
========================= */
.logo-companies {
    flex: 1.2;
    background: #fff;
    padding: 30px;
    border-radius: 14px;
    border: 1px solid #e3e6ed;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.company-logo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    align-items: center;
    justify-items: center;
}

.company-logo-grid img {
    width: 80px;
    filter: grayscale(100%);
    opacity: 0.9;
    transition: all 0.3s ease;
}

.company-logo-grid img:hover {
    filter: grayscale(0%);
    transform: scale(1.05);
    opacity: 1;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 992px) {
    .placement-achievement-company-logo-section {
        flex-direction: column;
        padding: 40px 25px;
    }

    .logo-companies {
        width: 100%;
    }

    .placement-scroll,
    .achievement-scroll {
        justify-content: center;
    }
}

/* =========================
   GALLERY SECTION
========================= */

.main-image-gallery {
    padding: 80px 60px;
    background: #f8f9fb;
    font-family: "Poppins", sans-serif;
}

.gallery-header {
    text-align: center;
    margin-bottom: 50px;
}

.gallery-title {
    font-size: 36px;
    color: #1b2a4e;
    font-weight: 700;
    margin-bottom: 10px;
}

.gallery-title i {
    color: #e63946;
    margin-right: 8px;
}

.gallery-subtext {
    color: #555;
    font-size: 16px;
    max-width: 700px;
    margin: 0 auto;
}


/* =========================
   GRID LAYOUT
========================= */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}


/* =========================
   IMAGE CARD (No Overlay)
========================= */

.gallery-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(27, 42, 78, 0.25);
}

/* Image */
.gallery-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

/* Zoom on hover */
.gallery-card:hover img {
    transform: scale(1.08);
}


/* =========================
   TEXT BELOW IMAGE
========================= */

.gallery-info {
    padding: 15px 18px;
    text-align: left;
}

.gallery-info h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1b2a4e;
    margin-bottom: 6px;
}

.gallery-info p {
    font-size: 14px;
    line-height: 1.5;
    color: #555;
}


/* =========================
   RESPONSIVE DESIGN
========================= */

@media (max-width: 768px) {
    .main-image-gallery {
        padding: 60px 25px;
    }

    .gallery-title {
        font-size: 28px;
    }

    .gallery-subtext {
        font-size: 15px;
    }

    .gallery-card img {
        height: 210px;
    }
}

@media (max-width: 480px) {
    .gallery-card img {
        height: 190px;
    }
}


/* =========================
   VIEW MORE BUTTON
========================= */

.view-more-btn {
    position: relative;
    background: linear-gradient(135deg, #e63946, #b71c1c);
    color: #ffffff;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.35);
    transition: all 0.35s ease;
    overflow: hidden;
    z-index: 1;
}

.view-more-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #1b2a4e, #e63946);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 50px;
    z-index: -1;
}

.view-more-btn:hover::before {
    opacity: 1;
}

.view-more-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(27, 42, 78, 0.4);
    color: #fff;
}

.view-more-btn i {
    margin-right: 8px;
    font-size: 16px;
    transition: transform 0.3s ease;
}

.view-more-btn:hover i {
    transform: translateY(2px);
}

.view-more-container {
    text-align: center;
    margin-top: 25px;
}


/* ========================
   YOU TUBE VIDEO GALLRY SECTION
================================ */
.youtube-section {
    background: #f8f9fc;
    padding: 80px 60px;
    text-align: center;
}

/* ==== Section Header ==== */
.section-header h2 {
    font-size: 32px;
    color: #1b2a4e;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.section-header h2 i {
    color: #e63946;
    font-size: 34px;
}

.section-header p {
    color: #555;
    font-size: 16px;
    margin-top: 8px;
}

/* ==== YouTube Grid (4 videos per row) ==== */
.youtube-container {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    justify-content: center;
}

/* ==== Individual Video Card ==== */
.single-campus-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    max-width: 280px;
    margin: 0 auto;
}

.single-campus-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(27, 42, 78, 0.25);
}

.single-campus-card iframe {
    width: 100%;
    height: 160px;
    border: none;
}

/* ==== Content ==== */
.you-tube-campus-content {
    padding: 15px 16px;
    text-align: left;
}

.you-tube-campus-content span {
    color: #e63946;
    font-size: 13px;
    font-weight: 600;
    display: block;
    margin-bottom: 6px;
}

.you-tube-campus-content h4 {
    color: #1b2a4e;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
    transition: color 0.3s ease;
}

.you-tube-campus-content h4:hover {
    color: #e63946;
}

.you-tube-campus-content p {
    color: #555;
    font-size: 13.5px;
    line-height: 1.5;
    margin-bottom: 6px;
}

.you-tube-campus-content small {
    color: #888;
    font-size: 12px;
}

/* ==== View More Button ==== */
.view-more-container {
    margin-top: 50px;
    text-align: center;
}

.view-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #e63946, #1b2a4e);
    color: #ffffff;
    text-decoration: none;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(27, 42, 78, 0.3);
    transition: all 0.35s ease;
}

.view-more-btn:hover {
    background: linear-gradient(135deg, #1b2a4e, #e63946);
    box-shadow: 0 6px 20px rgba(230, 57, 70, 0.4);
    transform: translateY(-3px);
}

.view-more-btn i {
    font-size: 15px;
    transition: transform 0.3s ease;
}

.view-more-btn:hover i {
    transform: translateX(3px);
}

/* ==== Responsive ==== */

/* 2 videos per row for tablets */
@media (max-width: 992px) {
    .youtube-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .single-campus-card {
        max-width: 100%;
    }
}

/* 1 video per row for mobiles */
@media (max-width: 576px) {
    .youtube-section {
        padding: 50px 20px;
    }

    .section-header h2 {
        font-size: 22px;
    }

    .youtube-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .single-campus-card iframe {
        height: 200px;
    }
}

/* ===== Floating Admission Button ===== */
.admission-floating-btn {
    position: fixed;
    top: 40%;
    left: 0;
    z-index: 999;
    background: #e63946;
    border-radius: 0 10px 10px 0;
    box-shadow: 0 4px 10px rgba(27, 42, 78, 0.3);
    transition: all 0.3s ease;
    overflow: hidden;
}

.admission-floating-btn a {
    display: flex;
    align-items: center;
    justify-content: center;
    writing-mode: vertical-rl;
    /* Vertical text */
    transform: rotate(180deg);
    /* Flip text to read bottom-up */
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    font-size: 15px;
    padding: 20px 10px;
    letter-spacing: 0.5px;
    text-align: center;
    transition: all 0.3s ease;
}

.admission-floating-btn:hover {
    background: #1b2a4e;
    box-shadow: 0 6px 18px rgba(230, 57, 70, 0.5);
    transform: translateX(3px);
}

/* ✅ Ensure text stays white when hovered */
.admission-floating-btn:hover a {
    color: #ffffff;
}

.admission-floating-btn a span {
    line-height: 1.2;
}

/* ===== Responsive Adjustments ===== */
@media (max-width: 768px) {
    .admission-floating-btn {
        top: auto;
        bottom: 20%;
        left: 0;
        transform: none;
    }

    .admission-floating-btn a {
        /* Keep vertical text */
        writing-mode: vertical-rl;
        transform: rotate(180deg);
        padding: 16px 8px;
        /* slightly smaller for mobile */
        font-size: 13px;
        border-radius: 0 8px 8px 0;
    }
}


/* ================= Overlay ================= */
.popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(3px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 999999;
}

/* ================= Popup Card ================= */
.admission-poster {
    width: 94%;
    max-width: 780px;
    border-radius: 16px;
    padding: 26px 28px;
    position: relative;
    overflow: hidden;

    background: linear-gradient(
        135deg,
        #ffffff 0%,
        #f0f9ff 45%,
        #e0f2fe 100%
    );

    color: #0f172a;

    box-shadow:
        0 20px 50px rgba(0,0,0,0.25),
        inset 0 0 0 1px rgba(15, 23, 42, 0.05);

    animation: popupZoom 0.4s ease;
}

@keyframes popupZoom {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Close Button */
/* ===== Fix Close Button Position ===== */
.popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;              /* always on top */
    background: #ffffff;
    border: 1px solid #e5e7eb;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    font-size: 18px;
    color: #0f172a;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.popup-close:hover {
    background: #cbd5e1;
}

/* ================= Header ================= */
.poster-top {
    margin-bottom: 8px;
}

.open-text {
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #dc2626;
    font-weight: 700;
}

.poster-title h1 {
    font-size: 40px;
    font-weight: 800;
    margin: 2px 0;
    color: #0f172a;
}

.poster-title h2 {
    font-size: 18px;
    color: #334155;
}

/* ================= Layout ================= */
.poster-body {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 26px;
    margin-top: 18px;
}

/* ================= Image ================= */
.poster-image-wrap {
    background: #ffffff;
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 10px 28px rgba(0,0,0,0.18);
}

.poster-image-wrap img {
    width: 100%;
    border-radius: 8px;
    object-fit: contain;
}

/* ================= Content ================= */
.poster-content p {
    font-size: 15px;
    line-height: 1.65;
    margin-bottom: 14px;
    color: #1e293b;
}

/* Feature Pills */
.poster-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.poster-features span {
    background: #e0f2fe;
    color: #0369a1;
    border: 1px solid #bae6fd;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
}

/* ================= Button ================= */
.poster-btn {
    display: inline-block;
    padding: 12px 36px;
    background: linear-gradient(135deg, #dc2626, #ef4444);
    color: #ffffff;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    transition: 0.25s;
}

.poster-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.25);
}

/* ================= Mobile ================= */
@media (max-width: 720px) {
    .poster-body {
        grid-template-columns: 1fr;
    }

    .poster-title h1 {
        font-size: 30px;
    }
}

/* Mobile fix */
@media (max-width: 600px) {
    .popup-close {
        top: 6px;
        right: 6px;
        width: 32px;
        height: 32px;
        font-size: 16px;
    }

    .admission-poster {
        padding-top: 50px;
        top: 39%;   /* space so close button doesn't overlap content */
    }  and style1.css m ise update kr dena
}

/* ================= Highlight Admission Heading ================= */

.poster-title {
    position: relative;
    margin-bottom: 14px;
}

/* ADMISSIONS label */
.open-text {
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 2px;
    color: #dc2626;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 4px;
}

/* OPEN text */
.poster-title h1 {
    font-size: 48px;                 /* Bigger */
    font-weight: 900;
    letter-spacing: 1px;
    line-height: 1;
    color: #0f172a;
    margin: 4px 0;
}

/* Year text */
.poster-title h2 {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #1e40af;
}

/* Accent underline */
.poster-title::after {
    content: "";
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #dc2626, #2563eb);
    display: block;
    margin-top: 8px;
    border-radius: 10px;
}

/* ================= Mobile ================= */
@media (max-width: 720px) {
    .poster-title h1 {
        font-size: 36px;
    }

    .poster-title h2 {
        font-size: 16px;
    }

    .poster-title::after {
        width: 60px;
    }
}

/* ========== Review Button ============ */
.review-btn-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

/* ===== Blinking Review Button ===== */
.review-btn {
    padding: 10px 15px;
    border-radius: 40px;
    background: linear-gradient(135deg, #1d4ed8, #f97316, #1d4ed8);
    background-size: 300% 300%;
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.3px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    animation:
        gradientShift 2s infinite linear,
        glowPulse 1.1s infinite alternate,
        softBlink 1.4s infinite;
    box-shadow:
        0 0 14px rgba(29, 78, 216, 0.9),
        0 0 26px rgba(249, 115, 22, 0.9);
    transition: transform 0.25s ease;
}

.review-btn:hover {
    transform: scale(1.12);
}

/* ✨ Shine sweep */
.review-btn::after {
    content: "";
    position: absolute;
    top: -30%;
    left: -60%;
    width: 60%;
    height: 160%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,0.6),
        transparent
    );
    animation: shineMove 2.5s infinite;
}

/* 🎨 Gradient movement */
@keyframes gradientShift {
    0%   { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

/* 💡 Glow breathing */
@keyframes glowPulse {
    from {
        box-shadow:
            0 0 10px rgba(29, 78, 216, 0.6),
            0 0 18px rgba(249, 115, 22, 0.6);
    }
    to {
        box-shadow:
            0 0 20px rgba(29, 78, 216, 1),
            0 0 36px rgba(249, 115, 22, 1);
    }
}

/* 👁 Soft blinking */
@keyframes softBlink {
    0%,100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* ✨ Shine animation */
@keyframes shineMove {
    0% { left: -60%; }
    100% { left: 140%; }
}

/* 📱 Mobile */
@media (max-width: 768px) {
    .review-btn {
        font-size: 13px;
        padding: 10px 20px;
    }
}


/* =====================================================
   REVIEWS – GLOBAL STYLES
===================================================== */

/* Section */
.reviews-section,
.home-review-section {
    padding: 70px 20px;
    background: #f8fafc;
}

/* Titles */
.section-title,
.home-review-section h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 10px;
}

.section-subtitle,
.review-subtitle {
    text-align: center;
    font-size: 15px;
    color: #475569;
    margin-bottom: 40px;
}

/* =====================================================
   GRID PAGE (review.html)
===================================================== */

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

/* =====================================================
   MARQUEE HOME SECTION
===================================================== */

.review-marquee {
    overflow: hidden;
    position: relative;
    max-width: 1200px;
    margin: auto;
}

.review-track {
    display: flex;
    gap: 20px;
    animation: scrollReviews 28s linear infinite;
}

.review-marquee:hover .review-track {
    animation-play-state: paused;
}

@keyframes scrollReviews {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* =====================================================
   REVIEW CARD
===================================================== */

.review-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 22px;
    min-width: 260px;
    max-width: 320px;
    flex-shrink: 0;

    box-shadow:
        0 10px 25px rgba(0,0,0,0.06),
        inset 0 1px 0 rgba(255,255,255,0.6);

    transition: transform 0.35s ease, box-shadow 0.35s ease;
    position: relative;
    overflow: hidden;
}

.review-card:hover {
    transform: translateY(-6px);
    box-shadow:
        0 18px 40px rgba(0,0,0,0.12);
}

/* =====================================================
   REVIEW HEADER + PROFILE
===================================================== */

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.review-profile {
    display: flex;
    align-items: center;
    gap: 12px;
}

.review-profile img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit:fill;
    /* object-fit: cover; */
    border: 2px solid #b71c1c;
    padding: 2px;
    background: #ffffff;
    box-shadow: 0 6px 14px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
}

.review-card:hover .review-profile img {
    transform: scale(1.1);
}

.profile-info {
    display: flex;
    flex-direction: column;
}

/* Name */
.review-name {
    font-weight: 700;
    font-size: 15px;
    color: #0f172a;
    line-height: 1.2;
}

/* Designation */
.review-meta {
    font-size: 12px;
    color: #64748b;
}

/* Quote icon */
.review-header i {
    color: #f59e0b;
    font-size: 20px;
}

/* =====================================================
   REVIEW BODY
===================================================== */

.review-comment {
    font-size: 14px;
    line-height: 1.6;
    color: #334155;
    margin-top: 8px;
}

/* Review image */
.review-image img {
    width: 100%;
    border-radius: 12px;
    margin-top: 10px;
    object-fit: cover;
}

/* Footer */
.review-footer {
    margin-top: 10px;
    font-size: 12px;
    color: #64748b;
    text-align: right;
}

/* No review */
.no-review {
    text-align: center;
    font-size: 15px;
    color: #64748b;
}

/* =====================================================
   BUTTON
===================================================== */

.read-review-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    margin-top: 40px;
    padding: 14px 34px;
    border-radius: 40px;

    background: linear-gradient(135deg, #2b1055, #e63946);
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;

    box-shadow:
        0 10px 25px rgba(230, 57, 70, 0.45),
        inset 0 1px 0 rgba(255,255,255,0.15);

    transition: all 0.25s ease;
}

/* Hover animation */
.read-review-btn:hover {
    transform: translateY(-2px) scale(1.04);
    box-shadow:
        0 16px 35px rgba(230, 57, 70, 0.6);
        color: white;
}

/* Arrow icon */
.read-review-btn::before {
    content: "→";
    font-size: 18px;
    transition: transform 0.3s ease;
}

.read-review-btn:hover::before {
    transform: translateX(4px);
}

/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 768px) {
    .section-title,
    .home-review-section h2 {
        font-size: 26px;
    }

    .review-card {
        min-width: 240px;
        padding: 18px;
    }

    .review-profile img {
        width: 44px;
        height: 44px;
    }

    .review-name {
        font-size: 14px;
    }
}
