/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800&display=swap');

/* --- CSS Variables --- */
:root {
    /* Brand Colors - White & Blue */
    --primary-color: #0d3b7a;       /* Deep Royal Blue */
    --secondary-color: #1a6ce6;     /* Vivid Blue */
    --secondary-hover: #1558c0;     /* Darker Blue */

    /* Text & Backgrounds */
    --text-color: #1e293b;
    --text-light: #64748b;
    --bg-light: #f0f6ff;
    --bg-white: #ffffff;

    /* UI Elements */
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow: 0 5px 15px rgba(26, 108, 230, 0.08);
    --shadow-hover: 0 15px 30px rgba(26, 108, 230, 0.18);
    --border-radius: 6px;
}

/* --- Base Styles --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-white);
    overflow-x: hidden;
    width: 100%;
}

p {
    text-align: justify;
    text-justify: inter-word;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* ============================================
   ANIMATIONS & TRANSITIONS
   ============================================ */

/* Keyframes */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(50px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-40px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-60px); }
    to   { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(60px); }
    to   { opacity: 1; transform: translateX(0); }
}

@keyframes zoomIn {
    from { opacity: 0; transform: scale(0.85); }
    to   { opacity: 1; transform: scale(1); }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(80px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes shimmer {
    0%   { background-position: -400px 0; }
    100% { background-position: 400px 0; }
}

/* Scroll Reveal Base State — elements hidden until observed */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.8, 0.25, 1),
                transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.reveal.reveal-left {
    transform: translateX(-60px);
}

.reveal.reveal-right {
    transform: translateX(60px);
}

.reveal.reveal-zoom {
    transform: scale(0.88);
    opacity: 0;
}

/* When IntersectionObserver adds .visible class */
.reveal.visible {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1);
}

/* Staggered delay helpers */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }


/* --- Layout Utilities --- */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.section-padding {
    padding: 100px 0;
}

section {
    min-height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    scroll-margin-top: 80px; /* Offset for the fixed navbar */
    position: relative;
}

.bg-light {
    background-color: var(--bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    text-transform: capitalize;
}

.divider {
    height: 4px;
    width: 70px;
    background-color: var(--secondary-color);
    margin: 0 auto;
    border-radius: 2px;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 14px 30px;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.95rem;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: #fff;
    box-shadow: 0 4px 10px rgba(26, 108, 230, 0.3);
}

.btn-primary:hover {
    background-color: var(--secondary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(26, 108, 230, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: #fff;
    border-color: #fff;
}

.btn-secondary:hover {
    background-color: #fff;
    color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-outline-white {
    background-color: transparent;
    color: #fff;
    border-color: #fff;
}

.btn-outline-white:hover {
    background-color: #fff;
    color: var(--secondary-color);
}

.btn-lg {
    padding: 16px 40px;
    font-size: 1.1rem;
}

.btn-block {
    display: block;
    width: 100%;
}

/* --- 1. NAVBAR --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    padding: 15px 0;
}

.navbar .container {
    width: 90%;
    max-width: 1300px;
    margin: 0 auto;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* --- Brand Logo --- */
.nav-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.brand-img {
    height: 41px; 
    width: auto;
    object-fit: contain;
    transform: scale(1.9);
    transform-origin: left center;
}

/* --- Nav Links --- */
.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
    list-style: none;
}

.nav-links a.nav-item {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    color: #334155;
    text-decoration: none;
    transition: color 0.3s;
}

.nav-links a.nav-item:hover {
    color: #fca311;
}

/* --- Right Side Contact --- */
.nav-right-contact {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-divider {
    width: 1px;
    height: 40px;
    background-color: #e2e8f0;
}

.contact-icon {
    width: 45px;
    height: 45px;
    background-color: #fca311;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 1.1rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.nav-right-contact:hover .contact-icon,
.contact-icon:hover {
    background-color: var(--secondary-color);
    transform: translateY(0) rotate(90deg);
}

.contact-details {
    display: flex;
    flex-direction: column;
}

.contact-label {
    font-size: 0.8rem;
    color: #64748b;
}

.contact-number {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.2rem;
    color: #0f172a;
    display: inline-flex;
    align-items: center;
}

.contact-number .num-char,
.contact-number .num-space {
    display: inline-block;
    transition: transform 0.25s ease, color 0.25s ease;
    transition-delay: calc(var(--i) * 28ms);
}

.nav-right-contact:hover .contact-number .num-char {
    transform: translateY(-2px);
    color: var(--secondary-color);
}

/* --- Nav Menu Wrapper --- */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 40px;
}

/* Mobile Toggle */
.hamburger {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: #1c3b8a;
    background: none;
    border: none;
}

@media (max-width: 992px) {
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        flex-direction: column;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        box-shadow: 0 10px 20px rgba(0,0,0,0.08);
        transition: max-height 0.4s ease, opacity 0.4s ease, padding 0.4s ease;
    }

    .navbar.open .nav-menu {
        max-height: 500px;
        opacity: 1;
        padding: 25px 0;
    }

    .nav-links {
        flex-direction: column;
        gap: 20px;
    }

    .nav-right-contact {
        flex-direction: column;
        gap: 10px;
        margin-top: 10px;
    }
    
    .contact-details {
        text-align: center;
        align-items: center;
    }

    .contact-divider {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .brand-img {
        transform: scale(1.3);
    }
}

/* ============================================================
   2. HERO SECTION — Cinematic Redesign
   ============================================================ */
.hero {
    position: relative;
    height: calc(100vh - 80px);
    margin-top: 80px;
    min-height: 650px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* --- Swiper Carousel --- */
.heroSwiper {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
}

.heroSwiper .swiper-slide {
    overflow: hidden;
    position: relative;
}

.heroSwiper .swiper-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.4) 100%);
    pointer-events: none;
    z-index: 1;
}

.heroSwiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.heroSwiper .swiper-button-next,
.heroSwiper .swiper-button-prev {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s;
}

.heroSwiper .swiper-button-next:hover,
.heroSwiper .swiper-button-prev:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: scale(1.05);
}

.heroSwiper .swiper-button-next::after,
.heroSwiper .swiper-button-prev::after {
    font-size: 1.2rem;
    font-weight: bold;
}

.heroSwiper .swiper-pagination-bullet {
    background: #fff;
    opacity: 0.5;
    width: 10px;
    height: 10px;
    transition: all 0.3s;
}

.heroSwiper .swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--secondary-color);
    transform: scale(1.3);
}

