/* === Reset & Base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --primary: #0d6efd;
    --primary-dark: #0a58ca;
    --primary-light: #e7f1ff;
    --secondary: #6f42c1;
    --accent: #198754;
    --accent-light: #d1e7dd;
    --orange: #fd7e14;
    --text: #212529;
    --text-light: #6c757d;
    --text-muted: #adb5bd;
    --bg: #f8f9fa;
    --white: #ffffff;
    --dark: #1a1a2e;
    --dark-light: #16213e;
    --border: #dee2e6;
    --shadow: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 8px 24px rgba(0,0,0,0.12);
    --shadow-lg: 0 16px 48px rgba(0,0,0,0.15);
    --radius: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: all 0.3s ease;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

main { flex: 1; }

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

a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; }

/* === Utility === */
.text-center { text-align: center; }
.text-white { color: var(--white); }
.mb-0 { margin-bottom: 0; }

/* === Buttons === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border: 2px solid transparent;
    border-radius: 50px;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    line-height: 1.5;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}
.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(13,110,253,0.4);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}
.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
    transform: translateY(-2px);
}

.btn-accent {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
}
.btn-accent:hover {
    background: #157347;
    border-color: #157347;
    color: var(--white);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.05rem;
}

/* === Top Bar === */
.top-bar {
    background: var(--dark);
    color: var(--text-muted);
    font-size: 0.8rem;
    padding: 8px 0;
}

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

.top-bar a {
    color: var(--text-muted);
    margin-left: 16px;
}
.top-bar a:hover { color: var(--white); }

.top-bar-contact {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-bar-social {
    display: flex;
    align-items: center;
    gap: 4px;
}

.top-bar-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: 0.75rem;
}
.top-bar-social a:hover {
    background: rgba(255,255,255,0.1);
}

/* === Header === */
.site-header {
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    transition: var(--transition);
}

.site-header.scrolled {
    box-shadow: 0 4px 30px rgba(0,0,0,0.12);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.5px;
}
.logo:hover { color: var(--primary-dark); }

.logo-img {
    height: 100px;
    width: auto;
    object-fit: contain;
}

.logo-icon {
    font-size: 1.8rem;
    display: flex;
    align-items: center;
}

.main-nav > ul {
    display: flex;
    list-style: none;
    gap: 4px;
    align-items: center;
}

.mobile-nav-social { display: none; }

.main-nav a {
    display: block;
    padding: 8px 16px;
    border-radius: 50px;
    color: var(--text);
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
    position: relative;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary);
    background: var(--primary-light);
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
}

.mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* === Hero Slider === */
.hero-slider {
    position: relative;
    height: 600px;
    overflow: hidden;
    background: var(--dark);
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.6s ease;
    will-change: opacity;
    display: flex;
    align-items: center;
}

.hero-slide.active { opacity: 1; }

.hero-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(0.4);
}

.hero-slide-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 700px;
    padding: 0 20px;
    margin: 0 auto;
    text-align: center;
}

.hero-slide-content .badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 20px;
    border: 1px solid rgba(255,255,255,0.2);
}

.hero-slide-content h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero-slide-content p {
    font-size: 1.15rem;
    opacity: 0.9;
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

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

.hero-slider-dots button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--white);
    background: transparent;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}

.hero-slider-dots button.active {
    background: var(--white);
    transform: scale(1.2);
}

.hero-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--white);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.hero-slider-nav:hover {
    background: rgba(255,255,255,0.3);
}

.hero-slider-nav.prev { left: 20px; }
.hero-slider-nav.next { right: 20px; }

/* === Scrolling Marquee === */
.marquee-section {
    padding: 32px 0;
    background: var(--bg);
    overflow: hidden;
}

.marquee-track {
    display: flex;
    gap: 48px;
    animation: marquee 30s linear infinite;
    width: max-content;
    will-change: transform;
    transform: translateZ(0);
}

.marquee-track:hover { animation-play-state: paused; }

.marquee-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-light);
    white-space: nowrap;
}

.marquee-item span.icon {
    font-size: 1.5rem;
}

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

/* === Section Styles === */
.section {
    padding: 72px 0;
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 48px;
}

.section-label {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary);
    padding: 4px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--text);
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.section-subtitle {
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.7;
}

/* === Stats / Counter Section === */
.stats-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    padding: 64px 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    position: relative;
    z-index: 1;
}

.stat-card {
    text-align: center;
    color: var(--white);
    padding: 24px;
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
    display: block;
}

.stat-number {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.85;
    font-weight: 500;
}

/* === Service / Feature Cards === */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.service-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: left;
}

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

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

.service-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-lg);
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text);
}

.service-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 16px;
}

.service-card .card-link {
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.service-card .card-link::after {
    content: '→';
    transition: transform 0.2s;
}

.service-card:hover .card-link::after {
    transform: translateX(4px);
}

/* === Achievement / Certification Cards === */
.achievement-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 28px;
}

.achievement-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.achievement-card-img {
    height: 200px;
    background: linear-gradient(135deg, var(--primary-light), #f0e6ff);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}

.achievement-card-body {
    padding: 24px;
}

.achievement-card-body h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.achievement-card-body p {
    color: var(--text-light);
    font-size: 0.88rem;
    line-height: 1.7;
}

/* === Testimonials === */
.testimonials-section {
    background: var(--bg);
}

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

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

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

.testimonial-card .quote-icon {
    font-size: 2.5rem;
    color: var(--primary-light);
    line-height: 1;
    margin-bottom: 12px;
    display: block;
}

.testimonial-card p {
    color: var(--text-light);
    font-size: 0.92rem;
    line-height: 1.8;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 1.1rem;
}

.testimonial-info h4 {
    font-size: 0.95rem;
    font-weight: 600;
}

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

.testimonial-stars {
    color: #fbbf24;
    font-size: 0.85rem;
    margin-bottom: 12px;
}

/* === CTA Banner === */
.cta-banner {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%);
    padding: 72px 0;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(13,110,253,0.1);
    top: -200px;
    right: -100px;
}

.cta-banner::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(111,66,193,0.1);
    bottom: -150px;
    left: -50px;
}

