@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700;800&display=swap');

:root {
    --primary: #2e7d32;
    --primary-gradient: linear-gradient(135deg, #2e7d32 0%, #1b5e20 100%);
    --primary-light: #4caf50;
    --accent: #fbc02d;
    --accent-gradient: linear-gradient(135deg, #fbc02d 0%, #f9a825 100%);
    --text-dark: #1a1a1a;
    --text-light: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.15);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
    --card-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    --section-pad: 110px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    font-size: 19px;
    /* INCREASED base font */
    line-height: 1.8;
    color: var(--text-dark);
    overflow-x: hidden;
    background: #f8f9fa;
}

p {
    font-size: 1rem;
    line-height: 1.85;
}

/* paragraphs inherit 19px */

/* === LAYOUT === */
.container {
    max-width: 1260px;
    margin: 0 auto;
    padding: 0 32px;
}

section {
    padding: var(--section-pad) 0;
}

/* === NAVIGATION === */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    padding: 22px 0;
    transition: all 0.4s ease;
}

nav.scrolled,
body:not(.home) nav {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(12px);
    padding: 14px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: none; /* Fluid layout to match hero */
    padding: 0 8%; /* Matches hero and stats-bar alignment */
}

.logo {
    font-size: 28px;
    font-weight: 800;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 60px;
    /* INCREASED from 50px for better visibility */
    width: auto;
    transition: 0.3s ease;
    display: block;
}

nav.scrolled .logo img,
body:not(.home) nav .logo img {
    height: 52px;
}

nav.scrolled .logo,
body:not(.home) nav .logo {
    color: var(--primary) !important;
}

.logo span {
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 38px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.93);
    font-weight: 600;
    font-size: 16px;
    transition: 0.25s;
    letter-spacing: 0.2px;
}

nav.scrolled .nav-links a,
body:not(.home) nav .nav-links a {
    color: #333 !important;
}

.nav-links a:hover {
    color: var(--accent) !important;
}

.btn-contact {
    background: var(--primary);
    color: white !important;
    padding: 10px 24px;
    border-radius: 12px;
    font-weight: 700;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 12px rgba(46, 125, 50, 0.2);
    transition: 0.3s;
}

.btn-contact:hover {
    background: var(--accent);
    color: var(--text-dark) !important;
    transform: translateY(-2px);
}

/* === PAGE HEADER (subpages) === */
.page-header {
    min-height: 52vh;
    padding-top: 170px;
    /* clears fixed nav */
    padding-bottom: 70px;
    background: linear-gradient(rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.72)),
        url('../assets/hero-bg.png') no-repeat center center / cover;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
}

.page-header h1 {
    font-size: 58px;
    margin-bottom: 18px;
    font-weight: 800;
}

.page-header p {
    font-size: 22px;
    opacity: 0.88;
    max-width: 680px;
}

/* Glassmorphism Utility */
.glass-element {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

/* === HERO (home page) === */
.hero-container {
    min-height: 100vh;
    width: 100%;
    background: url('../assets/hero-bg.png') no-repeat center center / cover;
    display: flex;
    align-items: center;
    justify-content: center; /* Aligns to center for all screens */
    position: relative;
    padding-left: 0; /* Matches the new centered alignment */
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right,
            rgba(0, 0, 0, 0.85) 0%,
            rgba(0, 0, 0, 0.5) 45%,
            rgba(0, 0, 0, 0) 85%);
    z-index: 1;
}

.hero-content-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1100px;
    padding: 0 20px;
    text-align: center; /* Center aligned */
    color: white;
    background: transparent;
    border: none;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.hero-tagline {
    display: inline-block;
    font-size: 18px;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 30px;
    font-weight: 800;
}

.hero-container .hero-tagline {
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 32px;
    border-radius: 50px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    -webkit-text-stroke: 0;
    margin-bottom: 25px;
}

/* HIGH CONTRAST TAGLINE FOR LIGHT BACKGROUNDS (Sections) */
section .hero-tagline {
    color: #e65100; /* Deep Orange: Excellent contrast on white/light grey */
    text-shadow: none !important;
}

