/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Outfit:wght@300;400;500;600;700&display=swap');
@import url('responsive-enhancements.css');

/* Design Tokens & CSS Variables */
:root {
    --primary: #303890;          /* TAE Dark Blue */
    --secondary: #00aeef;        /* TAE Vibrant Cyan */
    --primary-dark: #222766;
    --secondary-dark: #008cc0;
    --dark-bg: #111827;          /* Premium Dark Slate */
    --light-bg: #f8fafc;         /* Slate Light */
    --card-bg: #ffffff;
    --text-main: #1e293b;        /* Slate 800 */
    --text-light: #64748b;       /* Slate 500 */
    --border-color: #e2e8f0;     /* Slate 200 */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Outfit', sans-serif;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    color: var(--text-main);
}

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

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

ul {
    list-style: none;
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 80px 0;
}

.section-bg {
    background-color: #f1f5f9;
}

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

.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }
.mb-60 { margin-bottom: 60px; }

/* Subtitle & Title Styling */
.section-subtitle {
    display: table;
    margin: 0 auto 14px auto;
    text-align: center;
    color: var(--secondary);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    position: relative;
    padding: 0 20px;
}

.section-subtitle::before,
.section-subtitle::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 16px;
    height: 2px;
    background-color: var(--secondary);
    transform: translateY(-50%);
}

.section-subtitle::before {
    left: -4px;
}

.section-subtitle::after {
    right: -4px;
}

.section-title {
    font-size: 2.25rem;
    color: var(--primary);
    margin-bottom: 16px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.section-desc {
    max-width: 640px;
    margin: 0 auto 45px auto;
    color: var(--text-light);
    font-size: 1.125rem;
    text-align: center;
}

.section-header {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
}

/* Glassmorphism Classes */
.glass {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

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

.btn-primary {
    background-color: var(--primary);
    color: #ffffff;
    box-shadow: 0 4px 14px 0 rgba(48, 56, 144, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px 0 rgba(48, 56, 144, 0.4);
}

.btn-secondary {
    background-color: var(--secondary);
    color: #ffffff;
    box-shadow: 0 4px 14px 0 rgba(0, 174, 239, 0.3);
}

.btn-secondary:hover {
    background-color: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px 0 rgba(0, 174, 239, 0.4);
}

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

.btn-outline:hover {
    background-color: var(--primary);
    color: #ffffff;
    transform: translateY(-2px);
}

.btn-white {
    background-color: #ffffff;
    color: var(--primary);
    box-shadow: var(--shadow-md);
}

.btn-white:hover {
    background-color: #f8fafc;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* 1. Top Bar */
.top-bar {
    background-color: var(--primary);
    color: #ffffff;
    padding: 10px 0;
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.top-info {
    display: flex;
    gap: 24px;
}

.top-info-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-info-item i {
    color: var(--secondary);
}

.top-socials {
    display: flex;
    gap: 16px;
}

.top-socials a {
    color: #cbd5e1;
    font-size: 1rem;
}

.top-socials a:hover {
    color: var(--secondary);
}

/* 2. Header & Main Navbar */
.main-header {
    position: sticky;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    z-index: 100;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.main-header.scrolled {
    padding: 10px 0;
    background-color: #ffffff;
    box-shadow: var(--shadow-md);
}

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

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

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 50px;
    width: auto;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 750;
    color: var(--primary);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
    height: 100%;
}

.nav-item {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 10px 0;
    position: relative;
}

.nav-link:hover, .nav-item.active .nav-link {
    color: var(--secondary);
}

.caret-icon {
    font-size: 0.75rem;
    transition: var(--transition-fast);
}

.nav-item:hover .caret-icon {
    transform: rotate(180deg);
}

/* Mega Menu Dropdowns (Edwise Style) */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    background-color: #ffffff;
    box-shadow: var(--shadow-xl);
    border-radius: 12px;
    padding: 30px;
    display: grid;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 100;
    border: 1px solid var(--border-color);
}

.nav-item:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.mega-courses {
    grid-template-columns: 2fr 1fr;
    width: 700px;
    gap: 30px;
}

.mega-countries {
    grid-template-columns: 1fr 1fr 1.2fr;
    width: 760px;
    gap: 30px;
}

.mega-col-title {
    font-size: 1.05rem;
    color: var(--primary);
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--border-color);
}

.mega-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mega-list li a {
    font-size: 0.95rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 8px;
}

.mega-list li a:hover {
    color: var(--secondary);
    padding-left: 6px;
}

.mega-list li a i {
    font-size: 0.75rem;
    color: var(--secondary);
}

/* Mega Menu Sidebar Callout Card */
.mega-callout {
    background-color: #f1f5f9;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    border: 1px dashed var(--border-color);
}

.mega-callout h4 {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 8px;
}

.mega-callout p {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 16px;
}

.mega-callout .btn {
    padding: 8px 16px;
    font-size: 0.85rem;
}

/* Nav Actions (CTA Button) */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
}

/* Mobile Sidebar (Slide-In) */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(17, 24, 39, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
}

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

.mobile-sidebar {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100vh;
    background-color: #ffffff;
    z-index: 1001;
    box-shadow: var(--shadow-xl);
    padding: 30px 24px;
    overflow-y: auto;
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.mobile-sidebar.active {
    left: 0;
}

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

.sidebar-close {
    font-size: 1.5rem;
    color: var(--text-light);
    cursor: pointer;
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-nav-item {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px;
}

.mobile-nav-link {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-nav-link.active, .mobile-nav-link:hover {
    color: var(--secondary);
}

.mobile-dropdown {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding-left: 15px;
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mobile-dropdown.active {
    max-height: 500px; /* arbitrary height to slide down */
}

.mobile-dropdown a {
    font-size: 0.95rem;
    color: var(--text-light);
    display: block;
    padding: 4px 0;
}

.mobile-sidebar-cta {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* 3. Hero Slider Section */
.hero-slider-container {
    position: relative;
    width: 100%;
    height: calc(100vh - 120px);
    min-height: 550px;
    overflow: hidden;
    background-color: var(--primary);
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
    display: flex;
    align-items: center;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.hero-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: brightness(0.4);
    transform: scale(1.1);
    transition: transform 8s ease;
}

.hero-slide.active .hero-slide-bg {
    transform: scale(1);
}

.hero-content {
    position: relative;
    z-index: 5;
    color: #ffffff;
    max-width: 720px;
}

.hero-tag {
    display: inline-block;
    background-color: var(--secondary);
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 6px 16px;
    border-radius: 9999px;
    margin-bottom: 20px;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s ease 0.3s;
}

.hero-slide.active .hero-tag {
    transform: translateY(0);
    opacity: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 20px;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.5s ease 0.5s;
}

.hero-slide.active .hero-title {
    transform: translateY(0);
    opacity: 1;
}

.hero-title span {
    color: var(--secondary);
}

.hero-para {
    font-size: 1.15rem;
    color: #e2e8f0;
    margin-bottom: 35px;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.5s ease 0.7s;
}

.hero-slide.active .hero-para {
    transform: translateY(0);
    opacity: 1;
}

.hero-btns {
    display: flex;
    gap: 16px;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.5s ease 0.9s;
}

.hero-slide.active .hero-btns {
    transform: translateY(0);
    opacity: 1;
}

/* Slider Controls */
.slider-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #ffffff;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition-normal);
}

.slider-control:hover {
    background-color: var(--secondary);
    border-color: var(--secondary);
    color: #ffffff;
}

.slider-prev { left: 30px; }
.slider-next { right: 30px; }

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--transition-normal);
}

.slider-dot.active {
    background-color: var(--secondary);
    width: 30px;
    border-radius: 9999px;
}

/* 4. Stat Counter Section */
.counter-section {
    background-color: var(--primary);
    color: #ffffff;
    padding: 50px 0;
    position: relative;
    z-index: 10;
}

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

.counter-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 10px 20px;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.counter-card:last-child {
    border-right: none;
}

.counter-icon {
    font-size: 2.5rem;
    color: var(--secondary);
}

.counter-info {
    display: flex;
    flex-direction: column;
}

.counter-number {
    font-size: 2.25rem;
    font-weight: 800;
    font-family: var(--font-heading);
}

.counter-label {
    font-size: 0.9rem;
    color: #cbd5e1;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* 5. About Section Split */
.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.about-left {
    display: flex;
    flex-direction: column;
}

.about-desc {
    color: var(--text-light);
    font-size: 1.05rem;
    margin-bottom: 24px;
    text-align: justify;
}

.about-bullets {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 10px;
}

.about-bullet-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.about-bullet-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: rgba(0, 174, 239, 0.15);
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.about-bullet-text {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-main);
}

.about-right {
    position: relative;
}

.about-img-frame {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about-img-frame::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(48, 56, 144, 0.2), rgba(0, 174, 239, 0.2));
}

.about-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background-color: var(--secondary);
    color: #ffffff;
    padding: 20px 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 2px solid #ffffff;
}

.about-badge-num {
    font-size: 2.25rem;
    font-weight: 800;
    font-family: var(--font-heading);
    line-height: 1;
}

.about-badge-lbl {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

/* 6. Why Choose Us / Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 35px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-normal);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    background-color: rgba(48, 56, 144, 0.08);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 24px auto;
    transition: var(--transition-normal);
}

.feature-card:hover .feature-icon-wrapper {
    background-color: var(--primary);
    color: #ffffff;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Testimonials Section Styling */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    background-color: #ffffff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: left;
    position: relative;
}

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

.testimonial-quote {
    font-size: 2rem;
    color: rgba(48, 56, 144, 0.15);
    margin-bottom: 15px;
}

.testimonial-text {
    font-size: 0.95rem;
    color: var(--text-main);
    line-height: 1.6;
    font-style: italic;
    margin-bottom: 25px;
}

.testimonial-user {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.testimonial-info h4 {
    font-size: 1rem;
    color: var(--text-main);
    margin-bottom: 4px;
    font-weight: 600;
}

.testimonial-info span {
    font-size: 0.8rem;
    color: var(--text-light);
}

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

@media (max-width: 600px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

/* 7. Redesigned Tabs / Destinations Section */
.dest-tabs-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tabs-nav {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
    background-color: #e2e8f0;
    padding: 6px;
    border-radius: 9999px;
}

.tab-btn {
    padding: 10px 24px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 9999px;
    cursor: pointer;
    border: none;
    background-color: transparent;
    color: var(--text-light);
    transition: var(--transition-normal);
}

.tab-btn.active {
    background-color: var(--primary);
    color: #ffffff;
    box-shadow: var(--shadow-md);
}

.tab-content-panel {
    display: none;
    width: 100%;
}

.tab-content-panel.active {
    display: block;
    animation: fadeIn 0.5s ease-out;
}

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

.country-card {
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: var(--transition-normal);
}

.country-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.country-img-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.country-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-normal);
}

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

.country-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--secondary);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 9999px;
    text-transform: uppercase;
}

