/* ============================================
   RIVAL INSTITUTE - MULTIPAGE WEBSITE CSS
   ============================================ */

:root {
    --primary: #1e3a8a;
    --primary-light: #3b82f6;
    --secondary: #f59e0b;
    --accent: #dc2626;
    --dark: #0f172a;
    --light: #f8fafc;
    --gray: #64748b;
    --gradient: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    --shadow: 0 10px 40px rgba(0,0,0,0.1);
    --shadow-hover: 0 20px 60px rgba(0,0,0,0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: 90px;
}

body {
    font-family: 'Poppins', 'Hind', sans-serif;
    background: var(--light);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

img,
svg,
video,
iframe {
    max-width: 100%;
}

img,
svg,
video {
    display: block;
}

input,
select,
textarea,
button {
    font: inherit;
}

p,
h1,
h2,
h3,
h4,
h5,
h6,
a,
span,
li,
td,
th {
    overflow-wrap: anywhere;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s;
}

.preloader.hidden {
    opacity: 0;
    pointer-events: none;
}

.loader {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255,255,255,0.3);
    border-top-color: var(--secondary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: calc(15px + env(safe-area-inset-top, 0px)) 5% 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: all 0.3s;
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    padding: calc(10px + env(safe-area-inset-top, 0px)) 5% 10px;
}

.navbar.scrolled .logo-text,
.navbar.scrolled .nav-links a {
    color: var(--dark);
}

.navbar.scrolled .nav-links a:hover,
.navbar.scrolled .nav-links a.active {
    color: var(--primary);
}

.navbar.scrolled .mobile-menu-btn {
    color: var(--dark);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: white;
    box-shadow: 0 4px 15px rgba(30,58,138,0.2);
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.logo-text {
    color: white;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
}

.logo-text span {
    display: block;
    font-size: 12px;
    font-weight: 500;
    opacity: 0.9;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 35px;
    list-style: none;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    position: relative;
    transition: color 0.3s;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: width 0.3s;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    transition: background 0.3s, color 0.3s;
    border: none;
    background: transparent;
}

.mobile-menu-btn:hover {
    background: rgba(255,255,255,0.12);
}

.navbar.scrolled .mobile-menu-btn:hover {
    background: rgba(15,23,42,0.08);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background: white;
    z-index: 1001;
    padding: calc(80px + env(safe-area-inset-top, 0px)) 30px calc(30px + env(safe-area-inset-bottom, 0px));
    transition: right 0.4s;
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu .nav-links {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.mobile-menu .nav-links a {
    color: var(--dark);
    font-size: 18px;
}

.mobile-menu .nav-links a.active {
    color: var(--primary);
}

.close-menu {
    position: absolute;
    top: calc(25px + env(safe-area-inset-top, 0px));
    right: 25px;
    font-size: 28px;
    color: var(--dark);
    cursor: pointer;
    border: none;
    background: transparent;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Buttons */
.btn {
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: none;
    text-align: center;
}

.btn-primary {
    background: var(--secondary);
    color: var(--dark);
    box-shadow: 0 10px 30px rgba(245,158,11,0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(245,158,11,0.4);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
}

.btn-outline:hover {
    background: white;
    color: var(--primary);
    border-color: white;
}

.btn-dark {
    background: var(--dark);
    color: white;
    box-shadow: 0 10px 30px rgba(15,23,42,0.3);
}

.btn-dark:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(15,23,42,0.4);
}

/* Section Styles */
.section {
    padding: 100px 5%;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-block;
    background: rgba(30,58,138,0.1);
    color: var(--primary);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 15px;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 15px;
    line-height: 1.2;
}

.section-subtitle {
    color: var(--gray);
    font-size: 17px;
    line-height: 1.7;
}

/* Page Header (for inner pages) */
.page-header {
    min-height: 50vh;
    background: linear-gradient(135deg, rgba(30,58,138,0.9) 0%, rgba(15,23,42,0.9) 100%),
                url('https://images.unsplash.com/photo-1523050854058-8df90110c9f1?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 5% 60px;
    position: relative;
}

.page-header-content h1 {
    font-size: 48px;
    color: white;
    font-weight: 800;
    margin-bottom: 15px;
}

.page-header-content p {
    color: rgba(255,255,255,0.8);
    font-size: 18px;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    color: rgba(255,255,255,0.7);
    font-size: 14px;
}

.breadcrumb a {
    color: var(--secondary);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll to top */
.scroll-top {
    position: fixed;
    bottom: calc(30px + env(safe-area-inset-bottom, 0px));
    right: calc(30px + env(safe-area-inset-right, 0px));
    width: 50px;
    height: 50px;
    background: var(--gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 999;
    box-shadow: 0 5px 20px rgba(30,58,138,0.3);
    border: none;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px);
}

/* Toast */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--dark);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 500;
    z-index: 1002;
    transition: transform 0.4s;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.toast.show {
    transform: translateX(-50%) translateY(0);
}

/* Footer */
.footer {
    background: var(--dark);
    color: white;
    padding: 80px 5% 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-brand p {
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
    margin-bottom: 25px;
    font-size: 15px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    transition: all 0.3s;
    text-decoration: none;
}

.social-links a:hover {
    background: var(--secondary);
    color: var(--dark);
    transform: translateY(-3px);
}

.footer-column h4 {
    font-size: 18px;
    margin-bottom: 25px;
    font-weight: 600;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 15px;
}

.footer-column ul li a:hover {
    color: var(--secondary);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
}

.mobile-menu-btn:focus-visible,
.close-menu:focus-visible,
.scroll-top:focus-visible,
.btn:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid rgba(245,158,11,0.45);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Responsive */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .page-header-content h1 {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .navbar,
    .navbar.scrolled {
        padding: calc(12px + env(safe-area-inset-top, 0px)) 5% 12px;
    }

    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: inline-flex;
        font-size: 22px;
        flex-shrink: 0;
    }

    .logo {
        gap: 10px;
        max-width: calc(100% - 56px);
    }

    .logo-icon {
        width: 42px;
        height: 42px;
        font-size: 20px;
        border-radius: 10px;
    }

    .logo-text {
        font-size: 18px;
    }

    .logo-text span {
        font-size: 9px;
        letter-spacing: 1.2px;
    }
    
    .section {
        padding: 60px 5%;
    }

    .section-header {
        margin-bottom: 40px;
    }
    
    .section-title {
        font-size: 28px;
    }

    .section-subtitle {
        font-size: 15px;
    }

    .btn {
        width: 100%;
        justify-content: center;
        padding: 14px 22px;
        font-size: 15px;
    }

    input,
    select,
    textarea {
        font-size: 16px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .page-header-content h1 {
        font-size: 28px;
    }

    .page-header-content p {
        font-size: 15px;
    }

    .breadcrumb {
        flex-wrap: wrap;
        row-gap: 6px;
    }

    .hero {
        min-height: auto;
        padding: 110px 5% 60px;
    }

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

    .hero p {
        font-size: 16px;
        margin-bottom: 28px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }

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

    .social-links {
        flex-wrap: wrap;
    }

    .about-content,
    .result-item,
    .testimonial-card,
    .course-card,
    .why-card,
    .value-card,
    .team-info,
    .mission-card,
    .vision-card {
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 52px 4.5%;
    }

    .section-tag {
        padding: 7px 14px;
        font-size: 12px;
    }

    .section-title,
    .page-header-content h1,
    .hero h1,
    .cta-section h2 {
        font-size: 24px;
    }

    .page-header {
        min-height: auto;
        padding: 108px 4.5% 52px;
    }

    .breadcrumb {
        padding-left: 14px;
        padding-right: 14px;
        font-size: 12px;
        gap: 7px;
    }

    .mobile-menu {
        width: 88%;
        padding: calc(76px + env(safe-area-inset-top, 0px)) 22px calc(24px + env(safe-area-inset-bottom, 0px));
    }

    .mobile-menu .nav-links {
        display: flex;
        gap: 18px;
    }

    .mobile-menu .nav-links a {
        font-size: 16px;
    }

    .mobile-menu .nav-links li {
        width: 100%;
    }

    .mobile-menu .nav-links a {
        display: block;
        width: 100%;
        padding: 10px 0;
    }

    .hero {
        padding: 104px 4.5% 52px;
    }

    .rating-badge {
        width: 100%;
        justify-content: center;
        padding: 10px 14px;
    }

    .hero p,
    .page-header-content p,
    .cta-section p {
        font-size: 14px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
        margin-top: 32px;
    }

    .stat-number,
    .result-number {
        font-size: 30px;
    }

    .courses-grid,
    .why-us-grid,
    .testimonials-grid,
    .team-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }

    .footer {
        padding: 64px 4.5% 24px;
    }

    .footer-brand p,
    .footer-column ul li a,
    .footer-bottom p {
        font-size: 13px;
    }

    .testimonial-card,
    .course-card,
    .why-card,
    .mission-card,
    .vision-card,
    .value-card {
        padding: 24px 18px;
    }

    .experience-badge {
        right: 12px;
        bottom: 12px;
        padding: 18px 20px;
    }

    .experience-badge .num {
        font-size: 30px;
    }

    .scroll-top {
        right: calc(18px + env(safe-area-inset-right, 0px));
        bottom: calc(18px + env(safe-area-inset-bottom, 0px));
        width: 44px;
        height: 44px;
        font-size: 18px;
    }
}

@media (hover: none) and (pointer: coarse) {
    .course-card:hover,
    .why-card:hover,
    .team-card:hover,
    .value-card:hover,
    .testimonial-card:hover,
    .scroll-top:hover,
    .btn-primary:hover,
    .btn-dark:hover,
    .btn-outline:hover {
        transform: none;
    }
}

/* ============================================
   HOME PAGE SPECIFIC STYLES
   ============================================ */

.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, rgba(13,27,75,0.72) 0%, rgba(15,23,42,0.78) 100%),
                url('../assets/images/home-hero-building.jpg') center/cover;
    display: flex;
    align-items: center;
    padding: 100px 5% 50px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: rgba(245,158,11,0.1);
    border-radius: 50%;
    animation: float 20s infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-30px, -30px); }
}

.hero-content {
    max-width: 700px;
    color: white;
    position: relative;
    z-index: 2;
}

.rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 25px;
    border: 1px solid rgba(255,255,255,0.2);
}

.rating-badge i {
    color: #fbbf24;
}

.rating-badge span {
    font-weight: 600;
    font-size: 14px;
}

.hero h1 {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

.hero h1 .highlight {
    color: var(--secondary);
}

.hero p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 35px;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 50px;
    animation: fadeInUp 1s ease 0.6s both;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 36px;
    font-weight: 800;
    color: var(--secondary);
}

.stat-label {
    font-size: 14px;
    opacity: 0.8;
    margin-top: 5px;
}

.floating-cards {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    z-index: 2;
}

.float-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 20px;
    padding: 25px;
    width: 200px;
    animation: floatCard 6s infinite;
}

.float-card:nth-child(2) { animation-delay: 1s; }
.float-card:nth-child(3) { animation-delay: 2s; }
.float-card:nth-child(4) { animation-delay: 3s; }

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.float-card i {
    font-size: 32px;
    color: var(--secondary);
    margin-bottom: 15px;
}

.float-card h4 {
    color: white;
    font-size: 16px;
    margin-bottom: 8px;
}

.float-card p {
    color: rgba(255,255,255,0.7);
    font-size: 13px;
}

/* Home About Preview */
.about-preview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-hover);
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--gradient);
    color: white;
    padding: 25px 35px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(30,58,138,0.3);
}

