/* =========================================================================
   1. RESET & VARIABLES
   ========================================================================= */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* Color Palette */
    --primary: #1e3a8a; /* Deep blue */
    --primary-light: #2563eb;
    --primary-dark: #1e40af;
    --secondary: #d97706; /* Vibrant gold/amber */
    --secondary-light: #f59e0b;
    --accent: #10b981; /* Emerald green for positive items */
    
    /* Backgrounds */
    --bg-dark: #0f172a; /* Slate 900 */
    --bg-darker: #020617; /* Slate 950 */
    --bg-light: #f8fafc; /* Slate 50 */
    --bg-white: #ffffff;
    
    /* Text Colors */
    --text-main: #334155;
    --text-muted: #64748b;
    --text-light: #f1f5f9;
    --text-white: #ffffff;
    --text-gold: #fbbf24;
    
    /* Glassmorphism */
    --glass-bg: rgba(15, 23, 42, 0.6);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    
    --glass-light-bg: rgba(255, 255, 255, 0.85);
    --glass-light-border: rgba(255, 255, 255, 0.4);
    
    /* Typography */
    --font-body: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;
    
    /* Transitions */
    --transition-fast: all 0.2s ease-in-out;
    --transition-normal: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--bg-darker);
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* =========================================================================
   2. UTILITIES & LAYOUT
   ========================================================================= */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.container-sm {
    max-width: 900px;
}

.section-padding {
    padding: 6rem 0;
}

.bg-dark { background-color: var(--bg-dark); }
.bg-light { background-color: var(--bg-light); }
.text-white { color: var(--text-white) !important; }
.text-muted { color: var(--text-muted); }
.text-gold { color: var(--text-gold); }

.text-center { text-align: center; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }
.pt-3 { padding-top: 1rem; }

.flex-between {
    display: flex;
    justify-content: space-between;
}

.align-center {
    align-items: center;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: -1rem;
}

.col-md-6 {
    width: 100%;
    padding: 1rem;
}

@media (min-width: 768px) {
    .col-md-6 { width: 50%; }
}

.sub-heading {
    display: inline-block;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--secondary-light);
    margin-bottom: 1rem;
    position: relative;
    padding-left: 2rem;
}

.sub-heading::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1.25rem;
    height: 2px;
    background-color: var(--secondary-light);
}

.section-header h2 {
    font-size: 2.5rem;
}

.section-header.center .sub-heading {
    padding-left: 0;
}
.section-header.center .sub-heading::before {
    display: none;
}
.section-header p {
    color: var(--text-muted);
    font-size: 1.125rem;
}
.bg-dark .section-header h2 {
    color: var(--text-white);
}
.bg-dark .section-header p {
    color: var(--text-light);
    opacity: 0.8;
}

.highlight {
    color: var(--secondary-light);
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary-light), var(--secondary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-normal);
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--text-white);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
    color: var(--text-white);
}

.btn-outline {
    background: transparent;
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--text-white);
}

.btn-submit {
    width: 100%;
    background-color: var(--secondary);
    color: var(--text-white);
    margin-top: 1rem;
}

.btn-submit:hover {
    background-color: var(--secondary-light);
}

/* =========================================================================
   3. TOP RIBBON & HEADER
   ========================================================================= */
.top-ribbon {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-size: 0.875rem;
    padding: 0.5rem 0;
}

.ribbon-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info, .ribbon-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.contact-info a, .ribbon-links a {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    opacity: 0.9;
}

.contact-info a:hover, .ribbon-links a:hover {
    opacity: 1;
    color: var(--secondary-light);
}

.brochure-link {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
}

.main-header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition-normal);
}

.main-header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    padding: 0.5rem 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    transition: var(--transition-normal);
}

.main-header.scrolled .header-container {
    height: 70px;
}

.logo img {
    transition: var(--transition-normal);
}

.desktop-nav ul {
    display: flex;
    gap: 2rem;
}

.desktop-nav a {
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--text-white);
    position: relative;
    padding: 0.5rem 0;
}

.desktop-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition-normal);
}