.country-body {
    padding: 24px;
}

.country-body h3 {
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 12px;
}

.country-body p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.country-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
}

.country-feature {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 500;
}

.country-feature i {
    color: var(--secondary);
}

.country-link {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 4px;
}

.country-link:hover {
    color: var(--secondary);
}

/* 8. Split Form & Contact Section (Edwise style) */
.contact-section-split {
    background-color: var(--primary-dark);
    color: #ffffff;
    padding: 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.contact-split-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
}

.contact-split-left {
    background-color: var(--primary);
    padding: 60px 48px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 40px;
}

.contact-left-info h2 {
    font-size: 2.25rem;
    color: #ffffff;
    margin-bottom: 16px;
}

.contact-left-info p {
    color: #cbd5e1;
    font-size: 1rem;
    line-height: 1.7;
}

.contact-channels {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.channel-card {
    display: flex;
    align-items: center;
    gap: 16px;
}

.channel-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.channel-details h4 {
    font-size: 0.9rem;
    color: #cbd5e1;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 2px;
}

.channel-details p a {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
}

.channel-details p a:hover {
    color: var(--secondary);
}

.contact-split-right {
    padding: 60px 48px;
    background-color: rgba(255, 255, 255, 0.03);
}

.contact-form-title {
    font-size: 1.75rem;
    color: #ffffff;
    margin-bottom: 24px;
}

.contact-form-title span {
    color: var(--secondary);
}

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

.form-col-full {
    grid-column: span 2;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #cbd5e1;
}

.form-input, .form-select {
    width: 100%;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background-color: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-normal);
}

.form-input:focus, .form-select:focus {
    border-color: var(--secondary);
    background-color: rgba(255, 255, 255, 0.15);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 174, 239, 0.2);
}

.form-select option {
    background-color: var(--primary-dark);
    color: #ffffff;
}

.form-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 10px;
}

.form-checkbox {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    accent-color: var(--secondary);
    margin-top: 2px;
    cursor: pointer;
}

.form-consent label {
    font-size: 0.8rem;
    color: #cbd5e1;
    line-height: 1.4;
    cursor: pointer;
}

/* 9. Partner Logo Ticker (Horizontal Infinite Loop) */
.partners-ticker-section {
    background-color: #ffffff;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 40px 0;
    overflow: hidden;
}

.partners-slider {
    display: flex;
    width: max-content;
    align-items: center;
    gap: 80px;
    animation: scroll 25s linear infinite;
}

.partner-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    width: 150px;
}

.partner-logo-item img {
    height: 100%;
    width: auto;
    object-fit: contain;
    filter: grayscale(1) opacity(0.6);
    transition: var(--transition-normal);
}

.partner-logo-item img:hover {
    filter: grayscale(0) opacity(1);
}

/* Ticker Animation Keyframe */
@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50%)); }
}