.experience-badge .num {
    font-size: 42px;
    font-weight: 800;
    display: block;
}

.experience-badge .text {
    font-size: 14px;
    font-weight: 500;
}

.about-content h3 {
    font-size: 32px;
    color: var(--dark);
    margin-bottom: 20px;
    font-weight: 700;
}

.about-content p {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 25px;
    font-size: 16px;
}

.features-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature-item i {
    width: 40px;
    height: 40px;
    background: rgba(30,58,138,0.1);
    color: var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.feature-item span {
    font-weight: 600;
    color: var(--dark);
    font-size: 15px;
}

/* Courses Preview */
.courses-preview {
    background: var(--dark);
    color: white;
}

.courses-preview .section-title {
    color: white;
}

.courses-preview .section-subtitle {
    color: rgba(255,255,255,0.7);
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.course-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 40px 30px;
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
}

.course-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient);
    transform: scaleX(0);
    transition: transform 0.4s;
}

.course-card:hover {
    transform: translateY(-10px);
    background: rgba(255,255,255,0.08);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.course-card:hover::before {
    transform: scaleX(1);
}

.course-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 25px;
    color: white;
}

.course-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    font-weight: 700;
}

.course-card p {
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 15px;
}

.course-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.course-tag {
    background: rgba(245,158,11,0.2);
    color: var(--secondary);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
}

