/* ==========================================================================
   KHANUVI PAINTING CONTRACTING LLC - PREMIUM DESIGN SYSTEM
   Theme: Obsidian & Metallic Gold (Dubai Luxury Theme)
   ========================================================================== */

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

:root {
    /* Color System */
    --primary-color: #070a13;      /* Deepest Obsidian Space */
    --primary-light: #0d1425;      /* Rich Midnight Card Base */
    --accent-color: #d4af37;       /* Classic Metallic Gold */
    --accent-light: #fce085;       /* Glowing Bright Gold */
    --accent-dark: #aa820a;        /* Deep Burnished Gold */
    
    --bg-color: #070a13;           /* Core Dark Background */
    --bg-light: #0c1120;           /* Secondary Background */
    --white: #ffffff;
    
    /* Text Palette */
    --text-color: #f1f5f9;         /* High-contrast Platinum */
    --text-muted: #94a3b8;         /* Silver Slate Grey */
    --text-dark: #0f172a;          /* Dark Obsidian for highlights */

    /* Gradients */
    --gold-gradient: linear-gradient(135deg, #fce085 0%, #d4af37 50%, #aa820a 100%);
    --dark-gradient: linear-gradient(135deg, #070a13 0%, #0f172a 100%);
    --card-gradient: linear-gradient(135deg, rgba(13, 20, 37, 0.8) 0%, rgba(7, 10, 19, 0.9) 100%);
    --gold-glow: radial-gradient(circle, rgba(252, 224, 133, 0.15) 0%, rgba(7, 10, 19, 0) 70%);

    /* Glassmorphism */
    --glass-bg: rgba(13, 20, 37, 0.6);
    --glass-border: rgba(252, 224, 133, 0.08);
    --glass-border-hover: rgba(252, 224, 133, 0.25);
    --glass-border-focus: rgba(252, 224, 133, 0.4);

    /* Fonts */
    --font-title: 'Outfit', sans-serif;
    --font-main: 'Inter', sans-serif;

    /* Shadows & Glows */
    --shadow-soft: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
    --shadow-float: 0 25px 60px -15px rgba(0, 0, 0, 0.7);
    --shadow-gold: 0 0 25px rgba(212, 175, 55, 0.2);
    --shadow-gold-active: 0 0 35px rgba(252, 224, 133, 0.35);

    /* Dimensions */
    --radius-card: 20px;
    --radius-btn: 50px;
    --spacing-section: 120px;
}

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

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-title);
    font-weight: 700;
    letter-spacing: -0.5px;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
    border-radius: calc(var(--radius-card) - 4px);
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: var(--spacing-section) 0;
    position: relative;
    z-index: 10;
}

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

.text-center {
    text-align: center;
}

.gold-text {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Glassmorphism Panel Base */
.glass-panel {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: var(--radius-card);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.glass-panel:hover {
    border-color: var(--glass-border-hover);
    box-shadow: var(--shadow-soft), var(--shadow-gold);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    border-radius: var(--radius-btn);
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    cursor: pointer;
    border: none;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gold-gradient);
    color: var(--primary-color);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.5);
    background: linear-gradient(135deg, #ffffff 0%, #fce085 100%);
}

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

.btn-outline:hover {
    background: var(--gold-gradient);
    color: var(--primary-color);
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.3);
}

.btn-lg {
    padding: 18px 44px;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
}

/* Section Header */
.section-header {
    margin-bottom: 60px;
}

.section-title {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 800;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(7, 10, 19, 0.4);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    transition: all 0.4s ease;
}

.header.scrolled {
    background: rgba(7, 10, 19, 0.9);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    padding: 5px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
    transition: all 0.4s ease;
}

.header.scrolled .header-container {
    height: 75px;
}

.logo a {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo span {
    font-weight: 300;
}

.nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    gap: 36px;
}

.nav-link {
    font-family: var(--font-title);
    font-weight: 500;
    font-size: 1.05rem;
    color: var(--text-muted);
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background: var(--gold-gradient);
    transition: width 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

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

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

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
}

.mobile-toggle span {
    width: 28px;
    height: 3px;
    background-color: var(--white);
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    border-radius: 2px;
}

/* Mobile Toggle Active State */
.mobile-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
    background-color: var(--accent-light);
}

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

.mobile-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
    background-color: var(--accent-light);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
    transform: scale(1.05);
    transition: transform 10s ease;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(7, 10, 19, 0.95) 0%, rgba(7, 10, 19, 0.75) 50%, rgba(7, 10, 19, 0.9) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    padding-top: 100px;
    max-width: 800px;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(252, 224, 133, 0.06);
    border: 1px solid rgba(252, 224, 133, 0.15);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--accent-light);
    margin-bottom: 25px;
    backdrop-filter: blur(5px);
}