/* 10. Footer Styling */
.main-footer {
    background-color: var(--dark-bg);
    color: #94a3b8;
    padding-top: 80px;
    padding-bottom: 30px;
    border-top: 4px solid var(--secondary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col-about img {
    height: 60px;
    margin-bottom: 20px;
}

.footer-about-text {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 24px;
}

.footer-social-links {
    display: flex;
    gap: 12px;
}

.footer-social-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    color: #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    transition: var(--transition-normal);
}

.footer-social-btn:hover {
    background-color: var(--secondary);
    color: #ffffff;
    transform: translateY(-3px);
}

.footer-col-title {
    font-size: 1.15rem;
    color: #ffffff;
    margin-bottom: 24px;
    font-weight: 700;
}

.footer-links-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links-list li a {
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links-list li a:hover {
    color: var(--secondary);
    padding-left: 6px;
}

.footer-links-list li a i {
    font-size: 0.75rem;
    color: var(--secondary);
}

.footer-contact-address {
    font-style: normal;
    display: flex;
    flex-direction: column;
    gap: 16px;
    font-size: 0.9rem;
}

.footer-contact-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.footer-contact-item i {
    color: var(--secondary);
    font-size: 1.1rem;
    margin-top: 3px;
}

.footer-contact-item h5 {
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.footer-contact-item p a:hover {
    color: var(--secondary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 30px;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

.footer-designer a {
    font-weight: 600;
    color: #ffffff;
}

.footer-designer a:hover {
    color: var(--secondary);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .mega-countries {
        width: 680px;
    }
}

@media (max-width: 992px) {
    .section {
        padding: 60px 0;
    }
    
    .nav-menu, .nav-actions .btn {
        display: none;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .hero-slider-container {
        height: 600px;
    }
    
    .hero-title {
        font-size: 2.75rem;
    }
    
    .counter-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .counter-card {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 20px;
    }
    
    .counter-card:nth-child(even) {
        border-right: none;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-right {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .features-grid, .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-split-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-split-left {
        padding: 50px 30px;
    }
    
    .contact-split-right {
        padding: 50px 30px;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }
    
    .section-title {
        font-size: 1.85rem;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-para {
        font-size: 1rem;
    }
    
    .features-grid, .cards-grid {
        grid-template-columns: 1fr;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .form-col-full {
        grid-column: span 1;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    
    .slider-control {
        display: none;
    }
}

@media (max-width: 480px) {
    .counter-grid {
        grid-template-columns: 1fr;
    }
    
    .about-badge {
        padding: 12px 20px;
        right: -10px;
        bottom: -10px;
    }
    
    .about-badge-num {
        font-size: 1.75rem;
    }
}

/* Edwise-Style University Cards (.univer-box) */
.univer-box {
    background-color: #ffffff;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    padding: 24px;
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.univer-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary);
}

.univer-hdr {
    display: flex;
    align-items: center;
    gap: 16px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 16px;
    margin-bottom: 16px;
}

.univer-logo-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background-color: #ffffff;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

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

.univer-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.3;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.univer-dtl {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
    flex-grow: 1;
}

.univer-dtl-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--text-main);
    font-size: 0.9rem;
}

.univer-dtl-row i {
    color: var(--secondary);
    font-size: 1rem;
    margin-top: 3px;
    flex-shrink: 0;
    width: 16px;
    text-align: center;
}

.univer-dtl-text {
    line-height: 1.4;
    color: var(--text-light);
}

.univer-dtl-text strong {
    color: var(--text-main);
}

.univer-dtl-text strong.approvals-list {
    font-size: 0.8rem;
    color: var(--secondary);
    display: inline-block;
}

.univer-footer {
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
    text-align: right;
}

.univer-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.univer-btn:hover {
    color: var(--secondary);
    transform: translateX(3px);
}

/* ==========================================================================
   11. Interactive Scholarship Dashboard & Degree Filter Styling
   ========================================================================== */
.scholarship-filter-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-bottom: 40px;
}

.sch-filter-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    background: #f1f5f9;
    padding: 8px;
    border-radius: 9999px;
    box-shadow: var(--shadow-sm);
}

.sch-filter-btn {
    padding: 10px 22px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 9999px;
    cursor: pointer;
    border: none;
    background-color: transparent;
    color: var(--text-light);
    transition: var(--transition-normal);
}

.sch-filter-btn.active, .sch-filter-btn:hover {
    background-color: var(--primary);
    color: #ffffff;
    box-shadow: var(--shadow-md);
}

.sch-card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

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

.scholarship-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.scholarship-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: var(--primary);
}

.scholarship-card.provincial::before {
    background: #059669;
}

.scholarship-card.university::before {
    background: #2563eb;
}

.scholarship-card.csc::before {
    background: #dc2626;
}

.scholarship-card.belt::before {
    background: #d97706;
}

.scholarship-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.sch-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
    gap: 12px;
}

.sch-provider-badge {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 12px;
    border-radius: 9999px;
    background: #f1f5f9;
    color: var(--text-main);
}

.sch-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 12px;
}

.degree-tags-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 18px;
}

.degree-pill {
    background: #e2e8f0;
    color: #1e293b;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 9999px;
}

.degree-pill.highlight {
    background: rgba(0, 174, 239, 0.15);
    color: var(--primary);
    border: 1px solid rgba(0, 174, 239, 0.3);
}

.sch-details-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
    font-size: 0.92rem;
    color: var(--text-light);
}

.sch-details-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.5;
}

.sch-details-list li i {
    color: var(--secondary);
    margin-top: 3px;
    flex-shrink: 0;
}

.sch-footer {
    display: flex;
    gap: 12px;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    margin-top: 10px;
}

.sch-footer .btn {
    flex: 1;
    text-align: center;
    justify-content: center;
    font-size: 0.88rem;
    padding: 10px 16px;
}

/* Universal Apply Now / Enquiry Modal */
.enquiry-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 16px;
}

.enquiry-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.enquiry-modal-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
    width: 100%;
    max-width: 620px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    padding: 28px 32px;
    transform: translateY(20px) scale(0.95);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.enquiry-modal-overlay.active .enquiry-modal-card {
    transform: translateY(0) scale(1);
}

.enquiry-modal-close {
    position: absolute;
    top: 18px;
    right: 20px;
    background: #f1f5f9;
    border: none;
    font-size: 1.6rem;
    color: #475569;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
    line-height: 1;
}

.enquiry-modal-close:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.enquiry-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(30, 58, 138, 0.08);
    color: var(--primary);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 8px;
}

.enquiry-modal-header h3 {
    font-size: 1.45rem;
    color: #0f172a;
    margin-bottom: 4px;
    font-weight: 800;
}

.enquiry-modal-header p {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 20px;
}

.enquiry-success-box {
    text-align: center;
    padding: 24px 16px;
}

.enquiry-success-box .success-icon {
    font-size: 3.2rem;
    color: #10b981;
    margin-bottom: 12px;
}

.enquiry-success-box h4 {
    font-size: 1.3rem;
    color: #0f172a;
    font-weight: 700;
    margin-bottom: 8px;
}

.enquiry-success-box p {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.6;
}

@media (max-width: 640px) {
    .enquiry-modal-card {
        padding: 20px 18px;
    }
}

/* Modal Form High-Contrast Black Text Styling */
.enquiry-modal-card .form-group label {
    color: #0f172a !important;
    font-weight: 700 !important;
    font-size: 0.88rem !important;
    margin-bottom: 6px !important;
    display: block !important;
}

.enquiry-modal-card .form-input,
.enquiry-modal-card .form-select {
    color: #0f172a !important;
    background-color: #f8fafc !important;
    border: 1.5px solid #cbd5e1 !important;
    font-size: 0.95rem !important;
    font-weight: 500 !important;
}

.enquiry-modal-card .form-input::placeholder {
    color: #64748b !important;
    opacity: 1 !important;
}

.enquiry-modal-card .form-input:focus,
.enquiry-modal-card .form-select:focus {
    background-color: #ffffff !important;
    color: #0f172a !important;
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.15) !important;
    outline: none !important;
}

.enquiry-modal-card .form-select option {
    background-color: #ffffff !important;
    color: #0f172a !important;
}

.enquiry-modal-card .form-consent label {
    color: #334155 !important;
    font-size: 0.85rem !important;
    line-height: 1.4 !important;
}

/* Running Student Life & Scholars Marquee Gallery */
.running-gallery-section {
    padding: 60px 0 70px;
    background: #f8fafc;
    overflow: hidden;
    position: relative;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.running-gallery-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 15px 0 25px;
}

/* Edge shadow gradients for soft infinite appearance */
.running-gallery-wrapper::before,
.running-gallery-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    width: 140px;
    height: 100%;
    z-index: 5;
    pointer-events: none;
}