.desktop-nav a:hover::after {
    width: 100%;
}
.desktop-nav a:hover {
    color: var(--primary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    font-size: 1.75rem;
    color: var(--bg-darker);
    cursor: pointer;
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    display: flex;
    justify-content: flex-end;
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-content {
    background-color: var(--bg-white);
    width: 300px;
    height: 100%;
    padding: 2rem;
    transform: translateX(100%);
    transition: var(--transition-normal);
    position: relative;
    display: flex;
    flex-direction: column;
}

.mobile-nav-overlay.active .mobile-nav-content {
    transform: translateX(0);
}

.close-menu-btn {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-main);
}

.mobile-nav-content ul {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-nav-content a {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--bg-darker);
    display: block;
}

/* =========================================================================
   4. HERO SECTION
   ========================================================================= */
.hero-section {
    position: relative;
    min-height: calc(100vh - 80px); /* Adjust based on header height */
    display: flex;
    align-items: center;
    padding: 4rem 0;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 15%;
}

.hero-bg .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(2, 6, 23, 0.9) 0%, rgba(15, 23, 42, 0.7) 50%, rgba(15, 23, 42, 0.4) 100%);
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    flex-wrap: wrap;
}

.hero-content {
    flex: 1;
    min-width: 300px;
    color: var(--text-white);
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(4px);
}

.hero-title {
    font-size: 2.3rem;
    color: var(--text-white);
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-features {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.hero-features span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    font-size: 1.125rem;
}

.hero-features i {
    color: var(--accent);
    font-size: 1.5rem;
}

/* Glass Form */
.hero-form-wrapper {
    width: 100%;
    max-width: 450px;
}

.glass-form {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    color: var(--text-white);
}

.glass-form h3 {
    color: var(--text-white);
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.glass-form p {
    opacity: 0.8;
    margin-bottom: 2rem;
    font-size: 0.875rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group input, .form-group select {
    width: 100%;
    padding: 1rem 1.25rem;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--text-white);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-fast);
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-group select option {
    background-color: var(--bg-dark);
    color: var(--text-white);
}

.form-group input:focus, .form-group select:focus {
    outline: none;
    border-color: var(--primary-light);
    background-color: rgba(255, 255, 255, 0.1);
}

/* =========================================================================
   5. TRUST BAR
   ========================================================================= */
.trust-bar {
    background-color: var(--bg-white);
    padding: 3rem 0;
    margin-top: -3rem; /* Pull up over hero */
    position: relative;
    z-index: 10;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.05);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.trust-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(37, 99, 235, 0.1);
    color: var(--primary-light);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    transition: var(--transition-normal);
}

.trust-item:hover .trust-icon {
    background-color: var(--primary-light);
    color: var(--text-white);
    transform: rotate(10deg);
}

.trust-text h4 {
    margin: 0;
    font-size: 1.5rem;
    color: var(--bg-darker);
}

.trust-text p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 500;
}

.accreditation-logo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover !important;
    background-color: var(--bg-white);
    padding: 5px; /* Creates a clean white border effect before the actual edge */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition-normal);
}

.accreditation-logo:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.1);
}

@media (max-width: 500px) {
    .accreditation-logo {
        width:80px;
        height:80px;
    }
    .logos-grid {
        gap:1rem !important;
    }
    .program-card {
        width:80%;
    }
}


/* =========================================================================
   6. PROGRAMS SECTION
   ========================================================================= */
