/* ============================================
   ASCEND ROOFING GROUP — STYLES
   Dark Architectural Theme
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

:root {
    /* -- Dark Architectural Palette -- */
    --bg-body: #0a0a0a;
    --bg-secondary: #141414;
    --bg-card: #1a1a1a;

    --text-main: #f0f0f0;
    --text-muted: #999999;
    --text-light: #ffffff;

    --primary-color: #ffffff;
    --accent-color: #2563EB;
    --border-color: #2a2a2a;

    /* Typography */
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Layout */
    --container-width: 1400px;
    --header-height: 90px;

    /* Effects */
    --radius-sm: 0px;
    --radius-md: 0px;
    --radius-lg: 0px;
    --radius-xl: 0px;
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.3);

    --transition: 0.3s cubic-bezier(0.2, 1, 0.3, 1);

    /* -- Aliases for Compatibility -- */
    --accent: var(--accent-color);
    --text-primary: var(--text-main);
    --text-secondary: var(--text-muted);
    --bg-primary: var(--bg-body);
    --gradient-accent: var(--accent-color);
    --gradient-hero: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.8));
    --border-accent: var(--accent-color);
    --shadow-glow: none;
    --bg-glass: rgba(10, 10, 10, 0.95);
    --shadow-lg: var(--shadow-hover);
    --font: var(--font-body);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.1;
    color: var(--text-main);
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

input,
select,
textarea {
    font-family: inherit;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}



/* ---- SECTION ---- */
.section {
    padding: 120px 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 64px;
}

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-color);
    margin-bottom: 24px;
    padding-left: 12px;
    border-left: 2px solid var(--accent-color);
    line-height: 1;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
}

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

.section-desc {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.7;
}



/* ---- BUTTONS ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 16px 32px;
    border-radius: 0;
    transition: var(--transition);
    position: relative;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.btn-primary {
    background: var(--accent-color);
    color: #fff;
    border: 1px solid var(--accent-color);
}

.btn-primary:hover {
    background: #1d4ed8;
    border-color: #1d4ed8;
    color: #fff;
}

.btn-outline {
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: #000;
}

.btn-lg {
    padding: 20px 40px;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
}

/* ---- NAVBAR ---- */
/* ---- NAVBAR ---- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 10px 0;
    /* Reduced padding */
    transition: var(--transition);
    background: transparent;
    /* Transparent initially */
    backdrop-filter: none;
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    padding: 8px 0;
    /* Even sleeker on scroll */
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 1001;
}

.logo-img {
    height: 80px;
    /* Much bigger logo */
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

.about-img-real {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
    /* Increased spacing */
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    padding: 8px 0;
    color: var(--text-muted);
    transition: var(--transition);
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

/* Minimal Line Hover Effect */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-color);
    transition: width 0.3s;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.nav-cta {
    background: var(--accent-color);
    color: #fff;
    padding: 12px 24px;
    margin-left: 12px;
    border-radius: 0;
    border: 1px solid var(--accent-color);
}

.nav-link.nav-cta:hover {
    background: #fff;
    border-color: #fff;
    color: #000;
}

.nav-link.nav-cta::after {
    display: none;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    z-index: 1001;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 28px;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

/* ---- HERO ---- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 90px;
    color: #ffffff;
    /* Explicitly white text for hero */
}

/* Hero Background */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Darker overlay for better text contrast */
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.85) 100%),
        url('./images/20240307_171821.jpg');
    background-size: cover;
    background-attachment: fixed;
    background-position: center center;
    z-index: -1;
}

.hero-overlay {
    display: none;
    /* Removed separate overlay */
}

.hero-pattern {
    display: none;
}

@keyframes pulseGlow {
    0% {
        opacity: 0.6;
    }

    100% {
        opacity: 1;
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

/* Remove Hero Badge for cleaner look or make minimal */
.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--accent-color);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 32px;
}