.running-gallery-wrapper::before {
    left: 0;
    background: linear-gradient(to right, #f8fafc 15%, rgba(248, 250, 252, 0) 100%);
}

.running-gallery-wrapper::after {
    right: 0;
    background: linear-gradient(to left, #f8fafc 15%, rgba(248, 250, 252, 0) 100%);
}

.running-gallery-track {
    display: flex;
    gap: 24px;
    width: max-content;
    animation: scrollStudentMarquee 125s linear infinite;
    will-change: transform;
}

.running-gallery-wrapper:hover .running-gallery-track,
.running-gallery-track:hover {
    animation-play-state: paused;
}

.running-gallery-card {
    flex: 0 0 360px;
    width: 360px;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
    border: 1px solid #e2e8f0;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.running-gallery-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.16);
    border-color: #cbd5e1;
}

.running-card-img-wrap {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
    background-color: #f1f5f9;
}

.running-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.running-gallery-card:hover .running-card-img-wrap img {
    transform: scale(1.06);
}

.running-card-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
}

.running-card-badge i {
    color: var(--secondary);
}

.running-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.running-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
    line-height: 1.35;
}

.running-card-desc {
    font-size: 0.88rem;
    color: #64748b;
    line-height: 1.55;
    margin-bottom: 14px;
    flex-grow: 1;
}

.running-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
    font-size: 0.82rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 12px;
}

.running-card-footer span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.running-card-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 9px 16px;
    border-radius: 8px;
    background: var(--primary);
    color: #ffffff;
    text-decoration: none;
    font-size: 0.86rem;
    font-weight: 700;
    transition: var(--transition-normal);
}

.running-card-btn:hover {
    background: var(--primary-light);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.25);
}

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

@media (max-width: 768px) {
    .running-gallery-card {
        flex: 0 0 290px;
        width: 290px;
    }
    .running-card-img-wrap {
        height: 200px;
    }
    .running-gallery-wrapper::before,
    .running-gallery-wrapper::after {
        width: 40px;
    }
    .running-gallery-track {
        animation-duration: 92s;
    }
}


/* ==========================================================================
   Page Banner & Stats Ribbon Components
   ========================================================================== */
.page-banner {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    padding: 60px 0 45px 0;
    color: #0f172a;
    text-align: center;
}

.page-banner .container {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.page-banner h1,
.page-title {
    font-size: 2.75rem;
    color: #0f172a;
    margin-bottom: 12px;
    font-weight: 800;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    display: block;
    width: 100%;
}

.page-banner p {
    color: #000000;
    max-width: 720px;
    margin: 0 auto 16px auto;
    font-size: 1.05rem;
    line-height: 1.6;
    font-weight: 500;
    text-align: center;
}

.breadcrumbs {
    font-size: 0.95rem;
    color: #64748b;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.breadcrumbs a {
    color: #475569;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.breadcrumbs a:hover {
    color: var(--primary, #1e3a8a);
}

.breadcrumbs span {
    color: var(--secondary, #0284c7);
    font-weight: 600;
}

/* Stats Ribbon Component */
.stats-ribbon {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    padding: 24px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

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

.stat-item h4 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary, #1e3a8a);
    margin: 0;
}

.stat-item p {
    font-size: 0.88rem;
    color: #475569;
    margin: 6px 0 0 0;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (max-width: 991px) {
    .page-banner h1 {
        font-size: 2.25rem;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 640px) {
    .page-banner {
        padding: 45px 0 35px 0;
    }
    .page-banner h1 {
        font-size: 1.85rem;
    }
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
}

/* ==========================================================================
   Gallery Page Styles & Interactive Lightbox
   ========================================================================== */
.gallery-section {
    padding: 60px 0 90px 0;
    background-color: #f8fafc;
}

.gallery-filter-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 45px;
}

.gallery-filter-btn {
    padding: 10px 22px;
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: 600;
    font-family: var(--font-body);
    background: #ffffff;
    color: var(--text-dark);
    border: 1px solid #cbd5e1;
    cursor: pointer;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.gallery-filter-btn:hover {
    background: #f1f5f9;
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.gallery-filter-btn.active {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 4px 14px rgba(30, 58, 138, 0.25);
}

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

.gallery-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    transition: transform 0.35s ease, box-shadow 0.35s ease, opacity 0.3s ease;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.gallery-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.1);
}

.gallery-thumb-wrap {
    position: relative;
    height: 240px;
    overflow: hidden;
    background: #0f172a;
}

.gallery-thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.gallery-card:hover .gallery-thumb-wrap img {
    transform: scale(1.07);
}

.gallery-zoom-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.gallery-card:hover .gallery-zoom-overlay {
    opacity: 1;
}

.gallery-zoom-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.gallery-card:hover .gallery-zoom-icon {
    transform: scale(1);
}

.gallery-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(15, 23, 42, 0.85);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 5px 12px;
    border-radius: 999px;
    backdrop-filter: blur(4px);
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.gallery-card-content {
    padding: 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.gallery-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
    line-height: 1.35;
}

.gallery-card-desc {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.55;
    margin-bottom: 16px;
    flex: 1;
}

.gallery-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #f1f5f9;
    padding-top: 12px;
    font-size: 0.8rem;
    color: #64748b;
}

.gallery-card-footer span {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Lightbox Modal */
.gallery-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(10, 15, 30, 0.95);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    backdrop-filter: blur(8px);
}

.gallery-lightbox.active {
    display: flex;
    animation: fadeInLightbox 0.25s ease;
}

@keyframes fadeInLightbox {
    from { opacity: 0; }
    to { opacity: 1; }
}

.lightbox-dialog {
    position: relative;
    max-width: 1050px;
    width: 100%;
    background: #0f172a;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    flex-direction: column;
}

.lightbox-img-stage {
    position: relative;
    width: 100%;
    max-height: 68vh;
    background: #020617;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.lightbox-img-stage img {
    max-width: 100%;
    max-height: 68vh;
    object-fit: contain;
    display: block;
}

.lightbox-caption-box {
    padding: 20px 24px;
    background: #0f172a;
    color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.lightbox-caption-text h3 {
    font-size: 1.25rem;
    color: #ffffff;
    margin-bottom: 6px;
}

.lightbox-caption-text p {
    font-size: 0.9rem;
    color: #94a3b8;
    line-height: 1.4;
    margin: 0;
}

.lightbox-counter {
    font-size: 0.85rem;
    color: #38bdf8;
    font-weight: 600;
    white-space: nowrap;
    background: rgba(56, 189, 248, 0.1);
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid rgba(56, 189, 248, 0.2);
}

.lightbox-btn-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.8);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all 0.2s ease;
    z-index: 10;
}

.lightbox-btn-close:hover {
    background: #ef4444;
    color: #ffffff;
    transform: rotate(90deg);
}

.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.8);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.2s ease;
    z-index: 10;
}

