@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@500;600;700;800&family=Inter:wght@400;500;600&display=swap');

:root {
    --primary: #f97316;
    --primary-gradient: linear-gradient(135deg, #f97316, #ea580c);
    --primary-light: rgba(249, 115, 22, 0.1);
    --primary-hover: #ea580c;

    --secondary: #f97316;
    --secondary-light: rgba(249, 115, 22, 0.1);

    --accent: #f97316;
    --accent-light: rgba(249, 115, 22, 0.1);

    --dark: #0F172A;
    --dark-light: #334155;

    --bg-color: #F8FAFC;
    --surface: #ffffff;

    --shadow-soft: 0 20px 40px rgba(15, 23, 42, 0.05);
    --shadow-hover: 0 30px 60px rgba(15, 23, 42, 0.1);

    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark-light);
    background-color: var(--surface);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
.display-1,
.display-2,
.display-3,
.display-4,
.display-5,
.display-6 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--dark);
    font-weight: 700;
}

/* Utilities */
.text-primary {
    color: var(--primary) !important;
}

.text-secondary {
    color: var(--secondary) !important;
}

.text-accent {
    color: var(--accent) !important;
}

.text-dark {
    color: var(--dark) !important;
}

.bg-primary {
    background: var(--primary-gradient) !important;
}

.bg-secondary {
    background-color: var(--secondary) !important;
}

.bg-accent {
    background-color: var(--accent) !important;
}

.bg-light-pastel {
    background-color: var(--bg-color) !important;
}

.rounded-lg {
    border-radius: var(--radius-md) !important;
}

.rounded-xl {
    border-radius: var(--radius-lg) !important;
}

.rounded-2xl {
    border-radius: var(--radius-xl) !important;
}

.shadow-soft {
    box-shadow: var(--shadow-soft) !important;
}

.section-pad {
    padding: 100px 0;
}

.section-pad-lg {
    padding: 140px 0;
}

.lift-up {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.lift-up:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover) !important;
}

/* Buttons */
.btn-primary-custom {
    background: var(--primary-gradient);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 14px 32px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px var(--primary-light);
}

.btn-primary-custom:hover {
    background: var(--primary-hover);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(249, 115, 22, 0.2);
}

.btn-secondary-custom {
    background: var(--surface);
    color: var(--dark);
    border: 2px solid #E2E8F0;
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-secondary-custom:hover {
    border-color: var(--dark);
    background: var(--dark);
    color: white;
}

/* Navbar */
.navbar-glass {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.4s ease;
    background: transparent;
}

.navbar-glass.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 15px 0;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.navbar-glass-v2:not(.scrolled) .nav-links-edu a {
    color: rgba(255, 255, 255, 0.8) !important;
}

.navbar-glass-v2:not(.scrolled) .nav-links-edu a:hover {
    color: white !important;
}

.navbar-glass-v2:not(.scrolled) .navbar-brand-edu {
    color: white !important;
}

.navbar-brand-edu {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--dark);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon-edu {
    width: 40px;
    height: 40px;
    background: var(--primary-gradient);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.nav-links-edu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links-edu a {
    color: var(--dark-light);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.nav-links-edu a:hover {
    color: var(--primary);
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 180px 0 120px;
    background-color: var(--bg-color);
    overflow: hidden;
}

.hero-blob-1 {
    position: absolute;
    top: -100px;
    right: -100px;
    width: 600px;
    height: 600px;
    background: var(--secondary-light);
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
}

.hero-blob-2 {
    position: absolute;
    bottom: -50px;
    left: -100px;
    width: 500px;
    height: 500px;
    background: var(--primary-light);
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
}

.badge-edu {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--primary);
    box-shadow: var(--shadow-soft);
    margin-bottom: 24px;
}

.hero-image-wrapper {
    position: relative;
    z-index: 2;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: var(--shadow-hover);
}

.hero-image-wrapper img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    display: block;
}

.hero-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.4), transparent);
    z-index: 1;
}

.floating-stat-card {
    position: absolute;
    background: white;
    padding: 16px 24px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-hover);
    z-index: 3;
    font-weight: 700;
    color: var(--dark);
    animation: float 6s ease-in-out infinite;
}