/* --- Scroll Down Indicator --- */
.hero-scroll-down {
    position: absolute;
    bottom: 35px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.7);
    transition: color 0.3s;
    animation: scrollBounce 2.5s ease-in-out infinite;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.hero-scroll-down:hover { color: #fff; }

.scroll-line {
    display: block;
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.5);
}

.hero-scroll-down i { font-size: 0.85rem; }

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(8px); }
}

/* Ensure Home specifically covers exactly 100vh */
#home {
    height: 100vh;
    min-height: 100vh;
    scroll-margin-top: 0;
}


/* --- 3. ABOUT (collage styles in section below) --- */

/* --- 4. SERVICES SECTION --- */
.services {
    padding: 0 !important;
}

.services-mosaic-section {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(3, 1fr); /* Changed from 220px to 1fr for flexible height */
    width: 100%;
    min-height: 100vh;
    position: relative;
}

/* Center Text Block */
.services-center-text {
    grid-column: 2 / 4;
    grid-row: 1 / 3;
    
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 50px 40px;
    z-index: 2;
}

.services-center-text h2 {
    font-size: 2.8rem;
    font-weight: 800;
    color: black;
    line-height: 1.3;
    margin-bottom: 25px;
}

.services-center-text h2 span {
    color: var(--secondary-color);
}

.services-center-text .read-more {
    color: black;
    border: 2px solid var(--secondary-color);
    padding: 10px 24px;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.services-center-text .read-more:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: #fff;
}

/* Image Tiles */
.svc-tile {
    position: relative;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    cursor: pointer;
}

.svc-tile-1 { grid-column: 1; grid-row: 1; }
.svc-tile-2 { grid-column: 4; grid-row: 1; }
.svc-tile-3 { grid-column: 1; grid-row: 2; }
.svc-tile-4 { grid-column: 4; grid-row: 2; }
.svc-tile-5 { grid-column: 1 / 3; grid-row: 3; }
.svc-tile-6 { grid-column: 3 / 5; grid-row: 3; }

/* Hover Overlay */
.svc-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(11,31,56,0.92) 0%, rgba(26, 108, 230,0.6) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 25px;
    opacity: 0;
    transform: translateY(15px);
    transition: all 0.45s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.svc-tile:hover .svc-overlay {
    opacity: 1;
    transform: translateY(0);
}

.svc-overlay h4 {
    color: #fff;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.svc-overlay p {
    color: rgba(255,255,255,0.85);
    font-size: 0.88rem;
    line-height: 1.5;
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .services-mosaic-section {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }
    .services-center-text {
        grid-column: 1 / 3;
        grid-row: auto;
        padding: 40px 25px;
        align-items: center;
        text-align: center;
    }
    .services-center-text h2 { font-size: 2rem; }
    .svc-tile-1, .svc-tile-2, .svc-tile-3, .svc-tile-4,
    .svc-tile-5, .svc-tile-6 {
        grid-column: auto;
        grid-row: auto;
        height: 200px;
    }
    .svc-overlay { opacity: 1; transform: none; }
}

.read-more {
    font-weight: 700;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.read-more i {
    color: var(--secondary-color);
    transition: var(--transition);
}

.read-more:hover {
    color: var(--secondary-color);
}


/* --- 5. TEAM SECTION --- */
.team-carousel-wrapper {
    position: relative;
    padding: 0 40px 100px; /* Extra bottom padding for text */
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
}

.team-grid {
    position: relative;
    height: 350px;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1200px;
}

.carousel-btn {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: #fff;
    border: none;
    border-radius: 50%;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    color: var(--primary-color);
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 20;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: var(--secondary-color);
    color: #fff;
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 15px 30px rgba(26, 108, 230,0.3);
}

.carousel-btn.prev {
    left: 0;
}

.carousel-btn.next {
    right: 0;
}

.team-member {
    position: absolute;
    width: 250px;
    height: 320px;
    border-radius: 20px;
    transition: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
    background: #000;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    transform-style: preserve-3d;
}

.team-member img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    transition: all 0.6s ease;
    border: 3px solid transparent;
}

.team-member.active img {
    border: 5px solid var(--secondary-color);
    box-shadow: 0 0 30px rgba(26, 108, 230, 0.4);
}

.team-info {
    position: absolute;
    bottom: -110px; /* Increased from -80px to give more "margin top" space */
    left: 50%;
    transform: translateX(-50%);
    width: 380px;
    text-align: center;
    opacity: 0;
    transition: all 0.4s ease;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px; /* Adds space between name and role */
}

.team-member.active .team-info {
    opacity: 1;
}

.team-info h4 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0; /* Handled by gap in parent flexbox */
}

.team-info h4 span.degree {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
    margin-right: 5px;
}

