/*
Theme Name: Drowsy Monks CoWorking
Theme URI: https://www.drowsymonks.com/
Author: Drowsy Monks
Author URI: https://www.drowsymonks.com/
Description: A premium, modern WordPress theme for Drowsy Monks CoWorking — Patna's finest collaborative workspace. Features dark/light mode, interactive pricing calculator with 18% GST breakdown, client logo ticker, filterable photo gallery with lightbox, and Contact Form 7 integration with custom CSS styling. Recommended plugins: Contact Form 7 for contact forms, AxiaChat AI for intelligent chatbot support.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: drowsy-monks
Tags: one-column, custom-colors, custom-logo, featured-images, full-width-template, theme-options
*/

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

/* Color Variables and Theme Configuration */
:root {
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --theme-transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;

    /* Dark Theme Tokens (Default) */
    --bg-main: #0b0f19;
    --bg-surface: #121826;
    --bg-surface-elevated: #1a2234;
    --border-color: #222e47;
    --text-primary: #f3f4f6;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;

    /* Branding Accent (Warm Monk Amber) */
    --primary: #f59e0b;
    --primary-hover: #d97706;
    --primary-light: #fef3c7;
    --primary-glow: rgba(245, 158, 11, 0.15);

    --success: #10b981;
    --success-light: #d1fae5;

    --glass-bg: rgba(11, 15, 25, 0.8);
    --glass-border: rgba(34, 46, 71, 0.5);
    --glass-shadow: rgba(0, 0, 0, 0.2);
}

body.light-theme {
    --bg-main: #f8fafc;
    --bg-surface: #ffffff;
    --bg-surface-elevated: #f1f5f9;
    --border-color: #e2e8f0;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;

    --primary: #d97706;
    --primary-hover: #b45309;
    --primary-light: #fef3c7;
    --primary-glow: rgba(217, 119, 6, 0.12);

    --glass-bg: rgba(248, 250, 252, 0.85);
    --glass-border: rgba(226, 232, 240, 0.8);
    --glass-shadow: rgba(15, 23, 42, 0.05);
}

/* Reset and Global Styles */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