/* Why Choose Us */
.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.why-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.4s;
    border: 1px solid rgba(0,0,0,0.05);
}

.why-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.why-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 32px;
    color: white;
    box-shadow: 0 10px 30px rgba(30,58,138,0.3);
}

.why-card h3 {
    font-size: 20px;
    color: var(--dark);
    margin-bottom: 15px;
    font-weight: 700;
}

.why-card p {
    color: var(--gray);
    line-height: 1.7;
    font-size: 15px;
}

/* Results Section */
.results-section {
    background: var(--gradient);
    color: white;
    text-align: center;
}

.results-section .section-title {
    color: white;
}

.results-section .section-subtitle {
    color: rgba(255,255,255,0.8);
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-top: 50px;
}

.result-item {
    padding: 30px;
}

.result-number {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--secondary);
}

.result-label {
    font-size: 16px;
    font-weight: 500;
    opacity: 0.9;
}

/* Testimonials Preview */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 80px;
    color: rgba(30,58,138,0.1);
    font-family: serif;
    line-height: 1;
}

.stars {
    color: #fbbf24;
    margin-bottom: 20px;
    font-size: 18px;
}

.testimonial-text {
    color: #475569;
    line-height: 1.8;
    margin-bottom: 25px;
    font-size: 16px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 20px;
}

.author-info h4 {
    color: var(--dark);
    font-size: 16px;
    font-weight: 600;
}

.author-info p {
    color: var(--gray);
    font-size: 14px;
}

/* CTA Section */
.cta-section {
    background: var(--dark);
    text-align: center;
    color: white;
}

.cta-section h2 {
    font-size: 42px;
    margin-bottom: 20px;
    font-weight: 800;
}

.cta-section p {
    color: rgba(255,255,255,0.8);
    font-size: 18px;
    margin-bottom: 35px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   ABOUT PAGE STYLES
   ============================================ */

.about-story {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 80px;
}

.mission-card, .vision-card {
    background: white;
    border-radius: 20px;
    padding: 50px 40px;
    box-shadow: var(--shadow);
    text-align: center;
}

.mission-card i, .vision-card i {
    font-size: 50px;
    color: var(--primary);
    margin-bottom: 25px;
}

.mission-card h3, .vision-card h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--dark);
}

.mission-card p, .vision-card p {
    color: var(--gray);
    line-height: 1.8;
    font-size: 16px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.value-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.4s;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.value-card i {
    font-size: 40px;
    color: var(--secondary);
    margin-bottom: 20px;
}

.value-card h4 {
    font-size: 20px;
    color: var(--dark);
    margin-bottom: 15px;
}

.value-card p {
    color: var(--gray);
    font-size: 15px;
    line-height: 1.7;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.team-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.4s;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.team-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.team-info {
    padding: 30px;
    text-align: center;
}

.team-info h4 {
    font-size: 22px;
    color: var(--dark);
    margin-bottom: 8px;
}

.team-info p {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 15px;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.team-social a {
    width: 40px;
    height: 40px;
    background: rgba(30,58,138,0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s;
}

.team-social a:hover {
    background: var(--primary);
    color: white;
}

/* ============================================
   COURSES PAGE STYLES
   ============================================ */

.courses-hero {
    position: relative;
    overflow: hidden;
    min-height: 720px;
    background: linear-gradient(135deg, #0d1b4b 0%, #1a237e 55%, #283593 100%);
    padding: 122px 5% 70px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.courses-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 80% 20%, rgba(255,214,0,0.08) 0%, transparent 60%),
        url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.035'%3E%3Cpath d='M40 0L0 40 40 80 80 40z'/%3E%3C/g%3E%3C/svg%3E");
}

.courses-hero-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
    margin: 0 auto;
}

.courses-hero .section-tag {
    display: inline-block;
    background: rgba(255,255,255,0.12);
    color: white;
    border: 1px solid rgba(255,255,255,0.22);
    margin-bottom: 22px;
    backdrop-filter: blur(4px);
}

.courses-hero h1 {
    color: white;
    font-size: 56px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
}

.courses-hero h1 span {
    color: #ffd600;
}

.courses-hero-content > p {
    color: rgba(255,255,255,0.8);
    font-size: 18px;
    line-height: 1.75;
    margin: 0 auto 32px;
}

.courses-hero .breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 999px;
    padding: 9px 20px;
    color: rgba(255,255,255,0.74);
    backdrop-filter: blur(4px);
}

.courses-hero .breadcrumb a {
    color: #ffd600;
    font-weight: 600;
    text-decoration: none;
}

.courses-hero .breadcrumb i {
    font-size: 12px;
}

.courses-hero-stats {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 48px;
}

.courses-hero-stat {
    min-width: 190px;
    padding: 22px 42px;
    border-right: 1px solid rgba(255,255,255,0.12);
}

.courses-hero-stat:last-child {
    border-right: none;
}

.courses-hero-stat span {
    display: block;
    color: #ffd600;
    font-size: 40px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 10px;
}

.courses-hero-stat span i {
    font-size: 22px;
    margin-left: 4px;
}

.courses-hero-stat p {
    color: rgba(255,255,255,0.66);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
}

.courses-overview-section,
.courses-list-section,
.course-comparison-section,
.course-faq-section {
    background: white;
}

.course-method-section,
.batch-options-section,
.syllabus-roadmap-section {
    background: #eef4ff;
}

.courses-overview-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 46px;
    align-items: center;
}

.courses-overview-copy .section-title {
    text-align: left;
}

.courses-overview-copy p {
    color: var(--gray);
    font-size: 17px;
    line-height: 1.8;
}

.courses-overview-cards,
.course-method-grid,
.course-support-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

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

.overview-mini-card,
.method-card,
.support-card {
    background: white;
    border: 1px solid rgba(30,58,138,0.08);
    border-radius: 22px;
    padding: 30px 24px;
    box-shadow: var(--shadow);
    transition: all 0.35s;
}

.overview-mini-card:hover,
.method-card:hover,
.support-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.overview-mini-card i,
.support-card i {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: var(--gradient);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 18px;
}

.overview-mini-card h3,
.method-card h3,
.support-card h3 {
    color: var(--dark);
    font-size: 20px;
    margin-bottom: 10px;
}

.overview-mini-card p,
.method-card p,
.support-card p {
    color: var(--gray);
    font-size: 14px;
    line-height: 1.75;
}

.course-category-grid,
.batch-options-grid,
.course-faq-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin-bottom: 46px;
}

