/* ============================================================
   DUMI SURF — Home Page CSS
   Imports shared.css for tokens, nav & footer styles.
   ============================================================ */
@import url('shared.css');

/* ================================================================
   TEAM SECTION
================================================================ */
.team-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.team-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 60px;
}

@media (max-width: 1200px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}

.team-member {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.team-member:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.15);
}

.tm-photo {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
}

.tm-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.team-member:hover .tm-photo img {
    transform: scale(1.1);
}

.tm-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent 60%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.team-member:hover .tm-overlay {
    opacity: 1;
}

.tm-social {
    display: flex;
    gap: 12px;
}

.tm-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
}

.tm-social a:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

.tm-info {
    padding: 24px 20px;
    text-align: left;
}

.tm-name {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 6px;
    font-family: var(--font-display);
}

.tm-role {
    color: var(--primary);
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 12px;
}

.tm-bio {
    color: var(--text-muted);
    line-height: 1.5;
    font-size: 14px;
    margin: 0;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .team-section {
        padding: 80px 0;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        margin-top: 40px;
    }
    
    .tm-photo {
        height: 280px;
    }
    
    .tm-info {
        padding: 24px 20px;
    }
}

/* ================================================================
   GALLERY MODAL
================================================================ */
.gallery-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
}

.modal-content {
    position: relative;
    background: #fff;
    border-radius: 20px;
    max-width: 1200px;
    max-height: 90vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 32px;
    border-bottom: 1px solid #e2e8f0;
    background: #f8fafc;
}

.modal-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.modal-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: var(--primary);
    color: #fff;
}

.modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 32px;
}

.modal-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

.modal-gallery-item {
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
    background: #f1f5f9;
}

.modal-gallery-item:hover {
    transform: scale(1.05);
}

.modal-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-loading {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 16px;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .gallery-modal {
        padding: 10px;
    }
    
    .modal-content {
        max-height: 95vh;
        border-radius: 16px;
    }
    
    .modal-header {
        padding: 20px 24px;
    }
    
    .modal-header h2 {
        font-size: 20px;
    }
    
    .modal-body {
        padding: 24px 20px;
    }
    
    .modal-gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 12px;
    }
}

/* ================================================================
   HERO
================================================================ */
.home-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--ocean);
    /* fallback while images load */
}

/* ── Slideshow ── */
.hero-slideshow {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(1.05);
    will-change: opacity, transform;
}

/* Active slide: fade in + Ken Burns slow zoom */
.hero-slide.active {
    opacity: 1;
    animation: heroKenBurns 8s ease-out forwards;
}

/* Outgoing slide: fade out */
.hero-slide.prev {
    opacity: 0;
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    animation: none;
}

@keyframes heroKenBurns {
    0% {
        transform: scale(1.06);
    }

    100% {
        transform: scale(1.00);
    }
}

/* Dark gradient overlay — strong at left for text, lighter at right */
.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(105deg,
            rgba(2, 62, 138, 0.82) 0%,
            rgba(0, 70, 120, 0.62) 45%,
            rgba(0, 30, 60, 0.45) 100%),
        linear-gradient(to top,
            rgba(0, 0, 0, 0.55) 0%,
            transparent 50%);
}

/* ── Slide Dots ── */
.hero-slide-dots {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 10px;
    align-items: center;
}

.hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.40);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
    position: relative;
}

.hero-dot.active {
    background: #fff;
    width: 28px;
    border-radius: 4px;
}

.hero-dot:hover {
    background: rgba(255, 255, 255, 0.75);
}



/* Animated wave shapes */
.hero-waves {
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    overflow: hidden;
    line-height: 0;
    pointer-events: none;
}

.hero-waves svg {
    display: block;
    width: calc(100% + 1.3px);
    height: 80px;
}

.hero-waves .wave-fill {
    fill: var(--bg);
}

.home-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 40px 140px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    width: 100%;
}

/* Hero text */

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 30px;
    padding: 7px 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary-light);
    margin-bottom: 26px;
    backdrop-filter: blur(8px);
}

.hero-eyebrow::before,
.hero-eyebrow::after {
    content: '';
    display: block;
    width: 20px;
    height: 1px;
    background: var(--primary-light);
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 800;
    color: #fff;
    line-height: 1.08;
    letter-spacing: -1px;
    margin-bottom: 22px;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
}

.hero-title em {
    font-style: italic;
    color: var(--primary-light);
}