.team-info p {
    color: var(--text-light);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center; /* Override global justify */
    line-height: 1.4;
    margin-top: 5px; /* Extra space from the name */
}

/* --- 6. PROJECTS SHOWCASE SECTION --- */
.projects-showcase {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 10px;
}

.projects-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 15px;
    position: relative;
}

.project-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 320px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
}

.top-left-card { border-bottom-right-radius: 80px; }
.top-right-card { border-bottom-left-radius: 80px; }
.bottom-left-card { border-top-right-radius: 80px; }
.bottom-right-card { border-top-left-radius: 80px; }

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.project-card:hover img {
    transform: scale(1.05);
}

.center-logo-cutout {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 180px;
    height: 180px;
    background-color: #fff;
    border-radius: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 0 15px #fff;
    z-index: 10;
}

.logo-brand-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.lafarge-icon {
    width: 35px;
    height: 35px;
}

.lafarge-text {
    display: flex;
    flex-direction: column;
    text-align: left;
    line-height: 1;
}

.lafarge-text strong {
    color: #1a6ce6;
    font-size: 1.35rem;
    font-weight: 900;
    font-family: 'Outfit', sans-serif;
    letter-spacing: 0px;
}

.lafarge-text span {
    color: #111;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 2.5px;
    margin-top: 3px;
}

.pagination-dots {
    display: flex;
    gap: 8px;
    justify-content: center;
    align-items: center;
}

/* --- 7. TESTIMONIALS --- */
.testimonials {
    background-color: #fff;
    text-align: center;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    background: var(--bg-light);
    padding: 40px;
    border-radius: var(--border-radius);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid rgba(0,0,0,0.05);
}

.stars {
    color: #f59e0b;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.review {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 20px;
}

.testimonial-card h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.client-role {
    color: var(--secondary-color);
    font-size: 0.9rem;
    font-weight: 600;
}

/* --- 8. BLOG SECTION --- */
.blog {
    min-height: 100vh;
    justify-content: flex-start;
    padding-top: 30px;
    padding-bottom: 100px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.blog-card {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: clamp(260px, 32vw, 360px);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    background: #fff;
    cursor: pointer;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.blog-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    z-index: 0;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
    background: #fff;
}

.blog-card:hover img {
    transform: scale(1.02);
}

.blog-card::after {
    content: '';
    position: absolute;
    inset: auto 0 0 0;
    height: 45%;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.4) 55%, rgba(15, 23, 42, 0) 100%);
    z-index: 1;
    transition: all 0.4s ease;
    pointer-events: none;
}

.blog-card:hover::after {
    inset: 0;
    height: 100%;
    background: linear-gradient(180deg, rgba(13, 59, 122, 0.88) 0%, rgba(26, 108, 230, 0.9) 100%);
}

.blog-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 30px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: justify-content 0.4s ease;
}

.blog-info .date {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--secondary-color);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-info h3 {
    margin-bottom: 0;
    font-size: 1.4rem;
    line-height: 1.3;
    color: #fff;
    transition: transform 0.4s ease, margin-bottom 0.4s ease;
}

.blog-info p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, opacity 0.5s ease, margin-top 0.4s ease;
    font-size: 0.95rem;
}

.blog-card:hover .blog-info h3 {
    margin-bottom: 10px;
    transform: translateY(0);
}

.blog-card:hover .blog-info p {
    max-height: 100%;
    opacity: 1;
    margin-top: 5px;
}

.blog-card:hover .blog-info {
    justify-content: center;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.blog-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(13, 59, 122, 0.82);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    z-index: 99997;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.blog-modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.blog-modal-card {
    position: relative;
    max-width: min(92vw, 1000px);
    max-height: 90vh;
    width: auto;
    background: #ffffff;
    border-radius: 20px;
    padding: 18px;
    box-shadow: 0 24px 60px rgba(13, 59, 122, 0.28);
    transform: scale(0.96);
    transition: transform 0.3s ease;
}

.blog-modal-overlay.active .blog-modal-card {
    transform: scale(1);
}

.blog-modal-card img {
    display: block;
    max-width: 100%;
    max-height: calc(90vh - 36px);
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 14px;
}

.blog-modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background: rgba(13, 59, 122, 0.12);
    color: var(--primary-color);
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.blog-modal-close:hover {
    background: var(--secondary-color);
    color: #fff;
}

/* --- 9. CTA SECTION --- */
.cta-section {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-hover));
    padding: 80px 0;
    text-align: center;
}

.cta-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.cta-section h2 {
    color: #fff;
    margin: 0;
    font-size: 2.5rem;
}

/* --- 10. FOOTER --- */
.footer {
    background-color: var(--primary-color);
    color: #fff;
    padding-top: 60px;
    min-height: calc(100vh - 80px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    scroll-margin-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 30px 60px;
    margin-bottom: 30px;
}

.footer-brand {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
}

.footer-links {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
}

.footer-contact {
    grid-column: 3 / 4;
    grid-row: 1 / 2;
}

.footer-logo-container {
    grid-column: 3 / 4;
    grid-row: 2 / 3;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    padding-top: 10px;
}

.footer-logo {
    max-width: 350px;
    width: 100%;
    height: auto;
    object-fit: contain;
    /* Optional: filter: drop-shadow(0 4px 6px rgba(0,0,0,0.3)); */
}

.footer-brand h3 {
    color: #fff;
    font-size: 2.4rem;
    margin-bottom: 25px;
    letter-spacing: 1px;
}

.footer-brand p {
    color: #cbd5e1;
    margin-bottom: 30px;
    max-width: 500px;
    font-size: 1.25rem;
    line-height: 1.8;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    color: #fff;
    font-size: 1.1rem;
}

.social-icons a:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-5px);
}