.hero h1 {
    font-size: clamp(3.5rem, 7vw, 6rem);
    /* Massive Typography */
    font-weight: 800;
    line-height: 1;
    margin-bottom: 24px;
    letter-spacing: -2px;
    color: #ffffff;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

/* Brighter accent for Hero specifically, to pop against dark bg */
.hero .text-accent {
    color: #60a5fa;
    text-shadow: 0 0 20px rgba(37, 99, 235, 0.4);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    max-width: 600px;
    margin-bottom: 48px;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

/* Hero specific button overrides */
.hero .btn-outline {
    border-color: #ffffff;
    color: #ffffff;
}

.hero .btn-outline:hover {
    background: #ffffff;
    color: #000000;
}

.hero-stats {
    display: flex;
    gap: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
}

.stat-plus {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
}

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

.hero-scroll {
    position: absolute;
    bottom: 40px;
    right: 40px;
    /* Moved to right */
    left: auto;
    z-index: 1;
    transform: none;
}

.hero-scroll a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 0;
    color: #ffffff;
    transition: var(--transition);
    animation: bounce 2s infinite;
}

.hero-scroll a:hover {
    background: #ffffff;
    color: #000000;
    border-color: #ffffff;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-8px);
    }

    60% {
        transform: translateY(-4px);
    }
}

/* ---- SERVICES ---- */
.services {
    background: var(--bg-body);
}

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

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 0;
    padding: 48px 40px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    display: none;
    /* Remove gradient top border */
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-hover);
}

.service-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 0;
    color: var(--primary-color);
    margin-bottom: 32px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--accent-color);
    color: #fff;
    border-color: var(--accent-color);
}

.service-icon svg {
    width: 32px;
    height: 32px;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
}

/* ---- ABOUT ---- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

/* About Image Wrapper */
.about-img-wrapper {
    position: relative;
    border-radius: 0;
    overflow: hidden;
    aspect-ratio: 1;
    box-shadow: none;
    /* Removed shadow */
}

.about-img-real {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.about-img-wrapper:hover .about-img-real {
    transform: scale(1.05);
}

.about-img-placeholder {
    display: none;
}

.about-experience-badge {
    position: absolute;
    bottom: 0;
    right: 0;
    background: var(--accent-color);
    color: #fff;
    padding: 24px 32px;
    border-radius: 0;
    text-align: center;
    box-shadow: none;
    border-top: none;
    border-left: none;
    z-index: 2;
}

.exp-number {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.exp-label {
    font-size: 0.7rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 8px;
    display: block;
}


.about-content h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.about-content>p {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.7;
}

.about-features {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    border-left: 1px solid var(--border-color);
    padding-left: 32px;
}

.about-feature {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.feature-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border-radius: 0;
    color: var(--primary-color);
    margin-top: 4px;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
}

.about-feature strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 6px;
    font-weight: 700;
}

.about-feature p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ---- WHY CHOOSE US ---- */
.why-us {
    background: var(--bg-secondary);
}

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

.why-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 0;
    padding: 40px 32px;
    transition: var(--transition);
    text-align: left;
    /* Aligned left for functional look */
    position: relative;
}

.why-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-color);
    background: var(--bg-secondary);
}

.why-number {
    font-size: 4rem;
    font-weight: 900;
    color: var(--border-color);
    line-height: 1;
    margin-bottom: 24px;
    transition: var(--transition);
}

.why-card:hover .why-number {
    color: var(--accent-color);
}

.why-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.why-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

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

.team-card {
    background: transparent;
    border: none;
    padding: 0;
    text-align: center;
}

.team-card:hover {
    transform: translateY(-8px);
}

.team-avatar {
    width: 100%;
    aspect-ratio: 1;
    height: auto;
    margin: 0 0 24px 0;
    border-radius: 0;
    /* Square photos */
    overflow: hidden;
    background: var(--bg-secondary);
    border: none;
    filter: grayscale(100%);
    transition: var(--transition);
}

.team-card:hover .team-avatar {
    filter: grayscale(0%);
}

.team-avatar svg {
    /* Placeholder fallback */
    width: 60%;
    height: 60%;
    margin-top: 20%;
    color: var(--border-color);
}