.lightbox-arrow:hover {
    background: var(--primary);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-arrow.prev { left: 16px; }
.lightbox-arrow.next { right: 16px; }

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

@media (max-width: 640px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    .gallery-thumb-wrap {
        height: 210px;
    }
    .lightbox-caption-box {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .lightbox-arrow {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }
    .lightbox-arrow.prev { left: 8px; }
    .lightbox-arrow.next { right: 8px; }
}

/* ==========================================================================
   Global Page & Section Headings Centering
   Ensures all page titles, banners, section headers, and subtitles are centered
   ========================================================================== */
.page-banner,
.page-banner .container,
.section-header,
.section-header .section-title,
.section-header .section-subtitle,
.section-header .section-desc,
.page-title,
.section-title,
.section-subtitle,
.section-desc {
    text-align: center;
}

.page-banner h1,
.page-banner p,
.page-title,
.section-title,
.section-desc,
.section-header {
    margin-left: auto;
    margin-right: auto;
}

.section-subtitle {
    display: table;
    margin: 0 auto 14px auto;
}

/* ==========================================================================
   Contact Page Components
   ========================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 40px;
    align-items: flex-start;
}

.contact-details-col {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.office-card {
    background-color: #ffffff;
    border-radius: 14px;
    padding: 28px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.office-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: #cbd5e1;
}

.office-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
    color: var(--primary);
    font-size: 1.25rem;
    font-weight: 700;
}

.office-header .icon-box {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(0, 174, 239, 0.12);
    color: var(--secondary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.office-header h3 {
    margin: 0;
    color: var(--primary);
    font-size: 1.35rem;
    font-weight: 700;
}

.office-info-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    font-size: 0.95rem;
    color: var(--text-main);
    list-style: none;
    padding: 0;
    margin: 0;
}

.office-info-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    line-height: 1.55;
}

.office-info-list li .info-icon,
.office-info-list li i {
    color: var(--secondary);
    margin-top: 3px;
    font-size: 1rem;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
}

.office-info-list li .info-icon.whatsapp {
    color: #16a34a;
}

.office-info-list li .info-icon.wechat {
    color: #07c160;
}

.office-info-list a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.office-info-list a:hover {
    color: var(--primary);
}

.contact-form-col {
    background-color: #ffffff;
    border-radius: 16px;
    padding: 36px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.form-title {
    font-size: 1.75rem;
    color: var(--primary);
    margin-bottom: 10px;
    font-weight: 700;
}

.form-desc {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 25px;
    line-height: 1.5;
}

.contact-form-col .form-input,
.contact-form-col .form-select {
    background-color: #f8fafc;
    border: 1px solid var(--border-color);
    color: var(--text-main);
    width: 100%;
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 0.92rem;
    font-family: inherit;
    transition: all 0.2s ease;
}

.contact-form-col .form-input:focus,
.contact-form-col .form-select:focus {
    background-color: #ffffff;
    border-color: var(--secondary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 174, 239, 0.15);
}

.contact-form-col label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.contact-form-col .form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.contact-form-col .form-group {
    display: flex;
    flex-direction: column;
}

.contact-form-col .form-col-full {
    grid-column: 1 / -1;
}

.contact-form-col .form-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 6px;
}

.contact-form-col .form-consent input[type="checkbox"] {
    margin-top: 4px;
    accent-color: var(--primary);
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.contact-form-col .form-consent label {
    font-size: 0.82rem;
    color: var(--text-light);
    line-height: 1.45;
    font-weight: 400;
    margin-bottom: 0;
    cursor: pointer;
}

.map-section {
    margin-top: 60px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    background: #ffffff;
}

@media (max-width: 991px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    .contact-form-col {
        padding: 28px;
    }
}

@media (max-width: 640px) {
    .contact-form-col .form-grid {
        grid-template-columns: 1fr;
    }
    .contact-form-col {
        padding: 22px 18px;
    }
    .office-card {
        padding: 22px 18px;
    }
    .map-section .map-header-bar {
        flex-direction: column;
        align-items: flex-start;
    }
}




/* ==========================================================================
   GLOBAL COURSE & PROGRAM COMPONENT STYLES
   Used across MBBS Abroad, Engineering, Medical PG, MBA, Country & Degree Pages
   ========================================================================== */

.course-layout {
    display: grid;
    grid-template-columns: 1.5fr 0.5fr;
    gap: 36px;
    align-items: start;
    margin-top: 10px;
    margin-bottom: 40px;
}

.main-content-container {
    grid-column: 1;
    min-width: 0;
}

.main-content-container .section-subtitle {
    margin: 0 0 12px 0;
    text-align: left;
    display: inline-flex;
    padding: 6px 18px;
    border-radius: 50px;
    background: rgba(48, 56, 144, 0.08);
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.main-content-container .section-title {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
    font-size: 2.1rem;
    line-height: 1.3;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 20px;
}

.main-content-container .about-desc {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
    font-size: 0.98rem;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 16px;
}

.sidebar-container {
    grid-column: 2;
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: sticky;
    top: 90px;
}

/* Data Tables */
.table-responsive {
    width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    margin: 28px 0 34px 0 !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06) !important;
    border: 1px solid #e2e8f0 !important;
    background: #ffffff !important;
    position: relative !important;
}

.table-responsive table,
.course-layout table,
.main-content-container table,
.info-table,
table.tae-data-table {
    width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    text-align: left !important;
    background-color: #ffffff !important;
    margin: 0 !important;
    border: none !important;
}

.table-responsive th,
.table-responsive td,
.course-layout table th,
.course-layout table td,
.main-content-container table th,
.main-content-container table td,
.info-table th,
.info-table td {
    padding: 15px 22px !important;
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
    border-bottom: 1px solid #e2e8f0 !important;
    font-size: 0.94rem !important;
    vertical-align: middle !important;
    line-height: 1.6 !important;
    color: #334155 !important;
}

.table-responsive th,
.course-layout table th,
.main-content-container table th,
.info-table th {
    background: #303890 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-family: 'Outfit', 'Poppins', -apple-system, sans-serif !important;
    font-size: 0.98rem !important;
    letter-spacing: 0.3px !important;
    padding: 16px 22px !important;
    vertical-align: middle !important;
    border: none !important;
}

.table-responsive thead tr:first-child th:first-child,
.course-layout table thead tr:first-child th:first-child,
.main-content-container table thead tr:first-child th:first-child,
.info-table thead tr:first-child th:first-child {
    border-top-left-radius: 11px !important;
}

.table-responsive thead tr:first-child th:last-child,
.course-layout table thead tr:first-child th:last-child,
.main-content-container table thead tr:first-child th:last-child,
.info-table thead tr:first-child th:last-child {
    border-top-right-radius: 11px !important;
}

.table-responsive th[colspan],
.course-layout table th[colspan],
.main-content-container table th[colspan],
.info-table th[colspan] {
    text-align: center !important;
    font-size: 1.08rem !important;
    letter-spacing: 0.5px !important;
    padding: 16px 20px !important;
    background: #303890 !important;
    color: #ffffff !important;
    border-top-left-radius: 11px !important;
    border-top-right-radius: 11px !important;
}

.table-responsive th:first-child,
.course-layout table th:first-child,
.main-content-container table th:first-child,
.info-table th:first-child {
    color: #ffffff !important;
    font-weight: 700 !important;
}

.table-responsive td:first-child,
.course-layout table td:first-child,
.main-content-container table td:first-child,
.info-table td:first-child {
    width: 28% !important;
    min-width: 175px !important;
    color: #303890 !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
}

.table-responsive tbody tr:nth-child(even),
.course-layout table tbody tr:nth-child(even),
.main-content-container table tbody tr:nth-child(even),
.info-table tbody tr:nth-child(even) {
    background-color: #f8fafc !important;
}

.table-responsive tbody tr:nth-child(odd),
.course-layout table tbody tr:nth-child(odd),
.main-content-container table tbody tr:nth-child(odd),
.info-table tbody tr:nth-child(odd) {
    background-color: #ffffff !important;
}

.table-responsive tbody tr:hover,
.course-layout table tbody tr:hover,
.main-content-container table tbody tr:hover,
.info-table tbody tr:hover {
    background-color: #f1f5f9 !important;
}

.table-responsive tbody tr:last-child td,
.course-layout table tbody tr:last-child td,
.main-content-container table tbody tr:last-child td,
.info-table tbody tr:last-child td {
    border-bottom: none !important;
}

.table-responsive tbody tr:last-child td:first-child,
.course-layout table tbody tr:last-child td:first-child,
.main-content-container table tbody tr:last-child td:first-child,
.info-table tbody tr:last-child td:first-child {
    border-bottom-left-radius: 11px !important;
}

.table-responsive tbody tr:last-child td:last-child,
.course-layout table tbody tr:last-child td:last-child,
.main-content-container table tbody tr:last-child td:last-child,
.info-table tbody tr:last-child td:last-child {
    border-bottom-right-radius: 11px !important;
}

/* Ensure Course Layout Content Alignment */
.main-content-container .section-subtitle,
.main-content-container span.section-subtitle {
    margin: 0 0 12px 0 !important;
    text-align: left !important;
    display: inline-flex !important;
    padding: 4px 18px !important;
}

.main-content-container .section-title,
.main-content-container h2.section-title {
    text-align: left !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    font-size: 2.15rem !important;
    line-height: 1.3 !important;
    margin-bottom: 24px !important;
}

.main-content-container .about-desc,
.main-content-container p.about-desc {
    text-align: left !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    font-size: 0.98rem !important;
    line-height: 1.75 !important;
    color: #64748b !important;
    margin-bottom: 18px !important;
}

/* Bullet Content Boxes & Cards */
.bullet-box {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 28px 30px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bullet-box:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.bullet-box h3 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-top: 0;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1.35;
    font-weight: 700;
}

.bullet-box h3 i {
    color: var(--secondary);
    font-size: 1.15rem;
    flex-shrink: 0;
}

.bullet-box p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

/* Bullet Lists */
.bullet-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.bullet-list li {
    display: block !important;
    position: relative;
    padding-left: 28px;
    font-size: 0.94rem;
    line-height: 1.6;
    color: var(--text-main);
    margin: 0;
}

.bullet-list li > i {
    position: absolute;
    left: 0;
    top: 4px;
    color: var(--secondary);
    font-size: 0.95rem;
    line-height: 1;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.bullet-list li > i.fa-circle {
    font-size: 0.52rem;
    top: 7px;
    color: var(--secondary);
}

.bullet-list li > i.fa-check,
.bullet-list li > i.fa-check-circle {
    color: #10b981;
}

.bullet-list li strong {
    color: var(--primary);
    font-weight: 600;
}

.bullet-list-content {
    display: block;
    width: 100%;
}

.bullet-list-content strong {
    color: var(--primary);
    font-weight: 600;
}

.bullet-list-desc {
    margin-top: 4px;
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.55;
}

/* Specializations & Programs Grids */
.spec-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin-top: 15px;
}

.spec-item-card {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 18px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.spec-item-card:hover {
    border-color: var(--secondary);
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.spec-item-card h4 {
    font-size: 1.02rem;
    color: var(--primary);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.spec-item-card h4 i {
    color: var(--secondary);
    font-size: 0.95rem;
}

.spec-item-card p {
    color: var(--text-light);
    font-size: 0.88rem;
    line-height: 1.5;
    margin: 0;
    flex: 1;
}

.programs-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 20px 0;
}

.scholarship-badge-item {
    background: #f8fafc;
    border-left: 4px solid var(--secondary);
    padding: 20px;
    border-radius: 0 10px 10px 0;
    margin-bottom: 18px;
    border-top: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.scholarship-badge-item h4 {
    font-size: 1.15rem;
    color: var(--primary);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}

.scholarship-badge-item .badge-pill {
    background: #ecfdf5;
    color: #059669;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    border: 1px solid #a7f3d0;
}

.scholarship-badge-item p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.55;
    margin-bottom: 12px;
}

.scholarship-badge-item ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 10px;
}

.scholarship-badge-item ul li {
    font-size: 0.88rem;
    color: var(--text-main);
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.45;
}

.scholarship-badge-item ul li i {
    color: #10b981;
    font-size: 0.85rem;
    margin-top: 3px;
    flex-shrink: 0;
}

/* Sidebar Widgets */
.sidebar-widget {
    background-color: var(--primary);
    color: #ffffff;
    padding: 26px 22px;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(48, 56, 144, 0.15);
    position: static;
}

.sidebar-widget h3 {
    font-size: 1.25rem;
    color: #ffffff;
    margin-bottom: 12px;
    font-weight: 700;
}

.sidebar-widget p {
    color: #cbd5e1;
    font-size: 0.88rem;
    margin-bottom: 20px;
    line-height: 1.55;
}

.sidebar-widget-light {
    background-color: #ffffff;
    color: var(--text-main);
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
    margin-top: 0;
    position: static;
}

.sidebar-widget-light h3 {
    color: var(--primary);
}

.sidebar-widget-light p {
    color: var(--text-light);
}

/* Responsive adjustments for Course Layout & Tables */
@media (max-width: 991px) {
    .course-layout {
        grid-template-columns: 1fr;
        gap: 40px;
        display: flex;
        flex-direction: column;
    }
    .sidebar-container {
        position: static;
        width: 100%;
    }
    .programs-summary-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .main-content-container .section-title {
        font-size: 1.7rem;
    }
    .bullet-box {
        padding: 20px 18px;
    }
    .bullet-box h3 {
        font-size: 1.15rem;
    }
    .table-responsive th,
    .table-responsive td {
        padding: 11px 14px;
        font-size: 0.88rem;
    }
    .table-responsive th:first-child,
    .table-responsive td:first-child {
        width: 35%;
    }
}


/* Checklist Component */
.checklist {
    list-style: none;
    margin: 0 0 24px 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.checklist li {
    display: block !important;
    position: relative;
    padding-left: 28px;
    font-size: 0.94rem;
    line-height: 1.6;
    color: var(--text-main);
    margin: 0;
}

.checklist li > i {
    position: absolute;
    left: 0;
    top: 4px;
    color: var(--secondary);
    font-size: 0.95rem;
    line-height: 1;
    width: 20px;
    text-align: center;
}

.checklist li > i.fa-check-circle,
.checklist li > i.fa-check {
    color: #10b981;
}

.checklist li strong {
    color: var(--primary);
    font-weight: 600;
}


/* ==========================================================================
   TAE GLOBAL EDUCATION - APPOINTMENT BOOKING & AI AUTOMATION STYLES
   Engineered for Desktop, Tablet, and Mobile (Responsive & Accessible)
   ========================================================================== */

:root {
    --tae-primary: #303890;
    --tae-primary-dark: #222766;
    --tae-secondary: #00aeef;
    --tae-secondary-dark: #008cc0;
    --tae-accent-green: #10b981;
    --tae-text-dark: #0f172a;
    --tae-text-muted: #64748b;
    --tae-bg-light: #f8fafc;
    --tae-border: #e2e8f0;
    --tae-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --tae-shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.08);
    --tae-shadow-lg: 0 20px 35px -5px rgba(48, 56, 144, 0.2);
    --tae-font: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* --------------------------------------------------------------------------
   1. APPOINTMENT BOOKING WIZARD & MODAL
   -------------------------------------------------------------------------- */

.tae-appointment-wrapper {
    font-family: var(--tae-font);
    color: var(--tae-text-dark);
    max-width: 860px;
    margin: 30px auto;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: var(--tae-shadow-md);
    border: 1px solid var(--tae-border);
    overflow: hidden;
    transition: all 0.3s ease;
}

.tae-appointment-header {
    background: linear-gradient(135deg, var(--tae-primary), #1e2570);
    color: #ffffff;
    padding: 30px 35px;
    position: relative;
}

.tae-appointment-header h2 {
    color: #ffffff;
    margin: 0 0 8px 0;
    font-size: 1.65rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
}

.tae-appointment-header p {
    color: #cbd5e1;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.tae-appointment-badge {
    position: absolute;
    top: 25px;
    right: 30px;
    background: rgba(0, 174, 239, 0.2);
    border: 1px solid rgba(0, 174, 239, 0.5);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.tae-booking-steps-bar {
    display: flex;
    background: #f1f5f9;
    border-bottom: 1px solid var(--tae-border);
}

.tae-step-item {
    flex: 1;
    padding: 14px 10px;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--tae-text-muted);
    border-bottom: 3px solid transparent;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.tae-step-item.active {
    color: var(--tae-primary);
    background: #ffffff;
    border-bottom-color: var(--tae-secondary);
}

.tae-step-item.completed {
    color: var(--tae-accent-green);
}

.tae-step-item .step-num {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #e2e8f0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
}

.tae-step-item.active .step-num {
    background: var(--tae-primary);
    color: #ffffff;
}

.tae-step-item.completed .step-num {
    background: var(--tae-accent-green);
    color: #ffffff;
}

.tae-appointment-body {
    padding: 30px 35px;
}

.tae-step-panel {
    display: none;
    animation: taeFadeIn 0.3s ease forwards;
}

.tae-step-panel.active {
    display: block;
}

@keyframes taeFadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Service / Mode Cards */
.tae-grid-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.tae-mode-card {
    border: 2px solid var(--tae-border);
    border-radius: 12px;
    padding: 18px 20px;
    cursor: pointer;
    background: #ffffff;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
}

.tae-mode-card:hover {
    border-color: var(--tae-secondary);
    background: #f8fafc;
    transform: translateY(-2px);
}

.tae-mode-card.selected {
    border-color: var(--tae-primary);
    background: rgba(48, 56, 144, 0.04);
    box-shadow: 0 0 0 2px var(--tae-primary);
}

.tae-mode-card .card-icon {
    font-size: 1.5rem;
    color: var(--tae-secondary);
}

.tae-mode-card.selected .card-icon {
    color: var(--tae-primary);
}

.tae-mode-card h4 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--tae-primary);
}

.tae-mode-card p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--tae-text-muted);
    line-height: 1.4;
}

/* Date & Time Slot Selector */
.tae-slots-section {
    margin-top: 24px;
}

.tae-date-picker-bar {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 12px;
    margin-bottom: 24px;
    -webkit-overflow-scrolling: touch;
}

.tae-date-card {
    min-width: 82px;
    border: 2px solid var(--tae-border);
    border-radius: 12px;
    padding: 10px 8px;
    text-align: center;
    cursor: pointer;
    background: #ffffff;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.tae-date-card:hover {
    border-color: var(--tae-secondary);
}

.tae-date-card.selected {
    border-color: var(--tae-primary);
    background: var(--tae-primary);
    color: #ffffff;
}

.tae-date-card .day-name {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--tae-text-muted);
}

.tae-date-card.selected .day-name {
    color: rgba(255, 255, 255, 0.85);
}

.tae-date-card .day-num {
    font-size: 1.35rem;
    font-weight: 800;
    margin: 4px 0;
    color: var(--tae-primary);
}

.tae-date-card.selected .day-num {
    color: #ffffff;
}

.tae-date-card .month-name {
    font-size: 0.75rem;
    color: var(--tae-text-muted);
}

.tae-date-card.selected .month-name {
    color: #ffffff;
}

.tae-time-slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 12px;
    margin-bottom: 24px;
}