.cta-banner h2 {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.cta-banner p {
    font-size: 1.1rem;
    opacity: 0.8;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.cta-banner .hero-buttons {
    position: relative;
    z-index: 1;
}

/* === FAQ Accordion === */
.faq-accordion {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    margin-bottom: 12px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow);
    border-color: var(--primary-light);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
    text-align: left;
    gap: 16px;
    line-height: 1.5;
    transition: var(--transition);
}

.faq-question:hover { background: var(--bg); }

.q-label {
    color: var(--primary);
    font-weight: 700;
    flex-shrink: 0;
}

.a-label {
    color: var(--accent);
    font-weight: 700;
}

.faq-icon {
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--text-light);
    flex-shrink: 0;
    transition: transform 0.3s;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
    background: var(--primary-light);
    color: var(--primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer { max-height: 500px; }

.faq-answer p {
    padding: 0 24px 20px;
    color: var(--text-light);
    line-height: 1.8;
}

/* === Category Cards === */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.category-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    text-align: center;
    transition: var(--transition);
    display: block;
    color: var(--text);
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    color: var(--text);
    border-color: var(--primary-light);
}

.cat-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 12px;
}

.category-card h3 {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

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

/* === Info Cards === */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}

.info-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: left;
}

.info-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

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

.info-card h3 {
    font-size: 1.15rem;
    margin-bottom: 12px;
    color: var(--primary);
}

.info-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.7;
}

.info-card ul {
    list-style: none;
    margin-top: 12px;
}

.info-card ul li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    color: var(--text-light);
    font-size: 0.9rem;
}

.info-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

/* === Page Header === */
.page-header {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%);
    color: var(--white);
    padding: 56px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(13,110,253,0.08);
    top: -250px;
    right: -100px;
}

.page-header h1 {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 8px;
    position: relative;
}

.page-header p {
    opacity: 0.8;
    font-size: 1.05rem;
    position: relative;
}

/* === Breadcrumb === */
.breadcrumb {
    padding: 14px 0;
    font-size: 0.85rem;
    color: var(--text-light);
    background: var(--bg);
    border-bottom: 1px solid var(--border);
}

.breadcrumb a { color: var(--text-light); }
.breadcrumb a:hover { color: var(--primary); }

/* === Contact Form === */
.contact-form {
    max-width: 640px;
    margin: 0 auto;
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

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

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition);
    background: var(--bg);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-light);
    background: var(--white);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

/* === Search Results === */
.search-box {
    max-width: 560px;
    margin: 0 auto;
    position: relative;
}

.search-box input {
    width: 100%;
    padding: 16px 20px 16px 52px;
    border: 2px solid var(--border);
    border-radius: 50px;
    font-size: 1rem;
    font-family: inherit;
    box-shadow: var(--shadow);
    outline: none;
    transition: var(--transition);
    background: var(--white);
}

.search-box input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-light), var(--shadow);
}

.search-box::before {
    content: '🔍';
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.1rem;
}

.search-results { max-width: 900px; margin: 0 auto; }

.search-result-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 16px;
    transition: var(--transition);
}

.search-result-item:hover {
    box-shadow: var(--shadow);
    border-color: var(--primary-light);
}

.search-result-item .result-category {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.search-result-item h3 { font-size: 1rem; margin-bottom: 8px; }
.search-result-item p { color: var(--text-light); font-size: 0.9rem; }

.no-results {
    text-align: center;
    padding: 48px 20px;
    color: var(--text-light);
}

.no-results span {
    font-size: 3rem;
    display: block;
    margin-bottom: 16px;
}

/* === Alert === */
.alert {
    padding: 14px 20px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.alert-success {
    background: var(--accent-light);
    color: #0f5132;
    border: 1px solid #badbcc;
}

.alert-error {
    background: #f8d7da;
    color: #842029;
    border: 1px solid #f5c2c7;
}

/* === Footer === */
.site-footer {
    background: var(--dark);
    color: #d1d5db;
    padding: 64px 0 0;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-col h3 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.footer-col p {
    font-size: 0.88rem;
    line-height: 1.8;
    color: #9ca3af;
}

.footer-col ul { list-style: none; }

.footer-col ul li { margin-bottom: 10px; }

.footer-col ul a {
    color: #9ca3af;
    font-size: 0.88rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-col ul a:hover {
    color: var(--white);
    padding-left: 4px;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    font-size: 1rem;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
    font-size: 0.82rem;
    color: #6b7280;
}

.disclaimer-text {
    margin-top: 6px;
    opacity: 0.7;
}

/* === Scroll to Top === */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    z-index: 999;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: var(--primary-dark);
    transform: translateY(-4px);
}

/* === Animations === */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    will-change: opacity, transform;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
    will-change: auto;
}

/* === WhatsApp Float === */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 999;
}

.whatsapp-float a {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #25d366;
    color: var(--white);
    padding: 12px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 16px rgba(37,211,102,0.4);
    transition: var(--transition);
}

.whatsapp-float a:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37,211,102,0.5);
    color: var(--white);
}

/* === Call Float === */
.call-float {
    position: fixed;
    bottom: 90px;
    left: 30px;
    z-index: 999;
}

.call-float a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    font-size: 1.1rem;
    box-shadow: 0 4px 16px rgba(13,110,253,0.4);
    transition: var(--transition);
}