.batch-options-grid {
    grid-template-columns: repeat(3, 1fr);
    margin-bottom: 0;
}

.course-faq-grid {
    grid-template-columns: repeat(2, 1fr);
    margin-bottom: 0;
}

.course-category-card,
.batch-card,
.course-faq-card {
    background: white;
    border: 1px solid rgba(30,58,138,0.08);
    border-radius: 22px;
    padding: 30px 24px;
    box-shadow: var(--shadow);
    transition: all 0.35s;
}

.course-category-card:hover,
.batch-card:hover,
.course-faq-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.course-category-card i {
    width: 56px;
    height: 56px;
    border-radius: 17px;
    background: var(--gradient);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 23px;
    margin-bottom: 20px;
}

.course-category-card h3,
.batch-card h3,
.course-faq-card h3 {
    color: var(--dark);
    font-size: 20px;
    margin-bottom: 10px;
}

.course-category-card p,
.batch-card p,
.course-faq-card p {
    color: var(--gray);
    font-size: 14px;
    line-height: 1.75;
}

.course-category-card span,
.batch-label {
    display: inline-flex;
    align-items: center;
    background: rgba(245,158,11,0.16);
    color: #b45309;
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 700;
    margin-top: 18px;
}

.batch-label {
    margin-top: 0;
    margin-bottom: 18px;
}

.batch-card ul {
    list-style: none;
    display: grid;
    gap: 12px;
    margin-top: 22px;
}

.batch-card li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--dark);
    font-size: 14px;
    font-weight: 500;
}

.batch-card li i {
    color: #16a34a;
}

.courses-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 30px;
    border: 2px solid var(--primary);
    background: transparent;
    color: var(--primary);
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
    font-size: 15px;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary);
    color: white;
}

.course-detail-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 40px;
    display: grid;
    grid-template-columns: 1fr 2fr;
    border: 1px solid rgba(30,58,138,0.08);
    transition: all 0.35s;
}

.course-detail-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.course-detail-img {
    position: relative;
    overflow: hidden;
}

.course-detail-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.course-detail-content {
    padding: 50px;
}

.course-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(30,58,138,0.08);
    color: var(--primary);
    border-radius: 999px;
    padding: 7px 14px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 16px;
}

.course-detail-content h3 {
    font-size: 28px;
    color: var(--dark);
    margin-bottom: 20px;
}

.course-detail-content p {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 25px;
}

.course-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 30px;
}

.course-feature {
    display: flex;
    align-items: center;
    gap: 12px;
}

.course-feature i {
    color: var(--secondary);
    font-size: 18px;
}

.course-feature span {
    color: var(--dark);
    font-weight: 500;
    font-size: 15px;
}

.course-meta {
    display: flex;
    gap: 30px;
    padding-top: 25px;
    border-top: 1px solid #e2e8f0;
}

.course-meta-item {
    text-align: center;
}

.course-meta-item .num {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    display: block;
}

.course-meta-item .label {
    font-size: 13px;
    color: var(--gray);
}

.course-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.course-center-action {
    text-align: center;
    margin-top: 50px;
}

.method-card {
    position: relative;
    overflow: hidden;
}

.method-card span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--secondary);
    color: var(--dark);
    font-weight: 800;
    margin-bottom: 20px;
}

.syllabus-roadmap {
    max-width: 980px;
    margin: 0 auto;
    display: grid;
    gap: 22px;
}

.roadmap-item {
    background: white;
    border: 1px solid rgba(30,58,138,0.08);
    border-radius: 24px;
    padding: 28px;
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 28px;
    align-items: center;
    box-shadow: var(--shadow);
    transition: all 0.35s;
}

.roadmap-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.roadmap-step {
    background: var(--gradient);
    color: white;
    border-radius: 18px;
    padding: 18px;
    text-align: center;
    font-weight: 800;
}

.roadmap-item h3 {
    color: var(--dark);
    font-size: 22px;
    margin-bottom: 8px;
}

.roadmap-item p {
    color: var(--gray);
    line-height: 1.75;
}

.courses-cta-section {
    background:
        linear-gradient(135deg, rgba(15,23,42,0.94) 0%, rgba(30,58,138,0.94) 100%),
        url('https://images.unsplash.com/photo-1523240795612-9a054b0db644?auto=format&fit=crop&w=1600&q=80') center/cover;
    color: white;
    padding: 90px 5%;
    text-align: center;
}

.courses-cta-content {
    max-width: 760px;
    margin: 0 auto;
}

.courses-cta-content .section-tag {
    background: rgba(255,255,255,0.14);
    color: white;
}

.courses-cta-content h2 {
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: 18px;
}

.courses-cta-content p {
    color: rgba(255,255,255,0.8);
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 32px;
}

/* ============================================
   RESULTS PAGE STYLES
   ============================================ */

.results-overview {
    background:
        linear-gradient(180deg, white 0%, #eef4ff 100%);
    position: relative;
    overflow: hidden;
}

.results-overview::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(30,58,138,0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(30,58,138,0.045) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,0.7), transparent 75%);
    pointer-events: none;
}

.results-overview-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 45px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.results-overview-copy {
    max-width: 680px;
}

.results-overview-copy .section-title {
    text-align: left;
}

.results-overview-copy p {
    color: var(--gray);
    font-size: 17px;
    line-height: 1.8;
    margin-top: 18px;
}

.results-pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.results-pill-row span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    color: var(--primary);
    border: 1px solid rgba(30,58,138,0.12);
    border-radius: 999px;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 10px 28px rgba(15,23,42,0.06);
}

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

.result-stat-card {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,250,252,0.96));
    border: 1px solid rgba(30,58,138,0.08);
    border-radius: 22px;
    padding: 28px;
    box-shadow: var(--shadow);
    transition: all 0.35s;
    position: relative;
    overflow: hidden;
}

.result-stat-card::before {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary), var(--primary-light));
}

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

.result-stat-card strong {
    display: block;
    color: var(--primary);
    font-size: 34px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 12px;
}

.result-stat-card span {
    color: var(--gray);
    font-size: 14px;
    line-height: 1.7;
}

.results-feature-band {
    background: #0f172a;
    color: white;
    padding: 70px 5%;
    position: relative;
    overflow: hidden;
}

.results-feature-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, rgba(245,158,11,0.12), transparent 34%),
        linear-gradient(300deg, rgba(59,130,246,0.18), transparent 45%);
    pointer-events: none;
}