.programs-section {
    background-color: var(--bg-white);
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.program-card {
    background-color: var(--bg-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.card-img-wrapper {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.program-card:hover .card-img-wrapper img {
    transform: scale(1.05);
}

.duration-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: var(--secondary);
    color: var(--text-white);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.875rem;
    box-shadow: 0 4px 10px rgba(217, 119, 6, 0.4);
}

.card-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.program-desc {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.program-features {
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.program-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
    color: var(--text-main);
}

.program-features i {
    color: var(--primary);
    font-size: 1.25rem;
}

.card-actions {
    display: flex;
    gap: 1rem;
}

.card-actions .btn {
    flex: 1;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
}

/* =========================================================================
   7. WHY CHOOSE US
   ========================================================================= */
.why-us-section {
    position: relative;
    overflow: hidden;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    gap: 1.25rem;
    background-color: var(--bg-white);
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    transition: var(--transition-normal);
}

.feature-item:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--text-white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    overflow: hidden;
}

.feature-icon img {
    border-radius: 12px;
}

.feature-text h4 {
    margin-bottom: 0.25rem;
    font-size: 1.125rem;
}

.feature-text p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Image Grid */
.why-us-image-grid {
    display: flex;
    gap: 1rem;
    position: relative;
}

.why-us-image-grid .grid-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.why-us-image-grid img {
    border-radius: 20px;
    object-fit: cover;
    width: 100%;
}

.why-us-image-grid .grid-col:first-child img {
    height: 100%;
    min-height: 400px;
}

.why-us-image-grid .grid-col:last-child img {
    height: 250px;
}

.experience-card {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
    color: var(--text-white);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 150px;
    box-shadow: 0 10px 30px rgba(217, 119, 6, 0.3);
}

.experience-card h3 {
    color: var(--text-white);
    font-size: 3rem;
    margin: 0;
    line-height: 1;
}

.experience-card p {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 1.125rem;
    margin-top: 0.5rem;
}

/* =========================================================================
   8. GALLERIES (Campus Life & Media)
   ========================================================================= */
/* Swiper Customizations */
.swiper {
    width: 100%;
    padding: 2rem 0 4rem !important;
}

.campus-swiper .gallery-item {
    width: 100%;
    margin: 0;
}

.testimonial-swiper {
    padding-bottom: 5rem !important;
}

.testimonial-swiper .testimonial-card {
    height: 100%;
    margin: 0;
}

/* Swiper Pagination */
.swiper-pagination-bullet {
    background: var(--secondary) !important;
    opacity: 0.3;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    width: 25px !important;
    border-radius: 5px !important;
}

/* Swiper Navigation */
.swiper-button-next, .swiper-button-prev {
    width: 50px !important;
    height: 50px !important;
    background: var(--glass-light-bg);
    border: 1px solid var(--glass-light-border);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    color: var(--primary) !important;
    transition: var(--transition-normal);
}

.swiper-button-next::after, .swiper-button-prev::after {
    font-size: 1.25rem !important;
    font-weight: 900;
}

.swiper-button-next:hover, .swiper-button-prev:hover {
    background: var(--primary);
    color: var(--white) !important;
    transform: scale(1.1);
}

.bg-dark .swiper-button-next, .bg-dark .swiper-button-prev {
    background: rgba(255,255,255,0.1);
    color: white !important;
    border-color: rgba(255,255,255,0.2);
}

.bg-dark .swiper-button-next:hover, .bg-dark .swiper-button-prev:hover {
    background: var(--secondary);
}

.gallery-scroll {
    display: none; /* Hide the old flex scroll */
}


.gallery-item {
    flex: 0 0 300px;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    cursor: pointer;
}

@media (min-width: 768px) {
    .gallery-item {
        flex: 0 0 278px;
    }
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem 1.5rem 1.5rem;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
    color: var(--text-white);
    transform: translateY(10px);
    transition: var(--transition-normal);
}

.gallery-item:hover .item-overlay {
    transform: translateY(0);
}

.item-overlay h4 {
    color: var(--text-white);
    margin: 0;
    font-size: 1.25rem;
}

.media-item {
    height: 350px;
    border: 1px solid var(--glass-border);
    transition: var(--transition-normal);
}

.media-item:hover {
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    border-color: var(--secondary-light);
}


/* =========================================================================
   9. PLACEMENTS SECTION
   ========================================================================= */
.testimonial-card {
    background-color: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2.5rem;
    color: var(--text-white);
    display: flex;
    flex-direction: column;
    transition: var(--transition-normal);
    cursor: default;
}

.testimonial-card:hover {
    border-color: var(--secondary-light);
    transform: translateY(-5px);
}


.quote-icon {
    font-size: 2.5rem;
    color: var(--secondary);
    opacity: 0.5;
    margin-bottom: 1rem;
}

.quote-text {
    font-size: 1.125rem;
    font-style: italic;
    margin-bottom: 2rem;
    flex-grow: 1;
    opacity: 0.9;
}

.alumni-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem;
}

.alumni-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--primary-light);
}