.tae-time-slot {
    border: 1px solid var(--tae-border);
    background: #ffffff;
    border-radius: 10px;
    padding: 12px 10px;
    text-align: center;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--tae-text-dark);
    transition: all 0.2s ease;
}

.tae-time-slot:hover {
    border-color: var(--tae-secondary);
    background: #f0f9ff;
    color: var(--tae-primary);
}

.tae-time-slot.selected {
    background: var(--tae-primary);
    color: #ffffff;
    border-color: var(--tae-primary);
    box-shadow: 0 4px 12px rgba(48, 56, 144, 0.25);
}

/* Form inputs */
.tae-form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-bottom: 18px;
}

@media (max-width: 640px) {
    .tae-form-row {
        grid-template-columns: 1fr;
    }
}

.tae-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.tae-form-group label {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--tae-text-dark);
}

.tae-form-group input,
.tae-form-group select,
.tae-form-group textarea {
    padding: 12px 16px;
    border: 1px solid var(--tae-border);
    border-radius: 10px;
    font-size: 0.92rem;
    font-family: inherit;
    transition: all 0.2s ease;
    background: #ffffff;
}

.tae-form-group input:focus,
.tae-form-group select:focus,
.tae-form-group textarea:focus {
    outline: none;
    border-color: var(--tae-primary);
    box-shadow: 0 0 0 3px rgba(48, 56, 144, 0.1);
}