.page-header .hero-tagline {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 32px;
    border-radius: 50px;
    color: var(--accent) !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5) !important;
    margin-bottom: 25px;
    -webkit-text-stroke: 0 !important;
    opacity: 1 !important; /* Ensure visibility if GSAP isn't triggering */
}

.hero-container h1 {
    font-size: clamp(30px, 4.5vw, 60px);
    font-weight: 900;
    line-height: 1.0;
    white-space: nowrap;
    margin-bottom: 40px;
    color: #ffffff;
    /* PREMIUM TEXT SHADOW & DARK OUTLINE */
    text-shadow: 
        3px 3px 8px rgba(0, 0, 0, 1),
        0 0 30px rgba(0, 0, 0, 0.8);
    -webkit-text-stroke: 1.8px rgba(0, 0, 0, 0.6);
}

.accent-text {
    color: var(--accent);
    position: relative;
    display: inline-block;
}

.hero-container p {
    font-size: clamp(18px, 2.2vw, 22px);
    max-width: 580px;
    margin: 0 0 50px;
    line-height: 1.7;
}

/* Stats bar - Premium Glass Version */
.stats-bar {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    width: max-content;
    border-radius: 24px;
    padding: 25px 45px;
    display: flex;
    gap: 50px;
    align-items: center;
    z-index: 10;
    opacity: 0;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.stat-icon {
    font-size: 24px;
    color: var(--accent);
}

.stat-number {
    display: block;
    font-size: 32px;
    font-weight: 800;
    color: white;
    line-height: 1;
}

.stat-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 1px;
    margin-top: 5px;
    text-transform: uppercase;
}

/* DARKENED: was #888 */

/* === CTA BUTTON === */
.btn-primary {
    background: var(--accent-gradient);
    color: var(--text-dark);
    padding: 12px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 8px 30px rgba(251, 192, 45, 0.4);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.shimmer-effect::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transform: rotate(45deg);
    transition: 0.5s;
}

.btn-primary:hover::after {
    left: 100%;
    top: 100%;
}

.btn-primary:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 40px rgba(251, 192, 45, 0.6);
    background: white;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    right: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 10;
}

.mouse {
    width: 26px;
    height: 42px;
    border: 2px solid white;
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--accent);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 1.5s infinite;
}

@keyframes scroll-wheel {
    0% { top: 8px; opacity: 1; }
    100% { top: 25px; opacity: 0; }
}

.arrow span {
    display: block;
    width: 10px;
    height: 10px;
    border-bottom: 2px solid white;
    border-right: 2px solid white;
    transform: rotate(45deg);
    margin: -5px;
    animation: arrow-down 1.5s infinite;
}

@keyframes arrow-down {
    0% { opacity: 0; transform: rotate(45deg) translate(-10px, -10px); }
    50% { opacity: 1; }
    100% { opacity: 0; transform: rotate(45deg) translate(10px, 10px); }
}

/* === SERVICE CARDS (home) === */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    /* MODIFIED: slightly smaller min-width for 4 columns */
    gap: 34px;
    margin-top: 20px;
}

.service-card {
    background: white;
    padding: 55px 38px;
    border-radius: 36px;
    text-align: center;
    box-shadow: var(--card-shadow);
    transition: 0.4s;
    border-bottom: 4px solid transparent;
}

.service-card:hover {
    transform: translateY(-12px);
    border-color: var(--primary);
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.1);
}

.service-card h3 {
    font-size: 26px;
    margin: 22px 0 14px;
    color: var(--primary);
    font-weight: 800;
}

.service-card p {
    font-size: 17px;
    color: #333;
    line-height: 1.8;
}

/* DARKENED: was #555 */

/* === SERVICES DETAIL (services.html) === */
.services-detail-grid {
    display: flex;
    flex-direction: column;
    gap: 90px;
    padding: 70px 0 30px;
}

.service-row {
    display: flex;
    gap: 60px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.service-row:nth-child(even) {
    flex-direction: row-reverse;
}

.service-info {
    flex: 1;
    min-width: 300px;
}

.service-info h2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary);
    margin: 12px 0 18px;
}