.results-feature-grid {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.75fr 1.35fr 0.8fr;
    gap: 28px;
    align-items: stretch;
    position: relative;
    z-index: 1;
}

.feature-rank-card,
.feature-story,
.feature-metrics {
    border: 1px solid rgba(255,255,255,0.13);
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(12px);
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 20px 45px rgba(0,0,0,0.18);
}

.feature-label {
    color: var(--secondary);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.feature-rank-card strong {
    display: block;
    font-size: 58px;
    line-height: 1;
    margin: 20px 0 14px;
}

.feature-rank-card p,
.feature-story p {
    color: rgba(255,255,255,0.72);
    line-height: 1.75;
}

.feature-story .section-tag {
    background: rgba(255,255,255,0.12);
    color: white;
}

.feature-story h2 {
    font-size: 32px;
    line-height: 1.25;
    margin-bottom: 16px;
}

.feature-metrics {
    display: grid;
    gap: 14px;
}

.feature-metrics div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255,255,255,0.12);
}

.feature-metrics div:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.feature-metrics span {
    color: rgba(255,255,255,0.68);
    font-size: 14px;
}

.feature-metrics strong {
    color: var(--secondary);
    font-size: 30px;
}

.results-process-section,
.toppers-section,
.proof-section {
    background: white;
}

.achievements-section,
.results-breakdown-section {
    background: #eef4ff;
}

.results-process-grid,
.proof-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.process-card,
.proof-card {
    background:
        linear-gradient(180deg, white, #f8fafc);
    border: 1px solid rgba(30,58,138,0.08);
    border-radius: 22px;
    padding: 34px 28px;
    box-shadow: var(--shadow);
    transition: all 0.35s;
    position: relative;
    overflow: hidden;
}

.process-card::after,
.proof-card::after {
    content: '';
    position: absolute;
    left: 28px;
    right: 28px;
    bottom: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s;
}

.process-card:hover,
.proof-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.process-card:hover::after,
.proof-card:hover::after {
    transform: scaleX(1);
}

.process-icon,
.proof-card i {
    width: 58px;
    height: 58px;
    background: var(--gradient);
    color: white;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 22px;
}

.process-card h3,
.proof-card h3 {
    color: var(--dark);
    font-size: 20px;
    margin-bottom: 12px;
}

.process-card p,
.proof-card p {
    color: var(--gray);
    font-size: 15px;
    line-height: 1.75;
}

.achievements-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.achievements-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: var(--gradient);
}

.timeline-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
    position: relative;
}

.timeline-item:nth-child(even) .timeline-content {
    grid-column: 1;
    text-align: right;
}

.timeline-item:nth-child(even) .timeline-year {
    grid-column: 2;
    text-align: left;
}

.timeline-year {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary);
}

.timeline-content h4 {
    font-size: 22px;
    color: var(--dark);
    margin-bottom: 10px;
}

.timeline-content {
    background: white;
    border: 1px solid rgba(30,58,138,0.08);
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 14px 34px rgba(15,23,42,0.08);
}

.timeline-content p {
    color: var(--gray);
    line-height: 1.7;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: var(--secondary);
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 0 0 4px var(--primary);
}

.toppers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.topper-card {
    background:
        linear-gradient(180deg, white 0%, #f8fafc 100%);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.4s;
    border-top: 4px solid var(--secondary);
    position: relative;
    overflow: hidden;
}

.topper-card::before {
    content: '';
    position: absolute;
    top: -70px;
    right: -70px;
    width: 150px;
    height: 150px;
    background: rgba(245,158,11,0.12);
    border-radius: 50%;
}

.topper-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.topper-rank {
    position: relative;
    z-index: 1;
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    font-weight: 800;
    margin: 0 auto 20px;
}

.topper-avatar {
    position: relative;
    z-index: 1;
    width: 72px;
    height: 72px;
    background: rgba(30,58,138,0.08);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 22px;
    margin: 0 auto 18px;
    border: 4px solid white;
    box-shadow: 0 10px 26px rgba(30,58,138,0.14);
}

.topper-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(30,58,138,0.08);
    color: var(--primary);
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 14px;
}

.topper-card h4 {
    font-size: 22px;
    color: var(--dark);
    margin-bottom: 8px;
}

.topper-card .exam {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 10px;
}

.topper-card .score {
    color: var(--gray);
    font-size: 15px;
}

.results-toppers-grid .topper-card p {
    color: var(--gray);
    font-size: 14px;
    line-height: 1.7;
    margin-top: 14px;
}

.results-toppers-grid .topper-card .score {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.results-toppers-grid .topper-card .score strong {
    color: var(--dark);
    font-size: 22px;
}

.results-toppers-grid .topper-card .score span,
.result-status {
    display: inline-flex;
    align-items: center;
    background: #dcfce7;
    color: #15803d;
    border-radius: 999px;
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 700;
}

.result-summary-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-bottom: 28px;
}

