/* ==========================================================================
   JAD GROUP -- HOME PAGE STYLES
   Styles specific to the homepage (index.html).
   Shared styles (reset, variables, nav, footer, buttons) live in global.css.
   ========================================================================== */


/* ==========================================================================
   1. HERO
   ========================================================================== */

.hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 92vh;
    background: var(--navy);
    overflow: hidden;
}


/* ---------- Hero Slideshow ---------- */

.hero-slideshow {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transform: scale(1);
    transition: opacity 1.2s ease-in-out;
    will-change: opacity, transform;
}

.hero-slide.active {
    opacity: 1;
    animation: heroKenBurns 6.5s ease-in-out forwards;
}

@keyframes heroKenBurns {
    0%   { transform: scale(1); }
    100% { transform: scale(1.12); }
}


/* ---------- Hero Overlay ---------- */

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(10, 22, 40, 0.93) 0%,
        rgba(10, 22, 40, 0.78) 50%,
        rgba(10, 22, 40, 0.90) 100%
    );
    z-index: 1;
}


/* ---------- Particle Canvas ---------- */

.hero-canvas {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    opacity: 0;
    transition: opacity 1.5s ease;
}

.hero.hero-loaded .hero-canvas {
    opacity: 1;
}


/* ---------- Floating Geometric Shapes ---------- */

.hero-floaters {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
    opacity: 0;
    transition: opacity 1.5s ease 1.4s;
}

.hero.hero-loaded .hero-floaters {
    opacity: 1;
}

.hero-floater {
    position: absolute;
    border: 2px solid var(--gold);
    opacity: 0.06;
}

/* Diamond */
.hero-floater--diamond {
    width: 60px;
    height: 60px;
    top: 15%;
    right: 12%;
    transform: rotate(45deg);
    animation: heroFloat1 18s ease-in-out infinite;
}

/* Ring */
.hero-floater--ring {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    bottom: 22%;
    right: 20%;
    animation: heroFloat2 22s ease-in-out infinite;
}

/* Square */
.hero-floater--square {
    width: 45px;
    height: 45px;
    top: 55%;
    right: 8%;
    border-radius: 4px;
    animation: heroFloat3 20s ease-in-out infinite;
}

/* Dot */
.hero-floater--dot {
    width: 12px;
    height: 12px;
    border: none;
    background: var(--gold);
    border-radius: 50%;
    top: 30%;
    right: 32%;
    opacity: 0.08;
    animation: heroFloat4 15s ease-in-out infinite;
}

/* Cross */
.hero-floater--cross {
    width: 40px;
    height: 40px;
    border: none;
    top: 70%;
    right: 35%;
    opacity: 0.05;
}

.hero-floater--cross::before,
.hero-floater--cross::after {
    content: '';
    position: absolute;
    background: var(--gold);
}

.hero-floater--cross::before {
    width: 2px;
    height: 100%;
    left: 50%;
    transform: translateX(-50%);
}

.hero-floater--cross::after {
    width: 100%;
    height: 2px;
    top: 50%;
    transform: translateY(-50%);
}

.hero-floater--cross {
    animation: heroFloat5 24s ease-in-out infinite;
}

/* Triangle */
.hero-floater--triangle {
    width: 0;
    height: 0;
    border: none;
    border-left: 22px solid transparent;
    border-right: 22px solid transparent;
    border-bottom: 38px solid var(--gold);
    opacity: 0.04;
    top: 20%;
    right: 45%;
    animation: heroFloat6 19s ease-in-out infinite;
}

@keyframes heroFloat1 {
    0%, 100% { transform: rotate(45deg) translate(0, 0); }
    25%      { transform: rotate(45deg) translate(15px, -20px); }
    50%      { transform: rotate(45deg) translate(-10px, -35px); }
    75%      { transform: rotate(45deg) translate(20px, -10px); }
}

@keyframes heroFloat2 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33%      { transform: translate(-20px, -25px) rotate(120deg); }
    66%      { transform: translate(15px, -40px) rotate(240deg); }
}

@keyframes heroFloat3 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25%      { transform: translate(-15px, 20px) rotate(15deg); }
    50%      { transform: translate(10px, -15px) rotate(-10deg); }
    75%      { transform: translate(-20px, -10px) rotate(5deg); }
}

@keyframes heroFloat4 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50%      { transform: translate(25px, -30px) scale(1.5); }
}

@keyframes heroFloat5 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33%      { transform: translate(20px, 15px) rotate(45deg); }
    66%      { transform: translate(-15px, -20px) rotate(90deg); }
}

@keyframes heroFloat6 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25%      { transform: translate(-20px, -15px) rotate(-10deg); }
    50%      { transform: translate(10px, -30px) rotate(5deg); }
    75%      { transform: translate(15px, 10px) rotate(-5deg); }
}