.hero-title .hero-line-accent {
    display: block;
}

.hero-desc {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.80);
    line-height: 1.72;
    margin-bottom: 38px;
    max-width: 460px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 48px;
}

.hero-stat-row {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.hero-stat {
    text-align: left;
}

.hero-stat .stat-num {
    font-family: 'Oswald', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.hero-stat .stat-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.60);
    font-weight: 500;
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

/* Hero visual col */
.hero-visual-col {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-card-stack {
    position: relative;
    width: 100%;
    max-width: 420px;
}

.hero-main-card {
    background: rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.20);
    border-radius: 24px;
    padding: 32px;
    color: #fff;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.25);
}

.hero-card-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary-light);
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-card-label::before {
    content: '';
    display: block;
    width: 24px;
    height: 1px;
    background: var(--primary-light);
}

.hero-card-title {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 6px;
}

.hero-card-sub {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 24px;
}

.hero-card-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
}

.hero-card-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.88);
}

.hero-card-feature .feat-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.hero-card-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 18px;
}

.hero-card-price .from {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.55);
}

.hero-card-price .amount {
    font-family: 'Oswald', sans-serif;
    font-size: 42px;
    font-weight: 700;
    color: #fff;
}

.hero-card-price .per {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.60);
}

/* Floating badges */
.hero-float-badge {
    position: absolute;
    background: #fff;
    border-radius: 14px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow-lg);
    animation: floatBob 3s ease-in-out infinite;
    white-space: nowrap;
}

.hero-float-badge:nth-child(2) {
    animation-delay: 1.5s;
}

.hero-float-badge .fb-icon {
    font-size: 20px;
}

.hero-float-badge .fb-text strong {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--text);
}

.hero-float-badge .fb-text span {
    font-size: 11px;
    color: var(--text-muted);
}

.badge-top-left {
    top: -18px;
    left: -28px;
}

.badge-bottom-right {
    bottom: -18px;
    right: -28px;
}

@keyframes floatBob {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-8px);
    }
}

/* ================================================================
   INTRO STRIP
================================================================ */
.intro-strip {
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 28px 40px;
}

.intro-strip-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.intro-strip-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--text-2);
    font-weight: 500;
}

.intro-strip-item .si-icon {
    font-size: 22px;
}

.intro-strip-item strong {
    color: var(--primary);
    font-weight: 700;
}

.intro-strip-divider {
    width: 1px;
    height: 32px;
    background: var(--border);
}

/* ================================================================
   ABOUT SECTION
================================================================ */
.about-section {
    padding: 100px 40px;
    background: var(--bg);
}

.about-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-img-col {
    position: relative;
}

.about-img-main {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: block;
    background: linear-gradient(135deg, var(--ocean), var(--primary-mid));
}

/* Placeholder if no image */
.about-img-placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--ocean) 0%, var(--primary) 50%, var(--primary-mid) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.45);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.about-img-placeholder svg {
    width: 100px;
    height: 100px;
    color: rgba(255, 255, 255, 0.40);
    stroke-width: 1;
}

.about-img-placeholder::after {
    content: 'Bathaegama Beach · Dickwella';
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.55);
    white-space: nowrap;
    font-family: 'Inter', sans-serif;
}

.about-badge {
    position: absolute;
    right: -20px;
    bottom: 28px;
    background: #fff;
    border-radius: 16px;
    padding: 18px 22px;
    box-shadow: var(--shadow-lg);
    text-align: center;
    min-width: 120px;
}

.about-badge .ab-num {
    font-family: 'Oswald', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.about-badge .ab-label {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 600;
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.about-text-col .section-sub {
    margin: 0 0 28px;
    max-width: 100%;
    text-align: left;
}

.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 36px;
}

.about-highlight {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 18px;
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
}

.about-highlight:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-sm);
    transform: translateX(4px);
}

.about-highlight .ah-icon {
    font-size: 24px;
    flex-shrink: 0;
    margin-top: 2px;
}

.about-highlight .ah-body strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
}

.about-highlight .ah-body p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.55;
}

/* ================================================================
   SERVICES / PACKAGES SECTION
================================================================ */
.services-section {
    padding: 100px 40px;
    background: linear-gradient(180deg, var(--bg2) 0%, #d5f0fc 100%);
    text-align: center;
}

.services-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.services-inner .section-sub {
    margin-bottom: 56px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 44px;
}

.service-card {
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 38px 28px 32px;
    text-align: center;
    position: relative;
    transition: var(--transition);
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-mid));
    opacity: 0;
    transition: opacity 0.3s;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card.featured {
    background: linear-gradient(145deg, var(--primary) 0%, var(--ocean) 100%);
    border-color: var(--primary);
    color: #fff;
}