.call-float a:hover {
    transform: translateY(-2px);
    background: var(--primary-dark);
    color: var(--white);
}

/* === Responsive === */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .top-bar { display: none; }

    .mobile-toggle { display: flex; }

    .main-nav {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--white);
        padding: 20px;
        z-index: 999;
        overflow-y: auto;
    }

    .main-nav.open { display: block; }

    .main-nav > ul {
        flex-direction: column;
        gap: 4px;
    }

    .mobile-nav-social {
        display: flex;
        justify-content: center;
        gap: 16px;
        padding: 20px 0 10px;
        margin-top: 16px;
        border-top: 1px solid #e5e7eb;
    }

    .mobile-nav-social a {
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: #f3f4f6;
        color: #374151;
        font-size: 1rem;
        transition: .2s;
    }

    .mobile-nav-social a:hover {
        background: var(--primary);
        color: #fff;
    }

    .main-nav a {
        padding: 14px 16px;
        font-size: 1rem;
        border-radius: var(--radius);
    }

    .header-cta { display: none; }

    .hero-slider { height: 500px; }

    .hero-slide-content h1 {
        font-size: 2rem;
    }

    .hero-slide-content p { font-size: 1rem; }

    .hero-slider-nav { display: none; }

    .section { padding: 48px 0; }

    .section-title { font-size: 1.75rem; }

    .services-grid { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }

    .achievement-cards { grid-template-columns: 1fr; }

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

    .footer-grid { grid-template-columns: 1fr; gap: 32px; }

    .page-header h1 { font-size: 1.75rem; }
    .page-header { padding: 40px 0; }

    .contact-form { padding: 24px; }

    .category-grid { grid-template-columns: repeat(2, 1fr); }

    .cta-banner h2 { font-size: 1.75rem; }
}

@media (max-width: 480px) {
    .hero-slider { height: 450px; }
    .hero-slide-content h1 { font-size: 1.6rem; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
    .stat-number { font-size: 2rem; }
    .category-grid { grid-template-columns: 1fr; }
    .whatsapp-float a span.wa-text { display: none; }
}

/* === Rank & College Predictor === */

/* Exam Tabs */
.predictor-exam-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 16px;
}

.exam-tab {
    padding: 12px 32px;
    border: 2px solid var(--border);
    border-radius: 50px;
    background: var(--white);
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 8px;
}

.exam-tab:hover { border-color: var(--primary); color: var(--primary); }

.exam-tab.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* Tool Tabs */
.predictor-tool-tabs {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-bottom: 32px;
    background: var(--bg);
    border-radius: var(--radius);
    padding: 4px;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
}

.tool-tab {
    flex: 1;
    padding: 10px 20px;
    border: none;
    border-radius: var(--radius);
    background: transparent;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-light);
}

.tool-tab.active {
    background: var(--white);
    color: var(--text);
    box-shadow: var(--shadow);
}

/* Tool Panels */
.tool-panel { display: none; }
.tool-panel.active { display: block; }

/* Predictor Card */
.predictor-card {
    max-width: 700px;
    margin: 0 auto 32px;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.predictor-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text);
}

.predictor-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 12px;
}

.predictor-grid-3 {
    grid-template-columns: 1fr 1fr 1fr;
}

.input-hint {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* Result Box */
.predictor-result-box {
    max-width: 700px;
    margin: 0 auto 32px;
}

.result-cards-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}

.mini-result-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    text-align: center;
    transition: var(--transition);
}

.mini-result-card.highlight {
    background: var(--primary);
    border-color: var(--primary);
}

.mini-result-card.highlight .mini-label { color: rgba(255,255,255,0.8); }
.mini-result-card.highlight .mini-value { color: var(--white); }

.mini-label {
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-light);
    margin-bottom: 4px;
    font-weight: 600;
}

.mini-value {
    display: block;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text);
}