a { color: inherit; text-decoration: none; transition: color 0.2s ease; }

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg-main); }
::-webkit-scrollbar-thumb { background: var(--border-color); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

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

.section-header { text-align: center; max-width: 600px; margin: 0 auto 50px auto; }
.section-header h2 { font-size: 2.5rem; margin-bottom: 12px; position: relative; display: inline-block; }
.section-header h2::after { content: ''; display: block; width: 60px; height: 4px; background-color: var(--primary); margin: 12px auto 0 auto; border-radius: 2px; }
.section-header p { color: var(--text-secondary); font-size: 1.1rem; }

.badge {
    display: inline-block; padding: 6px 14px; font-size: 0.8rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.05em; border-radius: 999px;
    background-color: var(--primary-glow); color: var(--primary); margin-bottom: 12px;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 28px; font-family: var(--font-heading); font-size: 1rem; font-weight: 600;
    border-radius: 8px; border: 2px solid transparent; cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-primary { background-color: var(--primary); color: #0b0f19; }
.btn-primary:hover { background-color: var(--primary-hover); box-shadow: 0 8px 20px var(--primary-glow); transform: translateY(-2px); }
.btn-outline { background-color: transparent; border-color: var(--primary); color: var(--primary); }
.btn-outline:hover { background-color: var(--primary); color: #0b0f19; transform: translateY(-2px); box-shadow: 0 8px 20px var(--primary-glow); }
.btn-secondary { background-color: var(--bg-surface-elevated); color: var(--text-primary); border-color: var(--border-color); }
.btn-secondary:hover { background-color: var(--border-color); transform: translateY(-2px); }

/* Header & Navbar */
.header {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
    background-color: var(--glass-bg); backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border); box-shadow: 0 4px 30px var(--glass-shadow);
    transition: var(--theme-transition);
}
/* WordPress Admin Bar Overrides */
body.admin-bar .header {
    top: 32px;
}
@media screen and (max-width: 782px) {
    body.admin-bar .header {
        top: 46px;
    }
}
.navbar { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.logo-container { display: flex; align-items: center; gap: 12px; }
.logo-container img { height: 48px; width: auto; border-radius: 8px; }
.logo-text { font-family: var(--font-heading); font-weight: 800; font-size: 1.4rem; letter-spacing: -0.03em; }
.logo-text span { color: var(--primary); }

.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a { font-size: 0.95rem; font-weight: 500; color: var(--text-secondary); }
.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.nav-actions { display: flex; align-items: center; gap: 20px; }

.theme-toggle {
    background: none; border: 1px solid var(--border-color); color: var(--text-primary);
    cursor: pointer; font-size: 1.2rem; width: 40px; height: 40px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; transition: var(--theme-transition);
}
.theme-toggle:hover { border-color: var(--primary); color: var(--primary); background-color: var(--bg-surface-elevated); }

.hamburger { display: none; flex-direction: column; gap: 6px; border: none; background: none; cursor: pointer; }
.hamburger span { display: block; width: 25px; height: 3px; background-color: var(--text-primary); border-radius: 2px; transition: 0.3s ease; }

/* Hero Section */
.hero { min-height: 100vh; padding-top: 100px; display: flex; align-items: center; position: relative; background-size: cover; background-position: center; overflow: hidden; }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(135deg, rgba(11, 15, 25, 0.95) 40%, rgba(11, 15, 25, 0.4) 100%); z-index: 1; }
body.light-theme .hero-overlay { background: linear-gradient(135deg, rgba(248, 250, 252, 0.95) 40%, rgba(248, 250, 252, 0.5) 100%); }
.hero-slider-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; background-size: cover; background-position: center; transition: background-image 1.5s ease-in-out; }
.hero .container { position: relative; z-index: 2; }
.hero-content { max-width: 650px; }
.hero h1 { font-size: 3.5rem; font-weight: 800; margin-bottom: 20px; line-height: 1.15; }
.hero h1 span { color: var(--primary); position: relative; }
.hero p { font-size: 1.2rem; color: var(--text-secondary); margin-bottom: 35px; max-width: 550px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 50px; }
.hero-stats { display: flex; gap: 40px; border-top: 1px solid var(--border-color); padding-top: 30px; }
.stat-item h3 { font-size: 2.2rem; color: var(--primary); margin-bottom: 4px; }
.stat-item p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 0; }

/* Service Plans Grid */
.plans-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }
@media (min-width: 992px) {
    .plans-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
.plan-card {
    background-color: var(--bg-surface); border: 1px solid var(--border-color); border-radius: 16px;
    padding: 35px; transition: var(--theme-transition), transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex; flex-direction: column; position: relative; overflow: hidden;
}
.plan-card:hover { transform: translateY(-8px); border-color: var(--primary); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15); }
.plan-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background-color: var(--primary); transform: scaleX(0); transform-origin: left; transition: transform 0.3s ease; }
.plan-card:hover::before { transform: scaleX(1); }
.plan-icon { font-size: 2.5rem; margin-bottom: 24px; color: var(--primary); }
.plan-title { font-size: 1.5rem; margin-bottom: 12px; }
.plan-desc { color: var(--text-secondary); font-size: 0.95rem; margin-bottom: 24px; flex-grow: 1; }
.plan-price-box { margin-bottom: 24px; padding-top: 20px; border-top: 1px solid var(--border-color); }
.plan-price { font-size: 2rem; font-weight: 800; font-family: var(--font-heading); color: var(--text-primary); }
.plan-price span { font-size: 0.9rem; font-weight: 500; color: var(--text-muted); }
.plan-features { list-style: none; margin-bottom: 30px; }
.plan-features li { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; color: var(--text-secondary); margin-bottom: 12px; }
.plan-features li::before { content: '✓'; color: var(--primary); font-weight: bold; }
.plan-card .btn { width: 100%; }