.alumni-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.alumni-details h4 {
    color: var(--text-white);
    margin: 0 0 0.25rem 0;
    font-size: 1.125rem;
}

.alumni-details span {
    display: block;
    font-size: 0.875rem;
    color: var(--text-muted);
    color: rgba(255,255,255,0.7);
}

.alumni-details .batch {
    color: var(--secondary-light);
    font-weight: 500;
    margin-top: 0.25rem;
}

/* Brands Marquee */
.brands-marquee {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.brands-track {
    display: flex;
    width: max-content;
    animation: marquee 20s linear infinite;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } 
    /* Needs JS duplication for true seamless, or double the content in HTML. 
       We will handle it in CSS by expecting duplicate content if necessary or simple loop. */
}

.brand-item {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.4);
    padding: 0 3rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: var(--transition-normal);
}

.brand-item:hover {
    color: var(--text-white);
}

/* =========================================================================
   10. FAQ SECTION
   ========================================================================= */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background-color: var(--bg-white);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    overflow: hidden;
}

.faq-header {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background-color: transparent;
    transition: var(--transition-fast);
}

.faq-header:hover {
    background-color: var(--bg-light);
}

.faq-header h4 {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--bg-darker);
    padding-right: 1rem;
}

.faq-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    background-color: var(--primary);
    color: var(--text-white);
    transform: rotate(45deg); /* Turns plus into cross */
}

.faq-body {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
}

.faq-item.active .faq-body {
    padding: 0 1.5rem 1.5rem;
    /* Max height configured via JS for smooth transition or assumed large value */
    max-height: 500px; 
}

.faq-body p {
    margin: 0;
    color: var(--text-muted);
}
.faq-body ul { list-style:disc; margin-left: 25px; }
.faq-body ol { margin-left:40px; }
/* =========================================================================
   11. FOOTER
   ========================================================================= */
.main-footer {
    background-color: var(--bg-darker);
    color: var(--text-light);
    padding-top: 5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: inline-block;
    background-color: transparent;
    padding: 0;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--text-white);
}

.social-links a:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
}

.footer-col h4 {
    color: var(--text-white);
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--secondary);
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-col a:hover {
    color: var(--secondary-light);
    padding-left: 5px;
}

.contact-list li {
    display: flex;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

.contact-list i {
    color: var(--secondary-light);
    font-size: 1.25rem;
    margin-top: 3px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-legal a {
    margin-left: 1.5rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-legal a:hover {
    color: var(--text-white);
}

@media (max-width: 768px) {
    .footer-bottom .flex-between {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* =========================================================================
   12. MOBILE SPECIFICS
   ========================================================================= */
.mobile-floating-ctas {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

@media (max-width: 991px) {
    .hide-mobile {
        display: none !important;
    }
    
    .desktop-nav, .header-actions .btn {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-bg .overlay {
        background: linear-gradient(180deg, rgba(2, 6, 23, 0.6) 0%, rgba(15, 23, 42, 0.9) 100%);
    }
    
    .why-us-image-grid {
        flex-direction: column;
        margin-top: 2rem;
    }
    
    .why-us-image-grid .grid-col:first-child img {
        height: auto;
        min-height: auto;
    }
    
    .mobile-floating-ctas {
        display: flex;
    }
    
    .float-btn {
        flex: 1;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 0.5rem;
        padding: 1rem;
        color: white;
        font-weight: 600;
        font-family: var(--font-heading);
    }
    
    .float-whatsapp {
        background-color: #25D366;
    }
    
    .float-call {
        background-color: var(--primary);
    }
    
    /* Body padding to prevent content hiding behind floating buttons */
    body {
        padding-bottom: 60px;
    }
}

/* =========================================================================
   13. ANIMATIONS
   ========================================================================= */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-content > * {
    animation: fadeIn 0.8s ease-out forwards;
}

.hero-content h1 { animation-delay: 0.2s; opacity: 0; }
.hero-content p { animation-delay: 0.4s; opacity: 0; }
.hero-content .hero-features { animation-delay: 0.6s; opacity: 0; }
.glass-form { animation: fadeIn 1s ease-out 0.8s forwards; opacity: 0; }