/* Summary & Payment Card */
.tae-summary-box {
    background: var(--tae-bg-light);
    border: 1px solid var(--tae-border);
    border-radius: 14px;
    padding: 22px;
    margin-bottom: 24px;
}

.tae-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    font-size: 0.92rem;
}

.tae-summary-row:last-child {
    border-bottom: none;
    padding-top: 14px;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--tae-primary);
}

.tae-summary-label {
    color: var(--tae-text-muted);
}

.tae-summary-val {
    font-weight: 600;
    color: var(--tae-text-dark);
    text-align: right;
}

/* Payment Gateway Selector */
.tae-gateway-selector {
    display: flex;
    gap: 14px;
    margin-bottom: 24px;
}

.tae-gateway-option {
    flex: 1;
    border: 2px solid var(--tae-border);
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #ffffff;
}

.tae-gateway-option:hover {
    border-color: var(--tae-secondary);
}

.tae-gateway-option.selected {
    border-color: var(--tae-primary);
    background: rgba(48, 56, 144, 0.04);
}

.tae-gateway-option i {
    font-size: 1.8rem;
    color: var(--tae-primary);
    margin-bottom: 6px;
    display: block;
}

.tae-gateway-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--tae-primary);
}

/* Wizard Buttons */
.tae-wizard-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--tae-border);
}

.tae-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.25s ease;
    text-decoration: none;
}

.tae-btn-primary {
    background: var(--tae-primary);
    color: #ffffff !important;
}

.tae-btn-primary:hover {
    background: var(--tae-primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(48, 56, 144, 0.3);
}

.tae-btn-secondary {
    background: var(--tae-secondary);
    color: #ffffff !important;
}

.tae-btn-secondary:hover {
    background: var(--tae-secondary-dark);
}

.tae-btn-outline {
    background: transparent;
    border: 1px solid var(--tae-border);
    color: var(--tae-text-muted);
}

.tae-btn-outline:hover {
    background: #f1f5f9;
    color: var(--tae-text-dark);
}

.tae-btn-pay {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #ffffff;
    font-size: 1.05rem;
    padding: 14px 30px;
    border-radius: 12px;
    width: 100%;
}

.tae-btn-pay:hover {
    background: linear-gradient(135deg, #059669, #047857);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.35);
}

/* Appointment Pass (Success State) */
.tae-appointment-pass {
    background: #ffffff;
    border: 2px dashed #cbd5e1;
    border-radius: 18px;
    padding: 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.tae-pass-success-icon {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: #dcfce7;
    color: #16a34a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 16px;
}

.tae-pass-ref-pill {
    background: #f1f5f9;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--tae-primary);
    display: inline-block;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.tae-pass-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    text-align: left;
    background: #f8fafc;
    border-radius: 12px;
    padding: 18px;
    margin: 20px 0;
    border: 1px solid var(--tae-border);
}

@media (max-width: 640px) {
    .tae-pass-grid {
        grid-template-columns: 1fr;
    }
}

.tae-pass-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 24px;
}

/* --------------------------------------------------------------------------
   2. FLOATING APPOINTMENT LAUNCHER BUTTON
   -------------------------------------------------------------------------- */

.tae-floating-appointment-btn {
    position: fixed;
    bottom: 96px;
    right: 28px;
    background: linear-gradient(135deg, var(--tae-primary), #1e2570);
    color: #ffffff !important;
    padding: 12px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.88rem;
    box-shadow: 0 8px 24px rgba(48, 56, 144, 0.35);
    display: flex;
    align-items: center;
    gap: 9px;
    z-index: 99980;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.tae-floating-appointment-btn:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 12px 30px rgba(48, 56, 144, 0.45);
    background: linear-gradient(135deg, var(--tae-secondary), var(--tae-primary));
}

.tae-floating-appointment-btn .live-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.4);
    animation: taePulseDot 1.8s infinite;
}

@keyframes taePulseDot {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 7px rgba(34, 197, 94, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* Modal Overlay */
.tae-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(5px);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
    animation: taeOverlayIn 0.25s ease;
}

.tae-modal-overlay.open {
    display: flex;
}

@keyframes taeOverlayIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.tae-modal-dialog {
    position: relative;
    width: 100%;
    max-width: 860px;
    max-height: 92vh;
    overflow-y: auto;
    border-radius: 20px;
}

.tae-modal-close-btn {
    position: absolute;
    top: 20px;
    right: 22px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #ffffff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
}

.tae-modal-close-btn:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: rotate(90deg);
}

/* --------------------------------------------------------------------------
   3. AI AUTOMATION - 24/7 AI COUNSELOR CHAT WIDGET
   -------------------------------------------------------------------------- */

.tae-ai-launcher {
    position: fixed;
    bottom: 24px;
    right: 28px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--tae-secondary), var(--tae-primary));
    color: #ffffff;
    box-shadow: 0 8px 25px rgba(0, 174, 239, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 99970;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid #ffffff;
}