/* Calculator Section */
.calc-section { background-color: var(--bg-surface); border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); }
.calc-container { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 50px; background-color: var(--bg-main); border: 1px solid var(--border-color); border-radius: 20px; padding: 40px; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2); }
.calc-form { display: flex; flex-direction: column; gap: 28px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-family: var(--font-heading); font-weight: 600; font-size: 0.95rem; color: var(--text-primary); }
.calc-select, .calc-input { background-color: var(--bg-surface); border: 1px solid var(--border-color); color: var(--text-primary); padding: 14px 18px; border-radius: 8px; font-family: var(--font-body); font-size: 1rem; outline: none; transition: var(--theme-transition); }
.calc-select:focus, .calc-input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-glow); }

.range-container { display: flex; align-items: center; gap: 20px; }
.range-slider { flex-grow: 1; -webkit-appearance: none; height: 6px; border-radius: 3px; background: var(--border-color); outline: none; }
.range-slider::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 20px; height: 20px; border-radius: 50%; background: var(--primary); cursor: pointer; transition: transform 0.1s ease; }
.range-slider::-webkit-slider-thumb:hover { transform: scale(1.2); }
.range-val { min-width: 48px; text-align: center; font-weight: 700; font-size: 1.1rem; background-color: var(--bg-surface-elevated); padding: 6px 10px; border-radius: 6px; border: 1px solid var(--border-color); }

.calc-summary { background-color: var(--bg-surface-elevated); border: 1px solid var(--border-color); border-radius: 12px; padding: 35px; display: flex; flex-direction: column; justify-content: space-between; text-align: center; position: relative; overflow: hidden; }
.calc-summary::before { content: ''; position: absolute; top: 0; right: 0; width: 100px; height: 100px; background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%); z-index: 0; }
.summary-title { font-size: 1.2rem; color: var(--text-secondary); margin-bottom: 24px; z-index: 1; }
.summary-price { font-size: 3rem; font-weight: 800; font-family: var(--font-heading); color: var(--primary); margin: 20px 0; z-index: 1; text-shadow: 0 0 20px var(--primary-glow); }
.summary-price span { font-size: 1rem; color: var(--text-muted); font-weight: 500; }
.summary-breakdown { text-align: left; margin-bottom: 30px; z-index: 1; }
.breakdown-row { display: flex; justify-content: space-between; font-size: 0.9rem; color: var(--text-secondary); margin-bottom: 12px; }
.breakdown-row.total { border-top: 1px solid var(--border-color); padding-top: 12px; font-weight: 700; color: var(--text-primary); }