.floating-1 {
    top: 40px;
    left: -40px;
}

.floating-2 {
    bottom: 60px;
    right: -30px;
    animation-delay: 2s;
}

.floating-3 {
    bottom: 40px;
    left: -20px;
    animation-delay: 4s;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Feature Overlap Section */
.feature-overlap {
    margin-top: -80px;
    position: relative;
    z-index: 10;
}

.feature-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 40px;
    height: 100%;
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.feature-icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 24px;
    transition: all 0.4s ease;
}

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

.feature-card:hover .feature-icon-wrapper {
    transform: scale(1.1) rotate(-5deg);
}

/* Creative About Layout */
.about-collage {
    position: relative;
    height: 600px;
}

.about-img-main {
    width: 80%;
    height: 500px;
    object-fit: cover;
    border-radius: var(--radius-xl);
    position: absolute;
    right: 0;
    top: 50px;
    box-shadow: var(--shadow-hover);
}

.about-img-small {
    width: 45%;
    height: 250px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    position: absolute;
    left: 0;
    top: 150px;
    border: 10px solid white;
    box-shadow: var(--shadow-soft);
    z-index: 2;
}

.about-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: var(--primary-gradient);
    color: white;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 3;
    border: 8px solid white;
    box-shadow: var(--shadow-soft);
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    font-weight: 500;
}

.check-icon {
    width: 28px;
    height: 28px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

/* Stats Counter */
.stat-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 40px;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.stat-card h3 {
    font-size: 3.5rem;
    margin-bottom: 8px;
    color: var(--dark);
}

.stat-card p {
    font-weight: 600;
    color: var(--dark-light);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
}

/* Programs Card */
.program-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    height: 100%;
}

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

.program-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.age-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: white;
    padding: 6px 16px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.8rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    color: var(--dark);
}

/* Admission Process Timeline */
.timeline-wrapper {
    position: relative;
    padding: 40px 0;
}

.timeline-line {
    position: absolute;
    top: 80px;
    left: 10%;
    right: 10%;
    height: 4px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    border-radius: 4px;
    z-index: 1;
}

.timeline-step {
    position: relative;
    z-index: 2;
    text-align: center;
}

.step-number {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 auto 24px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    border: 4px solid var(--surface);
    color: var(--primary);
    transition: transform 0.3s ease;
}

.timeline-step:hover .step-number {
    transform: scale(1.1);
    background: var(--primary-gradient);
    color: white;
}

/* Masonry Gallery */
.masonry-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 250px;
    gap: 20px;
}

.gallery-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
}

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

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

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

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-btn {
    background: white;
    color: var(--dark);
    border: none;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

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

.item-tall {
    grid-row: span 2;
}

.item-wide {
    grid-column: span 2;
}

/* Testimonials */
.testimonial-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 50px;
    position: relative;
}

.quote-icon {
    position: absolute;
    top: 40px;
    right: 40px;
    font-size: 4rem;
    color: var(--bg-color);
    line-height: 1;
}

.stars i {
    color: #FBBF24;
}

/* Teachers */
.teacher-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-align: center;
    position: relative;
}

.teacher-img {
    height: 320px;
    width: 100%;
    object-fit: cover;
}

.teacher-info {
    padding: 24px;
}

.teacher-socials {
    position: absolute;
    bottom: 100px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 12px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.teacher-card:hover .teacher-socials {
    opacity: 1;
    transform: translateY(0);
}

.teacher-socials a {
    width: 40px;
    height: 40px;
    background: white;
    color: var(--dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-soft);
    text-decoration: none;
}

.teacher-socials a:hover {
    background: var(--primary-gradient);
    color: white;
}

/* FAQ Accordion */
.custom-accordion .accordion-item {
    border: none;
    border-radius: var(--radius-md) !important;
    margin-bottom: 16px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.custom-accordion .accordion-button {
    font-weight: 600;
    padding: 24px;
    border-radius: var(--radius-md) !important;
}

.custom-accordion .accordion-button:not(.collapsed) {
    background-color: var(--primary-light);
    color: var(--primary);
    box-shadow: none;
}

.custom-accordion .accordion-body {
    padding: 0 24px 24px;
    color: var(--dark-light);
    line-height: 1.7;
}

/* Final CTA */
.cta-section {
    background: var(--primary-gradient);
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
}

.cta-blob {
    position: absolute;
    width: 400px;
    height: 400px;
    background: white;
    opacity: 0.1;
    border-radius: 50%;
    filter: blur(40px);
}

.cta-blob-1 {
    top: -200px;
    left: -100px;
}

.cta-blob-2 {
    bottom: -200px;
    right: -100px;
}

/* Footer */
.footer-modern {
    background-color: var(--dark);
    color: white;
    padding-top: 100px;
}

.footer-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    margin-bottom: 24px;
    font-size: 1.25rem;
    color: white;
}

.horizontal-timeline {
    position: relative;
    padding: 40px 0;
}

.horizontal-timeline::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--secondary-light);
    border-radius: 2px;
}