.service-info p {
    font-size: 18px;
    color: #222;
    margin-bottom: 20px;
    line-height: 1.85;
}

/* DARKENED: was #444 */
.service-info ul {
    list-style: none;
    margin-top: 10px;
}

.service-info ul li {
    font-size: 17px;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.service-info ul li i {
    color: var(--primary);
    margin-right: 10px;
}

.service-img {
    flex: 1;
    min-width: 300px;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.service-img img {
    width: 100%;
    display: block;
    transition: 0.5s;
}

.service-img:hover img {
    transform: scale(1.04);
}

/* Why Choose Us */
.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.why-card {
    background: white;
    padding: 42px 32px;
    border-radius: 28px;
    box-shadow: var(--card-shadow);
    text-align: center;
    border-top: 5px solid var(--primary);
    transition: 0.3s;
}

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

.why-card i {
    font-size: 38px;
    color: var(--primary);
    margin-bottom: 18px;
    display: block;
}

.why-card h4 {
    font-size: 21px;
    font-weight: 800;
    margin-bottom: 12px;
}

.why-card p {
    font-size: 16px;
    color: #333;
    line-height: 1.75;
}

/* DARKENED: was #555 */

/* === ABOUT === */
.about-section {
    display: flex;
    gap: 70px;
    align-items: center;
    flex-wrap: wrap;
    padding: 60px 0;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text h2 {
    font-size: 38px;
    font-weight: 800;
    color: var(--primary);
    margin: 12px 0 20px;
}

.about-text p {
    font-size: 18px;
    color: #222;
    margin-bottom: 18px;
    line-height: 1.85;
}

/* DARKENED: was #444 */
.about-img {
    flex: 1;
    min-width: 300px;
    position: relative;
}

.about-img img {
    width: 100%;
    border-radius: 36px;
    box-shadow: var(--card-shadow);
}

.floating-badge {
    position: absolute;
    bottom: -24px;
    right: -24px;
    background: var(--accent);
    color: var(--text-dark);
    padding: 28px;
    border-radius: 20px;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    text-align: center;
}

/* === PROJECTS === */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 32px;
    padding: 50px 0;
}

.project-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    aspect-ratio: 4/3;
    box-shadow: var(--card-shadow);
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

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

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 35%, rgba(0, 0, 0, 0.88));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 28px;
    color: white;
    opacity: 0;
    transition: 0.35s;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-overlay h3 {
    font-size: 22px;
    font-weight: 700;
}

.project-overlay p {
    font-size: 15px;
    opacity: 1;
}

/* INCREASED: was 0.85 */

/* === CONTACT === */
.contact-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    margin-top: -130px;
    position: relative;
    z-index: 20;
    background: white;
    border-radius: 48px;
    overflow: hidden;
    box-shadow: 0 40px 90px rgba(0, 0, 0, 0.14);
}

.contact-form {
    padding: 70px 60px;
}

.contact-form h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 36px;
}

.contact-info-panel {
    background: var(--primary);
    color: white;
    padding: 70px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-info-panel h2 {
    font-size: 30px;
    font-weight: 800;
    margin-bottom: 12px;
}

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

.form-group label {
    display: block;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--primary);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 16px 22px;
    font-size: 17px;
    font-family: inherit;
    border: 1.5px solid #ddd;
    border-radius: 14px;
    transition: 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 4px rgba(46, 125, 50, 0.1);
}

.submit-btn {
    width: 100%;
    padding: 16px;
    font-size: 18px;
    font-weight: 700;
    font-family: inherit;
    background: var(--accent);
    color: var(--text-dark);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: 0.35s;
}

.submit-btn:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

/* === FLOATING BUTTONS === */
.fab-container {
    position: fixed !important;
    bottom: 36px !important;
    right: 36px !important;
    left: auto !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 18px !important;
    z-index: 999999 !important;
}

.fab {
    width: 66px !important;
    height: 66px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: white !important;
    font-size: 30px !important;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.38) !important;
    text-decoration: none !important;
    transition: 0.35s !important;
}

.fab:hover {
    transform: scale(1.12) rotate(6deg) !important;
}

.fab.whatsapp {
    background: #25d366 !important;
}