.result-summary-cards > div {
    background: linear-gradient(180deg, white, #f8fafc);
    border: 1px solid rgba(30,58,138,0.08);
    border-radius: 20px;
    padding: 26px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.result-summary-cards > div::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 5px;
    height: 100%;
    background: var(--secondary);
}

.result-summary-cards strong {
    display: block;
    color: var(--primary);
    font-size: 34px;
    line-height: 1;
    margin-bottom: 8px;
}

.result-summary-cards span {
    color: var(--gray);
    font-size: 14px;
}

.results-table-wrap {
    background: white;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: var(--shadow-hover);
    border: 1px solid rgba(30,58,138,0.08);
}

.results-table {
    width: 100%;
    border-collapse: collapse;
}

.results-table th,
.results-table td {
    padding: 18px 22px;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.results-table th {
    background: linear-gradient(135deg, var(--dark), var(--primary));
    color: white;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.results-table td {
    color: #475569;
    font-size: 15px;
}

.results-table td:nth-child(3),
.results-table td:nth-child(4) {
    color: var(--dark);
    font-weight: 700;
}

.results-table tbody tr:hover {
    background: #f8fafc;
}

.results-cta-section {
    background:
        linear-gradient(135deg, rgba(15,23,42,0.94) 0%, rgba(30,58,138,0.94) 100%),
        url('https://images.unsplash.com/photo-1523240795612-9a054b0db644?auto=format&fit=crop&w=1600&q=80') center/cover;
    color: white;
    padding: 90px 5%;
    text-align: center;
}

.results-cta-content {
    max-width: 760px;
    margin: 0 auto;
}

.results-cta-content .section-tag {
    background: rgba(255,255,255,0.14);
    color: white;
}

.results-cta-content h2 {
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: 18px;
}

.results-cta-content p {
    color: rgba(255,255,255,0.8);
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 32px;
}

/* ============================================
   GALLERY PAGE STYLES
   ============================================ */

.gallery-hero {
    position: relative;
    overflow: hidden;
    min-height: 720px;
    background: linear-gradient(135deg, #0d1b4b 0%, #1a237e 55%, #283593 100%);
    padding: 122px 5% 70px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.gallery-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 80% 20%, rgba(255,214,0,0.08) 0%, transparent 60%),
        url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.035'%3E%3Cpath d='M40 0L0 40 40 80 80 40z'/%3E%3C/g%3E%3C/svg%3E");
}

.hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-particles span {
    position: absolute;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255,214,0,0.48);
    animation: galleryFloatDot 8s infinite ease-in-out;
}

.hero-particles span:nth-child(1) { top: 15%; left: 10%; animation-delay: 0s; animation-duration: 7s; }
.hero-particles span:nth-child(2) { top: 30%; left: 85%; animation-delay: 1.5s; animation-duration: 9s; }
.hero-particles span:nth-child(3) { top: 70%; left: 19%; animation-delay: 3s; animation-duration: 6s; }
.hero-particles span:nth-child(4) { top: 54%; left: 72%; animation-delay: 0.8s; animation-duration: 10s; }
.hero-particles span:nth-child(5) { top: 80%; left: 50%; animation-delay: 2s; animation-duration: 8s; }

@keyframes galleryFloatDot {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translateY(-20px) scale(1.4);
        opacity: 1;
    }
}

.gallery-hero-content {
    position: relative;
    z-index: 2;
    max-width: 760px;
    margin: 0 auto;
}

.gallery-hero .section-tag {
    display: inline-block;
    background: rgba(255,255,255,0.12);
    color: white;
    border: 1px solid rgba(255,255,255,0.22);
    margin-bottom: 22px;
    backdrop-filter: blur(4px);
}

.gallery-hero h1 {
    color: white;
    font-size: 56px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
}

.gallery-hero h1 span {
    color: #ffd600;
}

.gallery-hero-content > p {
    color: rgba(255,255,255,0.8);
    font-size: 18px;
    line-height: 1.75;
    margin: 0 auto 32px;
}

.gallery-hero .breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 999px;
    padding: 9px 20px;
    color: rgba(255,255,255,0.74);
    backdrop-filter: blur(4px);
}

.gallery-hero .breadcrumb a {
    color: #ffd600;
    font-weight: 600;
    text-decoration: none;
}

.gallery-hero .breadcrumb i {
    font-size: 12px;
}

.gallery-hero-stats {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 48px;
}

.gallery-hero-stat {
    min-width: 190px;
    padding: 22px 42px;
    border-right: 1px solid rgba(255,255,255,0.12);
}

.gallery-hero-stat:last-child {
    border-right: none;
}

.gallery-hero-stat span {
    display: block;
    color: #ffd600;
    font-size: 40px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 10px;
}

.gallery-hero-stat span i {
    font-size: 22px;
    margin-left: 4px;
}

.gallery-hero-stat p {
    color: rgba(255,255,255,0.66);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
}

.gallery-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.gallery-intro-section {
    padding-bottom: 30px;
}

.gallery-showcase-section {
    padding-top: 30px;
}

.gallery-experience-section {
    background: #0f172a;
    color: white;
    padding: 80px 5%;
    position: relative;
    overflow: hidden;
}

.gallery-experience-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(245,158,11,0.12), transparent 34%),
        linear-gradient(315deg, rgba(59,130,246,0.18), transparent 42%);
    pointer-events: none;
}

.gallery-experience-wrap {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.9fr 1.4fr;
    gap: 42px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.gallery-experience-copy .section-tag {
    background: rgba(255,255,255,0.14);
    color: white;
}

.gallery-experience-copy h2 {
    font-size: 38px;
    line-height: 1.2;
    margin-bottom: 18px;
}

.gallery-experience-copy p {
    color: rgba(255,255,255,0.76);
    line-height: 1.8;
    font-size: 16px;
}

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

.experience-card {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.13);
    border-radius: 22px;
    padding: 28px 22px;
    backdrop-filter: blur(12px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.18);
    transition: all 0.35s;
}

.experience-card:hover {
    transform: translateY(-8px);
    background: rgba(255,255,255,0.1);
}

.experience-card i {
    width: 52px;
    height: 52px;
    border-radius: 15px;
    background: var(--secondary);
    color: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 20px;
}

.experience-card h3 {
    color: white;
    font-size: 19px;
    margin-bottom: 10px;
}

.experience-card p {
    color: rgba(255,255,255,0.72);
    font-size: 14px;
    line-height: 1.7;
}

.gallery-albums-section {
    background: white;
}

.gallery-albums-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.album-card {
    position: relative;
    min-height: 390px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.35s;
}

.album-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.album-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s;
}

.album-card:hover img {
    transform: scale(1.08);
}

.album-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15,23,42,0.9), rgba(15,23,42,0.12));
}

.album-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    padding: 28px;
    color: white;
}

.album-content span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--secondary);
    color: var(--dark);
    font-weight: 800;
    margin-bottom: 16px;
}

.album-content h3 {
    font-size: 22px;
    line-height: 1.25;
    margin-bottom: 10px;
}

.album-content p {
    color: rgba(255,255,255,0.78);
    font-size: 14px;
    line-height: 1.65;
}

.gallery-intro-card {
    background:
        radial-gradient(circle at top right, rgba(245,158,11,0.18), transparent 28%),
        linear-gradient(135deg, #ffffff 0%, #eef4ff 100%);
    border: 1px solid rgba(30,58,138,0.08);
    border-radius: 32px;
    padding: 45px;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 40px;
    box-shadow: var(--shadow);
}

.gallery-intro-copy h2 {
    font-size: 40px;
    line-height: 1.2;
    color: var(--dark);
    margin-bottom: 18px;
}

.gallery-intro-copy p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--gray);
    max-width: 650px;
}

.gallery-intro-highlights {
    display: grid;
    gap: 18px;
}