.trust-badge-icon {
    font-size: 1rem;
}

.hero-title {
    font-size: 5rem;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 25px;
    letter-spacing: -2px;
}

.hero-title span {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.35rem;
    color: var(--text-muted);
    max-width: 650px;
    margin-bottom: 45px;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

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

.about-text .lead {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 25px;
    font-family: var(--font-title);
    border-left: 4px solid var(--accent-color);
    padding-left: 18px;
}

.about-text p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

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

.stat-card {
    padding: 30px 24px;
    text-align: center;
    border-radius: var(--radius-card);
}

.stat-number {
    display: block;
    font-family: var(--font-title);
    font-size: 3.5rem;
    font-weight: 800;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.about-image {
    position: relative;
}

.about-image .img-card {
    position: relative;
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: var(--shadow-float);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.about-image .img-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(7, 10, 19, 0.4) 0%, rgba(7, 10, 19, 0) 50%);
    pointer-events: none;
}

.about-image::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--gold-glow);
    top: -20px;
    right: -20px;
    z-index: -1;
    border-radius: var(--radius-card);
    opacity: 0.8;
}

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

.service-card {
    padding: 40px 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gold-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover::before {
    opacity: 1;
}

.icon-box {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(252, 224, 133, 0.05);
    border: 1px solid rgba(252, 224, 133, 0.1);
    border-radius: 16px;
    margin-bottom: 30px;
    font-size: 2.25rem;
    transition: all 0.4s ease;
}

.service-card:hover .icon-box {
    background: var(--gold-gradient);
    border-color: transparent;
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-gold);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--white);
}

.service-card p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.service-link {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-light);
    font-weight: 600;
    font-size: 0.95rem;
}

.service-link span {
    transition: transform 0.3s ease;
}

.service-card:hover .service-link span {
    transform: translateX(5px);
}

/* ==========================================================================
   AI Smart Paint Visualizer
   ========================================================================== */
.visualizer-section {
    background: var(--bg-light);
    position: relative;
}

.visualizer-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.visualizer-preview-container {
    position: relative;
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: var(--shadow-float);
    border: 1px solid rgba(255, 255, 255, 0.05);
    aspect-ratio: 1 / 1;
}

.visualizer-preview-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

/* Isolated accent wall overlay */
.visualizer-wall-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
    background-color: transparent;
    mix-blend-mode: multiply; /* Keeps shadows/lighting of the blank white wall */
    transition: background-color 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    opacity: 0.85;
}

/* Adding depth overlay */
.visualizer-shadows-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/images/wall_preview_living_room.png');
    background-size: cover;
    pointer-events: none;
    z-index: 3;
    mix-blend-mode: screen;
    opacity: 0.15; /* Re-introduces specular highlights */
}

.visualizer-ui-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 4;
    background: rgba(7, 10, 19, 0.8);
    backdrop-filter: blur(8px);
    border: 1px solid var(--glass-border);
    padding: 10px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 10px #10b981;
    animation: pulse 1.8s infinite;
}

.visualizer-controls {
    padding: 40px;
}

.visualizer-controls h3 {
    font-size: 2.25rem;
    margin-bottom: 15px;
}

.visualizer-controls .desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 35px;
}

.color-palette-title {
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 1.15rem;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
}

.color-palette-title span {
    color: var(--accent-light);
}

.color-options {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 35px;
}

.color-option-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.color-swatch {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: 2px solid transparent;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: var(--shadow-soft);
    position: relative;
}

.color-swatch::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 700;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.color-option-btn.active .color-swatch {
    transform: scale(1.15);
    border-color: var(--white);
    box-shadow: var(--shadow-gold-active);
}

.color-option-btn.active .color-swatch::after {
    transform: translate(-50%, -50%) scale(1);
}

.color-name {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
    text-align: center;
    transition: color 0.3s;
}

.color-option-btn.active .color-name {
    color: var(--accent-light);
}

.visualizer-info-panel {
    background: rgba(252, 224, 133, 0.03);
    border: 1px solid rgba(252, 224, 133, 0.1);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
}

.visualizer-info-panel h4 {
    font-size: 1.1rem;
    color: var(--accent-light);
    margin-bottom: 5px;
}

.visualizer-info-panel p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* ==========================================================================
   Cost Estimator Section
   ========================================================================== */
.calculator-section {
    position: relative;
}

.calculator-grid {
    display: grid;
    grid-template-columns: 1.12fr 0.88fr;
    gap: 60px;
    align-items: stretch;
}

.calculator-card {
    padding: 50px 40px;
}

.calculator-form {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.calculator-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.calculator-group label {
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--white);
}