.footer h4 {
    color: #fff;
    margin-bottom: 30px;
    font-size: 1.5rem;
    position: relative;
    padding-bottom: 10px;
}

.footer h4::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--secondary-color);
}

.footer-links ul li {
    margin-bottom: 15px;
}

.footer-links ul li a {
    color: #cbd5e1;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.15rem;
}

.footer-links ul li a i {
    color: var(--secondary-color);
    font-size: 0.8rem;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: #fff;
}

.footer-links ul li a:hover i {
    transform: translateX(5px);
}

.footer-contact ul li {
    color: #cbd5e1;
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    line-height: 1.6;
    font-size: 1.15rem;
}

.footer-contact ul li i {
    color: var(--secondary-color);
    margin-top: 4px;
    font-size: 1.2rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    text-align: center;
    color: #94a3b8;
    font-size: 1.15rem;
    width: 100%;
}

.footer-bottom p {
    margin: 0 auto;
    width: 100%;
    text-align: center;
}

/* --- INTERACTIVE GALLERY (GOT STYLE) --- */
.interactive-gallery-section {
    position: relative;
    padding: 0;
}

.interactive-gallery-container {
    position: relative;
    width: calc(100% - 40px); /* Add slight gap to show corners */
    height: 90vh;
    border-radius: 120px 0 120px 0; /* Petal/flower shape */
    overflow: hidden;
    background: #0f172a;
    margin: 0 auto;
}

.gallery-main-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.gallery-main-img.fade-in {
    opacity: 1;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.8) 40%, rgba(15, 23, 42, 0) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px 30px;
}

.gallery-text {
    margin-bottom: 15px;
    border-left: 4px solid var(--secondary-color);
    padding-left: 15px;
}

.gallery-subtitle {
    color: #cbd5e1;
    font-size: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 5px;
}

.gallery-title {
    color: #fff;
    font-size: 2.5rem;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    font-family: 'Outfit', sans-serif;
}

.gallery-thumbnails-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

.thumb-nav {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.thumb-nav:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
}

.gallery-thumbnails {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 10px; /* space for scrollbar */
    min-width: 0; /* Prevents flex items from expanding parent */
    flex: 1;
}