.gallery-highlight {
    background: rgba(255,255,255,0.78);
    border: 1px solid rgba(30,58,138,0.08);
    border-radius: 22px;
    padding: 24px;
    box-shadow: 0 12px 30px rgba(15,23,42,0.06);
}

.gallery-highlight-number {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 6px;
}

.gallery-highlight-label {
    color: var(--gray);
    font-size: 15px;
    line-height: 1.6;
}

.gallery-controls {
    text-align: center;
    margin-bottom: 35px;
}

.gallery-note {
    margin-top: 18px;
    color: var(--gray);
    font-size: 15px;
}

.gallery-tab {
    padding: 12px 30px;
    border: 2px solid var(--primary);
    background: transparent;
    color: var(--primary);
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
    font-size: 15px;
}

.gallery-tab.active,
.gallery-tab:hover {
    background: var(--primary);
    color: white;
}

.gallery-masonry {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    min-height: 320px;
    box-shadow: 0 18px 45px rgba(15,23,42,0.12);
    isolation: isolate;
    transition: transform 0.35s, box-shadow 0.35s;
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15,23,42,0.04) 0%, rgba(15,23,42,0.3) 100%);
    z-index: 0;
}

.gallery-item:hover,
.gallery-item:focus-visible {
    transform: translateY(-8px);
    box-shadow: 0 24px 55px rgba(15,23,42,0.18);
}

.gallery-item:focus-visible {
    outline: 3px solid rgba(245,158,11,0.75);
    outline-offset: 4px;
}

.gallery-item.tall {
    grid-row: span 2;
    min-height: 660px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
    display: block;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 30px 22px 22px;
    color: white;
    transform: translateY(100%);
    transition: transform 0.4s;
    z-index: 1;
}

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

.gallery-chip {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.18);
    border: 1px solid rgba(255,255,255,0.25);
    backdrop-filter: blur(8px);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.gallery-overlay strong {
    display: block;
    font-size: 22px;
    line-height: 1.2;
    margin-bottom: 6px;
}

.gallery-overlay div {
    color: rgba(255,255,255,0.82);
    font-size: 15px;
}

.gallery-cta {
    margin-top: 55px;
}

