/* ==========================================================================
   AB-LIGHT CONSTRUCTION WORLD - INDUSTRIAL BRANDING & PSYCHOLOGY SYSTEM
   ========================================================================== */

:root {
    /* Brand Colors derived from Logo & Visual Psychology */
    --primary-navy: #0B132B;       /* Authority, Trust, Enterprise Depth */
    --secondary-slate: #1C2541;     /* Technical Structure & Contrast */
    --accent-orange: #FF6B00;      /* Core Logo Amber/Orange - Action & Visibility */
    --accent-gold: #FFB800;        /* Solar Warmth & Premium Quality */
    --bg-light: #F8FAFC;           /* Clean Modern Canvas */
    --bg-white: #FFFFFF;
    --text-dark: #0F172A;          /* Crisp High Contrast Body Text */
    --text-muted: #64748B;
    --text-light: #94A3B8;
    --border-color: #E2E8F0;
    --success: #10B981;
    --danger: #EF4444;

    /* Fonts & Radii */
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 25px -5px rgba(11, 19, 43, 0.1);
    --shadow-lg: 0 20px 30px -10px rgba(255, 107, 0, 0.15);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-white);
    color: var(--text-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--primary-navy);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Top Bar */
.top-bar {
    background-color: var(--primary-navy);
    color: var(--text-light);
    font-size: 0.85rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-contact {
    display: flex;
    gap: 20px;
}

.top-bar-link {
    color: var(--accent-orange);
    font-weight: 600;
}

/* Navbar */
.navbar {
    background-color: var(--bg-white);
    padding: 18px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

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

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 40px;
    height: 40px;
}

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

.brand-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.3rem;
    letter-spacing: -0.5px;
    color: var(--primary-navy);
}

.brand-sub {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--accent-orange);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-link {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--secondary-slate);
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: var(--accent-orange);
}

.hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-navy);
    cursor: pointer;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    font-weight: 700;
    border-radius: var(--radius-sm);
    transition: all 0.25s ease;
    cursor: pointer;
    border: none;
    font-size: 0.95rem;
}

.btn-primary {
    background-color: var(--accent-orange);
    color: var(--bg-white);
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
    background-color: #E05E00;
    transform: translateY(-2px);
}

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

.btn-outline:hover {
    background-color: var(--primary-navy);
    color: var(--bg-white);
}

.btn-block {
    width: 100%;
}

/* Hero Section */
.hero {
    padding: 80px 0;
    background: linear-gradient(135deg, #FFFFFF 0%, #F1F5F9 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 107, 0, 0.1);
    color: var(--accent-orange);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

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

.hero-lead {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 35px;
}

.hero-cta-group {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
}

.hero-metrics {
    display: flex;
    align-items: center;
    gap: 20px;
    border-top: 1px solid var(--border-color);
    padding-top: 25px;
}

.metric-number {
    display: block;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--primary-navy);
}

.metric-label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.metric-divider {
    width: 1px;
    height: 35px;
    background-color: var(--border-color);
}

/* Hero Card Visual */
.hero-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.card-icon {
    font-size: 2rem;
    color: var(--accent-orange);
}

.card-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}

.list-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: var(--secondary-slate);
}

.list-item i {
    color: var(--success);
}

.status-indicator {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-navy);
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-light);
    padding: 10px 15px;
    border-radius: var(--radius-sm);
}

.dot {
    width: 8px;
    height: 8px;
    background-color: var(--success);
    border-radius: 50%;
}