.team-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.team-role {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.team-card p {
    display: none;
    /* Hide team bios for cleaner look, or keep minimal */
}

/* ---- TESTIMONIALS ---- */
.testimonials {
    background: var(--bg-body);
}

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

.testimonial-card {
    background: var(--bg-secondary);
    border: none;
    border-radius: 0;
    padding: 48px 40px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    background: var(--bg-card);
    box-shadow: var(--shadow-hover);
}

.testimonial-stars {
    font-size: 1rem;
    color: var(--primary-color);
    margin-bottom: 24px;
    letter-spacing: 2px;
}

.testimonial-card>p {
    color: var(--text-main);
    font-size: 1.1rem;
    line-height: 1.6;
    flex: 1;
    font-style: normal;
    font-weight: 500;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 0;
    background: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: #fff;
    flex-shrink: 0;
}

.testimonial-author strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 2px;
    font-weight: 700;
}

.testimonial-author span {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ---- CONTACT ---- */
.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 64px;
    align-items: start;
}

.contact-form-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 0;
    padding: 64px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    background: var(--bg-secondary);
    border: 1px solid transparent;
    border-radius: 0;
    color: var(--text-main);
    font-size: 1rem;
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    background: var(--bg-body);
    border-color: var(--accent-color);
    box-shadow: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23999999' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
    cursor: pointer;
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.info-card {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    padding: 32px;
    background: var(--bg-secondary);
    border: none;
    border-radius: 0;
    transition: var(--transition);
}

.info-card:hover {
    background: var(--bg-secondary);
    box-shadow: var(--shadow-hover);
}

.info-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border-radius: 0;
    color: var(--primary-color);
    margin-top: 4px;
}

.info-card strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 4px;
    font-weight: 700;
}

.info-card a,
.info-card span {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

.info-card a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.map-embed {
    border-radius: 0;
    overflow: hidden;
    border: none;
    margin-top: 24px;
    filter: grayscale(100%);
    transition: filter 0.5s;
}

.map-embed:hover {
    filter: grayscale(0%);
}

/* ---- GALLERY ---- */
.gallery {
    background: var(--bg-body);
}

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

.gallery-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--bg-secondary);
}

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

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: 0.4s;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.gallery-text {
    color: #fff;
    text-align: center;
    transform: translateY(20px);
    transition: 0.4s;
}

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

/* ---- FOOTER ---- */
.footer {
    background: #111;
    color: #fff;
    padding: 80px 0 0;
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 48px;
    padding-bottom: 64px;
    border-bottom: 1px solid #333;
}

.footer-brand p {
    color: #999;
    font-size: 0.95rem;
    margin-top: 24px;
    line-height: 1.7;
    max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-links a {
    color: #999;
    font-size: 1rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 8px;
}

.footer-contact p {
    margin-bottom: 16px;
    font-size: 1rem;
    color: #999;
}

.footer-contact a {
    color: #fff;
    font-weight: 600;
}

.footer-contact a:hover {
    text-decoration: underline;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 32px 0;
    color: #666;
    font-size: 0.8rem;
}



/* ---- SCROLL REVEAL ANIMATIONS ---- */
[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ---- FORM SUCCESS STATE ---- */
.form-success {
    text-align: center;
    padding: 60px 20px;
}

.form-success svg {
    margin-bottom: 20px;
    color: var(--accent-color);
}

.form-success h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: #fff;
}

.form-success p {
    color: var(--text-muted);
}

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

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

    /* Fix for mobile/tablet background attachment issues */
    .hero-bg {
        background-attachment: scroll;
        background-position: center center;
    }

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

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

@media (max-width: 768px) {
    .section {
        padding: 80px 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle span {
        background: #fff;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 360px;
        height: 100vh;
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 32px 40px;
        gap: 4px;
        transition: 0.4s ease;
        border-left: 1px solid var(--border-color);
        background: var(--bg-body);
        border-right: none;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    }

    .nav-link {
        color: #fff;
        font-size: 1.2rem;
        font-weight: 700;
        width: 100%;
        padding: 14px 16px;
    }

    .nav-link.nav-cta {
        margin-left: 0;
        margin-top: 12px;
        text-align: center;
        justify-content: center;
    }

    .nav-menu.open {
        right: 0;
    }

    .nav-toggle.open span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.open span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.open span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

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

    .hero {
        min-height: auto;
        padding: 140px 0 80px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }

    .hero-scroll {
        display: none;
    }

    .contact-grid,
    .about-grid,
    .services-grid,
    .why-grid,
    .team-grid,
    .testimonials-grid,
    .footer-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-form-wrapper {
        padding: 32px 24px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}