.status-pass { color: var(--accent) !important; }
.status-fail { color: #dc3545 !important; }

/* Range Bar */
.rank-range-bar {
    height: 8px;
    background: var(--bg);
    border-radius: 50px;
    overflow: hidden;
    margin-bottom: 12px;
}

.rank-range-fill {
    height: 100%;
    border-radius: 50px;
    transition: width 0.8s ease;
    width: 0;
}

.fill-high { background: linear-gradient(90deg, #198754, #20c997); }
.fill-mid { background: linear-gradient(90deg, #fd7e14, #ffc107); }
.fill-low { background: linear-gradient(90deg, #dc3545, #fd7e14); }

.result-note {
    font-size: 0.88rem;
    color: var(--text-light);
    text-align: center;
    padding: 8px 0;
}

/* Reference Table */
.ref-table-section {
    max-width: 700px;
    margin: 32px auto 0;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
}

.ref-table-wrap { overflow-x: auto; }

.ref-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
}

.ref-table th {
    background: var(--bg);
    padding: 10px 16px;
    text-align: left;
    font-weight: 600;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-light);
    border-bottom: 2px solid var(--border);
}

.ref-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
}

.ref-table tbody tr:hover { background: var(--bg); }

/* College Predictor Results */
.college-result-summary {
    padding: 16px 20px;
    background: var(--primary-light);
    border-radius: var(--radius);
    margin-bottom: 16px;
    font-size: 0.9rem;
    color: var(--text);
}

.college-table-wrap { overflow-x: auto; margin-bottom: 16px; }

.college-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
}

.college-table th {
    background: var(--dark);
    color: var(--white);
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: sticky;
    top: 0;
}

.college-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}

.college-table tbody tr:hover { background: var(--bg); }

.college-name {
    display: block;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 2px;
}

.college-tier {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tier-iit { background: #fef3c7; color: #92400e; }
.tier-nit { background: #dbeafe; color: #1e40af; }
.tier-iiit { background: #ede9fe; color: #6d28d9; }
.tier-private { background: #f3f4f6; color: #6b7280; }
.tier-aiims { background: #fce7f3; color: #be185d; }
.tier-govt { background: #d1fae5; color: #065f46; }
.tier-deemed { background: #fed7aa; color: #9a3412; }
.tier-ayush { background: #d1fae5; color: #065f46; }
.tier-nursing { background: #e0e7ff; color: #3730a3; }

.chance-badge {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
}

.chance-high { background: #d1fae5; color: #065f46; }
.chance-medium { background: #dbeafe; color: #1e40af; }
.chance-low { background: #fef3c7; color: #92400e; }
.chance-unlikely { background: #fee2e2; color: #991b1b; }

/* Disclaimer */
.predictor-disclaimer {
    max-width: 700px;
    margin: 32px auto 0;
    padding: 14px 20px;
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: var(--radius);
    font-size: 0.82rem;
    color: #664d03;
}

.predictor-disclaimer i { margin-right: 6px; }

@media (max-width: 768px) {
    .predictor-card { padding: 20px; }
    .predictor-grid, .predictor-grid-3 { grid-template-columns: 1fr; }
    .result-cards-row { grid-template-columns: 1fr 1fr; }
    .exam-tab { padding: 10px 20px; font-size: 0.85rem; }
    .college-table { font-size: 0.82rem; }
}

@media (max-width: 480px) {
    .result-cards-row { grid-template-columns: 1fr; }
    .predictor-exam-tabs { flex-direction: column; align-items: center; }
}

/* === Dropdown Navigation === */
.has-dropdown {
    position: relative;
}

.has-dropdown > a {
    display: flex;
    align-items: center;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    min-width: 240px;
    padding: 8px;
    z-index: 1000;
    list-style: none;
    animation: dropdownFade 0.2s ease;
    flex-direction: column;
}

@keyframes dropdownFade {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.has-dropdown:hover .dropdown-menu,
.has-dropdown.open .dropdown-menu {
    display: flex;
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu li a {
    display: block;
    padding: 10px 16px;
    color: var(--text);
    font-size: 0.88rem;
    font-weight: 500;
    border-radius: var(--radius);
    transition: var(--transition);
}

.dropdown-menu li a:hover {
    background: var(--primary-light);
    color: var(--primary);
}

@media (max-width: 768px) {
    .dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        padding: 0 0 0 16px;
        background: var(--bg);
        border-radius: var(--radius);
        margin-top: 4px;
    }

    .has-dropdown .dropdown-menu {
        display: none;
    }

    .has-dropdown.open .dropdown-menu {
        display: block;
    }
}


/* ══════════════════════════════════════════
   STUDENT DASHBOARD (Mobile-First)
   ══════════════════════════════════════════ */

/* Tab Navigation */
.dash-tabs { display:flex; gap:0; overflow-x:auto; -webkit-overflow-scrolling:touch; scrollbar-width:none; }
.dash-tabs::-webkit-scrollbar { display:none; }
.dash-tab { display:flex; align-items:center; gap:6px; padding:14px 16px; text-decoration:none; color:#64748b; font-size:.82rem; font-weight:600; white-space:nowrap; border-bottom:2px solid transparent; transition:.15s; }
.dash-tab:hover { color:#0d9488; }
.dash-tab.active { color:#0d9488; border-bottom-color:#0d9488; }
.dash-tab i { font-size:.75rem; }
@media(max-width:640px) {
    .dash-tab { padding:12px 12px; font-size:.78rem; gap:5px; }
    .dash-tab span { display:none; }
    .dash-tab i { font-size:.9rem; }
    .dash-tab.active span { display:inline; }
}

/* Stat Cards Grid */
.dash-grid-4 { display:grid; grid-template-columns:repeat(4,1fr); gap:12px; margin-bottom:20px; }
.dash-grid-3 { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; margin-bottom:20px; }
@media(max-width:768px) {
    .dash-grid-4 { grid-template-columns:repeat(2,1fr); }
    .dash-grid-3 { grid-template-columns:repeat(2,1fr); }
}
@media(max-width:480px) {
    .dash-grid-3 { grid-template-columns:1fr; }
}

/* Stat Card */
.dash-stat-card { background:#fff; border-radius:12px; padding:16px; border:1px solid #e5e7eb; display:flex; align-items:center; gap:12px; transition:.2s; }
.dash-stat-card:hover { box-shadow:0 4px 12px rgba(0,0,0,.06); }
.dsc-icon { width:42px; height:42px; border-radius:10px; display:flex; align-items:center; justify-content:center; font-size:1.1rem; flex-shrink:0; }
.dsc-value { font-size:1.4rem; font-weight:800; color:#0f172a; line-height:1.1; }
.dsc-label { font-size:.75rem; color:#64748b; }
@media(max-width:480px) {
    .dsc-icon { width:36px; height:36px; font-size:.95rem; }
    .dsc-value { font-size:1.15rem; }
}

/* Banner */
.dash-banner { border-radius:12px; padding:16px 20px; display:flex; justify-content:space-between; align-items:center; margin-bottom:20px; gap:12px; }
@media(max-width:480px) {
    .dash-banner { flex-direction:column; text-align:center; gap:12px; }
}

/* Section Title */
.dash-section-title { font-size:.88rem; font-weight:700; color:#1e293b; margin:24px 0 12px; }

/* Action Cards */
.dash-action-card { background:#fff; border-radius:12px; padding:20px 16px; border:1px solid #e5e7eb; text-align:center; text-decoration:none; color:inherit; display:flex; flex-direction:column; align-items:center; gap:4px; transition:.2s; }
.dash-action-card:hover { border-color:#0d9488; box-shadow:0 4px 16px rgba(13,148,136,.1); color:inherit; transform:translateY(-2px); }
.dash-action-card span:first-child { font-size:1.8rem; }
.dash-action-card strong { font-size:.85rem; color:#1e293b; }
.dash-action-card small { font-size:.72rem; color:#94a3b8; }
@media(max-width:480px) {
    .dash-action-card { padding:14px 10px; }
    .dash-action-card span:first-child { font-size:1.4rem; }
    .dash-action-card strong { font-size:.78rem; }
}

/* Card */
.dash-card { background:#fff; border-radius:12px; border:1px solid #e5e7eb; overflow:hidden; margin-bottom:16px; }
.dash-card-header { display:flex; justify-content:space-between; align-items:center; padding:14px 16px; border-bottom:1px solid #f1f5f9; }
.dash-card-header strong { font-size:.88rem; color:#1e293b; }
.dash-card-header a { font-size:.78rem; color:#0d9488; text-decoration:none; font-weight:600; }

/* List Item */
.dash-list-item { display:flex; justify-content:space-between; align-items:center; padding:14px 16px; border-bottom:1px solid #f1f5f9; gap:12px; }
.dash-list-item:last-child { border-bottom:none; }
.dash-list-item strong { display:block; font-size:.85rem; color:#1e293b; }
.dash-list-item small { display:block; font-size:.75rem; color:#94a3b8; margin-top:2px; }
@media(max-width:480px) {
    .dash-list-item { flex-direction:column; align-items:flex-start; gap:6px; }
}

/* Status Pill */
.status-pill { display:inline-flex; align-items:center; gap:5px; padding:3px 10px; border-radius:20px; font-size:.72rem; font-weight:600; white-space:nowrap; }
.status-pill.new { background:#fef3c7; color:#92400e; }
.status-pill.in_progress { background:#dbeafe; color:#1e40af; }
.status-pill.resolved { background:#d1fae5; color:#065f46; }
.status-pill.closed { background:#f1f5f9; color:#64748b; }
.status-pill::before { content:''; width:6px; height:6px; border-radius:50%; background:currentColor; }

/* Course Card */
.dash-course-card { background:#fff; border-radius:12px; border:1px solid #e5e7eb; padding:20px; display:flex; flex-direction:column; transition:.2s; }
.dash-course-card:hover { box-shadow:0 4px 16px rgba(0,0,0,.06); }
.dcc-badge { display:inline-block; font-size:.7rem; padding:3px 10px; border-radius:20px; font-weight:600; margin-bottom:8px; }
.dash-course-card h4 { font-size:.92rem; font-weight:700; color:#1e293b; margin:0 0 6px; }
.dash-course-card p { font-size:.82rem; color:#64748b; margin:0 0 16px; flex:1; }
.dcc-actions { display:flex; gap:8px; margin-top:auto; }

/* Empty State */
.dash-empty { text-align:center; padding:48px 20px; background:#fff; border-radius:12px; border:1px solid #e5e7eb; }
.dash-empty-icon { font-size:3rem; margin-bottom:12px; display:block; }
.dash-empty h4 { font-weight:700; color:#1e293b; margin:0 0 6px; }
.dash-empty p { color:#94a3b8; margin:0 0 20px; font-size:.88rem; }

/* Profile Grid */
.dash-profile-grid { display:grid; grid-template-columns:280px 1fr; gap:20px; }
@media(max-width:768px) {
    .dash-profile-grid { grid-template-columns:1fr; }
}


/* ══════════════════════════════════════════
   SITE TOAST NOTIFICATIONS
   ══════════════════════════════════════════ */
.site-toast-container { position:fixed; top:80px; right:20px; z-index:99999; display:flex; flex-direction:column; gap:10px; pointer-events:none; }
.site-toast { pointer-events:auto; display:flex; align-items:flex-start; gap:12px; padding:14px 18px; border-radius:12px; background:#fff; box-shadow:0 8px 32px rgba(0,0,0,.12); min-width:300px; max-width:420px; animation:toastIn .3s ease; font-size:.88rem; border-left:4px solid #94a3b8; }
.site-toast.success { border-left-color:#10b981; }
.site-toast.error { border-left-color:#ef4444; }
.site-toast.warning { border-left-color:#f59e0b; }
.site-toast.info { border-left-color:#3b82f6; }
.site-toast .toast-icon { width:24px; height:24px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:.7rem; flex-shrink:0; margin-top:1px; }
.site-toast.success .toast-icon { background:#d1fae5; color:#059669; }
.site-toast.error .toast-icon { background:#fee2e2; color:#dc2626; }
.site-toast.warning .toast-icon { background:#fef3c7; color:#d97706; }
.site-toast.info .toast-icon { background:#dbeafe; color:#2563eb; }
.site-toast .toast-body { flex:1; }
.site-toast .toast-title { font-weight:700; color:#0f172a; font-size:.85rem; margin-bottom:2px; }
.site-toast .toast-msg { color:#64748b; font-size:.82rem; line-height:1.4; }
.site-toast .toast-close { background:none; border:none; color:#94a3b8; cursor:pointer; font-size:.8rem; padding:2px; margin:-2px -4px 0 0; }
.site-toast .toast-close:hover { color:#475569; }
.site-toast .toast-progress { position:absolute; bottom:0; left:0; height:3px; border-radius:0 0 0 12px; transition:width linear; }
.site-toast.success .toast-progress { background:#10b981; }
.site-toast.error .toast-progress { background:#ef4444; }
.site-toast.warning .toast-progress { background:#f59e0b; }
.site-toast.info .toast-progress { background:#3b82f6; }
@keyframes toastIn { from { opacity:0; transform:translateX(40px); } to { opacity:1; transform:translateX(0); } }
@keyframes toastOut { from { opacity:1; transform:translateX(0); } to { opacity:0; transform:translateX(40px); } }
@media(max-width:480px) {
    .site-toast-container { right:10px; left:10px; top:70px; }
    .site-toast { min-width:auto; max-width:100%; }
}


/* ══════════════════════════════════════════
   MOBILE BOTTOM NAVIGATION (site-wide)
   ══════════════════════════════════════════ */
.mob-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid #e5e7eb;
    z-index: 9990;
    padding: 4px 0 env(safe-area-inset-bottom, 4px);
    box-shadow: 0 -2px 12px rgba(0,0,0,.06);
}
.mob-bottom-nav-inner {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 500px;
    margin: 0 auto;
}
.mob-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    text-decoration: none;
    color: #94a3b8;
    font-size: .62rem;
    font-weight: 600;
    padding: 6px 10px;
    border-radius: 8px;
    transition: .15s;
    -webkit-tap-highlight-color: transparent;
}
.mob-nav-item i {
    font-size: 1.15rem;
    line-height: 1;
}
.mob-nav-item span {
    line-height: 1;
}
.mob-nav-item.active {
    color: #0d9488;
}
.mob-nav-item:active {
    transform: scale(.92);
}

@media (max-width: 768px) {
    .mob-bottom-nav {
        display: block;
    }

    /* Add bottom padding to body so content isn't hidden behind nav */
    body {
        padding-bottom: 64px;
    }

    /* Hide desktop floating buttons on mobile — bottom nav replaces them */
    .whatsapp-float,
    .call-float {
        display: none !important;
    }

    /* Move scroll-to-top above bottom nav */
    .scroll-top {
        bottom: 74px !important;
    }
}


/* ══════════════════════════════════════════
   WISHLIST BUTTON
   ══════════════════════════════════════════ */
.wishlist-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: #f1f5f9;
    color: #cbd5e1;
    font-size: .85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .2s;
    z-index: 2;
    -webkit-tap-highlight-color: transparent;
}
.wishlist-btn:hover {
    background: #fee2e2;
    color: #f43f5e;
    transform: scale(1.1);
}
.wishlist-btn.active {
    background: #fee2e2;
    color: #f43f5e;
}
.wishlist-btn:active {
    transform: scale(.9);
}


/* Save button inside DataTable */
.save-college-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: #f8fafc;
    color: #cbd5e1;
    font-size: .85rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: .2s;
    -webkit-tap-highlight-color: transparent;
}
.save-college-btn:hover {
    background: #fee2e2;
    color: #f43f5e;
    transform: scale(1.15);
}
.save-college-btn.active {
    background: #fee2e2;
    color: #f43f5e;
}


/* Wishlist button on detail pages */
.wishlist-detail-btn {
    border: 2px solid #e2e8f0 !important;
    color: #94a3b8 !important;
    transition: .2s;
}
.wishlist-detail-btn:hover {
    border-color: #f43f5e !important;
    color: #f43f5e !important;
    background: #fff1f2 !important;
}
.wishlist-detail-btn.active {
    border-color: #f43f5e !important;
    color: #f43f5e !important;
    background: #fff1f2 !important;
}
.wishlist-detail-btn i {
    margin-right: 4px;
}


/* ══════════════════════════════════════════
   COURSE FILTER BAR
   ══════════════════════════════════════════ */
.course-filter-bar {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 16px 20px;
    margin-bottom: 24px;
}
.cf-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.cf-pills {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}
.cf-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    border-radius: 20px;
    font-size: .82rem;
    font-weight: 600;
    text-decoration: none;
    color: #64748b;
    background: #f1f5f9;
    border: 1px solid transparent;
    transition: .15s;
    white-space: nowrap;
}
.cf-pill:hover {
    color: #0d9488;
    background: #f0fdfa;
    border-color: #99f6e4;
}
.cf-pill.active {
    color: #fff;
    background: #0d9488;
    border-color: #0d9488;
}
.cf-pill.active .cf-pill-count {
    background: rgba(255,255,255,.25);
    color: #fff;
}
.cf-pill-count {
    background: #e2e8f0;
    color: #64748b;
    font-size: .68rem;
    padding: 1px 7px;
    border-radius: 10px;
    font-weight: 700;
}
.cf-selects {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.cf-select {
    padding: 8px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: .82rem;
    color: #334155;
    background: #fff;
    cursor: pointer;
    font-weight: 500;
    min-width: 140px;
}
.cf-select:focus {
    outline: none;
    border-color: #0d9488;
    box-shadow: 0 0 0 3px rgba(13,148,136,.1);
}
.cf-active-filters {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    flex-wrap: wrap;
}
.cf-filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: .72rem;
    font-weight: 600;
    background: #f0fdfa;
    color: #0d9488;
    border: 1px solid #99f6e4;
    text-decoration: none;
    transition: .15s;
}
.cf-filter-tag:hover {
    background: #fee2e2;
    color: #dc2626;
    border-color: #fca5a5;
}
.cf-filter-tag i {
    font-size: .6rem;
}
@media (max-width: 640px) {
    .cf-row {
        flex-direction: column;
        align-items: stretch;
    }
    .cf-pills {
        justify-content: center;
    }
    .cf-selects {
        justify-content: center;
    }
    .cf-select {
        flex: 1;
        min-width: 0;
    }
    .cf-active-filters {
        justify-content: center;
    }
}


/* Coupon card hover */
.coupon-card:hover {
    border-color: #0d9488 !important;
    background: #f0fdfa !important;
}


/* ══════════════════════════════════════════
   COURSES PAGE — SIDEBAR LAYOUT
   ══════════════════════════════════════════ */
.courses-layout { display:grid; grid-template-columns:240px 1fr; gap:24px; }
.courses-mobile-filter { display:none; margin-bottom:16px; }

/* Sidebar */
.courses-sidebar { background:#fff; border-radius:14px; border:1px solid #e5e7eb; padding:20px; height:fit-content; position:sticky; top:80px; }
.filter-group { margin-bottom:20px; padding-bottom:16px; border-bottom:1px solid #f1f5f9; }
.filter-group:last-of-type { border-bottom:none; margin-bottom:12px; padding-bottom:0; }
.filter-title { font-size:.78rem; font-weight:700; color:#1e293b; text-transform:uppercase; letter-spacing:.5px; margin:0 0 10px; }
.filter-options { display:flex; gap:6px; flex-wrap:wrap; }
.filter-chip { display:inline-flex; align-items:center; gap:5px; padding:6px 14px; border-radius:20px; font-size:.78rem; font-weight:600; text-decoration:none; color:#64748b; background:#f8fafc; border:1px solid #e5e7eb; transition:.15s; }
.filter-chip:hover { color:#0d9488; border-color:#99f6e4; background:#f0fdfa; }
.filter-chip.active { color:#fff; background:#0d9488; border-color:#0d9488; }
.filter-chip.active span { background:rgba(255,255,255,.25); }
.filter-chip span { font-size:.65rem; background:#e2e8f0; padding:1px 6px; border-radius:8px; }
.filter-list { display:flex; flex-direction:column; gap:2px; }
.filter-list-item { display:block; padding:7px 12px; border-radius:8px; font-size:.82rem; font-weight:500; text-decoration:none; color:#475569; transition:.1s; }
.filter-list-item:hover { background:#f8fafc; color:#0d9488; }
.filter-list-item.active { background:#f0fdfa; color:#0d9488; font-weight:600; }
.filter-select { width:100%; padding:8px 12px; border:1px solid #e2e8f0; border-radius:8px; font-size:.82rem; color:#334155; background:#fff; }
.filter-select:focus { outline:none; border-color:#0d9488; }
.filter-clear { display:block; text-align:center; padding:10px; font-size:.8rem; color:#dc2626; text-decoration:none; font-weight:600; border:1px solid #fecaca; border-radius:8px; margin-top:4px; transition:.15s; }
.filter-clear:hover { background:#fef2f2; color:#dc2626; }

@media(max-width:768px) {
    .courses-layout { grid-template-columns:1fr; }
    .courses-sidebar { display:none; position:fixed; top:0; left:0; right:0; bottom:0; z-index:9998; border-radius:0; overflow-y:auto; padding:20px; padding-top:60px; }
    .courses-sidebar.open { display:block; }
    .courses-sidebar::before { content:''; display:none; }
    .courses-sidebar.open::before { content:''; display:block; position:fixed; top:0; left:0; right:0; bottom:0; background:rgba(0,0,0,.4); z-index:-1; }
    .courses-mobile-filter { display:block; }
}


/* ══════════════════════════════════════════
   PRICING / SUBSCRIPTION PLANS
   ══════════════════════════════════════════ */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 960px;
    margin: 0 auto;
    align-items: start;
}
.pricing-card {
    background: #fff;
    border: 2px solid #e5e7eb;
    border-radius: 20px;
    padding: 32px 28px;
    text-align: center;
    position: relative;
    transition: .3s;
    display: flex;
    flex-direction: column;
}
.pricing-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 8px 32px rgba(0,0,0,.08);
    transform: translateY(-4px);
}
.pricing-card.popular {
    border-color: #0d9488;
    box-shadow: 0 8px 40px rgba(13,148,136,.15);
    transform: scale(1.04);
    z-index: 2;
}
.pricing-card.popular:hover {
    transform: scale(1.04) translateY(-4px);
    box-shadow: 0 12px 48px rgba(13,148,136,.2);
}
.pricing-popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #0d9488, #0f766e);
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
    padding: 5px 20px;
    border-radius: 20px;
    letter-spacing: .5px;
    text-transform: uppercase;
    white-space: nowrap;
}
.pricing-discount-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #dc2626;
    color: #fff;
    font-size: .68rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 6px;
}
.pricing-header {
    margin-bottom: 20px;
}
.pricing-name {
    font-size: 1.2rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 4px;
}
.pricing-duration {
    color: #94a3b8;
    font-size: .85rem;
    margin: 0;
    font-weight: 500;
}
.pricing-price {
    margin-bottom: 4px;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 6px;
}
.pricing-original {
    font-size: 1rem;
    color: #94a3b8;
    text-decoration: line-through;
    font-weight: 500;
}
.pricing-amount {
    font-size: 2.5rem;
    font-weight: 900;
    color: #0f172a;
    line-height: 1;
}
.pricing-card.popular .pricing-amount {
    color: #0d9488;
}
.pricing-period {
    font-size: .9rem;
    color: #94a3b8;
    font-weight: 500;
}
.pricing-perday {
    font-size: .78rem;
    color: #10b981;
    font-weight: 600;
    margin-bottom: 16px;
    background: #ecfdf5;
    display: inline-block;
    padding: 3px 12px;
    border-radius: 20px;
}
.pricing-desc {
    color: #64748b;
    font-size: .88rem;
    margin: 0 0 16px;
    line-height: 1.5;
}
.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    text-align: left;
    flex: 1;
}
.pricing-features li {
    padding: 8px 0;
    font-size: .88rem;
    color: #334155;
    display: flex;
    align-items: start;
    gap: 10px;
    border-bottom: 1px solid #f8fafc;
}
.pricing-features li:last-child {
    border-bottom: none;
}
.pricing-features li i {
    color: #10b981;
    font-size: .7rem;
    margin-top: 5px;
    flex-shrink: 0;
}
.pricing-action {
    margin-top: auto;
}
.pricing-btn {
    display: block;
    width: 100%;
    padding: 14px 24px;
    border-radius: 12px;
    font-size: .95rem;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: .2s;
    border: 2px solid #e2e8f0;
    background: #fff;
    color: #334155;
    font-family: inherit;
}
.pricing-btn:hover {
    border-color: #0d9488;
    color: #0d9488;
    background: #f0fdfa;
}
.pricing-btn.primary {
    background: linear-gradient(135deg, #0d9488, #0f766e);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 16px rgba(13,148,136,.3);
}
.pricing-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(13,148,136,.4);
    color: #fff;
}
.pricing-btn.disabled {
    opacity: .5;
    cursor: default;
    pointer-events: none;
}
.pricing-btn:disabled {
    opacity: .7;
    cursor: wait;
}

/* Trust Signals */
.pricing-trust {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-top: 40px;
    flex-wrap: wrap;
}
.pricing-trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .85rem;
    color: #64748b;
    font-weight: 500;
}
.pricing-trust-item i {
    color: #0d9488;
    font-size: .9rem;
}

@media (max-width: 768px) {
    .pricing-card.popular {
        transform: none;
    }
    .pricing-card.popular:hover {
        transform: translateY(-4px);
    }
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    .pricing-trust {
        gap: 16px;
    }
    .pricing-trust-item {
        font-size: .78rem;
    }
}


/* ══════════════════════════════════════════
   SERVICES & PACKAGES — Sidebar + Grid
   ══════════════════════════════════════════ */
.pkg-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 24px;
    align-items: start;
}
.pkg-mobile-filter { display: none; }

.pkg-sidebar {
    position: sticky;
    top: 90px;
}
.pkg-filter-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 20px;
}
.pkg-filter-title {
    font-size: .92rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.pkg-filter-group {
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f1f5f9;
}
.pkg-filter-group:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}
.pkg-filter-group h5 {
    font-size: .78rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin: 0 0 10px;
}
.pkg-filter-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    border-radius: 8px;
    text-decoration: none;
    color: #475569;
    font-size: .85rem;
    font-weight: 500;
    transition: .15s;
    margin-bottom: 2px;
}
.pkg-filter-item:hover {
    background: #f8fafc;
    color: #0d9488;
}
.pkg-filter-item.active {
    background: #f0fdfa;
    color: #0d9488;
    font-weight: 600;
}
.pkg-filter-count {
    background: #f1f5f9;
    color: #64748b;
    font-size: .7rem;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 700;
}
.pkg-filter-item.active .pkg-filter-count {
    background: #ccfbf1;
    color: #0d9488;
}

/* Package Grid */
.pkg-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.pkg-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    overflow: hidden;
    transition: .2s;
    display: flex;
    flex-direction: column;
    position: relative;
}
.pkg-card:hover {
    box-shadow: 0 8px 28px rgba(0,0,0,.08);
    transform: translateY(-3px);
}
.pkg-stream-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #f0fdfa;
    color: #0d9488;
    padding: 3px 12px;
    border-radius: 20px;
    font-size: .7rem;
    font-weight: 700;
}
.pkg-card-body {
    padding: 24px 20px 16px;
    text-align: center;
}
.pkg-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 8px;
}
.pkg-card-price {
    font-size: 1.8rem;
    font-weight: 800;
    color: #0d9488;
    margin-bottom: 4px;
}
.pkg-card-duration {
    font-size: .82rem;
    color: #94a3b8;
    margin-bottom: 8px;
}
.pkg-card-desc {
    font-size: .85rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}
.pkg-card-features {
    padding: 0 20px 12px;
    flex: 1;
}
.pkg-feature-item {
    font-size: .82rem;
    color: #475569;
    padding: 4px 0;
}
.pkg-card-footer {
    padding: 12px 20px 20px;
    margin-top: auto;
}

@media (max-width: 1024px) {
    .pkg-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .pkg-layout { grid-template-columns: 1fr; }
    .pkg-sidebar {
        display: none;
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        z-index: 9998;
        background: #fff;
        padding: 20px;
        overflow-y: auto;
        border-radius: 0;
    }
    .pkg-sidebar.open { display: block; }
    .pkg-mobile-filter { display: block; margin-bottom: 16px; }
    .pkg-grid { grid-template-columns: 1fr; }
    .pkg-filter-card { border: none; padding: 0; }
    .pkg-sidebar .pkg-filter-card:last-child { display: none; }
}
@media (max-width: 480px) {
    .pkg-card-price { font-size: 1.5rem; }
}


/* ══════════════════════════════════════════
   DUAL RANGE PRICE SLIDER
   ══════════════════════════════════════════ */
.price-slider-wrap { padding: 4px 0; }
.price-labels { display: flex; justify-content: space-between; margin-bottom: 8px; }
.price-badge {
    background: #0d9488;
    color: #fff;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: .78rem;
    font-weight: 700;
    min-width: 60px;
    text-align: center;
}
.dual-range {
    position: relative;
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
    margin: 16px 0 8px;
}
.dual-range input[type="range"] {
    position: absolute;
    width: 100%;
    top: -8px;
    height: 22px;
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    pointer-events: none;
    margin: 0;
    padding: 0;
}
.dual-range input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #0d9488;
    border: 3px solid #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,.2);
    cursor: pointer;
    pointer-events: auto;
}
.dual-range input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #0d9488;
    border: 3px solid #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,.2);
    cursor: pointer;
    pointer-events: auto;
}
.price-ticks {
    display: flex;
    justify-content: space-between;
    font-size: .68rem;
    color: #94a3b8;
    margin-top: 2px;
}