/* Client Logo Ticker */
.ticker-section { padding: 50px 0; border-bottom: 1px solid var(--border-color); background-color: var(--bg-surface); }
.ticker-title { text-align: center; font-size: 1rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 30px; }
.ticker-wrap { overflow: hidden; width: 100%; position: relative; padding: 10px 0; }
.ticker-wrap::before, .ticker-wrap::after { content: ''; position: absolute; top: 0; width: 100px; height: 100%; z-index: 2; pointer-events: none; }
.ticker-wrap::before { left: 0; background: linear-gradient(to right, var(--bg-surface) 0%, transparent 100%); }
.ticker-wrap::after { right: 0; background: linear-gradient(to left, var(--bg-surface) 0%, transparent 100%); }
.ticker { display: flex; width: max-content; animation: ticker-move 45s linear infinite; gap: 50px; }
.ticker:hover { animation-play-state: paused; }
.ticker-item { display: flex; align-items: center; justify-content: center; background-color: var(--bg-main); border: 1px solid var(--border-color); border-radius: 8px; padding: 12px 24px; height: 60px; min-width: 150px; transition: border-color 0.2s ease; }
.ticker-item:hover { border-color: var(--primary); }
.ticker-item img { max-height: 32px; max-width: 120px; object-fit: contain; opacity: 0.85; transition: opacity 0.3s ease; }
body.light-theme .ticker-item img { opacity: 0.75; }
.ticker-item:hover img { opacity: 1; }
@keyframes ticker-move { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* Amenities Grid */
.amenities-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.amenity-card { background-color: var(--bg-surface); border: 1px solid var(--border-color); border-radius: 12px; padding: 30px; transition: var(--theme-transition), transform 0.2s ease; }
.amenity-card:hover { transform: translateY(-4px); border-color: var(--primary); }
.amenity-icon { font-size: 2.2rem; color: var(--primary); margin-bottom: 20px; }
.amenity-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.amenity-card p { color: var(--text-secondary); font-size: 0.9rem; }

/* Gallery Layout & Filters */
.gallery-filters { display: flex; justify-content: center; gap: 12px; margin-bottom: 40px; }
.filter-btn { background-color: var(--bg-surface); border: 1px solid var(--border-color); color: var(--text-primary); padding: 10px 24px; border-radius: 8px; font-family: var(--font-heading); font-weight: 600; cursor: pointer; transition: all 0.2s ease; }
.filter-btn:hover, .filter-btn.active { background-color: var(--primary); color: #0b0f19; border-color: var(--primary); }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); grid-auto-rows: 240px; gap: 20px; }
.gallery-item { position: relative; border-radius: 12px; overflow: hidden; cursor: pointer; border: 1px solid var(--border-color); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-item-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to top, rgba(11, 15, 25, 0.9) 0%, rgba(11, 15, 25, 0.2) 100%); opacity: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 20px; transition: opacity 0.3s ease; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-title { font-family: var(--font-heading); font-weight: 700; font-size: 1.1rem; color: #ffffff; margin-bottom: 4px; }
.gallery-item-category { font-size: 0.8rem; color: var(--primary); text-transform: uppercase; font-weight: 600; letter-spacing: 0.05em; }

/* Lightbox Modal */
.lightbox { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background-color: rgba(11, 15, 25, 0.95); z-index: 2000; display: none; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s ease; }
.lightbox.active { display: flex; opacity: 1; }
.lightbox-content { max-width: 85%; max-height: 80%; position: relative; }
.lightbox-content img { max-width: 100%; max-height: 80vh; object-fit: contain; border-radius: 8px; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5); border: 1px solid rgba(255, 255, 255, 0.1); }
.lightbox-close { position: absolute; top: 30px; right: 30px; background: none; border: none; color: #ffffff; font-size: 2.5rem; cursor: pointer; transition: color 0.2s ease; }
.lightbox-close:hover { color: var(--primary); }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255, 255, 255, 0.1); border: none; color: #ffffff; font-size: 1.5rem; width: 50px; height: 50px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background-color 0.2s ease, color 0.2s ease; }
.lightbox-nav:hover { background-color: var(--primary); color: #0b0f19; }
.lightbox-prev { left: 30px; }
.lightbox-next { right: 30px; }
.lightbox-caption { position: absolute; bottom: -40px; left: 0; width: 100%; text-align: center; color: #ffffff; font-family: var(--font-heading); font-size: 1.1rem; font-weight: 500; }

/* About Section */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-img-box { position: relative; border-radius: 20px; overflow: hidden; border: 1px solid var(--border-color); box-shadow: 0 10px 40px rgba(0,0,0,0.15); height: 400px; }
.about-img-box img { width: 100%; height: 100%; object-fit: cover; }
.about-text h3 { font-size: 1.8rem; margin-bottom: 20px; color: var(--primary); }
.about-text p { color: var(--text-secondary); margin-bottom: 24px; }
.about-info-list { list-style: none; }
.about-info-list li { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 18px; }
.about-info-icon { color: var(--primary); font-size: 1.2rem; margin-top: 2px; }
.about-info-text strong { display: block; color: var(--text-primary); font-size: 0.95rem; }
.about-info-text span { color: var(--text-secondary); font-size: 0.9rem; }

/* Contact Form & Map */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; }
.contact-card { background-color: var(--bg-surface); border: 1px solid var(--border-color); padding: 40px; border-radius: 16px; box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1); }
.contact-card h3 { font-size: 1.5rem; margin-bottom: 8px; }
.contact-card p { color: var(--text-secondary); font-size: 0.95rem; margin-bottom: 30px; }

/* Contact Form 7 — Custom Theme Styling */
.contact-card .wpcf7 {
    width: 100%;
}

.contact-card .wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* CF7 Form Row Layout */
.contact-card .cf7-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* CF7 Labels */
.contact-card .wpcf7-form label {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-primary);
}

/* CF7 Inputs, Textareas, Selects */
.contact-card .wpcf7-form input[type="text"],
.contact-card .wpcf7-form input[type="email"],
.contact-card .wpcf7-form input[type="tel"],
.contact-card .wpcf7-form input[type="url"],
.contact-card .wpcf7-form input[type="number"],
.contact-card .wpcf7-form textarea,
.contact-card .wpcf7-form select {
    width: 100%;
    background-color: var(--bg-main);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 12px 16px;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: var(--theme-transition), border-color 0.2s ease, box-shadow 0.2s ease;
}

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

/* CF7 Focus States */
.contact-card .wpcf7-form input[type="text"]:focus,
.contact-card .wpcf7-form input[type="email"]:focus,
.contact-card .wpcf7-form input[type="tel"]:focus,
.contact-card .wpcf7-form input[type="url"]:focus,
.contact-card .wpcf7-form input[type="number"]:focus,
.contact-card .wpcf7-form textarea:focus,
.contact-card .wpcf7-form select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

/* CF7 Textarea */
.contact-card .wpcf7-form textarea {
    resize: vertical;
    min-height: 120px;
}

/* CF7 Select Dropdown */
.contact-card .wpcf7-form select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%239ca3af' d='M6 8.825L.35 3.175l.7-.7L6 7.425l4.95-4.95.7.7z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

/* CF7 Submit Button */
.contact-card .wpcf7-form input[type="submit"],
.contact-card .wpcf7-form .wpcf7-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 28px;
    background-color: var(--primary);
    color: #0b0f19;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-card .wpcf7-form input[type="submit"]:hover,
.contact-card .wpcf7-form .wpcf7-submit:hover {
    background-color: var(--primary-hover);
    box-shadow: 0 8px 20px var(--primary-glow);
    transform: translateY(-2px);
}

.contact-card .wpcf7-form input[type="submit"]:active,
.contact-card .wpcf7-form .wpcf7-submit:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px var(--primary-glow);
}