/* ---------- Hero Content ---------- */

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 680px;
    padding: 60px 0;
}


/* ---------- Staggered Entrance Animations ---------- */

.hero-entrance {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero.hero-loaded .hero-entrance {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays via data-hero-delay in JS */
.hero.hero-loaded .hero-entrance[data-hero-delay="200"] {
    transition-delay: 0.2s;
}
.hero.hero-loaded .hero-entrance[data-hero-delay="400"] {
    transition-delay: 0.4s;
}
.hero.hero-loaded .hero-entrance[data-hero-delay="700"] {
    transition-delay: 0.7s;
}
.hero.hero-loaded .hero-entrance[data-hero-delay="900"] {
    transition-delay: 0.9s;
}
.hero.hero-loaded .hero-entrance[data-hero-delay="1200"] {
    transition-delay: 1.2s;
}


/* ---------- Hero Badge ---------- */

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 50px;
    background: rgba(200, 150, 62, 0.12);
    border: 1px solid rgba(200, 150, 62, 0.25);
    color: var(--gold);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 28px;
}

.hero-badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
    flex-shrink: 0;
    animation: heroPulse 2s ease-in-out infinite;
}

@keyframes heroPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%      { opacity: 0.4; transform: scale(1.6); }
}


/* ---------- Hero Typography ---------- */

.hero h1 {
    font-size: clamp(2.5rem, 5.5vw, 4rem);
    font-weight: 900;
    color: var(--white);
    line-height: 1.08;
    letter-spacing: -1px;
    margin-bottom: 24px;
}

.hero h1 .accent {
    color: var(--gold);
}


/* ---------- Word Cycling ---------- */

.hero-word-cycle {
    display: inline-block;
    position: relative;
    vertical-align: baseline;
    min-width: 260px;
}

.hero-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    position: absolute;
    left: 0;
    white-space: nowrap;
    color: var(--gold);
}

.hero-word.active {
    opacity: 1;
    transform: translateY(0);
    position: relative;
}

.hero-word.exit {
    opacity: 0;
    transform: translateY(-100%);
}


/* ---------- Hero Subtitle & Buttons ---------- */

.hero-sub {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.7;
    max-width: 520px;
    margin-bottom: 36px;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}


/* ---------- Hero Scroll Indicator ---------- */

.hero-scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.hero-scroll-indicator span {
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
}

.hero-scroll-indicator::after {
    content: '';
    width: 1px;
    height: 40px;
    background: var(--gold);
    animation: heroScrollLine 2s ease-in-out infinite;
}

@keyframes heroScrollLine {
    0%   { transform: scaleY(0); transform-origin: top; opacity: 0; }
    50%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
    100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}


/* ---------- Reduced Motion ---------- */

@media (prefers-reduced-motion: reduce) {
    .hero-slide.active {
        animation: none;
    }

    .hero-floater {
        animation: none !important;
    }

    .hero-canvas {
        display: none;
    }

    .hero-entrance {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .hero-word {
        transition: none;
    }
}


/* ==========================================================================
   2. STATS BAR
   ========================================================================== */

.stats-bar {
    background: var(--navy-light);
    padding: 48px 0;
    border-top: 1px solid rgba(200, 150, 62, 0.15);
    border-bottom: 1px solid rgba(200, 150, 62, 0.15);
}

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

.stat-item {
    text-align: center;
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 48px;
    background: rgba(255, 255, 255, 0.08);
}

.stat-item-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin: 0 auto 12px;
    border-radius: 50%;
    background: rgba(200, 150, 62, 0.1);
    color: var(--gold);
    font-size: 1.2rem;
    overflow: hidden;
}

.stat-item-icon svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 4px;
}

.stat-number .suffix {
    font-size: 1.2rem;
    color: var(--gold);
    font-weight: 700;
}

.stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.45);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}


/* ==========================================================================
   2b. SECTION HEADERS (centered intro blocks)
   ========================================================================== */

.services-header,
.projects-header,
.certifications-header,
.testimonials-header,
.news-teaser-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.services-header .section-subtitle,
.projects-header .section-subtitle,
.certifications-header .section-subtitle,
.testimonials-header .section-subtitle,
.news-teaser-header .section-subtitle {
    margin: 0 auto;
}


/* ==========================================================================
   3. SERVICES SECTION
   ========================================================================== */

.services {
    padding: 100px 0;
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

/* Center the last card when grid is uneven */
.services-grid > :last-child:nth-child(3n + 1) {
    grid-column: 2;
}

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

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}

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

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