.service-card.featured::before {
    background: linear-gradient(90deg, var(--primary-light), var(--accent));
    opacity: 1;
}

.service-card.featured::after {
    content: '★ Most Popular';
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--accent);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 4px 12px;
    border-radius: 20px;
}

.svc-icon-wrap {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    background: var(--bg2);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.service-card:hover .svc-icon-wrap {
    transform: scale(1.1) rotate(-3deg);
}

.service-card.featured .svc-icon-wrap {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.svc-name {
    font-family: 'Oswald', sans-serif;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--primary);
    margin-bottom: 8px;
}

.service-card.featured .svc-name {
    color: var(--primary-light);
}

.svc-desc {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.60;
    margin-bottom: 20px;
}

.service-card.featured .svc-desc {
    color: rgba(255, 255, 255, 0.72);
}

.svc-features {
    list-style: none;
    text-align: left;
    margin-bottom: 28px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.svc-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text);
}

.svc-features li::before {
    content: '✓';
    color: var(--success);
    font-weight: 800;
    font-size: 12px;
}

.service-card.featured .svc-features li {
    color: rgba(255, 255, 255, 0.88);
}

.service-card.featured .svc-features li::before {
    color: var(--primary-light);
}

/* ================================================================
   WAVE SEPARATOR
================================================================ */
.wave-separator {
    position: relative;
    height: 80px;
    overflow: hidden;
    margin-top: -1px;
}

.wave-separator svg {
    position: absolute;
    bottom: 0;
    width: 100%;
    display: block;
}

/* ================================================================
   HOW IT WORKS
================================================================ */
.process-section {
    padding: 100px 40px;
    background: var(--surface);
    text-align: center;
}

.process-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.process-inner .section-sub {
    margin-bottom: 60px;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
}

.process-grid::before {
    content: '';
    position: absolute;
    top: 40px;
    left: calc(12.5% + 20px);
    right: calc(12.5% + 20px);
    height: 2px;
    background: linear-gradient(90deg, var(--border-strong), var(--primary-light), var(--border-strong));
    z-index: 0;
}

.process-step {
    position: relative;
    z-index: 1;
    padding: 0 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.process-num {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-mid) 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Oswald', sans-serif;
    font-size: 28px;
    font-weight: 700;
    box-shadow: 0 8px 24px rgba(0, 119, 182, 0.30);
    position: relative;
    flex-shrink: 0;
}

.step-icon-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    box-shadow: 0 2px 8px rgba(0, 119, 182, 0.20);
}

.process-step-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 6px;
}

.process-step-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.60;
    text-align: center;
}

/* ================================================================
   GALLERY
================================================================ */
.gallery-section {
    padding: 100px 40px;
    background: var(--bg);
}

.gallery-inner {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: 260px 260px;
    gap: 14px;
    margin-top: 56px;
}

/* 1: Large feature — cols 1-7, row 1 */
.gallery-item:nth-child(1) {
    grid-column: 1 / 8;
    grid-row: 1;
}

/* 2: Tall side — cols 8-12, rows 1-2 */
.gallery-item:nth-child(2) {
    grid-column: 8 / 13;
    grid-row: 1 / 3;
}

/* 3-5: Small tiles row 2, cols 1-7 in three equal parts */
.gallery-item:nth-child(3) {
    grid-column: 1 / 4;
    grid-row: 2;
}

.gallery-item:nth-child(4) {
    grid-column: 4 / 6;
    grid-row: 2;
}

.gallery-item:nth-child(5) {
    grid-column: 6 / 8;
    grid-row: 2;
}

/* 6: shown below on tablet, hidden desktop */
.gallery-item:nth-child(6) {
    display: none;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg2);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover img {
    transform: scale(1.06);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(2, 62, 138, 0.75) 0%, transparent 55%);
    display: flex;
    align-items: flex-end;
    padding: 18px 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
}

/* ================================================================
   TESTIMONIALS
================================================================ */
.testimonials-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--ocean) 0%, #014f86 50%, var(--primary) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2390e0ef' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.testimonials-inner {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    padding: 0 40px;
}