/* Step/Type Selection Buttons Grid */
.selector-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.selector-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    text-align: center;
}

.selector-option .icon {
    font-size: 1.75rem;
    margin-bottom: 8px;
}

.selector-option span {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-muted);
}

.selector-option:hover {
    background: rgba(252, 224, 133, 0.03);
    border-color: rgba(252, 224, 133, 0.2);
}

.selector-option.active {
    background: rgba(252, 224, 133, 0.06);
    border-color: var(--accent-color);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.1);
}

.selector-option.active span {
    color: var(--accent-light);
}

/* Dropdown styling */
.glass-select {
    width: 100%;
    padding: 16px 20px;
    border-radius: 12px;
    background: #0d1425;
    border: 1px solid var(--glass-border);
    color: var(--text-color);
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    cursor: pointer;
    transition: all 0.3s;
}

.glass-select:focus {
    border-color: var(--glass-border-focus);
    box-shadow: var(--shadow-gold);
}

/* Custom Slider Styling */
.slider-container {
    position: relative;
    padding-top: 10px;
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 8px;
}

.range-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.08);
    outline: none;
    transition: background 0.3s;
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--gold-gradient);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
    transition: transform 0.1s;
}

.range-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.range-slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--gold-gradient);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
    transition: transform 0.1s;
}

.range-slider::-moz-range-thumb:hover {
    transform: scale(1.2);
}

.slider-val-display {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.slider-val-display span:last-child {
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--accent-light);
}

/* Calculator Result Panel */
.calculator-results {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 50px 40px;
    position: relative;
    overflow: hidden;
}

.calculator-results::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: var(--gold-glow);
    z-index: 1;
    pointer-events: none;
    opacity: 0.5;
}

.results-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.results-title {
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 1.35rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 25px;
}

.estimate-price-range {
    font-family: var(--font-title);
    font-weight: 800;
    font-size: 3.5rem;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.estimate-label {
    font-size: 1rem;
    color: var(--text-color);
    margin-bottom: 40px;
}

.results-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    border-top: 1px solid rgba(252, 224, 133, 0.1);
    border-bottom: 1px solid rgba(252, 224, 133, 0.1);
    padding: 25px 0;
    margin-bottom: 40px;
}

.metric-item {
    text-align: center;
}

.metric-val {
    display: block;
    font-family: var(--font-title);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
}

.metric-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==========================================================================
   Dubai Locations Served (Local SEO booster)
   ========================================================================== */