.service-card-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(200, 150, 62, 0.1);
    color: var(--gold);
    font-size: 1.4rem;
    margin-bottom: 20px;
    overflow: hidden;
}

.service-card-icon svg {
    width: 26px;
    height: 26px;
    fill: currentColor;
}

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

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

.service-card-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gold);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap var(--transition);
}

.service-card-link:hover {
    gap: 10px;
}


/* ==========================================================================
   4. ABOUT SECTION
   ========================================================================== */

.about {
    padding: 100px 0;
    background: var(--off-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    margin-top: 48px;
}

.about-content h2 {
    margin-bottom: 20px;
}

.about-content p {
    font-size: 0.95rem;
    color: var(--text-body);
    line-height: 1.7;
    margin-bottom: 8px;
}

.about-highlights {
    display: flex;
    gap: 32px;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--grey-light);
}

.about-highlight {
    text-align: center;
}

.about-highlight-number {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--gold);
    line-height: 1.2;
}

.about-highlight-label {
    font-size: 0.75rem;
    color: var(--grey-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-top: 2px;
}

.about-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.about-image::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: -8px;
    width: 120px;
    height: 120px;
    border-right: 4px solid var(--gold);
    border-bottom: 4px solid var(--gold);
    border-radius: 0 0 12px 0;
    pointer-events: none;
}


/* ==========================================================================
   5. PROJECTS SECTION
   ========================================================================== */

.projects {
    padding: 100px 0;
    background: var(--white);
}

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

.project-card {
    border-radius: 12px;
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--grey-light);
    transition: all var(--transition);
}

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

.project-card-img {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.project-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition);
}

.project-card:hover .project-card-img img {
    transform: scale(1.05);
}

.project-card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 12px;
    background: var(--gold);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
}

.project-card-info {
    padding: 24px;
}

.project-card-info h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
}

.project-card-info p {
    font-size: 0.85rem;
    color: var(--grey-dark);
    line-height: 1.6;
}

.project-card-client {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.project-card-info .location {
    font-size: 0.8rem;
    color: var(--gold);
    font-weight: 600;
    margin-top: 12px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.projects-footer {
    text-align: center;
    margin-top: 48px;
}


/* ==========================================================================
   6. CERTIFICATIONS SECTION
   ========================================================================== */

.certifications {
    padding: 100px 0;
    background: var(--off-white);
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.cert-card {
    background: var(--white);
    border: 1px solid var(--grey-light);
    border-radius: 12px;
    padding: 32px 24px;
    text-align: center;
    transition: all var(--transition);
}

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

.cert-card-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--white);
    font-size: 1.3rem;
    overflow: hidden;
}

.cert-card-icon svg {
    width: 26px;
    height: 26px;
    fill: currentColor;
}

.cert-card h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 4px;
}

.cert-card p {
    font-size: 0.8rem;
    color: var(--grey-dark);
}


/* ==========================================================================
   7. LOCAL CONTENT SECTION
   ========================================================================== */

.local-content {
    padding: 100px 0;
    background: var(--navy);
}

.local-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.local-content-text .section-label {
    color: var(--gold);
}

.local-content-text .section-title {
    color: var(--white);
}

.local-content-text p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    line-height: 1.7;
}

.local-content-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 32px;
}

.local-content-stat {
    padding: 24px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.local-content-stat-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(200, 150, 62, 0.15);
    color: var(--gold);
    margin-bottom: 14px;
}

.local-content-stat-icon svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.local-content-stat h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 4px;
}

.local-content-stat p {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.5;
}

.local-content-stat .number {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 4px;
}

.local-content-stat .label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

.local-content-image {
    border-radius: 12px;
    overflow: hidden;
}

.local-content-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}


/* ==========================================================================
   8. CONTACT SECTION
   ========================================================================== */

.contact {
    padding: 100px 0;
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin-top: 48px;
}

.contact-info h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 16px;
}

.contact-info p {
    font-size: 0.95rem;
    color: var(--text-body);
    line-height: 1.7;
}

.contact-details {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-detail-item .icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(200, 150, 62, 0.1);
    color: var(--gold);
}

.contact-detail-item .icon svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.contact-form-wrapper {
    background: var(--navy);
    border-radius: 16px;
    padding: 40px;
}

.contact-form-wrapper h3 {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.contact-form-wrapper > p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    margin-bottom: 24px;
}

.contact-detail-item h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 4px;
}

.contact-detail-item p,
.contact-detail-item a {
    font-size: 0.85rem;
    color: var(--text-body);
    line-height: 1.5;
}


/* ==========================================================================
   9. TESTIMONIALS SECTION
   ========================================================================== */

.testimonials {
    padding: 80px 0;
    background: var(--navy);
}

