/* ============================================
   TECHKNOW CONSTRUCTIONS — DESIGN SYSTEM
   Apple-inspired, sustainability-themed
   ============================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
    --c-primary: #1a3c34;
    --c-primary-light: #2d6a4f;
    --c-primary-lighter: #40916c;
    --c-accent: #c9a84c;
    --c-accent-glow: rgba(201, 168, 76, 0.4);
    --c-bg: #ffffff;
    --c-bg-alt: #f5f0e8;
    --c-bg-dark: #1c1c1e;
    --c-text: #1c1c1e;
    --c-text-secondary: #6e6e73;
    --c-text-light: #f5f5f7;
    --c-border: rgba(0, 0, 0, 0.08);
    --c-glass: rgba(255, 255, 255, 0.72);
    --c-glass-border: rgba(255, 255, 255, 0.18);

    --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.15);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s var(--ease-out);
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Typography ---------- */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.text-gradient {
    background: linear-gradient(135deg, var(--c-primary-light), var(--c-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.section-tag {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--c-primary-light);
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 16px;
    color: var(--c-text);
}

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

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    padding: 14px 32px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.4s var(--ease-out);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--c-primary);
    color: var(--c-text-light);
    box-shadow: 0 4px 20px rgba(26, 60, 52, 0.3);
}

.btn-primary:hover {
    background: var(--c-primary-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(26, 60, 52, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--c-text-light);
    border: 1.5px solid rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.7);
    transform: translateY(-2px);
}

.btn-enquiry-nav {
    background: linear-gradient(135deg, var(--c-accent), #d4b85c);
    color: var(--c-bg-dark);
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    box-shadow: 0 0 20px var(--c-accent-glow);
    animation: glow-pulse 2s ease-in-out infinite;
}

.btn-enquiry-nav:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 0 30px var(--c-accent-glow);
}

@keyframes glow-pulse {

    0%,
    100% {
        box-shadow: 0 0 20px var(--c-accent-glow);
    }

    50% {
        box-shadow: 0 0 35px var(--c-accent-glow), 0 0 60px rgba(201, 168, 76, 0.15);
    }
}

/* ---------- HEADER / NAV ---------- */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.4s var(--ease-out);
}

#main-header.scrolled {
    padding: 10px 0;
    background: var(--c-glass);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--c-border);
    box-shadow: var(--shadow-sm);
}

#main-header.scrolled .logo-main,
#main-header.scrolled .logo-sub,
#main-header.scrolled .nav-link,
#main-header.scrolled .logo-icon {
    color: var(--c-text);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.logo-icon {
    color: var(--c-text-light);
    transition: color 0.4s var(--ease-out);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--c-text-light);
    line-height: 1.1;
    transition: color 0.4s var(--ease-out);
}

.logo-sub {
    font-size: 0.6rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.4s var(--ease-out);
}

#main-header.scrolled .logo-sub {
    color: var(--c-text-secondary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.nav-link {
    font-size: 0.88rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    padding: 8px 16px;
    border-radius: 50px;
    transition: all 0.3s var(--ease-out);
}

.nav-link:hover,
.nav-link.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
}

#main-header.scrolled .nav-link:hover,
#main-header.scrolled .nav-link.active {
    color: var(--c-primary);
    background: rgba(26, 60, 52, 0.08);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--c-text-light);
    border-radius: 2px;
    transition: all 0.3s var(--ease-out);
}

#main-header.scrolled .hamburger span {
    background: var(--c-text);
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ---------- HERO ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 120px 24px 80px;
}

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

.hero-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% 40%, rgba(45, 106, 79, 0.85) 0%, transparent 70%),
        radial-gradient(ellipse 60% 50% at 80% 80%, rgba(201, 168, 76, 0.2) 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 20% 70%, rgba(26, 60, 52, 0.5) 0%, transparent 50%),
        linear-gradient(180deg, #0a1f1a 0%, #1a3c34 40%, #122e28 100%);
}

.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

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

.hero-tag {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--c-accent);
    margin-bottom: 20px;
}

.hero-title {
    font-size: clamp(2.5rem, 7vw, 5rem);
    font-weight: 700;
    color: var(--c-text-light);
    margin-bottom: 24px;
    line-height: 1.08;
}

.hero-desc {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255, 255, 255, 0.75);
    max-width: 650px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--c-text-light);
}

.stat-suffix {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--c-accent);
}

.stat-label {
    display: block;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 4px;
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    animation: float 2s ease-in-out infinite;
}