.fab.call {
    background: var(--primary) !important;
}

.fab.chat {
    background: linear-gradient(135deg, #2e7d32 0%, #1b5e20 100%) !important;
}

.fab:focus {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
}

/* === HAMBURGER MENU === */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    z-index: 10000;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 2px;
    transition: all 0.3s ease;
}

nav.scrolled .hamburger span,
body:not(.home) nav .hamburger span {
    background: #333;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 11px);
}

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

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

/* === MOBILE MENU === */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9998;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.mobile-menu.active {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.mobile-nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 30px;
    text-align: center;
    padding: 40px 20px;
    width: 100%;
}

.mobile-nav-links a {
    color: white;
    text-decoration: none;
    font-size: 22px;
    font-weight: 600;
    transition: 0.3s ease;
    display: block;
    padding: 15px 0;
    -webkit-tap-highlight-color: transparent;
}

.mobile-nav-links a:active {
    color: var(--accent);
}

.btn-contact-mobile {
    background: var(--primary) !important;
    padding: 14px 30px !important;
    border-radius: 12px;
    display: inline-block;
    margin-top: 10px;
}

/* === CHAT WIDGET === */
.chat-widget {
    position: fixed;
    bottom: 110px;
    right: 30px;
    width: 380px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.25);
    z-index: 999;
    display: none;
    flex-direction: column;
    overflow: hidden;
    animation: slideUp 0.3s ease;
    max-height: 600px;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chat-widget.active {
    display: flex;
}

.chat-header {
    background: linear-gradient(135deg, #2e7d32 0%, #1b5e20 100%);
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
    border-radius: 16px 16px 0 0;
}

.chat-header h4 {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
}

.chat-header p {
    margin: 4px 0 0 0;
    font-size: 13px;
    opacity: 0.9;
}

.chat-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s ease;
    border-radius: 50%;
    line-height: 1;
}

.chat-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.chat-close:active {
    transform: scale(0.9);
}

/* Messages Container */
.chat-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background: #fafafa;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 100px;
    max-height: 300px;
}

.chat-messages::-webkit-scrollbar {
    width: 6px;
}

.chat-messages::-webkit-scrollbar-track {
    background: transparent;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

.chat-messages::-webkit-scrollbar-thumb:hover {
    background: #999;
}

.chat-message {
    display: flex;
    gap: 10px;
    animation: messageSlideIn 0.3s ease;
}

@keyframes messageSlideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chat-message.bot-message {
    justify-content: flex-start;
}

.chat-message.user-message {
    justify-content: flex-end;
}

.chat-message p {
    margin: 0;
    padding: 12px 15px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.5;
    max-width: 85%;
    word-wrap: break-word;
}

.bot-message p {
    background: white;
    color: #333;
    border: 1px solid #e0e0e0;
    border-radius: 12px 12px 12px 4px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.user-message p {
    background: linear-gradient(135deg, #2e7d32 0%, #1b5e20 100%);
    color: white;
    border-radius: 12px 12px 4px 12px;
}

/* Questions Container */
.chat-questions {
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    background: white;
    border-top: 1px solid #e8e8e8;
    flex-shrink: 0;
    max-height: 250px;
    overflow-y: auto;
}

.chat-questions::-webkit-scrollbar {
    width: 6px;
}

.chat-questions::-webkit-scrollbar-track {
    background: transparent;
}

.chat-questions::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

.question-btn {
    width: 100%;
    padding: 14px 16px;
    border: none;
    background: white;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid #f0f0f0;
    -webkit-tap-highlight-color: transparent;
    display: flex;
    align-items: center;
    gap: 10px;
}

.question-btn:last-child {
    border-bottom: none;
}

.question-btn:hover {
    background: #f5f5f5;
}

.question-btn:active {
    background: #e8e8e8;
    transform: scale(0.98);
}

.chat-footer {
    padding: 12px;
    display: flex;
    gap: 8px;
    border-top: 1px solid #e8e8e8;
    background: white;
    flex-shrink: 0;
}

.chat-contact-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 11px 12px;
    background: linear-gradient(135deg, #2e7d32 0%, #1b5e20 100%);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    transition: 0.2s ease;
    border: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.chat-contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(46, 125, 50, 0.3);
}

.chat-contact-btn:active {
    transform: translateY(0);
}

/* === SECTION HEADINGS === */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 42px;
    font-weight: 800;
    color: var(--primary);
    margin: 12px 0 16px;
}

.section-header p {
    font-size: 20px;
    color: #222;
    max-width: 680px;
    margin: 0 auto;
}

/* DARKENED: was #666 */
/* Considers tagline style above */

/* === CLIENTS SECTION === */
.client-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    justify-items: center;
}

.client-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    padding: 20px 30px;
    background: #fdfdfd;
    border: 1px solid #efefef;
    border-radius: 12px;
    text-align: center;
    width: 100%;
    transition: 0.3s;
}