.locations-section {
    position: relative;
    overflow: hidden;
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

.location-badge {
    padding: 22px 15px;
    text-align: center;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-family: var(--font-title);
    font-size: 1.1rem;
}

.location-badge .pin {
    color: var(--accent-light);
    font-size: 1.5rem;
    transition: transform 0.3s;
}

.location-badge:hover .pin {
    transform: translateY(-5px) scale(1.1);
}

/* ==========================================================================
   Testimonial & Reviews Section
   ========================================================================== */
.testimonials-section {
    background: var(--bg-light);
}

.testimonials-slider {
    position: relative;
    max-width: 850px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.testimonial-card {
    min-width: 100%;
    padding: 50px;
    text-align: center;
}

.rating-stars {
    color: var(--accent-light);
    font-size: 1.35rem;
    margin-bottom: 25px;
}

.testimonial-text {
    font-size: 1.35rem;
    font-style: italic;
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 30px;
    position: relative;
}

.testimonial-author h4 {
    font-size: 1.15rem;
    color: var(--white);
    margin-bottom: 5px;
}

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

.slider-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.slider-arrow {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.25rem;
    transition: all 0.3s;
}

.slider-arrow:hover {
    background: var(--gold-gradient);
    color: var(--primary-color);
    border-color: transparent;
    transform: scale(1.05);
}

.review-badges-row {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 40px;
}

.review-badge {
    display: flex;
    align-items: center;
    gap: 12px;
}

.review-badge img {
    width: 32px;
    height: 32px;
}

.review-badge-text {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.review-badge-text strong {
    color: var(--white);
    display: block;
}

/* ==========================================================================
   Contact Section & Glassmorphic Form
   ========================================================================== */
.contact-section {
    position: relative;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-info h2 {
    font-size: 3rem;
    margin-bottom: 25px;
}

.contact-info .lead {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.info-cards {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.info-item {
    display: flex;
    gap: 20px;
    padding: 24px;
}

.info-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(252, 224, 133, 0.05);
    border: 1px solid rgba(252, 224, 133, 0.1);
    color: var(--accent-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
}

.info-icon svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
}

.info-content strong {
    font-family: var(--font-title);
    font-size: 1.1rem;
    color: var(--white);
    display: block;
    margin-bottom: 5px;
}

.info-content p {
    color: var(--text-muted);
    font-size: 1rem;
}

.info-content .makani-highlight {
    color: var(--accent-light);
    font-weight: 500;
    display: block;
    margin-top: 5px;
}

.contact-form-wrapper {
    padding: 50px 40px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    position: relative;
}

.form-group label {
    display: block;
    font-family: var(--font-title);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.02);
    color: var(--white);
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: var(--shadow-gold);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background: #04060b;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    padding: 90px 0 40px;
    position: relative;
    z-index: 10;
}

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

.footer-col h3 {
    font-size: 1.65rem;
    margin-bottom: 25px;
    color: var(--white);
}

.footer-col h3 span {
    font-weight: 300;
}

.footer-col p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 25px;
}

.footer-col h4 {
    font-size: 1.25rem;
    color: var(--white);
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-col ul li a {
    color: var(--text-muted);
    font-size: 1rem;
}

.footer-col ul li a:hover {
    color: var(--accent-light);
    padding-left: 5px;
}

.footer-col .footer-contacts {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-contacts p {
    margin-bottom: 0;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.footer-contacts .footer-icon {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-light);
    flex-shrink: 0;
    margin-top: 4px;
}

.footer-contacts .footer-icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
}

.footer-contacts .footer-text {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-muted);
}

.footer-contacts .makani-info {
    font-size: 0.9rem;
    color: var(--accent-light);
    opacity: 0.85;
    display: block;
    margin-top: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 40px;
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* ==========================================================================
   Sticky Floating Widgets
   ========================================================================== */
/* Floating WhatsApp Widget */
.whatsapp-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #25d366;
    border-radius: 50px;
    padding: 12px 24px;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
    color: var(--white);
    font-weight: 700;
    font-family: var(--font-title);
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    cursor: pointer;
}

.whatsapp-widget:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.5);
    background: #20ba5a;
}

.whatsapp-icon-wrapper {
    font-size: 1.5rem;
    line-height: 1;
}

.whatsapp-ping {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 50px;
    border: 2px solid #25d366;
    animation: ripple 2s infinite;
    pointer-events: none;
    box-sizing: border-box;
}

@keyframes ripple {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.15, 1.3);
        opacity: 0;
    }
}

/* Mobile Sticky Action Bar */
.mobile-action-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(7, 10, 19, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid var(--glass-border);
    z-index: 998;
    grid-template-columns: 1fr 1fr;
    padding: 10px 15px 25px; /* extra bottom padding for iOS notch */
    gap: 10px;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.5);
}

.mobile-action-bar .btn {
    padding: 12px 15px;
    font-size: 0.9rem;
}

.mobile-action-bar .btn-whatsapp {
    background: #25d366;
    color: var(--white);
}

/* ==========================================================================
   Keyframes & Micro-Animations
   ========================================================================== */
@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);
    }
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 4rem;
    }
    .about-grid, .visualizer-grid, .calculator-grid, .contact-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .about-image {
        max-width: 600px;
        margin: 0 auto;
    }
    .visualizer-preview-container {
        max-width: 650px;
        margin: 0 auto;
        width: 100%;
    }
    .visualizer-controls {
        padding: 20px 0 0;
    }
}

@media (max-width: 768px) {
    :root {
        --spacing-section: 80px;
    }
    .section-title {
        font-size: 2.25rem;
    }
    .hero-title {
        font-size: 3rem;
    }
    .hero-subtitle {
        font-size: 1.15rem;
    }
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: #0d1425;
        border-left: 1px solid var(--glass-border);
        padding: 120px 40px;
        flex-direction: column;
        align-items: flex-start;
        transition: right 0.4s cubic-bezier(0.25, 1, 0.5, 1);
        z-index: 999;
    }
    .nav.active {
        right: 0;
    }
    .nav-list {
        flex-direction: column;
        gap: 25px;
        width: 100%;
    }
    .nav-link {
        font-size: 1.25rem;
        display: block;
        width: 100%;
    }
    .mobile-toggle {
        display: flex;
    }
    .header-container .btn-primary {
        display: none; /* hide main header button on mobile */
    }
    .selector-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .calculator-card, .calculator-results, .contact-form-wrapper {
        padding: 30px 20px;
    }
    .testimonial-card {
        padding: 35px 15px;
    }
    .testimonial-text {
        font-size: 1.15rem;
    }
    .review-badges-row {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    .whatsapp-widget {
        display: none; /* replaced by sticky action bar on mobile */
    }
    .mobile-action-bar {
        display: grid;
    }
    .hero-btns {
        flex-direction: column;
        gap: 15px;
    }
}