.testimonials .section-label {
    color: var(--gold);
}

.testimonials .section-title {
    color: var(--white);
}

.testimonials .section-subtitle {
    color: rgba(255, 255, 255, 0.5);
}

.testimonial-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 28px;
    padding: 20px 0;
    margin-top: 48px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.testimonial-carousel::-webkit-scrollbar {
    display: none;
}

.testimonial-card {
    flex: 0 0 calc(33.333% - 20px);
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    scroll-snap-align: start;
    min-width: 320px;
}

.testimonial-card-quote {
    position: relative;
    margin-bottom: 24px;
}

.testimonial-card-quote::before {
    content: '\201C';
    font-size: 3rem;
    color: var(--gold);
    line-height: 1;
    font-family: Georgia, serif;
    display: block;
    margin-bottom: 8px;
}

.testimonial-card-quote p {
    font-size: 0.95rem;
    color: var(--text-body);
    line-height: 1.7;
    font-style: italic;
}

.testimonial-card-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid var(--grey-light);
}

.testimonial-card-author img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-card-author-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--navy);
}

.testimonial-card-author-title {
    font-size: 0.8rem;
    color: var(--grey-dark);
}


/* ==========================================================================
   10. NEWS TEASER SECTION
   ========================================================================== */

.news-teaser {
    padding: 100px 0;
    background: var(--off-white);
}

.news-teaser-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 48px;
}

.news-teaser-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--grey-light);
    transition: all var(--transition);
}

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

.news-teaser-card-img {
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.news-teaser-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition);
}

.news-teaser-card:hover .news-teaser-card-img img {
    transform: scale(1.05);
}

.news-teaser-card-body {
    padding: 24px;
}

.news-teaser-card-body .category {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gold);
    margin-bottom: 8px;
}

.news-teaser-card-body h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
    line-height: 1.4;
}

.news-teaser-card-body p {
    font-size: 0.85rem;
    color: var(--grey-dark);
    line-height: 1.6;
}

.news-teaser-card-body .date {
    font-size: 0.78rem;
    color: var(--grey-mid);
    margin-top: 12px;
}


/* ==========================================================================
   11. RESPONSIVE -- HOME PAGE
   ========================================================================== */

/* --- 1024px Breakpoint --- */
@media (max-width: 1024px) {

    .hero {
        min-height: 80vh;
    }

    .hero h1 {
        font-size: clamp(2.2rem, 5vw, 3.2rem);
    }

    /* Reduce floaters on tablet */
    .hero-floater--cross,
    .hero-floater--triangle {
        display: none;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .stat-item:nth-child(2)::after {
        display: none;
    }

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

    .services-grid > :last-child:nth-child(3n + 1) {
        grid-column: auto;
    }

    .about-grid {
        gap: 40px;
    }

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

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

    .local-content-grid {
        gap: 40px;
    }

    .testimonial-card {
        flex: 0 0 calc(50% - 14px);
    }

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

/* --- 768px Breakpoint --- */
@media (max-width: 768px) {

    .hero {
        min-height: 75vh;
    }

    .hero-content {
        padding: 40px 0;
    }

    .hero h1 {
        font-size: clamp(2rem, 6vw, 2.8rem);
    }

    .hero-sub {
        font-size: 1rem;
    }

    .hero-scroll-indicator {
        display: none;
    }

    /* Hide canvas + most floaters on mobile */
    .hero-canvas {
        display: none;
    }

    .hero-floater--ring,
    .hero-floater--square,
    .hero-floater--dot {
        display: none;
    }

    .hero-word-cycle {
        min-width: 180px;
    }

    .stats-bar {
        padding: 36px 0;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .stat-item::after {
        display: none;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .services,
    .about,
    .projects,
    .certifications,
    .local-content,
    .contact,
    .testimonials,
    .news-teaser {
        padding: 64px 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

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

    .about-image {
        order: -1;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .certifications-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

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

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

    .testimonial-card {
        flex: 0 0 85%;
        min-width: 280px;
    }

    .news-teaser-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* --- 480px Breakpoint --- */
@media (max-width: 480px) {

    .hero {
        min-height: 70vh;
    }

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

    .hero-sub {
        font-size: 0.95rem;
    }

    .hero-badge {
        font-size: 0.68rem;
        padding: 6px 14px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }

    /* Hide all floaters on small phones */
    .hero-floaters {
        display: none;
    }

    .hero-word-cycle {
        min-width: 140px;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.72rem;
    }

    .service-card {
        padding: 28px 22px;
    }

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

    .local-content-stats {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper {
        padding: 28px 20px;
    }

    .testimonial-card {
        flex: 0 0 92%;
        padding: 28px;
    }
}