.timeline-step {
    position: relative;
    text-align: center;
    padding-top: 80px;
}

.timeline-step::before {
    content: '';
    position: absolute;
    top: 38px;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 28px;
    background: white;
    border: 6px solid var(--primary);
    border-radius: 50%;
    z-index: 2;
    transition: all 0.3s ease;
}

.timeline-step:hover::before {
    transform: translateX(-50%) scale(1.2);
    box-shadow: 0 0 0 6px rgba(249, 115, 22, 0.2);
}

.timeline-year {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 10px;
    display: block;
}

/* Gallery Masonry */
.masonry-grid {
    column-count: 3;
    column-gap: 24px;
}

@media (max-width: 991px) {
    .masonry-grid {
        column-count: 2;
    }
}

@media (max-width: 575px) {
    .masonry-grid {
        column-count: 1;
    }
}

.gallery-item {
    break-inside: avoid;
    margin-bottom: 24px;
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    cursor: pointer;
    background: #000;
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    opacity: 0.9;
}

.gallery-item:hover img {
    transform: scale(1.05);
    opacity: 0.5;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px 20px 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    color: white;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

.gallery-overlay .badge {
    background: var(--primary-gradient);
    border: none;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 50px;
}

.gallery-view-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.gallery-item:hover .gallery-view-icon {
    opacity: 1;
    transform: scale(1);
}

.filter-btn {
    border: 1px solid var(--border-color);
    background: white;
    color: var(--text-color);
    border-radius: 50px;
    padding: 10px 24px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.filter-btn:hover {
    background: var(--light);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

.filter-btn.active {
    background: var(--primary-gradient);
    color: white;
    border-color: transparent;
    box-shadow: var(--shadow-hover);
}

/* Programs Page */
.program-card {
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.program-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px -12px rgba(249, 115, 22, 0.15);
}

.program-img-wrapper {
    position: relative;
    height: 240px;
}

.program-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.program-age-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: var(--primary-gradient);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 700;
    box-shadow: var(--shadow-md);
    z-index: 2;
}

.program-content {
    padding: 40px 30px 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.feature-list-small li {
    margin-bottom: 10px;
    font-size: 0.95rem;
    color: var(--text-color);
    display: flex;
    align-items: center;
}

.feature-list-small li i {
    color: var(--primary);
    margin-right: 10px;
    font-size: 1.1rem;
}

.beyond-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    height: 100%;
}

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

.beyond-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary);
    flex-shrink: 0;
}

.beyond-card:hover .beyond-icon {
    background: var(--primary);
    color: white;
}

.cta-gradient-card {
    background: var(--primary-gradient);
    border-radius: var(--radius-xl);
    padding: 60px 40px;
    position: relative;
    overflow: hidden;
    color: white;
    box-shadow: 0 30px 60px -15px rgba(249, 115, 22, 0.3);
}

.cta-gradient-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.cta-gradient-card::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

/* Admissions Page */
.admission-split-card {
    background: white;
    border-radius: 30px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.admission-img-wrapper {
    position: relative;
    height: 100%;
    min-height: 400px;
}

.admission-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.admission-overlay-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 16px 24px;
    box-shadow: var(--shadow-lg);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    color: var(--text-dark);
}

.admission-form-wrapper {
    padding: 60px;
}

@media (max-width: 991px) {
    .admission-form-wrapper {
        padding: 40px 20px;
    }
}