.testimonials-section .section-eyebrow {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.18);
    color: var(--primary-light);
}

.testimonials-section .section-title {
    color: #fff;
}

.testimonials-section .section-sub {
    color: rgba(255, 255, 255, 0.70);
    margin-bottom: 40px;
}

.testimonials-slider {
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    overflow: hidden;
    padding: 15px 0;
    -webkit-mask-image: linear-gradient(to right, transparent, black 10vw, black 90vw, transparent);
    mask-image: linear-gradient(to right, transparent, black 10vw, black 90vw, transparent);
}

.testimonials-track {
    display: flex;
    gap: 24px;
    width: max-content;
    animation: scrollTesti 40s linear infinite;
}

.testimonials-slider:hover .testimonials-track {
    animation-play-state: paused;
}

@keyframes scrollTesti {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-50% - 12px));
    }
}

.testi-card {
    width: 360px;
    max-width: 85vw;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius-lg);
    padding: 30px 26px;
    text-align: left;
    transition: var(--transition);
    white-space: normal;
}

.testi-card:hover {
    background: rgba(255, 255, 255, 0.14);
    transform: translateY(-4px);
}

.testi-stars {
    display: flex;
    gap: 3px;
    margin-bottom: 14px;
    color: #fbbf24;
}

.testi-star-icon {
    fill: #fbbf24;
    stroke: #f59e0b;
    stroke-width: 1.5;
}

.testi-quote {
    font-size: 14.5px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.70;
    margin-bottom: 20px;
    font-style: italic;
}

.testi-quote::before {
    content: '"';
    font-size: 40px;
    color: var(--primary-light);
    font-family: 'Playfair Display', serif;
    line-height: 0;
    vertical-align: -14px;
    margin-right: 4px;
}

.testi-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testi-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.15);
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
    flex-shrink: 0;
}

.testi-author-info strong {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
}

.testi-author-info span {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.55);
}

/* ================================================================
   CTA BANNER
================================================================ */
.cta-section {
    padding: 90px 40px;
    text-align: center;
    background: var(--bg);
}

.cta-inner {
    max-width: 700px;
    margin: 0 auto;
}

.cta-inner .section-title {
    margin-bottom: 16px;
}

.cta-inner .section-sub {
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ================================================================
   RESPONSIVE
================================================================ */
@media (max-width: 1024px) {
    .home-hero-inner {
        grid-template-columns: 1fr;
        gap: 50px;
        padding: 100px 40px 120px;
    }

    .hero-visual-col {
        display: none;
    }

    .about-inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .services-grid {
        grid-template-columns: 1fr 1fr;
    }

    .process-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .process-grid::before {
        display: none;
    }

    /* removed .testimonials-grid media query */
}

@media (max-width: 768px) {
    .home-hero-inner {
        padding: 80px 20px 100px;
    }

    .hero-title {
        font-size: 38px;
    }

    .about-section,
    .services-section,
    .process-section,
    .gallery-section,
    .testimonials-section,
    .cta-section {
        padding: 64px 20px;
    }

    .about-inner {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 200px 200px 200px;
    }

    .gallery-item.gallery-featured {
        grid-column: 1 / 3;
        grid-row: 1;
    }

    .gallery-item.gallery-tall {
        grid-column: 1 / 2;
        grid-row: 2 / 4;
    }

    .gallery-item:nth-child(3) {
        grid-column: 2 / 3;
        grid-row: 2;
    }

    .gallery-item:nth-child(4) {
        grid-column: 2 / 3;
        grid-row: 3;
    }

    .gallery-item:nth-child(5),
    .gallery-item:nth-child(6) {
        display: none;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .intro-strip {
        padding: 20px;
    }

    .intro-strip-inner {
        gap: 14px;
    }

    .intro-strip-divider {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        gap: 10px;
    }

    .hero-stat-row {
        gap: 20px;
    }

    .about-badge {
        right: 10px;
        bottom: 20px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, 220px);
    }

    .gallery-item.gallery-featured {
        grid-column: 1;
        grid-row: 1;
    }

    .gallery-item.gallery-tall {
        grid-column: 1;
        grid-row: 2;
    }

    .gallery-item:nth-child(3) {
        grid-column: 1;
        grid-row: 3;
    }

    .gallery-item:nth-child(4) {
        grid-column: 1;
        grid-row: 4;
    }

    .gallery-item:nth-child(5),
    .gallery-item:nth-child(6) {
        display: none;
    }

    .process-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}