.mouse {
    width: 24px;
    height: 38px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.wheel {
    width: 3px;
    height: 8px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 2px;
    animation: scroll-wheel 1.5s ease-in-out infinite;
}

@keyframes scroll-wheel {
    0% {
        opacity: 1;
        transform: translateY(0);
    }

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

@keyframes float {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

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

/* ---------- SECTIONS COMMON ---------- */
.section {
    padding: 120px 0;
}

.section.about {
    background: var(--c-bg);
}

.section.services {
    background: var(--c-bg-alt);
}

.section.portfolio {
    background: var(--c-bg);
}

.section.enquiry-section {
    background: linear-gradient(135deg, var(--c-bg-alt) 0%, #e8e0d0 100%);
}

.section.contact {
    background: var(--c-bg-dark);
    color: var(--c-text-light);
}

.section.contact .section-tag {
    color: var(--c-accent);
}

.section.contact .section-title {
    color: var(--c-text-light);
}

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

.about-img-container {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-img-placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-img-placeholder svg {
    width: 80%;
    height: auto;
}

.about-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--c-glass);
    backdrop-filter: blur(16px);
    border: 1px solid var(--c-glass-border);
    border-radius: var(--radius-md);
    padding: 16px 24px;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.badge-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--c-primary);
    line-height: 1;
}

.badge-text {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--c-text-secondary);
}

.about-text {
    font-size: 1.05rem;
    color: var(--c-text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-text strong {
    color: var(--c-text);
}

.about-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 36px;
}

.value-card {
    padding: 24px 20px;
    background: var(--c-bg-alt);
    border-radius: var(--radius-md);
    border: 1px solid var(--c-border);
    transition: all 0.4s var(--ease-out);
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--c-primary-lighter);
}

.value-icon {
    color: var(--c-primary-light);
    margin-bottom: 12px;
}

.value-card h4 {
    font-size: 0.95rem;
    margin-bottom: 8px;
    color: var(--c-text);
}

.value-card p {
    font-size: 0.82rem;
    color: var(--c-text-secondary);
    line-height: 1.6;
}

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

.service-card {
    position: relative;
    background: var(--c-bg);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    border: 1px solid var(--c-border);
    transition: all 0.5s var(--ease-out);
    cursor: default;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--c-primary-light), var(--c-accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s var(--ease-out);
}

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

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

.service-icon {
    color: var(--c-primary-light);
    margin-bottom: 20px;
    transition: transform 0.4s var(--ease-spring);
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-card h3 {
    font-family: var(--font-body);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--c-text);
}

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

.service-arrow {
    display: inline-flex;
    align-items: center;
    font-size: 1.2rem;
    color: var(--c-primary-light);
    transition: transform 0.3s var(--ease-out);
}

.service-card:hover .service-arrow {
    transform: translateX(6px);
}

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

.portfolio-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
    background: var(--c-bg-alt);
    border: 1px solid var(--c-border);
}

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

.portfolio-img {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 16px;
}

.portfolio-category {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #fff;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(8px);
    padding: 6px 14px;
    border-radius: 20px;
}

.portfolio-body {
    padding: 24px;
}

.portfolio-body h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--c-text);
    margin-bottom: 6px;
}

.portfolio-body p {
    font-size: 0.88rem;
    color: var(--c-text-secondary);
    line-height: 1.6;
}

/* ---------- ENQUIRY FORM (inline) ---------- */
.enquiry-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 64px;
    align-items: start;
}

.enquiry-desc {
    font-size: 1.05rem;
    color: var(--c-text-secondary);
    line-height: 1.8;
    margin-bottom: 28px;
}

.enquiry-features {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.enquiry-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.92rem;
    color: var(--c-text);
    font-weight: 500;
}

.enquiry-feature svg {
    color: var(--c-primary-light);
    flex-shrink: 0;
}

.enquiry-form {
    background: var(--c-bg);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--c-border);
}

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

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

.form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--c-text);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    font-family: var(--font-body);
    font-size: 0.92rem;
    color: var(--c-text);
    background: var(--c-bg-alt);
    border: 1.5px solid var(--c-border);
    border-radius: var(--radius-sm);
    outline: none;
    transition: all 0.3s var(--ease-out);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--c-primary-light);
    box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.1);
    background: var(--c-bg);
}

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

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%236e6e73' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.btn-submit {
    width: 100%;
    justify-content: center;
    padding: 16px;
    font-size: 1rem;
    font-weight: 600;
    margin-top: 4px;
}

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

.contact-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    text-align: center;
    transition: all 0.4s var(--ease-out);
}

.contact-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--c-primary-light), var(--c-primary));
    color: var(--c-text-light);
    margin-bottom: 20px;
}

.contact-card h3 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--c-text-light);
}

.contact-card p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.7;
}

.contact-card a {
    color: var(--c-accent);
    transition: color 0.3s;
}

.contact-card a:hover {
    color: #d4b85c;
}

.contact-note {
    font-size: 0.78rem !important;
    color: rgba(255, 255, 255, 0.4) !important;
    margin-top: 8px;
}

/* -- Map card in contact -- */
.contact-card--map {
    padding: 0;
    overflow: hidden;
}

.map-container {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(0.3) brightness(0.85);
    transition: filter 0.4s var(--ease-out);
}

.map-container:hover iframe {
    filter: grayscale(0) brightness(1);
}