/* CF7 Validation Error Messages */
.contact-card .wpcf7-not-valid-tip {
    color: #ef4444;
    font-size: 0.8rem;
    font-weight: 500;
    margin-top: 4px;
    display: block;
}

.contact-card .wpcf7-form input.wpcf7-not-valid,
.contact-card .wpcf7-form textarea.wpcf7-not-valid,
.contact-card .wpcf7-form select.wpcf7-not-valid {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

/* CF7 Response Messages */
.contact-card .wpcf7-response-output {
    border-radius: 8px !important;
    padding: 14px 18px !important;
    font-family: var(--font-body);
    font-size: 0.9rem;
    margin: 12px 0 0 0 !important;
}

.contact-card .wpcf7-mail-sent-ok,
.contact-card .wpcf7 form.sent .wpcf7-response-output {
    background-color: rgba(16, 185, 129, 0.1);
    border-color: var(--success) !important;
    color: var(--success);
}

.contact-card .wpcf7-validation-errors,
.contact-card .wpcf7 form.invalid .wpcf7-response-output,
.contact-card .wpcf7 form.failed .wpcf7-response-output {
    background-color: rgba(239, 68, 68, 0.1);
    border-color: #ef4444 !important;
    color: #ef4444;
}

/* CF7 Spinner */
.contact-card .wpcf7-spinner {
    display: inline-block;
    margin-left: 10px;
    border: 3px solid var(--border-color);
    border-top-color: var(--primary);
    border-radius: 50%;
    width: 20px;
    height: 20px;
}

/* Fallback Contact Form (if CF7 not installed) */
.contact-form-el { display: flex; flex-direction: column; gap: 20px; }
.input-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.input-el, .textarea-el { background-color: var(--bg-main); border: 1px solid var(--border-color); color: var(--text-primary); padding: 12px 16px; border-radius: 8px; font-family: var(--font-body); font-size: 0.95rem; outline: none; transition: var(--theme-transition); }
.input-el:focus, .textarea-el:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-glow); }
.textarea-el { resize: vertical; min-height: 120px; }
.input-el::placeholder, .textarea-el::placeholder { color: var(--text-muted); }