.horizontal-info-card {
    background: white;
    border-radius: 20px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    height: 100%;
}

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

.info-icon-wrapper {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(249, 115, 22, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.horizontal-info-card:hover .info-icon-wrapper {
    background: var(--primary);
    color: white;
}

.placeholder-white::placeholder {
    color: rgba(255, 255, 255, 0.6) !important;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background 0.3s ease;
}

.social-icon:hover {
    background: var(--primary-gradient);
    color: white;
}

/* Responsive Overrides */
@media (max-width: 991px) {
    .timeline-line {
        display: none;
    }

    .about-collage {
        height: auto;
        margin-bottom: 40px;
    }

    .about-img-main,
    .about-img-small {
        position: relative;
        width: 100%;
        top: 0;
        left: 0;
        margin-bottom: 20px;
    }

    .about-badge {
        top: 20px;
        left: 20px;
        bottom: auto;
    }

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

    .feature-overlap {
        margin-top: 0;
        padding-top: 60px;
    }

    .hero-section {
        padding-top: 140px;
        padding-bottom: 60px;
    }
}

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

    .item-wide {
        grid-column: span 1;
    }

    .display-2 {
        font-size: 2.5rem;
    }

    .display-3 {
        font-size: 2rem;
    }
}


/* V2 Specific Styles */
.hero-v2 {
    position: relative;
    padding: 220px 0 150px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-v2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.6) 50%, rgba(15, 23, 42, 0.1) 100%);
    z-index: 1;
}

.hero-stats-panel {
    background: white;
    border-radius: 24px;
    padding: 30px 40px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.15);
    transform: translateY(50%);
    position: relative;
    z-index: 10;
}

.stat-box-v2 {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    border-right: 1px solid rgba(0, 0, 0, 0.05);
}

.stat-box-v2:last-child {
    border-right: none;
}

.stat-icon-v2 {
    font-size: 2.5rem;
}

.collage-img {
    border-radius: 30px;
    box-shadow: var(--shadow-lg);
    object-fit: cover;
}

.icon-box-horizontal {
    background: white;
    border-radius: 24px;
    padding: 30px;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
    height: 100%;
}

.icon-box-horizontal:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.icon-box-icon {
    width: 60px;
    height: 60px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.icon-blue {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.icon-yellow {
    background: rgba(234, 179, 8, 0.1);
    color: #eab308;
}

.icon-green {
    background: rgba(249, 115, 22, 0.1);
    color: #f97316;
}

.icon-purple {
    background: rgba(168, 85, 247, 0.1);
    color: #a855f7;
}

.editorial-block {
    padding: 60px 0;
}

.editorial-img {
    border-radius: 40px;
    box-shadow: var(--shadow-lg);
}

.animated-counter {
    font-size: 4rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 10px;
}

.masonry-v2 {
    column-count: 3;
    column-gap: 20px;
}

.masonry-item-v2 {
    break-inside: avoid;
    margin-bottom: 20px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.masonry-item-v2 img {
    width: 100%;
    transition: transform 0.5s ease;
}

.masonry-item-v2:hover img {
    transform: scale(1.05);
}

.timeline-horizontal {
    display: flex;
    justify-content: space-between;
    position: relative;
    padding-top: 50px;
}

.timeline-horizontal::before {
    content: '';
    position: absolute;
    top: 75px;
    left: 0;
    right: 0;
    height: 4px;
    background: rgba(249, 115, 22, 0.2);
    z-index: 1;
}

.timeline-step {
    position: relative;
    z-index: 2;
    text-align: center;
    flex: 1;
    padding: 0 15px;
}

.timeline-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    border: 4px solid var(--primary);
    color: var(--primary);
    font-weight: bold;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 0 0 8px rgba(255, 255, 255, 1);
}

.accordion-v2 .accordion-item {
    border: none;
    border-radius: 20px !important;
    margin-bottom: 15px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.accordion-v2 .accordion-button {
    font-weight: 700;
    padding: 20px 25px;
}

.accordion-v2 .accordion-button:not(.collapsed) {
    background: var(--light);
    color: var(--primary);
    box-shadow: none;
}

.testi-slider-v2 .card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: none;
    border-radius: 30px;
    padding: 40px;
    box-shadow: var(--shadow-lg);
}