.map-tooltip {
    position: absolute;
    bottom: 12px;
    left: 12px;
    right: 12px;
    background: rgba(28, 28, 30, 0.92);
    backdrop-filter: blur(12px);
    color: var(--c-text-light);
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    opacity: 0;
    transform: translateY(8px);
    transition: all 0.35s var(--ease-out);
    pointer-events: none;
}

.map-tooltip svg {
    flex-shrink: 0;
    color: var(--c-accent);
    margin-top: 1px;
}

.map-container:hover .map-tooltip {
    opacity: 1;
    transform: translateY(0);
}

.contact-card--map h3 {
    padding: 16px 32px 4px;
}

.map-address-short {
    padding: 0 32px 20px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ---------- FOOTER ---------- */
.footer {
    background: var(--c-bg-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 80px 0 32px;
    color: var(--c-text-light);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-brand .logo-main,
.footer-brand .logo-icon {
    color: var(--c-text-light);
}

.footer-brand .logo-sub {
    color: rgba(255, 255, 255, 0.5);
}

.footer-tagline {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-links ul {
    list-style: none;
}

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

.footer-links a,
.footer-contact a,
.footer-contact p {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.3s;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--c-accent);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.35);
}

.footer-eco {
    font-size: 0.82rem;
}

/* ---------- MODAL ---------- */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s var(--ease-out);
    padding: 24px;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: var(--c-bg);
    border-radius: var(--radius-xl);
    padding: 48px;
    max-width: 520px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(20px) scale(0.96);
    transition: transform 0.5s var(--ease-spring);
    box-shadow: var(--shadow-xl);
    position: relative;
}

.modal-overlay.active .modal {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--c-text-secondary);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
}

.modal-close:hover {
    background: var(--c-bg-alt);
    color: var(--c-text);
}

.modal-header {
    margin-bottom: 28px;
}

.modal-header h2 {
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.modal-header p {
    font-size: 0.92rem;
    color: var(--c-text-secondary);
}

.modal-form .form-group {
    margin-bottom: 16px;
}

/* ---------- TOAST ---------- */
.toast {
    position: fixed;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--c-primary);
    color: var(--c-text-light);
    padding: 16px 28px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.92rem;
    font-weight: 500;
    box-shadow: var(--shadow-lg);
    z-index: 3000;
    opacity: 0;
    transition: all 0.5s var(--ease-spring);
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* ---------- WHATSAPP FLOATING BUTTON ---------- */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 999;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.35s var(--ease-spring);
    animation: wa-bounce-in 0.6s var(--ease-spring) 1s both;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-4px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-float::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(37, 211, 102, 0.3);
    animation: wa-ring 2s ease-in-out infinite;
}

.whatsapp-tooltip {
    position: absolute;
    right: 72px;
    white-space: nowrap;
    background: var(--c-bg-dark);
    color: var(--c-text-light);
    font-size: 0.82rem;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 8px;
    opacity: 0;
    transform: translateX(8px);
    transition: all 0.3s var(--ease-out);
    pointer-events: none;
    box-shadow: var(--shadow-md);
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -6px;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: var(--c-bg-dark);
    border-right: none;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateX(0);
}

@keyframes wa-bounce-in {
    0% {
        opacity: 0;
        transform: scale(0.3) translateY(40px);
    }

    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes wa-ring {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.15);
        opacity: 0;
    }
}

/* ---------- SCROLL REVEAL ---------- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- FLOATING LEAF PARTICLES ---------- */
.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: radial-gradient(circle, var(--c-accent) 0%, transparent 70%);
    border-radius: 50%;
    animation: particle-float linear infinite;
    opacity: 0;
}

@keyframes particle-float {
    0% {
        opacity: 0;
        transform: translateY(100vh) rotate(0deg);
    }

    10% {
        opacity: 0.6;
    }

    90% {
        opacity: 0.6;
    }

    100% {
        opacity: 0;
        transform: translateY(-20vh) rotate(360deg);
    }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-values {
        grid-template-columns: repeat(3, 1fr);
    }

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

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

    .enquiry-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--c-bg);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 32px 32px;
        gap: 4px;
        transition: right 0.4s var(--ease-out);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.2);
    }

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

    .nav-links .nav-link {
        color: var(--c-text);
        font-size: 1.05rem;
        padding: 12px 16px;
        width: 100%;
    }

    .nav-links .nav-link:hover,
    .nav-links .nav-link.active {
        background: rgba(26, 60, 52, 0.08);
        color: var(--c-primary);
    }

    .hero-title {
        font-size: clamp(2rem, 8vw, 3.2rem);
    }

    .hero-stats {
        gap: 24px;
    }

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

    .about-values {
        grid-template-columns: 1fr;
    }

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

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

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

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

    .enquiry-form {
        padding: 28px 24px;
    }

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

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

    .section {
        padding: 80px 0;
    }

    .modal {
        padding: 32px 24px;
        margin: 16px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 16px 60px;
    }

    .hero-stats {
        gap: 16px;
    }

    .stat {
        flex: 0 0 40%;
    }

    .container {
        padding: 0 16px;
    }

    .scroll-indicator {
        display: none;
    }
}