.contact-map-box { border-radius: 16px; overflow: hidden; border: 1px solid var(--border-color); box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1); height: 100%; min-height: 400px; }
.contact-map-box iframe { width: 100%; height: 100%; border: none; }

/* Footer */
.footer { background-color: #05070c; border-top: 1px solid var(--border-color); padding: 60px 0 30px 0; color: #9ca3af; }
body.light-theme .footer { background-color: #f1f5f9; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 40px; }
.footer-col h4 { color: var(--text-primary); font-size: 1.1rem; margin-bottom: 24px; }
.footer-col.brand p { font-size: 0.9rem; line-height: 1.6; margin-bottom: 20px; }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.footer-logo img { height: 40px; border-radius: 6px; }
.footer-logo span { font-family: var(--font-heading); font-weight: 800; font-size: 1.25rem; color: var(--text-primary); }
.footer-logo span span { color: var(--primary); }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { font-size: 0.9rem; }
.footer-links a:hover { color: var(--primary); padding-left: 4px; }
.footer-contact li { font-size: 0.9rem; margin-bottom: 14px; display: flex; gap: 10px; }
.footer-contact-icon { color: var(--primary); margin-top: 4px; }
.footer-bottom { border-top: 1px solid var(--border-color); padding-top: 30px; display: flex; justify-content: space-between; align-items: center; font-size: 0.85rem; }
.social-links { display: flex; gap: 16px; }
.social-icon { width: 36px; height: 36px; border-radius: 50%; background-color: var(--bg-surface); border: 1px solid var(--border-color); display: flex; align-items: center; justify-content: center; color: var(--text-primary); font-size: 1rem; transition: all 0.2s ease; }
.social-icon:hover { background-color: var(--primary); color: #0b0f19; border-color: var(--primary); transform: translateY(-2px); }

/* Responsive & Scaling */
@media (min-width: 1400px) {
    html { font-size: 17px; }
    .container { max-width: 1360px; }
}

@media (max-width: 1024px) {
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-img-box { height: 350px; }
    .contact-grid { grid-template-columns: 1fr; }
    .contact-map-box { min-height: 350px; }
    .calc-container { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 768px) {
    html { font-size: 14px; }
    .navbar { height: 70px; }
    .hamburger { display: flex; z-index: 1001; }
    .hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
    .hamburger.active span:nth-child(2) { opacity: 0; }
    .hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }
    .nav-links { position: fixed; top: 0; right: -100%; width: 280px; height: 100vh; background-color: var(--bg-surface); flex-direction: column; justify-content: center; gap: 40px; transition: right 0.3s ease; box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1); border-left: 1px solid var(--border-color); z-index: 1000; }
    .nav-links.active { right: 0; }
    .hero { padding-top: 120px; text-align: center; }
    .hero-content { margin: 0 auto; }
    .hero h1 { font-size: 2.8rem; }
    .hero-actions { justify-content: center; }
    .hero-stats { justify-content: center; gap: 30px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
    .input-row,
    .contact-card .cf7-row { grid-template-columns: 1fr; gap: 15px; }
}
@media (max-width: 480px) {
    .hero h1 { font-size: 2.4rem; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero-stats { flex-direction: column; gap: 20px; }
}