.tae-ai-launcher:hover {
    transform: scale(1.08) translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 174, 239, 0.55);
}

.tae-ai-launcher i {
    font-size: 1.55rem;
    transition: transform 0.3s ease;
}

.tae-ai-launcher .ai-badge-pulse {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 16px;
    height: 16px;
    background: #10b981;
    border: 2px solid #ffffff;
    border-radius: 50%;
}

/* AI Chat Window */
.tae-ai-chat-window {
    position: fixed;
    bottom: 96px;
    right: 28px;
    width: 380px;
    max-width: calc(100vw - 36px);
    height: 570px;
    max-height: calc(100vh - 120px);
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.22);
    border: 1px solid var(--tae-border);
    display: none;
    flex-direction: column;
    overflow: hidden;
    z-index: 99975;
    font-family: var(--tae-font);
    animation: taeChatSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.tae-ai-chat-window.open {
    display: flex;
}

@keyframes taeChatSlideUp {
    from { opacity: 0; transform: translateY(20px) scale(0.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.tae-ai-chat-header {
    background: linear-gradient(135deg, var(--tae-primary), #1e2570);
    color: #ffffff;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.tae-ai-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.tae-ai-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00aeef, #303890);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.2rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    position: relative;
}

.tae-ai-avatar .online-indicator {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 11px;
    height: 11px;
    background: #22c55e;
    border: 2px solid #ffffff;
    border-radius: 50%;
}

.tae-ai-title-wrap h4 {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
}

.tae-ai-title-wrap span {
    font-size: 0.76rem;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 4px;
}

.tae-ai-header-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.tae-ai-ctrl-btn {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: #ffffff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    transition: background 0.2s ease;
}

.tae-ai-ctrl-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Chat Messages Container */
.tae-ai-messages-container {
    flex: 1;
    overflow-y: auto;
    padding: 18px 16px;
    background: #f8fafc;
    display: flex;
    flex-direction: column;
    gap: 14px;
    -webkit-overflow-scrolling: touch;
}

.tae-ai-msg {
    display: flex;
    gap: 10px;
    max-width: 88%;
}

.tae-ai-msg.bot {
    align-self: flex-start;
}

.tae-ai-msg.user {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.tae-msg-bubble {
    padding: 12px 16px;
    border-radius: 16px;
    font-size: 0.88rem;
    line-height: 1.5;
    position: relative;
    word-break: break-word;
}

.tae-ai-msg.bot .tae-msg-bubble {
    background: #ffffff;
    color: var(--tae-text-dark);
    border: 1px solid var(--tae-border);
    border-top-left-radius: 4px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.tae-ai-msg.user .tae-msg-bubble {
    background: var(--tae-primary);
    color: #ffffff;
    border-top-right-radius: 4px;
}

.tae-msg-bubble p {
    margin: 0 0 8px 0;
}

.tae-msg-bubble p:last-child {
    margin-bottom: 0;
}

.tae-msg-bubble ul {
    margin: 6px 0;
    padding-left: 18px;
}

.tae-msg-bubble li {
    margin-bottom: 4px;
}

.tae-msg-bubble strong {
    color: var(--tae-primary);
}

.tae-ai-msg.user .tae-msg-bubble strong {
    color: #ffffff;
}

/* Quick Suggestion Chips */
.tae-ai-chips-wrap {
    padding: 10px 14px;
    background: #ffffff;
    border-top: 1px solid var(--tae-border);
    display: flex;
    gap: 8px;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}

.tae-ai-chip {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    color: var(--tae-primary);
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.tae-ai-chip:hover {
    background: var(--tae-primary);
    color: #ffffff;
    border-color: var(--tae-primary);
}

/* Input Bar */
.tae-ai-input-bar {
    padding: 12px 14px;
    background: #ffffff;
    border-top: 1px solid var(--tae-border);
    display: flex;
    gap: 10px;
    align-items: center;
}

.tae-ai-input-bar input {
    flex: 1;
    border: 1px solid var(--tae-border);
    border-radius: 25px;
    padding: 10px 16px;
    font-size: 0.88rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s ease;
}

.tae-ai-input-bar input:focus {
    border-color: var(--tae-secondary);
}

.tae-ai-send-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--tae-primary);
    color: #ffffff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.tae-ai-send-btn:hover {
    background: var(--tae-secondary);
    transform: scale(1.05);
}

/* Embedded Action Card inside AI Chat */
.tae-ai-card-action {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    padding: 12px;
    margin-top: 10px;
    text-align: center;
}

.tae-ai-card-action h5 {
    margin: 0 0 6px 0;
    color: var(--tae-primary);
    font-size: 0.92rem;
}

.tae-ai-card-action p {
    font-size: 0.8rem;
    color: var(--tae-text-muted);
    margin: 0 0 10px 0;
}

.tae-ai-card-btn {
    display: block;
    background: var(--tae-secondary);
    color: #ffffff;
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 8px 12px;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.tae-ai-card-btn:hover {
    background: var(--tae-primary);
}

/* Typing indicator */
.tae-typing-indicator {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 10px 14px;
    background: #ffffff;
    border-radius: 16px;
    width: fit-content;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.tae-typing-indicator span {
    width: 6px;
    height: 6px;
    background: #94a3b8;
    border-radius: 50%;
    animation: taeBounce 1.4s infinite ease-in-out both;
}

.tae-typing-indicator span:nth-child(1) { animation-delay: -0.32s; }
.tae-typing-indicator span:nth-child(2) { animation-delay: -0.16s; }

@keyframes taeBounce {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .tae-floating-appointment-btn {
        bottom: 84px;
        right: 16px;
        padding: 10px 16px;
        font-size: 0.82rem;
    }
    .tae-ai-launcher {
        bottom: 16px;
        right: 16px;
        width: 52px;
        height: 52px;
    }
    .tae-ai-chat-window {
        bottom: 76px;
        right: 12px;
        left: 12px;
        width: calc(100vw - 24px);
        height: 500px;
    }
    .tae-appointment-header {
        padding: 22px 20px;
    }
    .tae-appointment-body {
        padding: 20px 18px;
    }
}
