/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --dark-blue: #002D44;
    --red: #B92026;
    --green: #25D366;
    --white: #ffffff;
    --light-gray: #f4f6f9;
    --text-dark: #333333;
    --text-muted: #666666;
    --font-main: 'Poppins', sans-serif;
    --font-heading: 'Montserrat', sans-serif;
    --navy: var(--dark-blue);
    --gold: #D4AF37;
    --radius-lg: 20px;
    --shadow: 0 4px 15px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.15);
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: 1252px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.main-header {
    background-color: var(--dark-blue);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.header-contact {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 14px;
    color: var(--white);
    font-size: 13px;
    font-weight: 500;
}

.header-contact a {
    color: var(--white);
    text-decoration: none;
}

.header-contact a:hover {
    text-decoration: underline;
}

.logo img {
    height: 60px;
    display: block;
}

.header-actions {
    display: flex;
    gap: 15px;
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-enquire {
    background-color: var(--red);
    color: var(--white);
}

.btn-enquire:hover {
    background-color: #9e1d22;
    color: var(--white);
    transform: translateY(-2px);
}

.btn-gold {
    background: linear-gradient(135deg, #FFD700 0%, #D4AF37 100%);
    color: var(--dark-blue) !important;
    border: none;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    padding: 14px 30px;
    position: relative;
    overflow: hidden;
}

.btn-gold::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: all 0.5s;
    animation: shimmer 3s infinite linear;
}

@keyframes shimmer {
    0% { left: -100%; }
    20% { left: 100%; }
    100% { left: 100%; }
}

.btn-gold:hover {
    background: linear-gradient(135deg, #28a745 0%, #218838 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
    color: var(--white) !important;
}

.btn-gold.alt {
    padding: 12px 25px;
    border-radius: 50px;
}

.icon {
    width: 20px;
    height: 20px;
    margin-right: 8px;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 80px 0;
    background: 
        radial-gradient(circle at 100% 0%, rgba(0, 45, 68, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 0% 100%, rgba(185, 32, 38, 0.05) 0%, transparent 40%),
        var(--white);
    overflow: hidden;
}

.hero .container {
    max-width: 1297px;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url('https://www.transparenttextures.com/patterns/cubes.png'); /* Subtle texture */
    opacity: 0.03;
    pointer-events: none;
}

/* Curved shapes in background */
.hero::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 60%;
    height: 120%;
    background: linear-gradient(135deg, #f0f4f8 0%, #ffffff 100%);
    clip-path: ellipse(50% 50% at 70% 50%);
    z-index: -1;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 24px;
    align-items: start;
}

.hero-content {
    max-width: 100%;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 800;
    line-height: 1.2;
    color: var(--dark-blue);
    margin-bottom: 20px;
}

.red-text {
    color: var(--red);
}

.deadline {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 30px;
}

.hero-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 50px;
}

.btn-demo {
    background-color: var(--red);
    color: var(--white);
}

.btn-call {
    background-color: #8B1A1A;
    color: var(--white);
}

.btn-download {
    background-color: var(--dark-blue);
    color: var(--white);
}

.btn-demo:hover, .btn-call:hover, .btn-download:hover {
    background: linear-gradient(135deg, #28a745 0%, #218838 100%);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.3);
}

/* Successful Placement */
.successful-placement h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 20px;
}

.placement-mini-viewport {
    overflow: hidden;
    width: 100%;
    max-width: 100%;
}

.placement-mini-track {
    display: flex;
    gap: 12px;
    width: max-content;
    animation: placementMiniScroll 22s linear infinite;
    will-change: transform;
}

.successful-placement:hover .placement-mini-track {
    animation-play-state: paused;
}

.top-placement-companies:hover .placement-mini-track {
    animation-play-state: paused;
}

@keyframes placementMiniScroll {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}

.placement-mini-card {
    width: 132px;
    background: var(--white);
    border: 1px solid rgba(0, 45, 68, 0.08);
    border-radius: 14px;
    padding: 10px;
    box-shadow: 0 6px 18px rgba(0, 45, 68, 0.06);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    flex: 0 0 132px;
}

.placement-mini-card img {
    width: 100%;
    height: 42px;
    object-fit: contain;
}

.placement-mini-card span {
    display: block;
    font-size: 11px;
    line-height: 1.2;
    font-weight: 700;
    color: var(--dark-blue);
}

.top-placement-companies {
    margin-top: 14px;
    max-width: 760px;
}

.top-placement-companies h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 10px;
}

.top-placement-track {
    animation-duration: 30s;
    gap: 10px;
}

.top-placement-companies .placement-mini-card {
    width: 104px;
    flex: 0 0 104px;
    padding: 8px 7px;
    border-radius: 12px;
}

.top-placement-companies .placement-mini-card img {
    height: 30px;
}

.top-placement-companies .placement-mini-card span {
    font-size: 8px;
    font-weight: 600;
}

.logo-strip {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.logo-strip img {
    height: 40px;
    background: var(--white);
    padding: 8px 15px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.logo-strip img:hover {
    transform: translateY(-5px);
}

.hero-logo-wrap {
    margin-top: 10px;
    padding: 4px 0 0;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.hero-logo-track {
    gap: 12px;
    animation: heroLogoScroll 24s linear infinite;
}

.hero-logo-track img {
   height: 80px;
    width: auto;
    background: var(--white);
    padding: 10px 16px;
    border-radius: 12px;
    border: 1px solid rgba(0, 45, 68, 0.08);
    box-shadow: 0 6px 18px rgba(0, 45, 68, 0.06);
    flex: 0 0 auto;
}

@keyframes heroLogoScroll {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}

/* Hero Form */
.hero-form {
    position: relative;
    justify-self: start;
    display: flex;
    justify-content: center;
    margin-left: 8px;
}

.form-card {
    background-color: var(--dark-blue);
    padding: 40px;
    border-radius: 20px;
    color: var(--white);
    position: relative;
    box-shadow: 12px 12px 0px 0px var(--red); /* The red shadow/border effect */
    max-width: 430px;
    width: 100%;
}

.form-card h2 {
    font-size: 22px;
    font-family: var(--font-heading);
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
    line-height: 1.3;
}

.form-group {
    margin-bottom: 15px;
}

.form-group input, 
.form-group select,
.form-control,
.form-select {
    width: 100%;
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid rgba(0,0,0,0.1);
    font-family: var(--font-main);
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(186, 12, 47, 0.1);
}

.form-check {
    display: flex !important;
    align-items: flex-start !important;
    gap: 12px !important;
    margin: 15px 0 !important;
    text-align: left !important;
}

.form-check-input {
    width: 1.25rem !important;
    height: 1.25rem !important;
    margin-top: 0.25rem !important;
    cursor: pointer;
    flex-shrink: 0 !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    background-color: rgba(255, 255, 255, 0.1) !important;
    border-radius: 4px !important;
    -webkit-appearance: checkbox !important;
    appearance: checkbox !important;
}

.form-check-input:checked {
    background-color: var(--red) !important;
    border-color: var(--red) !important;
}

.form-check-label {
    font-size: 13px !important;
    line-height: 1.5 !important;
    cursor: pointer;
    color: inherit;
    margin: 0 !important;
}

.subtext {
    display: block;
    font-size: 11px;
    color: #cccccc;
    margin-top: 5px;
}

.btn-submit {
    width: 100%;
    background-color: var(--red);
    color: var(--white);
    padding: 15px;
    font-size: 16px;
    margin-top: 20px;
}

/* Floating Icons */
.floating-icons {
    position: fixed;
    right: 20px;
    bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.floating-fpa {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.floating-fpa {
    background-color: var(--dark-blue);
    padding: 8px;
    color: var(--white);
}

.floating-fpa img, .floating-fpa svg {
    width: 30px;
    height: 30px;
}

.floating-icons a:hover {
    transform: scale(1.1);
}

/* Section Utility Classes */
.section-white, .mentors-section, .enquire-section, .gallery-section, .placement-companies { 
    background: var(--white); 
    padding: 80px 0; 
}
.section-light, .our-achievements, .about-cfp { 
    background: var(--light-gray); 
    padding: 80px 0; 
}
.section-grad { 
    background: linear-gradient(135deg, #f8faff 0%, #ffffff 100%); 
    padding: 80px 0; 
}

@media (max-width: 768px) {
    .section-white, .section-light, .section-grad, .gallery-section, 
    .mentors-section, .enquire-section, .our-achievements, .about-cfp,
    .placement-companies {
        padding: 50px 0;
    }
}

/* Key Highlights Section */
.key-highlights, .about-cfp {
    /* Padding now handled by section classes */
}

.section-title {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 800;
    color: var(--dark-blue);
    margin-bottom: 40px;
    text-align: left;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.highlight-card {
    background: var(--white);
    padding: 15px 30px;
    border-radius: 50px; /* Pill shape */
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); /* Glow effect */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.highlight-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.highlight-icon svg {
    width: 24px;
    height: 24px;
    display: block;
}

.highlight-card p {
    font-size: 16px;
    font-weight: 600;
    color: var(--dark-blue);
    margin: 0;
}

/* About CFP Section */
.about-cfp {
    /* Padding now handled by section classes */
}

.about-list {
    list-style: none;
    padding: 0;
}

.about-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    font-size: 17px;
    color: var(--dark-blue);
    font-weight: 500;
}

.about-list li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: var(--dark-blue);
}

/* Why Choose FPA Section */
.why-choose-fpa {
    /* Padding now handled by section classes */
}

.choose-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.red-icon {
    background: rgba(185, 32, 38, 0.1);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.red-icon svg {
    width: 24px;
    height: 24px;
}

/* Our Achievements Section */
.our-achievements {
    /* Padding now handled by section classes */
}

.achievements-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.awards-grid, .stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.award-card, .stat-card {
    background: var(--white);
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.award-card:hover, .stat-card:hover {
    transform: translateY(-5px);
}

.award-icon svg {
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
}

.award-card p {
    font-size: 15px;
    font-weight: 600;
    color: var(--dark-blue);
    line-height: 1.4;
}

.stat-card h3 {
    font-size: 36px;
    font-weight: 800;
    color: var(--red);
    margin-bottom: 10px;
}

.stat-card p {
    font-size: 16px;
    font-weight: 600;
    color: var(--dark-blue);
}

@media (max-width: 1200px) {
    .choose-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .achievements-inner {
        grid-template-columns: 1fr;
    }
}

/* Our Mentors Section */
.our-mentors {
    /* Padding now handled by section classes */
}

.section-subtitle {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    font-size: 18px;
    color: var(--dark-blue);
    line-height: 1.6;
    font-weight: 500;
}

.mentors-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.mentor-card {
    text-align: center;
}

.mentor-photo-wrap {
    /* background-color: var(--red); */
    border-radius: 20px;
    margin-bottom: 20px;
    overflow: hidden;
    /* height: 350px; */
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

/* .mentor-photo-wrap img {
    height: 95%;
    object-fit: contain;
} */

.mentor-info h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 8px;
}

.mentor-role {
    font-size: 15px;
    font-weight: 600;
    color: var(--dark-blue);
    margin-bottom: 4px;
}

.mentor-desc {
    font-size: 14px;
    color: var(--dark-blue);
    opacity: 0.8;
}

/* Enquire Now Section */
.enquire-section {
    /* Synchronized to global standard */
    padding: 80px 0;
}

.enquire-label {
    color: var(--red);
    text-align: center;
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 18px;
}

.enquire-title {
    text-align: center;
    font-size: 48px;
    font-weight: 900;
    color: var(--dark-blue);
    margin-bottom: 40px;
}

.enquire-box {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.1);
    display: flex;
    max-width: 1248px;
    margin: 0 auto;
}

.enquire-left {
    background-color: var(--dark-blue);
    padding: 50px;
    flex: 1;
    color: var(--white);
}

.enquire-right {
    padding: 50px;
    flex: 1.2;
    background-color: var(--white);
    position: relative;
}

.deadline-pill {
    background: var(--white);
    color: var(--red);
    padding: 8px 20px;
    border-radius: 30px;
    display: inline-block;
    font-weight: 700;
    margin-bottom: 25px;
    font-size: 15px;
}

.enquire-left h3 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 30px;
}

.checkmark-list {
    list-style: none;
    padding: 0;
}

.checkmark-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 18px;
    font-size: 16px;
    font-weight: 500;
}

.checkmark-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    font-weight: 900;
    font-size: 18px;
}

.deadline-red {
    color: var(--red);
    font-weight: 700;
    margin-bottom: 15px;
    text-align: right;
}

.enquire-right h3 {
    text-align: center;
    color: var(--dark-blue);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 30px;
}

.enquire-form .form-group {
    margin-bottom: 20px;
}

.enquire-form input, .enquire-form select {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #ddd;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.enquire-form input:focus, .enquire-form select:focus {
    border-color: var(--red);
    outline: none;
    box-shadow: 0 0 0 3px rgba(185, 32, 38, 0.1);
}

.btn-submit {
    width: 100%;
    padding: 15px;
    background-color: var(--red);
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-top: 10px;
}

.btn-submit:hover {
    background-color: #a01a1f;
}

/* Syllabus & FAQ Sections */
.syllabus-section, .faq-section {
    padding: 80px 0;
    background-color: var(--white);
}

.accordion {
    max-width: 1185px;
    margin: 0 auto;
}

.accordion details {
    margin-bottom: 20px;
    border-radius: 12px;
    overflow: hidden;
    background-color: var(--dark-blue);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.accordion summary {
    padding: 20px 30px;
    color: var(--white);
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    list-style: none; /* Hide default arrow */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Custom arrow for summary */
.accordion summary::after {
    content: "";
    width: 28px;
    height: 28px;
    background-color: var(--white);
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23002D44"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.accordion details[open] summary::after {
    transform: rotate(180deg);
}

.accordion-content {
    padding: 0 30px 30px;
    color: var(--white);
}

.syllabus-list {
    list-style: none;
    padding: 0;
    margin-top: 15px;
}

.syllabus-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 12px;
    font-size: 16px;
    font-weight: 500;
}

.syllabus-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    background-color: var(--red);
    border-radius: 2px;
}

.faq-section .accordion-content p {
    font-size: 16px;
    line-height: 1.6;
    margin-top: 10px;
}

.faq-section .accordion-content a {
    color: var(--white);
    text-decoration: underline;
    font-weight: 700;
}

@media (max-width: 992px) {
    .enquire-box {
        flex-direction: column;
    }
    
    .enquire-left, .enquire-right {
        padding: 40px 30px;
    }
}

@media (max-width: 768px) {
    .enquire-title {
        font-size: 36px;
    }
}

@media (max-width: 480px) {
    .enquire-left, .enquire-right {
        padding: 30px 20px;
    }
    
    .enquire-title {
        font-size: 30px;
    }
}

/* =========================================
   MENTOR & FACULTY SECTIONS
   ========================================= */

.mentors-section {
    padding: 80px 0;
    background: linear-gradient(to bottom, #f9fafb, #ffffff);
    overflow: hidden;
}

.sec-title.center {
    text-align: center;
    margin-bottom: 15px;
}

.sec-sub.center {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    color: var(--text-dark);
}

/* Featured Mentors Grid */
.mentor-featured-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 80px;
}

/* Flip Card Styles */
.mentor-card-flip {
    perspective: 1200px;
    height: 420px;
    cursor: pointer;
    margin-bottom: 20px;
}

.mentor-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
}

.mentor-card-flip:hover .mentor-card-inner,
.mentor-card-flip:active .mentor-card-inner {
    transform: rotateY(180deg);
}

.mentor-card-front, .mentor-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    background: var(--white);
    display: flex;
    flex-direction: column;
}

.mentor-card-back {
    transform: rotateY(180deg);
    background: linear-gradient(145deg, var(--dark-blue) 0%, #1a3a6a 100%);
    color: var(--white);
    padding: 25px;
    justify-content: center;
    align-items: center;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.1);
}

.mentor-card-back h4 {
    color: var(--gold) !important;
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.mentor-credential {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 15px;
    opacity: 0.9;
}

.mentor-skills {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
    width: 100%;
}

.mentor-skills li {
    font-size: 0.85rem;
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
    opacity: 0.85;
}

.mentor-skills li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: 900;
}

/* Info Area (Front Side) */
.mentor-info {
    padding: 20px;
    text-align: center;
    background: var(--white);
}

.mentor-info h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark-blue);
    margin: 0 0 5px 0;
}

.mentor-info p {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0 0 12px 0;
    font-weight: 500;
}

.mentor-tag {
    display: inline-block;
    background: rgba(185, 32, 38, 0.1);
    color: var(--red);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Faculty Slider */
.mentor-slider-wrap {
    position: relative;
    width: 100%;
    margin-top: 40px;
}

.mentor-slider-viewport {
    overflow: hidden;
}

.mentor-slider-track {
    display: flex;
    gap: 25px;
    width: max-content;
    animation: mentorScroll 30s linear infinite;
}

.mentor-slider-wrap:hover .mentor-slider-track {
    animation-play-state: paused;
}

@keyframes mentorScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.mentor-card-static {
    flex: 0 0 280px;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mentor-card-static:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Photo Wrap */
.mentor-photo-wrap {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: #f0f2f5;
}

.mentor-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.4s ease;
}

.mentor-card-static:hover .mentor-photo {
    transform: scale(1.05);
}

/* Responsive */
@media (max-width: 1100px) {
    .mentor-featured-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .mentor-featured-row {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .mentor-card-flip {
        height: 350px;
    }

    .mentor-card-static {
        flex: 0 0 240px;
    }
}
/* =========================================
   NEW SECTIONS PREMIUM DESIGN
   ========================================= */

/* 1. Global Accreditations & CTA Banner */
.accred-scroll-wrap {
    overflow: hidden;
    width: 100%;
    padding: 30px 0;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.accred-scroll-track {
    display: flex;
    align-items: center;
    gap: 50px;
    width: max-content;
    animation: accelScroll 30s linear infinite;
    will-change: transform;
    transform: translate3d(0, 0, 0);
}

@keyframes accelScroll {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}

.accred-logo-box {
       width: 141px;
    height: 174px; 
    display: flex;
    align-items: center;
    justify-content: center;
    /* filter: grayscale(100%); */
    transition: all 0.3s ease;
}

.accred-logo-box:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

.accred-logo-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.cta-banner {
    background: linear-gradient(135deg, var(--navy) 0%, #1a3a6a 100%);
    border-radius: var(--radius-lg);
    padding: 30px 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 40px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: rgba(245, 166, 35, 0.05);
    border-radius: 50%;
}

.cta-txt {
    font-family: var(--font-h);
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
}

.cta-banner .btn-gold.alt {
    background: aliceblue;
    color: black;
    border-color: aliceblue;
}

.cta-banner .btn-gold.alt:hover {
    background: var(--white);
    color: var(--navy);
}

/* 2. Countries Placement Scrollers */
.logo-scroll-wrap {
    overflow: hidden;
    width: 100%;
    padding: 15px 0;
}

.logo-scroll-track {
    display: flex;
    align-items: center;
    gap: 20px;
    width: max-content;
    animation: flagScroll 40s linear infinite;
    will-change: transform;
    transform: translate3d(0, 0, 0);
}

.logo-scroll-track.reverse {
    animation-direction: reverse;
}

@keyframes flagScroll {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}

.country-scroll-item {
    background: var(--white);
    border: 1px solid rgba(26, 45, 90, 0.08);
    border-radius: 50px;
    padding: 10px 25px 10px 10px;
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 200px;
    box-shadow: 0 4px 15px rgba(26, 45, 90, 0.05);
    transition: all 0.3s ease;
}

.country-scroll-item:hover {
    transform: translateY(-3px);
    border-color: var(--gold);
    box-shadow: var(--shadow-lg);
}

.country-flag {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid var(--white);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.country-flag img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.country-name {
    font-family: var(--font-h);
    font-size: 15px;
    font-weight: 700;
    color: var(--navy);
}

/* 3. Placement Companies Grid */
.placement-carousel-viewport {
    overflow: hidden;
}

.placement-grid {
    display: flex;
    gap: 25px;
    margin-top: 40px;
    padding-bottom: 14px;
    width: max-content;
    animation: placementScroll 60s linear infinite;
    will-change: transform;
}

.placement-carousel-viewport:hover .placement-grid {
    animation-play-state: paused;
}

@keyframes placementScroll {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}

.placement-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 25px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border-bottom: 4px solid transparent;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    flex: 0 0 280px;
}

.placement-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-bottom-color: var(--gold);
}

.placement-student {
    margin-bottom: 20px;
}

.student-info h4 {
    font-family: var(--font-h);
    font-size: 17px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 4px;
}

.student-info p {
    font-size: 13px;
    color: var(--text-mid);
    font-weight: 600;
}

.placement-logo {
    height: 60px;
    margin: 15px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.placement-logo img {
    max-height: 100%;
    max-width: 160px;
    object-fit: contain;
}

.placement-company {
    font-family: var(--font-h);
    font-size: 14px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 20px;
}

.placement-lpa {
    display: inline-block;
    padding: 8px 24px;
    background: rgba(245, 166, 35, 0.1);
    color: #b37a13;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 800;
    border: 1px solid rgba(245, 166, 35, 0.2);
}

/* 4. Gallery Section */
.gallery-section {
    padding: 80px 0;
    /* transition to light gray handled in markup or specific class */
}

.gallery-scroll-wrap {
    overflow: hidden;
    padding: 10px 0;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
}

.gallery-scroll-track {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: galScroll 50s linear infinite;
    will-change: transform;
    transform: translate3d(0, 0, 0);
}

@keyframes galScroll {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}

.gallery-slide-img {
    width: 350px;
    height: 240px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
    cursor: pointer;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.gallery-slide-img:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

/* Responsive Overrides */
@media (max-width: 991px) {
    .header-inner {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .hero-inner {
        gap: 50px;
        text-align: center;
        display: block;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-btns {
        justify-content: center;
    }

    .logo-strip {
        justify-content: center;
    }

    .form-card {
        max-width: 100%;
        width: 100%;
        margin: 0 auto;
    }

    .top-placement-companies h3 {
        text-align: center;
    }

    .top-placement-companies .placement-mini-card {
        width: 96px;
        flex: 0 0 96px;
    }

    .hero {
        padding: 60px 0;
    }

    .hero::before,
    .hero::after {
        display: none;
    }

    .hero-inner {
        gap: 32px;
        display: block;
    }

    .hero-content {
        text-align: left;
                padding-bottom: 36px;

    }

    .hero-btns {
        justify-content: center;
        margin-bottom: 34px;
    }

    .successful-placement h3,
    .top-placement-companies h3 {
        text-align: left;
    }

    .successful-placement .placement-mini-viewport,
    .top-placement-viewport {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .successful-placement .placement-mini-viewport::-webkit-scrollbar,
    .top-placement-viewport::-webkit-scrollbar {
        display: none;
    }

    .placement-mini-track,
    .top-placement-track {
        width: max-content;
    }

    .form-card {
        max-width: 100%;
        width: 100%;
        padding: 34px 28px;
    }
}

@media (max-width: 768px) {
    .section-white, .section-light, .section-grad, .gallery-section, 
    .mentors-section, .enquire-section, .our-achievements, .about-cfp,
    .placement-companies {
        padding: 50px 0;
    }

    .section-title {
        font-size: 26px;
        text-align: center;
        margin-bottom: 30px;
    }

    .hero-title {
        font-size: 24px;
        line-height: 1.18;
        margin-bottom: 16px;
        text-align: left;
        overflow-wrap: anywhere;
    }

    .deadline {
        font-size: 16px;
    }

    .hero-btns {
        gap: 10px;
        margin-bottom: 24px;
        flex-direction: column;
        align-items: stretch;
    }

    .hero-btns .btn {
        width: 100%;
        justify-content: center;
        padding: 11px 16px;
        font-size: 13px;
    }

    .hero-form {
        margin-left: 0;
        width: 100%;
    }

    .form-card {
        padding: 24px 18px;
        border-radius: 18px;
        box-shadow: 10px 10px 0px 0px var(--red);
    }

    .form-card h2 {
        font-size: 18px;
        margin-bottom: 18px;
    }

    .form-control,
    .form-select {
        padding: 10px 12px;
        font-size: 13px;
    }

    .form-check {
        gap: 10px !important;
    }

    .form-check-label {
        font-size: 12px !important;
        line-height: 1.45;
    }

    .btn-gold {
        padding: 11px 16px;
        font-size: 13px;
    }

    .top-placement-companies {
        max-width: 100%;
        margin-top: 12px;
    }

    .top-placement-companies h3 {
        text-align: center;
        font-size: 14px;
        margin-bottom: 8px;
    }

    .top-placement-viewport {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .top-placement-viewport::-webkit-scrollbar {
        display: none;
    }

    .top-placement-track {
        width: max-content;
        animation-duration: 22s;
        gap: 8px;
    }

    .top-placement-companies .placement-mini-card {
        width: 88px;
        flex: 0 0 88px;
        padding: 6px;
    }

    .top-placement-companies .placement-mini-card span {
        font-size: 7px;
    }

    .top-placement-companies .placement-mini-card img {
        height: 28px;
    }

    .successful-placement {
        margin-bottom: 6px;
    }

    .cta-banner {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding: 30px 20px;
    }
    
    .cta-txt { font-size: 20px; }
    .gallery-slide-img { width: 280px; height: 180px; }

    /* 2. Highlights & Features */
    .highlights-grid {
        grid-template-columns: 1fr;
    }

    .choose-grid {
        grid-template-columns: 1fr;
    }

    /* 3. Achievements */
    .achievements-inner {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .awards-grid, .stats-grid {
        grid-template-columns: 1fr;
    }

    /* 4. Mentors */
    .mentors-grid {
        grid-template-columns: 1fr;
    }

    .mentor-featured-row {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .mentor-card-flip {
        width: 100%;
        max-width: 320px;
    }

    /* 5. Placement & Enquiry */
    .placement-grid {
        grid-template-columns: 1fr;
    }

    .enquire-box {
        flex-direction: column;
    }

    .enquire-left, .enquire-right {
        padding: 30px 20px;
    }

    .enquire-title {
        font-size: 32px;
    }

    /* 6. Typography Adjustments */
    .sec-sub {
        font-size: 14px;
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 42px 0;
    }

    .hero .container {
        padding-left: 14px;
        padding-right: 14px;
    }

    .hero-inner {
        gap: 24px;
        display: block;
    }

    .hero-title {
        font-size: 21px;
        line-height: 1.16;
        margin-bottom: 14px;
    }

    .hero-btns {
        margin-bottom: 20px;
    }

    .hero-btns .btn {
        padding: 10px 14px;
        font-size: 12px;
    }

    .form-card {
        padding: 20px 16px;
        border-radius: 16px;
        box-shadow: 8px 8px 0px 0px var(--red);
    }

    .form-card h2 {
        font-size: 17px;
        margin-bottom: 16px;
    }

    .form-control,
    .form-select {
        padding: 9px 11px;
        font-size: 12px;
    }

    .btn-gold {
        padding: 10px 14px;
        font-size: 12px;
    }

    .successful-placement h3,
    .top-placement-companies h3 {
        font-size: 13px;
        margin-bottom: 8px;
    }

    .top-placement-companies {
        margin-top: 10px;
    }

    .top-placement-track {
        gap: 8px;
    }

    .top-placement-companies .placement-mini-card {
        width: 84px;
        flex: 0 0 84px;
        padding: 6px;
    }

    .top-placement-companies .placement-mini-card img {
        height: 26px;
    }

    .top-placement-companies .placement-mini-card span {
        font-size: 7px;
    }

    .successful-placement {
        margin-bottom: 2px;
    }

    .hero-logo-wrap {
        margin-top: 8px;
    }

    .hero-logo-track {
        gap: 10px;
    }

    .hero-logo-track img {
        height: 32px;
        padding: 7px 11px;
        border-radius: 8px;
    }
}

/* Premium Modal Styling */
#downloadBrochure .modal-content {
    background: linear-gradient(145deg, var(--dark-blue) 0%, #1a3a6a 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    overflow: hidden;
    animation: modalSlideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

#downloadBrochure .modal-header {
    padding: 30px 30px 10px;
}

#downloadBrochure .btn-close-white {
    opacity: 0.8;
    transition: all 0.3s;
}

#downloadBrochure .btn-close-white:hover {
    transform: rotate(90deg);
    opacity: 1;
}

#downloadBrochure .form-control,
#downloadBrochure .form-select {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
    padding: 14px 18px;
    font-size: 15px;
}

#downloadBrochure .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

#downloadBrochure .form-control:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1);
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