.gallery-story-strip {
    margin-top: 55px;
    background:
        linear-gradient(135deg, #ffffff 0%, #eef4ff 100%);
    border: 1px solid rgba(30,58,138,0.08);
    border-radius: 28px;
    padding: 34px 38px;
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 30px;
    align-items: center;
    box-shadow: var(--shadow);
}

.gallery-story-strip h3 {
    color: var(--dark);
    font-size: 28px;
    line-height: 1.25;
    margin-bottom: 12px;
}

.gallery-story-strip p {
    color: var(--gray);
    line-height: 1.75;
}

.gallery-story-points {
    display: grid;
    gap: 14px;
}

.gallery-story-points span {
    display: flex;
    align-items: center;
    gap: 12px;
    background: white;
    border: 1px solid rgba(30,58,138,0.08);
    border-radius: 16px;
    padding: 14px 16px;
    color: var(--dark);
    font-weight: 600;
    box-shadow: 0 10px 26px rgba(15,23,42,0.06);
}

.gallery-story-points i {
    color: #16a34a;
}

.gallery-cta-card {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
    color: white;
    border-radius: 28px;
    padding: 36px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    box-shadow: 0 24px 55px rgba(15,23,42,0.2);
}

.gallery-cta-card h3 {
    font-size: 30px;
    line-height: 1.2;
    margin-bottom: 12px;
}

.gallery-cta-card p {
    max-width: 650px;
    color: rgba(255,255,255,0.8);
    line-height: 1.7;
}

.gallery-cta-card .section-tag {
    background: rgba(255,255,255,0.14);
    color: white;
}

.gallery-details-section {
    background: linear-gradient(180deg, #eef4ff 0%, white 100%);
}

.gallery-details-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.gallery-detail-card {
    background: white;
    border: 1px solid rgba(30,58,138,0.08);
    border-radius: 22px;
    padding: 32px 24px;
    box-shadow: var(--shadow);
    transition: all 0.35s;
}

.gallery-detail-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.gallery-detail-card i {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: var(--gradient);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 20px;
}

.gallery-detail-card h3 {
    color: var(--dark);
    font-size: 20px;
    margin-bottom: 10px;
}

.gallery-detail-card p {
    color: var(--gray);
    font-size: 14px;
    line-height: 1.75;
}

/* ============================================
   REVIEWS PAGE STYLES
   ============================================ */

.reviews-summary {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 60px;
    background: white;
    border-radius: 20px;
    padding: 50px;
    box-shadow: var(--shadow);
}

.rating-big {
    text-align: center;
}

.rating-big .number {
    font-size: 72px;
    font-weight: 800;
    color: var(--dark);
    line-height: 1;
}

.rating-big .stars {
    margin: 15px 0;
    font-size: 24px;
}

.rating-big .total {
    color: var(--gray);
    font-size: 16px;
}

.rating-bars {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.rating-bar {
    display: grid;
    grid-template-columns: 60px 1fr 60px;
    gap: 15px;
    align-items: center;
}

.rating-bar .star-label {
    font-weight: 600;
    color: var(--dark);
}

.rating-bar .bar {
    height: 10px;
    background: #e2e8f0;
    border-radius: 5px;
    overflow: hidden;
}

.rating-bar .bar-fill {
    height: 100%;
    background: var(--secondary);
    border-radius: 5px;
    transition: width 1s;
}

.rating-bar .count {
    text-align: right;
    color: var(--gray);
    font-size: 14px;
}

.reviews-list {
    display: grid;
    gap: 30px;
}

.review-item {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 30px;
    align-items: start;
}

.review-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    font-weight: 700;
    flex-shrink: 0;
}

.review-content .stars {
    margin-bottom: 15px;
}

.review-content h4 {
    font-size: 20px;
    color: var(--dark);
    margin-bottom: 5px;
}

.review-content .date {
    color: var(--gray);
    font-size: 14px;
    margin-bottom: 15px;
}

.review-content p {
    color: #475569;
    line-height: 1.8;
    font-size: 16px;
}

.review-badge {
    display: inline-block;
    background: rgba(30,58,138,0.1);
    color: var(--primary);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    margin-top: 15px;
}

/* ============================================
   CONTACT PAGE STYLES
   ============================================ */

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info h3 {
    font-size: 28px;
    color: var(--dark);
    margin-bottom: 30px;
    font-weight: 700;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    align-items: flex-start;
}

.contact-icon {
    width: 55px;
    height: 55px;
    background: var(--gradient);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    flex-shrink: 0;
}

.contact-details h4 {
    color: var(--dark);
    font-size: 18px;
    margin-bottom: 8px;
    font-weight: 600;
}

.contact-details p, .contact-details a {
    color: var(--gray);
    text-decoration: none;
    line-height: 1.6;
    transition: color 0.3s;
}

.contact-details a:hover {
    color: var(--primary);
}

.contact-form-wrapper {
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--dark);
    font-weight: 500;
    font-size: 15px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-family: inherit;
    font-size: 15px;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(30,58,138,0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.map-full {
    margin-top: 60px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 450px;
}

.map-full iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Responsive for all pages */
@media (max-width: 1200px) {
    .floating-cards {
        display: none;
    }
}

@media (max-width: 992px) {
    .about-preview-grid,
    .about-story,
    .mission-vision-grid,
    .contact-wrapper,
    .reviews-summary,
    .course-detail-card,
    .courses-overview-grid,
    .gallery-intro-card,
    .gallery-experience-wrap,
    .gallery-story-strip,
    .results-overview-grid {
        grid-template-columns: 1fr;
    }

    .results-feature-grid {
        grid-template-columns: 1fr;
    }

    .results-overview-copy .section-title {
        text-align: center;
    }

    .results-overview-copy {
        max-width: 100%;
        text-align: center;
    }

    .results-pill-row {
        justify-content: center;
    }
    
    .results-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .courses-hero {
        min-height: 680px;
        padding-top: 110px;
    }

    .courses-hero h1 {
        font-size: 44px;
    }

    .courses-hero-stat {
        min-width: 165px;
        padding: 18px 28px;
    }

    .courses-overview-copy,
    .courses-overview-copy .section-title {
        text-align: center;
    }

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

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

    .roadmap-item {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .gallery-experience-grid {
        grid-template-columns: 1fr;
    }

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

    .gallery-hero {
        min-height: 680px;
        padding-top: 110px;
    }

    .gallery-hero h1 {
        font-size: 44px;
    }

    .gallery-hero-stat {
        min-width: 165px;
        padding: 18px 28px;
    }
    
    .timeline-item {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .timeline-item:nth-child(even) .timeline-content,
    .timeline-item:nth-child(even) .timeline-year {
        grid-column: auto;
        text-align: left;
    }
    
    .achievements-timeline::before {
        left: 20px;
    }
    
    .timeline-dot {
        left: 20px;
    }

    .result-summary-cards {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 42px;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 32px;
    }
    
    .hero-stats {
        gap: 20px;
        flex-wrap: wrap;
    }
    
    .stat-number {
        font-size: 28px;
    }
    
    .results-grid {
        grid-template-columns: 1fr;
    }

    .courses-hero {
        min-height: 640px;
        padding: 105px 5% 52px;
    }

    .courses-hero h1 {
        font-size: 34px;
    }

    .courses-hero-content > p {
        font-size: 16px;
    }

    .courses-hero-stats {
        margin-top: 34px;
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .courses-hero-stat {
        min-width: 0;
        padding: 16px 14px;
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.12);
    }

    .courses-hero-stat:nth-child(odd) {
        border-right: 1px solid rgba(255,255,255,0.12);
    }

    .courses-hero-stat:nth-last-child(-n + 2) {
        border-bottom: none;
    }

    .courses-hero-stat span {
        font-size: 30px;
    }

    .courses-hero-stat p {
        font-size: 11px;
    }

    .courses-overview-cards,
    .course-method-grid,
    .course-support-grid,
    .course-category-grid,
    .batch-options-grid,
    .course-faq-grid {
        grid-template-columns: 1fr;
    }

    .course-category-card,
    .batch-card,
    .course-faq-card,
    .roadmap-item {
        padding: 26px 20px;
    }

    .course-detail-content {
        padding: 34px 24px;
    }

    .courses-cta-content h2 {
        font-size: 30px;
    }

    .results-stats-panel {
        grid-template-columns: 1fr;
    }

    .results-feature-band {
        padding: 55px 5%;
    }

    .feature-rank-card,
    .feature-story,
    .feature-metrics {
        padding: 24px;
    }

    .feature-rank-card strong {
        font-size: 44px;
    }

    .feature-story h2 {
        font-size: 26px;
    }

    .result-stat-card,
    .process-card,
    .proof-card {
        padding: 28px 22px;
    }

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

    .results-table {
        min-width: 720px;
    }

    .results-cta-content h2 {
        font-size: 30px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .page-header-content h1 {
        font-size: 28px;
    }
    
    .features-list,
    .course-features {
        grid-template-columns: 1fr;
    }
    
    .review-item {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .review-avatar {
        margin: 0 auto;
    }
    
    .contact-form-wrapper {
        padding: 30px 20px;
    }

    .gallery-intro-card,
    .gallery-cta-card {
        padding: 28px 22px;
    }

    .gallery-experience-section {
        padding: 60px 5%;
    }

    .gallery-hero {
        min-height: 640px;
        padding: 105px 5% 52px;
    }

    .gallery-hero h1 {
        font-size: 34px;
    }

    .gallery-hero-content > p {
        font-size: 16px;
    }

    .gallery-hero-stats {
        margin-top: 34px;
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .gallery-hero-stat {
        min-width: 0;
        padding: 16px 14px;
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.12);
    }

    .gallery-hero-stat:nth-child(odd) {
        border-right: 1px solid rgba(255,255,255,0.12);
    }

    .gallery-hero-stat:nth-last-child(-n + 2) {
        border-bottom: none;
    }

    .gallery-hero-stat span {
        font-size: 30px;
    }

    .gallery-hero-stat p {
        font-size: 11px;
    }

    .gallery-experience-copy h2 {
        font-size: 28px;
    }

    .gallery-story-strip {
        padding: 26px 20px;
    }

    .gallery-story-strip h3 {
        font-size: 24px;
    }

    .gallery-albums-grid,
    .gallery-details-grid {
        grid-template-columns: 1fr;
    }

    .album-card {
        min-height: 320px;
    }

    .gallery-intro-copy h2,
    .gallery-cta-card h3 {
        font-size: 28px;
    }

    .gallery-masonry {
        grid-template-columns: 1fr;
    }

    .gallery-item,
    .gallery-item.tall {
        min-height: 280px;
        grid-row: span 1;
    }

    .gallery-cta-card {
        flex-direction: column;
        align-items: flex-start;
    }
}