/* Hide scrollbar for clean look */
.gallery-thumbnails::-webkit-scrollbar {
    display: none;
}
.gallery-thumbnails {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.gallery-thumbnails .thumb {
    width: 140px;
    height: 90px;
    border-radius: 8px;
    object-fit: cover;
    cursor: pointer;
    opacity: 0.5;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.gallery-thumbnails .thumb:hover {
    opacity: 0.8;
}

.gallery-thumbnails .thumb.active {
    opacity: 1;
    border-color: var(--secondary-color);
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

@media (max-width: 768px) {
    .interactive-gallery-container { height: 60vh; min-height: 400px; width: 100%; border-radius: 80px 0 80px 0; }
    .gallery-title { font-size: 1.8rem; }
    .gallery-thumbnails .thumb { width: 100px; height: 70px; flex-shrink: 0; }
    .gallery-overlay { padding: 15px; }
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 3.5rem;
    }
    .hero-container {
        grid-template-columns: 1fr 350px;
        gap: 40px;
    }
}

@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 3.5rem;
    }
    
    .hero-content .tagline {
        margin: 0 auto 30px;
    }
    
    .hero-buttons {
        justify-content: center;
        margin-bottom: 50px;
    }
    
    .hero-form {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .feature-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .cta-container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-fan-wrapper {
        transform: translate(0, 0) scale(0.8);
        margin: 0 auto;
        width: 100%;
        max-width: 520px;
    }

    .services-mosaic-section {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }
    .services-center-text {
        grid-column: 1 / -1;
        grid-row: 1;
        padding: 40px 20px;
    }
    .svc-tile {
        grid-column: auto !important;
        grid-row: auto !important;
        height: 250px;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: 50vh;
        background-color: #fff;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 20px;
        transition: 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
        z-index: 999;
        box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    }
    
    .nav-links.open {
        left: 0;
    }
    
    .nav-links a.nav-item {
        font-size: 1.3rem;
    }
    
    .hamburger {
        display: flex;
        align-items: center;
        justify-content: center;
        background: none;
        border: none;
        outline: none;
    }
}

/* --- 3. ABOUT SECTION (legacy — kept for safety) --- */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.btn-template {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 24px;
    border: 1px solid #d1d5db;
    border-radius: 30px;
    color: #374151;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    background: #fff;
}

.btn-template:hover {
    background: #f3f4f6;
    border-color: #9ca3af;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.btn-template i {
    font-size: 0.85rem;
    transition: transform 0.3s ease;
}

.btn-template:hover i {
    transform: translateX(4px);
}

/* ============================================================
   3-NEW. ABOUT SECTION — Editorial Magazine Layout
   ============================================================ */
.about-editorial-section {
    position: relative;
    background: #fff;
    padding: 20px 3%;
    overflow: hidden;
    min-height: 100vh;
    height: 100vh;
    box-sizing: border-box;
}

.about-section-title {
    text-align: center;
    color: var(--primary-color);
    font-size: clamp(1.6rem, 2.3vw, 2.3rem);
    font-weight: 900;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.about-editorial-grid {
    position: relative;
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.05fr 0.9fr 1.25fr 1.1fr 1fr 1fr;
    grid-template-rows: 52px 104px 104px 116px;
    gap: 10px;
    align-items: stretch;
    max-height: calc(100vh - 120px);
}

.about-editorial-frame {
    position: absolute;
    width: 68px;
    height: 68px;
    border: 8px solid rgba(220, 38, 38, 0.10);
    pointer-events: none;
}

.frame-top-left {
    top: 24px;
    left: 48px;
    border-right: none;
    border-bottom: none;
}

.frame-top-right {
    top: 30px;
    right: 48px;
    border-left: none;
    border-bottom: none;
}

.frame-bottom-left {
    bottom: 24px;
    left: 48px;
    border-right: none;
    border-top: none;
}

.frame-bottom-right {
    right: 48px;
    bottom: 30px;
    border-left: none;
    border-top: none;
}

.about-copy,
.about-content-card {
    padding: 4px;
}

.about-kicker,
.about-card-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.about-kicker {
    color: var(--primary-color);
}

.about-copy p {
    font-size: 0.8rem;
    line-height: 1.35;
    color: #334155;
    font-weight: 700;
    text-align: justify;
    text-justify: inter-word;
}

.about-image {
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    border: 2px solid #fff;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-image-main {
    grid-column: 3 / 4;
    grid-row: 1 / 5;
}

.about-image-left-top {
    grid-column: 2 / 3;
    grid-row: 1 / 3;
}

.about-image-right-top {
    grid-column: 4 / 6;
    grid-row: 2 / 4;
}

.about-image-top-mid-fill {
    grid-column: 4 / 5;
    grid-row: 1 / 2;
}

.about-image-right-middle {
    grid-column: 4 / 5;
    grid-row: 4 / 5;
}

.about-image-left-bottom {
    grid-column: 1 / 3;
    grid-row: 3 / 5;
}

.about-image-bottom-center {
    grid-column: 3 / 5;
    grid-row: 5 / 6;
}

.about-image-bottom-right {
    grid-column: 5 / 6;
    grid-row: 4 / 5;
}

.about-copy-top-left {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    align-self: start;
}

.about-copy-top-right {
    grid-column: 4 / 6;
    grid-row: 1 / 2;
}

.about-copy-side {
    grid-column: 6 / 7;
    grid-row: 2 / 3;
    align-self: start;
}

.about-copy-bottom-left {
    grid-column: 2 / 3;
    grid-row: 5 / 6;
}

.about-content-card {
    grid-column: 6 / 7;
    grid-row: 3 / 5;
    align-self: start;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 6px 8px;
    background: #fff;
    z-index: 2;
}

.about-card-label {
    color: #111827;
}

.about-content-card h2 {
    font-size: clamp(1.45rem, 2vw, 2.2rem);
    line-height: 0.96;
    letter-spacing: -1px;
    margin-bottom: 8px;
    color: var(--primary-color);
    font-weight: 800;
    text-transform: uppercase;
}

.about-content-card p {
    color: #334155;
    font-size: 0.82rem;
    line-height: 1.35;
    margin-bottom: 8px;
    font-weight: 700;
    text-align: justify;
    text-justify: inter-word;
}

.about-card-btn {
    align-self: flex-start;
    margin-top: 2px;
}

.about-card-btn.button {
    border: 2px solid var(--primary-color);
}

.about-card-btn .btn-txt {
    gap: 3px;
}

/* Theme-adapted Uiverse button style */
.button {
    width: 9em;
    height: 3em;
    border-radius: 30em;
    font-size: 15px;
    font-family: inherit;
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
    cursor: pointer;
    background: #ffffff;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: color 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
    box-shadow: 6px 6px 12px rgba(13, 59, 122, 0.18),
                -6px -6px 12px #ffffff;
}

.button::before {
    content: "";
    width: 0;
    height: 3em;
    border-radius: 30em;
    position: absolute;
    top: 0;
    left: 0;
    background-image: linear-gradient(to right, var(--primary-color) 0%, var(--secondary-color) 100%);
    transition: width 0.5s ease;
    display: block;
    z-index: -1;
}

.btn-txt {
    z-index: 2;
    font-weight: 800;
    letter-spacing: 0.5px;
    font-size: 0.72rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    text-align: center;
}

.type1::after {
    content: none;
}

.button:hover {
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(26, 108, 230, 0.35);
}

.type1:hover::after {
    content: none;
}

.button:hover::before {
    width: 100%;
}

/* Theme-adapted Uiverse tooltip button */
.uiverse {
    position: relative;
    background: #ffffff;
    color: var(--primary-color);
    padding: 15px;
    margin: 10px;
    border-radius: 10px;
    width: 150px;
    height: 50px;
    font-size: 17px;
    font-weight: 700;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    border: none;
    box-shadow: 0 10px 18px rgba(13, 59, 122, 0.12);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.uiverse .tooltip {
    position: absolute;
    top: auto;
    bottom: 0;
    font-size: 14px;
    background: var(--primary-color);
    color: #ffffff;
    padding: 5px 8px;
    border-radius: 5px;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    white-space: nowrap;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.uiverse .tooltip::before {
    position: absolute;
    content: "";
    height: 8px;
    width: 8px;
    background: var(--primary-color);
    top: -3px;
    left: 50%;
    transform: translate(-50%) rotate(45deg);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.uiverse:hover .tooltip {
    bottom: -45px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.uiverse:hover span,
.uiverse:hover .tooltip {
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.1);
}

.uiverse:hover,
.uiverse:hover .tooltip,
.uiverse:hover .tooltip::before {
    background: transparent;
    color: var(--primary-color);
}

/* Keep tooltip background in theme colors */
.uiverse .tooltip,
.uiverse .tooltip::before,
.uiverse:hover .tooltip,
.uiverse:hover .tooltip::before {
    background: linear-gradient(320deg, var(--primary-color), var(--secondary-color));
    color: #ffffff;
}

/* Uiverse style tuned for navbar links */
.nav-links .uiverse {
    width: auto;
    min-width: 96px;
    height: 38px;
    margin: 0;
    padding: 0 14px;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 600;
    box-shadow: none;
}

.nav-links .uiverse > span:last-child {
    line-height: 1;
    white-space: nowrap;
    text-align: center;
}

.nav-links .uiverse .tooltip {
    font-size: 0.66rem;
    letter-spacing: 0.8px;
    padding: 4px 7px;
}

.nav-links .uiverse:hover .tooltip {
    bottom: -34px;
}

@media (max-width: 1200px) {
    .about-editorial-grid {
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: auto;
    }

    .about-copy-top-left,
    .about-image-left-top,
    .about-image-main,
    .about-copy-top-right,
    .about-image-right-top,
    .about-copy-side,
    .about-image-left-bottom,
    .about-image-right-middle,
    .about-content-card,
    .about-copy-bottom-left,
    .about-image-bottom-center,
    .about-image-bottom-right {
        grid-column: auto;
        grid-row: auto;
    }

    .about-image-main {
        min-height: 420px;
    }

    .about-image-wide,
    .about-content-card {
        grid-column: span 2;
    }

    .about-image-small,
    .about-copy,
    .about-image-bottom-right {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    .about-editorial-section {
        padding: 70px 5%;
    }

    .about-editorial-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .about-image-main,
    .about-image-wide,
    .about-content-card,
    .about-copy,
    .about-image-small,
    .about-image-bottom-right {
        grid-column: auto;
        min-height: auto;
    }

    .about-image {
        min-height: 220px;
    }

    .about-content-card {
        padding: 8px 0;
    }

    .about-content-card h2 {
        font-size: 2.2rem;
    }

    .about-editorial-frame {
        display: none;
    }
}

@media (max-width: 768px) {
    
    .footer-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 40px;
        text-align: center;
    }

    .footer-brand, .footer-links, .footer-contact, .footer-logo-container {
        grid-column: auto;
        grid-row: auto;
    }
    
    .footer-brand p {
        margin: 0 auto 30px;
        max-width: 100%;
    }
    
    .footer-brand h3 {
        font-size: 1.5rem;
    }
    
    .footer h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .social-icons {
        justify-content: center;
    }
    
    /* Center Quick Links on mobile */
    .footer-links {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .footer-links ul {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }
    
    /* Contact list items — icon + text centered */
    .footer-contact ul li {
        justify-content: flex-start;
        text-align: left;
        padding: 0 10px;
    }
    
    .footer-links ul li a {
        justify-content: flex-start;
    }
    
    .footer-bottom {
        padding: 20px 0;
        font-size: 0.85rem;
    }

    .review {
        font-size: 1rem;
    }

    .hero-fan-wrapper {
        transform: translate(0, 0) scale(0.65);
        margin: -40px auto;
    }
    
    .services-mosaic-section {
        grid-template-columns: 1fr;
    }
    
    .team-carousel-wrapper {
        transform: scale(0.8);
    }
    
    .photo-stack {
        width: 300px;
        height: 250px;
        margin-bottom: 30px;
    }
    .photo-card {
        width: 200px;
        height: 200px;
        border-width: 5px;
    }
    .photo-left {
        transform: translateX(-50px) rotate(-15deg) scale(0.9);
    }
    .photo-right {
        transform: translateX(50px) rotate(15deg) scale(0.9);
    }
    .photo-stack:hover .photo-left {
        transform: translateX(-80px) rotate(-20deg) scale(0.95);
    }
    .photo-stack:hover .photo-right {
        transform: translateX(80px) rotate(20deg) scale(0.95);
    }
}

@media (max-width: 576px) {
    .logo {
        font-size: 1.1rem;
        line-height: 1.2;
        max-width: 75%;
    }
    
    .logo span {
        display: block;
    }
    
    .hamburger {
        font-size: 1.5rem;
    }

    .hero-content h1 {
        font-size: 2.4rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .cta-section h2 {
        font-size: 1.8rem;
    }
    
    .hero-fan-wrapper {
        transform: translate(0, 0) scale(0.5);
        margin: -80px auto;
    }
    
    .team-carousel-wrapper {
        transform: scale(0.6);
    }
    
    .photo-stack {
        width: 250px;
        height: 200px;
        margin-bottom: 20px;
    }
    .photo-card {
        width: 160px;
        height: 160px;
        border-width: 4px;
    }
    .photo-left {
        transform: translateX(-40px) rotate(-15deg) scale(0.9);
    }
    .photo-right {
        transform: translateX(40px) rotate(15deg) scale(0.9);
    }
    .photo-stack:hover .photo-left {
        transform: translateX(-60px) rotate(-20deg) scale(0.95);
    }
    .photo-stack:hover .photo-right {
        transform: translateX(60px) rotate(20deg) scale(0.95);
    }
}

/* ============================================================
   CINEMATIC INTRO OVERLAY
   ============================================================ */
body.intro-active {
    overflow: hidden;
}

.intro-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #030e28;
    cursor: pointer;
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.intro-overlay.intro-fade-out {
    opacity: 0;
    transform: scale(1.04);
    pointer-events: none;
}

/* ---------- Canvas Particles ---------- */
.intro-canvas {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

/* ---------- Background Slide Images ---------- */
.intro-bg-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: slideKenBurns 9.6s linear infinite;
}

.slide-1 {
    background-image: url('https://images.unsplash.com/photo-1579154204601-01588f351e67?auto=format&fit=crop&w=1920&q=80');
    animation-delay: 0s;
}
.slide-2 {
    background-image: url('https://images.unsplash.com/photo-1530026405186-ed1f139313f8?auto=format&fit=crop&w=1920&q=80');
    animation-delay: 3.2s;
}
.slide-3 {
    background-image: url('https://images.unsplash.com/photo-1551601651-2a8555f1a136?auto=format&fit=crop&w=1920&q=80');
    animation-delay: 6.4s;
}

@keyframes slideKenBurns {
    0%   { opacity: 0; transform: scale(1.08); }
    8%   { opacity: 0.35; }
    30%  { opacity: 0.35; transform: scale(1.00); }
    33%  { opacity: 0; }
    100% { opacity: 0; }
}

/* ---------- Vignette ---------- */
.intro-vignette {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: radial-gradient(ellipse at center,
        rgba(5, 20, 50, 0.35) 0%,
        rgba(5, 20, 50, 0.90) 70%,
        rgba(5, 20, 50, 0.98) 100%);
}

/* ---------- Content ---------- */
.intro-content {
    position: relative;
    z-index: 10;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
    user-select: none;
}

/* --- Logo Ring --- */
.intro-logo-ring {
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: introPopIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s both;
}

.ring-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.ring-track {
    fill: none;
    stroke: rgba(255,255,255,0.1);
    stroke-width: 3;
}

.ring-progress {
    fill: none;
    stroke: #1a6ce6;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-dasharray: 276;
    stroke-dashoffset: 276;
    animation: ringDraw 3s linear 0.4s forwards;
}

@keyframes ringDraw {
    to { stroke-dashoffset: 0; }
}

.intro-logo-icon {
    font-size: 3rem;
    color: #1a6ce6;
    filter: drop-shadow(0 0 18px rgba(26, 108, 230, 0.8));
    animation: heartPulse 0.8s ease-in-out infinite alternate;
}

@keyframes heartPulse {
    from { transform: scale(1); }
    to   { transform: scale(1.12); }
}

/* --- Title --- */
.intro-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.2rem, 6vw, 4rem);
    font-weight: 800;
    color: #fff;
    letter-spacing: 4px;
    text-transform: uppercase;
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    justify-content: center;
    overflow: hidden;
}

.intro-title .word {
    display: inline-block;
    opacity: 0;
    transform: translateY(40px);
}
.intro-title .w1 { animation: wordRise 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.6s forwards; }
.intro-title .w2 { animation: wordRise 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.8s forwards; }
.intro-title .w3 { animation: wordRise 0.6s cubic-bezier(0.22, 1, 0.36, 1) 1.0s forwards; color: #1a6ce6; }

@keyframes wordRise {
    to { opacity: 1; transform: translateY(0); }
}

/* --- Tagline --- */
.intro-tagline {
    font-family: 'Inter', sans-serif;
    font-size: clamp(0.85rem, 2vw, 1.1rem);
    color: rgba(255,255,255,0.55);
    letter-spacing: 4px;
    text-transform: uppercase;
    opacity: 0;
    animation: fadeInSlow 0.8s ease 1.3s forwards;
}

/* --- Progress Bar --- */
.intro-progress-bar {
    width: min(280px, 60vw);
    height: 3px;
    background: rgba(255,255,255,0.1);
    border-radius: 99px;
    overflow: hidden;
    opacity: 0;
    animation: fadeInSlow 0.4s ease 1.5s forwards;
}

.intro-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #1a6ce6, #ff6b6b);
    border-radius: 99px;
    animation: progressGrow 2.8s linear 1.5s forwards;
}

@keyframes progressGrow {
    to { width: 100%; }
}

/* --- Shared keyframes --- */
@keyframes introPopIn {
    from { transform: scale(0.3); opacity: 0; }
    to   { transform: scale(1);   opacity: 1; }
}

@keyframes fadeInSlow {
    to { opacity: 1; }
}

/* ---------- Skip hint ---------- */
.intro-overlay::after {
    content: "Tap to skip";
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.25);
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: fadeInSlow 1s ease 2s forwards;
    opacity: 0;
}

/* ============================================================
   DONATE MODAL
   ============================================================ */
.dmodal-overlay {
    position: fixed;
    inset: 0;
    z-index: 99998;
    background: rgba(8, 28, 64, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}
.dmodal-overlay.active {
    opacity: 1;
    pointer-events: all;
}
.dmodal-card {
    position: relative;
    background: #fff;
    border-radius: 24px;
    width: 100%;
    max-width: 560px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 40px 36px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.4);
    transform: translateY(40px) scale(0.97);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    scrollbar-width: none;
}
.dmodal-card::-webkit-scrollbar { display: none; }
.dmodal-overlay.active .dmodal-card { transform: translateY(0) scale(1); }

.dmodal-close {
    position: absolute;
    top: 16px; right: 20px;
    background: #f1f5f9;
    border: none;
    width: 36px; height: 36px;
    border-radius: 50%;
    font-size: 1.4rem;
    cursor: pointer;
    color: #475569;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.2s, color 0.2s;
}
.dmodal-close:hover { background: #1a6ce6; color: #fff; }

.dmodal-header { text-align: center; margin-bottom: 28px; }
.dmodal-icon-ring {
    width: 70px; height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #dbeafe, #93c5fd);
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem; color: #1a6ce6;
    margin: 0 auto 16px;
    box-shadow: 0 8px 20px rgba(26, 108, 230,0.2);
}
.dmodal-header h2 { font-size: 1.8rem; color: #0f172a; margin-bottom: 8px; }
.dmodal-header p  { color: #64748b; font-size: 0.95rem; margin: 0; }

.dmodal-amounts {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 24px;
}
.damount-btn {
    padding: 12px 6px;
    border-radius: 10px;
    border: 2px solid #e2e8f0;
    background: #f8fafc;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem; font-weight: 700;
    color: #334155; cursor: pointer;
    transition: all 0.2s ease;
}
.damount-btn:hover  { border-color: #1a6ce6; color: #1a6ce6; background: #eff6ff; }
.damount-btn.active { background: #1a6ce6; border-color: #1a6ce6; color: #fff; box-shadow: 0 4px 14px rgba(26, 108, 230,0.35); }

.dmodal-form { display: flex; flex-direction: column; gap: 16px; }
.dform-row   { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.dform-group { display: flex; flex-direction: column; gap: 6px; }
.dform-group label { font-size: 0.85rem; font-weight: 600; color: #475569; letter-spacing: 0.5px; }
.dform-group input,
.dform-group textarea {
    padding: 13px 16px;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-size: 0.97rem;
    font-family: 'Inter', sans-serif;
    color: #0f172a; background: #f8fafc;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none; width: 100%; box-sizing: border-box;
}
.dform-group input:focus,
.dform-group textarea:focus {
    border-color: #1a6ce6;
    box-shadow: 0 0 0 3px rgba(26, 108, 230,0.12);
    background: #fff;
}
.dform-group textarea { resize: none; }

.dmodal-submit {
    width: 100%; padding: 16px;
    background: linear-gradient(135deg, #1a6ce6, #1558c0);
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-size: 1.05rem; font-weight: 700;
    letter-spacing: 0.5px;
    border: none; border-radius: 12px; cursor: pointer;
    box-shadow: 0 8px 24px rgba(26, 108, 230,0.35);
    display: flex; align-items: center; justify-content: center; gap: 10px;
    transition: transform 0.2s, box-shadow 0.2s;
    margin-top: 4px;
}
.dmodal-submit:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(26, 108, 230,0.45); }
.dmodal-submit:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }

.dmodal-success { text-align: center; padding: 30px 0; }
.dsuccess-icon {
    font-size: 4rem; color: #22c55e;
    margin-bottom: 20px;
    animation: successPop 0.5s cubic-bezier(0.34,1.56,0.64,1) both;
}
@keyframes successPop { from { transform:scale(0); opacity:0; } to { transform:scale(1); opacity:1; } }
.dmodal-success h3 { font-size: 1.8rem; color: #0f172a; margin-bottom: 12px; }
.dmodal-success p  { color: #64748b; font-size: 1rem; max-width: 360px; margin: 0 auto; line-height: 1.6; }

@media (max-width: 520px) {
    .dmodal-card    { padding: 28px 20px; }
    .dmodal-amounts { grid-template-columns: repeat(2,1fr); }
    .dform-row      { grid-template-columns: 1fr; }
}

/* ============================================================
   GLOBAL RESPONSIVE OVERRIDES
   ============================================================ */
@media (max-width: 1200px) {
    .container {
        width: 92%;
    }

    .about-editorial-section {
        height: auto;
        min-height: auto;
    }

    .about-editorial-grid {
        max-height: none;
    }
}

@media (max-width: 992px) {
    .nav-right-contact {
        display: none;
    }

    .hero {
        height: 75vh;
        min-height: 520px;
    }

    .services-mosaic-section {
        min-height: auto;
    }

    .footer {
        min-height: auto;
    }

    .nav-links li {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .nav-links .uiverse {
        min-width: 210px;
        width: auto;
        height: 42px;
        padding: 0 16px;
        font-size: 1rem;
    }

    .nav-links .uiverse .tooltip {
        display: none;
    }
}

@media (max-width: 768px) {
    html,
    body {
        overflow-x: hidden;
    }

    section {
        scroll-margin-top: 72px;
    }

    .hero {
        height: 62vh;
        min-height: 430px;
    }

    .about-editorial-section {
        height: auto;
        min-height: auto;
        padding: 56px 4%;
    }

    .about-section-title {
        font-size: clamp(1.4rem, 6vw, 1.9rem);
        margin-bottom: 12px;
    }

    .about-editorial-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        max-height: none;
    }

    .about-content-card,
    .about-copy,
    .about-image {
        grid-column: auto !important;
        grid-row: auto !important;
    }

    .about-content-card {
        padding: 8px;
    }

    .about-content-card p,
    .about-copy p {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .interactive-gallery-container {
        width: 100%;
        height: 58vh;
        min-height: 360px;
        border-radius: 56px 0 56px 0;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .footer {
        padding-top: 64px;
    }

    .services-center-text .button {
        min-width: 190px;
        height: 42px;
        padding: 0 14px;
    }

    .services-center-text .btn-txt {
        font-size: 0.72rem;
        letter-spacing: 0.4px;
    }
}

@media (max-width: 576px) {
    .navbar {
        padding: 10px 0;
    }

    .nav-links {
        top: 64px;
        height: calc(100vh - 64px);
        padding: 16px 0;
        gap: 12px;
    }

    .about-editorial-grid {
        grid-template-columns: 1fr;
    }

    .about-image {
        min-height: 190px;
    }

    .contact-number {
        font-size: 1rem;
    }

    .nav-links .uiverse {
        min-width: 180px;
        height: 40px;
        font-size: 0.92rem;
    }

    .button {
        min-width: 170px;
        height: 40px;
    }

    .btn-txt {
        font-size: 0.68rem;
        letter-spacing: 0.3px;
    }
}