.client-name:hover {
    background: #f9f9f9;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

/* === CALCULATOR === */
/* === WIZARD CALCULATOR === */
.wizard-container {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 32px;
    overflow: hidden;
}

.wizard-header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 30px;
    background: #fcfdfe;
    border-bottom: 1px solid #eee;
}

.step-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.4;
    transition: all 0.4s ease;
}

.step-indicator.active {
    opacity: 1;
}

.step-number {
    width: 36px;
    height: 36px;
    background: #ddd;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 16px;
}

.active .step-number {
    background: var(--primary);
    box-shadow: 0 0 0 5px rgba(46, 125, 50, 0.1);
}

.step-text {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
}

.step-line {
    width: 80px;
    height: 2px;
    background: #eee;
    margin: 0 20px -22px;
}

.wizard-step {
    display: none;
    padding: 50px;
    animation: fadeIn 0.5s ease-out;
}

.wizard-step.active {
    display: block;
}

.form-title {
    text-align: center;
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--primary);
}

.form-subtitle {
    text-align: center;
    font-size: 16px;
    opacity: 0.7;
    margin-bottom: 40px;
}

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

.box-style {
    background: #f9fbf9;
    padding: 30px;
    border-radius: 20px;
    border: 1px solid #edf2ed;
}

.box-style label {
    font-weight: 700;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-dark);
}

.box-style label i {
    color: var(--primary);
}

.field-hint {
    font-size: 13px;
    opacity: 0.6;
    margin-bottom: 12px;
}