.pulse {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Section Layouts */
.section {
    padding: 90px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.bg-dark {
    background-color: var(--primary-navy);
}

.text-white {
    color: var(--bg-white);
}

.text-white h2, .text-white h3 {
    color: var(--bg-white);
}

.section-header {
    margin-bottom: 50px;
    max-width: 650px;
}

.section-header.text-center {
    margin: 0 auto 50px auto;
}

.section-subtitle {
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: var(--accent-orange);
    display: block;
    margin-bottom: 8px;
}

.section-header h2 {
    font-size: 2.2rem;
    margin-bottom: 12px;
}

.section-header p {
    color: var(--text-muted);
}

.text-white p {
    color: var(--text-light);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 30px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

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

.highlight-card {
    border: 2px solid var(--accent-orange);
}

.badge-card {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--accent-orange);
    color: var(--bg-white);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
}

.service-icon-wrapper {
    width: 55px;
    height: 55px;
    background: rgba(255, 107, 0, 0.1);
    color: var(--accent-orange);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 12px;
    font-size: 1.25rem;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.service-features {
    list-style: none;
    border-top: 1px solid var(--border-color);
    padding-top: 15px;
}

.service-features li {
    font-size: 0.85rem;
    color: var(--secondary-slate);
    font-weight: 600;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-features li::before {
    content: "•";
    color: var(--accent-orange);
    font-weight: bold;
}

/* How We Work Section Styles */
.workflow-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.workflow-card {
    background: #ffffff;
    padding: 35px;
    border-radius: 12px;
    border: 1px solid #E2E8F0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.workflow-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px -5px rgba(11, 19, 43, 0.1);
}

.workflow-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: #FF6B00;
    margin-bottom: 15px;
}

.workflow-card h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
    color: #0B132B;
}

.workflow-card p {
    color: #64748B;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Interactive Calculator */
.calculator-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: start;
}

.calc-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.calc-checkbox {
    display: flex;
    align-items: center;
    background: var(--secondary-slate);
    padding: 18px 20px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: border-color 0.2s ease;
}

.calc-checkbox:hover {
    border-color: var(--accent-orange);
}

.calc-checkbox input {
    margin-right: 15px;
    width: 20px;
    height: 20px;
    accent-color: var(--accent-orange);
}

.option-text strong {
    display: block;
    color: var(--bg-white);
    font-size: 1rem;
}

.option-text small {
    color: var(--text-light);
    font-size: 0.82rem;
}

.calc-summary {
    background: var(--secondary-slate);
    padding: 30px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.summary-box {
    margin-top: 20px;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: var(--text-light);
}

.calc-hr {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 20px 0;
}

.summary-total h2 {
    font-size: 2.2rem;
    color: var(--accent-gold);
    margin: 5px 0;
}

.summary-total small {
    color: var(--text-light);
    font-size: 0.75rem;
    display: block;
    margin-bottom: 20px;
}

/* Quote Form */
.quote-info {
    padding-right: 20px;
}

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

.c-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.c-item i {
    font-size: 1.2rem;
    color: var(--accent-orange);
    margin-top: 4px;
}

.quote-form-card {
    background: var(--bg-white);
    padding: 35px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.quote-form-card h3 {
    margin-bottom: 20px;
}

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

.form-group label {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--secondary-slate);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: border-color 0.2s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-orange);
}

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

.form-checkboxes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    font-size: 0.85rem;
}

/* Footer */
.footer {
    background: #050B18;
    color: var(--text-light);
    padding: 70px 0 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-col p {
    font-size: 0.9rem;
    margin-top: 15px;
}

.footer-col h4 {
    color: var(--bg-white);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col a {
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.footer-col a:hover {
    color: var(--accent-orange);
}

.copyright {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 20px;
}

/* Responsive Media Queries */
@media (max-width: 992px) {
    .hero-grid, .calculator-wrapper {
        grid-template-columns: 1fr;
    }

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

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

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-white);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-md);
    }

    .nav-menu.active {
        display: flex;
    }

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

    .form-row {
        grid-template-columns: 1fr;
    }
}
/* ==========================================================================
   CALCULATOR SELECT DROPDOWN & DARK MODE UTILITIES
   ========================================================================== */

.mb-2 {
    margin-bottom: 8px;
}

.mb-4 {
    margin-bottom: 24px;
}

/* Styled Dropdown for Calculator Property Scale */
.calculator-wrapper select.form-control {
    background-color: var(--secondary-slate);
    color: var(--bg-white);
    border: 1px solid rgba(255, 255, 255, 0.15);
    font-weight: 600;
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.calculator-wrapper select.form-control:focus {
    border-color: var(--accent-orange);
    box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.2);
    outline: none;
}

.calculator-wrapper select.form-control option {
    background-color: var(--primary-navy);
    color: var(--bg-white);
    padding: 10px;
}

/* Target note text inside total breakdown */
.summary-total small {
    line-height: 1.5;
    margin-top: 8px;
}

/* 1. Fix Footer Logo "AB-LIGHT" Brand Text Contrast */
footer .logo-text span:first-child,
footer .logo span:first-child,
footer .brand-name span:first-child,
footer .logo-brand {
    color: #ffffff !important;
}

/* 2. Fix Calculator Label "1. Select Property Scale" Contrast */
.calculator-wrapper .form-group label,
#calculator label[for="calc-scale"],
.calc-options .form-group label {
    color: #ffffff !important;
    font-weight: 700 !important;
}