.wizard-footer {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Step 2 Results */
.results-dashboard {
    background: var(--primary-gradient);
    border-radius: 24px;
    padding: 40px;
    color: white;
}

.dashboard-main {
    text-align: center;
    margin-bottom: 35px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.main-stat .label {
    display: block;
    font-size: 18px;
    margin-bottom: 15px;
    opacity: 0.9;
}

.main-stat .value {
    display: block;
    font-size: 56px;
    font-weight: 900;
    margin-bottom: 5px;
}

.main-stat .hint {
    font-size: 14px;
    opacity: 0.8;
}

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

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 24px 15px;
    border-radius: 18px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.why-card {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    text-align: center;
    transition: all 0.3s ease;
}

.why-card:hover {
    transform: translateY(-10px);
}

.why-icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto 20px;
    font-size: 32px;
    color: #ffffff;
    line-height: 0 !important;
    overflow: hidden; /* Extra safety */
}

.why-icon-circle i {
    display: block !important;
    line-height: 1 !important;
    margin: 0 !important;
    color: #ffffff !important;
    transform: translateY(1px); /* Small visual correction for FA vertical balancing */
}

.stat-card.standout {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid var(--accent);
}

.stat-card i {
    font-size: 22px;
    margin-bottom: 12px;
    display: block;
    color: var(--accent);
}

.stat-card .label {
    font-size: 13px;
    opacity: 0.8;
    display: block;
    margin-bottom: 5px;
}

.stat-card .value {
    font-size: 20px;
    font-weight: 800;
}

.stat-card .hint {
    font-size: 11px;
    display: block;
    margin-top: 4px;
    opacity: 0.6;
}

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

.btn-secondary {
    background: #eee;
    color: #555;
    padding: 12px 32px;
    border-radius: 12px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: 0.3s;
}

.btn-secondary:hover {
    background: #e0e0e0;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* === ABOUT PAGE UTILITIES === */
.milestone-box {
    background: #fdfdfd;
    padding: 30px;
    border-radius: 20px;
    border-left: 5px solid var(--accent);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.milestone-box h3 {
    font-size: 34px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 5px;
}

.milestone-box p {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.7;
    margin: 0;
}

.feature-list li h4 {
    color: var(--text-dark);
    font-weight: 700;
}

/* CTA BANNER UTILITY */
.cta-banner {
    background: rgba(46, 125, 50, 0.05);
    border: 2px dashed var(--primary);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    margin: 40px 0;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    /* Shrink Cards on Mobile */
    .services-grid {
        gap: 20px;
    }

    .service-card {
        padding: 20px 15px !important;
        border-radius: 20px !important;
    }

    .service-card i {
        font-size: 32px !important;
        margin-bottom: 10px !important;
    }

    .service-card h3 {
        font-size: 22px;
        margin: 10px 0;
    }

    .why-card {
        padding: 20px 15px !important;
        border-radius: 18px !important;
    }

    .why-card i {
        font-size: 28px !important;
        margin-bottom: 8px !important;
    }

    .project-grid {
        gap: 15px;
    }

    .project-card {
        aspect-ratio: 16/9; /* Flatter cards consume less vertical space */
    }
    .contact-grid {
        grid-template-columns: 1fr;
        margin-top: 40px;
    }

    .service-row,
    .service-row:nth-child(even) {
        flex-direction: column;
    }

    .hero {
        padding-left: 5%;
    }

    .stats-bar {
        position: relative;
        bottom: auto;
        left: auto;
        margin-top: 40px;
        width: 100%;
        justify-content: space-around;
        border-radius: 24px;
    }

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

@media (max-width: 768px) {
    body {
        font-size: 19px;
    }

    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    /* Hero Section (Home) */
    .hero-container {
        justify-content: flex-start !important;
        padding-left: 0 !important;
        text-align: center !important;
        padding-top: 180px !important;
        min-height: 80vh !important;
        display: flex !important;
        flex-direction: column !important;
        padding-bottom: 60px !important;
    }

    .hero-content-wrapper {
        width: 100%;
        max-width: 95%;
        margin: 0 auto;
        padding: 5px 15px;
        background: transparent !important;
        backdrop-filter: none !important;
        border: none !important;
        box-shadow: none !important;
    }

    .hero-container h1 {
        font-size: clamp(28px, 6vw, 36px) !important;
        white-space: normal !important;
        line-height: 1.25 !important;
        margin-bottom: 25px !important;
        text-shadow: 2px 2px 6px rgba(0,0,0,1), 0 0 20px rgba(0,0,0,0.8) !important;
        -webkit-text-stroke: 1.2px rgba(0,0,0,0.7);
    }

    /* Quote Section Responsive Fix */
    .quote-wrapper {
        padding: 30px 20px !important;
        border-radius: 20px !important;
        gap: 30px !important;
    }
    .quote-text h2 {
        font-size: 28px !important;
    }
    .quote-form-container {
        padding: 25px !important;
    }

    /* Floating Buttons Mobile (Ultra-compact & Moved) */
    .fab-container {
        bottom: 12px !important;
        right: 8px !important;
        gap: 8px !important;
    }
    .fab {
        width: 42px !important;
        height: 42px !important;
        font-size: 18px !important;
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3) !important;
    }

    /* Subpage Headers */
    .page-header {
        align-items: center !important;
        text-align: center !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    .page-header h1 {
        font-size: clamp(28px, 5vw, 36px) !important;
        margin: 0 auto !important;
        width: 100% !important;
    }

    .hero-container .hero-tagline {
        text-shadow: 2px 2px 6px rgba(0,0,0,1), 0 0 15px rgba(0,0,0,0.6) !important;
        -webkit-text-stroke: 0.6px rgba(0,0,0,0.8);
    }
    
    .hero-container p {
        text-shadow: 1px 1px 4px rgba(0,0,0,0.8) !important;
        font-weight: 600;
        color: #fff;
    }

    /* Stats Bar (Home) */
    .stats-bar {
        background: #ffffff !important;
        position: relative;
        bottom: auto;
        left: auto;
        width: 92%;
        margin: 0 auto 40px;
        padding: 25px 15px;
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        border-radius: 24px;
        gap: 15px;
        box-shadow: 0 15px 40px rgba(0,0,0,0.1);
        z-index: 10;
        opacity: 1 !important;
        transform: none !important;
    }

    .stat-number {
        color: var(--primary) !important;
        font-size: 19px !important;
    }

    .stat-label {
        color: #555 !important;
        font-size: 10px !important;
    }

    /* === SUBPAGE GLOBAL CENTERING === */
    body:not(.home) section,
    body:not(.home) .section-header,
    body:not(.home) .service-info,
    body:not(.home) .about-text,
    body:not(.home) .contact-form,
    body:not(.home) h1,
    body:not(.home) h2,
    body:not(.home) h3,
    body:not(.home) p,
    body:not(.home) .hero-tagline {
        text-align: center !important;
    }

    body:not(.home) .service-info,
    body:not(.home) .about-text {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    body:not(.home) .service-info ul,
    body:not(.home) .feature-list {
        display: inline-block;
        text-align: left;
        margin: 20px auto 0;
    }

    /* Layout Grids */
    .services-grid,
    .form-grid,
    .stats-grid,
    .milestone-grid,
    .contact-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
        width: 100% !important;
    }

    .contact-grid {
        margin-top: 20px !important;
        border-radius: 24px !important;
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }

    .contact-form,
    .contact-info-panel {
        padding: 50px 20px !important;
        width: 100% !important;
        text-align: center !important;
    }
    
    .contact-form label {
        text-align: center !important;
        width: 100% !important;
    }

    /* Home Page 10+ Section */
    #experience h2[style*="120px"] {
        font-size: 70px !important;
        margin-bottom: 20px !important;
        text-align: center;
        opacity: 0.3;
        position: relative !important;
    }

    #experience div[style*="absolute"] {
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        text-align: center !important;
        width: 100% !important;
        padding: 0 !important;
    }

    #experience h2[style*="42px"] {
        font-size: 28px !important;
    }

    #experience p {
        margin-top: 20px !important;
    }

    /* Calculator Fixes */
    .wizard-container {
        width: 100% !important;
        margin: 0 !important;
        padding: 20px 15px !important;
        border-radius: 20px !important;
    }

    .results-dashboard {
        padding: 15px !important;
    }

    .dashboard-main .main-stat .value {
        font-size: 30px !important;
    }

    /* Universal Button Stacking */
    .wizard-footer,
    .hero-btns,
    .btns-flex {
        flex-direction: column !important;
        width: 100% !important;
        display: flex !important;
        gap: 15px !important;
        margin-top: 30px !important;
    }

    .btn-primary,
    .btn-secondary,
    .submit-btn,
    .wizard-footer button,
    .wizard-footer a,
    .hero-btns a {
        width: 100% !important;
        margin: 0 !important;
        justify-content: center !important;
        display: flex !important;
        align-items: center !important;
        padding: 15px 20px !important;
    }

    /* Global Overflow Fix */
    body, html {
        overflow-x: hidden !important;
        max-width: 100vw !important;
        position: relative;
    }
    /* Quick Quote Responsive */
    .quote-wrapper {
        padding: 30px 20px !important;
        gap: 25px !important;
        flex-direction: column !important;
    }
    .quote-form-container {
        padding: 25px 15px !important;
        width: 100% !important;
    }
    .quote-text h2 {
        font-size: 28px !important;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px !important;
    }

    .hero h1 {
        font-size: 22px !important;
    }

    .page-header h1 {
        font-size: 26px !important;
    }

    .fab {
        width: 52px !important;
        height: 52px !important;
        font-size: 22px !important;
    }

    section {
        padding: 50px 0 !important;
    }

    .chat-widget {
        right: 15px !important;
        left: 15px !important;
        max-width: calc(100% - 30px) !important;
    }

    .hero-content-wrapper {
        padding: 25px 15px !important;
    }
}
