/* ==========================================================================
   Nathan Insulators - Design System & Custom Styles
   ========================================================================== */

/* Variables & Base System */
:root {
    --primary-color: #0f294a;
    --primary-light: #1b3c66;
    --primary-dark: #07172d;
    --secondary-color: #3ca9e2;
    --secondary-light: #64bef1;
    --secondary-dark: #1b85bd;
    --accent-color: #f59e0b;
    --accent-light: #fbbf24;
    --dark-color: #0d1b2a;
    --light-bg: #f8fafc;
    --white: #ffffff;
    
    --text-color: #1e293b;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    
    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(15, 41, 74, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(15, 41, 74, 0.1), 0 4px 6px -4px rgba(15, 41, 74, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(15, 41, 74, 0.12), 0 8px 10px -6px rgba(15, 41, 74, 0.12);
    --shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    height: 100%;
}

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

/* Typography Elements */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-weight: 700;
    line-height: 1.25;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

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

/* Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-primary { color: var(--primary-color); }
.text-secondary { color: var(--secondary-color); }
.highlight-text { color: var(--secondary-color); position: relative; display: inline-block; }
.w-full { width: 100%; }
.rounded-shadow { border-radius: 8px; box-shadow: var(--shadow-lg); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-normal);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(15, 41, 74, 0.3);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(60, 169, 226, 0.3);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--white);
    color: var(--white);
}

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

/* Header & Navigation */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-normal);
}

.main-header.scrolled {
    padding: 10px 0;
    box-shadow: var(--shadow-md);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

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

.logo-icon {
    font-size: 2.2rem;
    color: var(--primary-color);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.logo-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.1;
    color: var(--primary-color);
}

.logo-sub {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--secondary-color);
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-color);
    padding: 8px 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition-fast);
}

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

.header-cta {
    display: flex;
    align-items: center;
    gap: 24px;
}

.phone-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.05rem;
}

.phone-link:hover {
    color: var(--secondary-color);
}

.phone-link i {
    color: var(--secondary-color);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1100;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    transition: var(--transition-fast);
    transform-origin: left center;
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 180px 0 140px 0;
    min-height: 85vh;
    display: flex;
    align-items: center;
    color: var(--white);
    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);
    animation: zoomHero 20s infinite alternate;
}

.hero-container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 650px;
}

.hero-content h1 {
    font-size: 3.5rem;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 24px;
    font-weight: 800;
}

.hero-content p {
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 40px;
    opacity: 0.95;
    font-family: var(--font-body);
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Floating Locations Bar */
.floating-bar-section {
    position: relative;
    z-index: 10;
    margin-top: -60px;
    margin-bottom: 60px;
}

.floating-bar {
    display: grid;
    grid-template-columns: 1fr 2fr;
    background-color: rgba(60, 169, 226, 0.96);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-lg);
    border-radius: 6px;
    overflow: hidden;
}

.floating-bar .bar-col {
    padding: 30px 40px;
    display: flex;
    align-items: center;
}

.floating-bar .main-col {
    background-color: var(--secondary-dark);
    color: var(--white);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.bar-tagline {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    opacity: 0.9;
    margin-bottom: 4px;
}

.bar-phone {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.8rem;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 8px;
}

.floating-bar .loc-col {
    display: flex;
    justify-content: space-around;
    color: var(--white);
    gap: 30px;
}

.loc-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.loc-icon {
    font-size: 2rem;
    color: var(--primary-color);
    background: rgba(255, 255, 255, 0.2);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loc-item h4 {
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 2px;
}

.loc-item p {
    font-size: 0.85rem;
    opacity: 0.9;
}

/* Services Section */
.services-section {
    padding: 60px 0;
    background-color: var(--white);
}

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

.sub-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.8rem;
    color: var(--secondary-color);
    letter-spacing: 3px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 12px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

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

.card-icon-wrap {
    width: 70px;
    height: 70px;
    background-color: var(--light-bg);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 24px;
    transition: var(--transition-normal);
}

.service-card:hover .card-icon-wrap {
    background-color: var(--primary-color);
    color: var(--white);
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1.15rem;
    margin-bottom: 14px;
}

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

.learn-more {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    gap: 6px;
}

.service-card:hover .learn-more {
    color: var(--primary-color);
}

/* R-Value Calculator */
.calculator-section {
    padding: 100px 0;
    background-color: var(--light-bg);
}

.calculator-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.calc-panel {
    background-color: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
}

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

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

.form-group label i {
    color: var(--secondary-color);
    margin-right: 6px;
}

.form-group select,
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"] {
    width: 100%;
    padding: 14px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 1rem;
    background-color: var(--white);
    color: var(--text-color);
    transition: var(--transition-fast);
}

.form-group select:focus,
.form-group input:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(60, 169, 226, 0.15);
}

.range-wrap {
    display: flex;
    align-items: center;
    gap: 16px;
}

.range-wrap input[type="range"] {
    flex-grow: 1;
    accent-color: var(--secondary-color);
    height: 6px;
    background-color: var(--border-color);
    border-radius: 3px;
    cursor: pointer;
}

.range-val {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary-color);
    min-width: 60px;
    text-align: right;
}

.calc-results {
    background-color: var(--primary-color);
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.calc-results h3 {
    color: var(--white);
    margin-bottom: 24px;
    font-size: 1.4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 16px;
}

.result-metric-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.metric-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.metric-label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 6px;
}

.metric-value {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1;
}

.metric-value.text-primary {
    color: var(--secondary-light);
}

.metric-value.text-secondary {
    color: var(--accent-light);
}

.progress-wrap {
    margin-bottom: 30px;
}

.progress-labels {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.8);
}

.status-indicator {
    padding: 2px 10px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
}

.status-indicator.warning {
    background-color: var(--accent-color);
    color: var(--primary-dark);
}

.status-indicator.success {
    background-color: #10b981;
    color: var(--white);
}

.progress-bar-container {
    width: 100%;
    height: 8px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--secondary-color), var(--secondary-light));
    border-radius: 4px;
    transition: width 0.5s ease-out;
}

.result-details {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
}

.result-details p {
    margin-bottom: 16px;
}

.savings-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 8px 16px;
    border-radius: 4px;
    color: #34d399;
    font-weight: 600;
}

/* About Us Section */
.about-section {
    padding: 100px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-img img {
    width: 100%;
    object-fit: cover;
}

.about-content h2 {
    font-size: 2.3rem;
    margin-bottom: 24px;
}

.highlight-p {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-light);
    margin-bottom: 18px;
}

.about-content p {
    color: var(--text-muted);
    margin-bottom: 24px;
}

.check-list {
    list-style: none;
    margin-bottom: 32px;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--primary-color);
}

.check-list li i {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

/* Testimonials */
.testimonials-section {
    padding: 100px 0;
    background-color: var(--light-bg);
}

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

.slider-container {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card {
    min-width: 100%;
    padding: 50px 60px;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
}

.testimonial-card .stars {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.testimonial-card .quote {
    font-size: 1.3rem;
    font-style: italic;
    color: var(--primary-color);
    line-height: 1.6;
    margin-bottom: 30px;
}

.client-info {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.client-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--primary-color);
    margin-bottom: 4px;
}

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

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

.slider-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--border-color);
    border: none;
    cursor: pointer;
    transition: var(--transition-fast);
}

.slider-dots .dot.active {
    background-color: var(--secondary-color);
    transform: scale(1.2);
}

/* Contact Section & Forms */
.contact-section {
    padding: 100px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
}

.contact-details h2 {
    font-size: 2.3rem;
    margin-bottom: 20px;
}

.contact-details p {
    color: var(--text-muted);
    margin-bottom: 40px;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.info-item i {
    width: 50px;
    height: 50px;
    background-color: var(--light-bg);
    color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.info-item div span {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.info-item div a,
.info-item div p {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.info-item div a:hover {
    color: var(--secondary-color);
}

.map-placeholder {
    height: 200px;
    background-color: #cbd5e1;
    background-image: radial-gradient(#94a3b8 1px, transparent 1px);
    background-size: 16px 16px;
    border-radius: 6px;
    position: relative;
    overflow: hidden;
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 41, 74, 0.7);
    color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
}

.map-overlay i {
    font-size: 2.2rem;
    color: var(--secondary-color);
}

.contact-form-wrap {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 40px;
    box-shadow: var(--shadow-lg);
    position: relative;
    min-height: 480px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Floating Input Labels style */
.floating-input-group {
    position: relative;
    margin-bottom: 28px;
}

.floating-input-group input,
.floating-input-group textarea,
.floating-input-group select {
    width: 100%;
    padding: 18px 14px 10px 14px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    transition: var(--transition-fast);
    background-color: var(--white);
}

.floating-input-group textarea {
    resize: none;
}

.floating-input-group label {
    position: absolute;
    top: 50%;
    left: 14px;
    transform: translateY(-50%);
    font-family: var(--font-body);
    color: var(--text-muted);
    transition: var(--transition-fast);
    pointer-events: none;
}

.floating-input-group textarea ~ label {
    top: 24px;
}

/* When input gets focused or has value */
.floating-input-group input:focus ~ label,
.floating-input-group input:not(:placeholder-shown) ~ label,
.floating-input-group textarea:focus ~ label,
.floating-input-group textarea:not(:placeholder-shown) ~ label {
    top: 10px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--secondary-color);
    transform: translateY(0);
}

.floating-input-group select:focus ~ label,
.floating-input-group select:valid ~ label {
    top: 10px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--secondary-color);
    transform: translateY(0);
}

.floating-input-group input:focus,
.floating-input-group textarea:focus,
.floating-input-group select:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 4px rgba(60, 169, 226, 0.2);
}

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

/* Fix for Select placeholder styling */
.floating-input-group select {
    padding-top: 18px;
    padding-bottom: 6px;
    height: 52px;
}

.select-label {
    top: 18px !important;
    transform: none !important;
}

.quote-form.hidden {
    display: none;
}

.form-success-message {
    display: none;
    text-align: center;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.form-success-message.active {
    display: flex;
}

.success-icon {
    font-size: 4rem;
    color: #10b981;
    margin-bottom: 20px;
    animation: scaleIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.form-success-message h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.form-success-message p {
    color: var(--text-muted);
    margin-bottom: 30px;
    max-width: 320px;
}

/* Footer Section */
.site-footer {
    background-color: var(--dark-color);
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 0 0;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo-light .logo-icon {
    color: var(--white);
    background: var(--white);
    -webkit-background-clip: border-box;
    -webkit-text-fill-color: initial;
}

.logo-light .logo-title {
    color: var(--white);
}

.logo-light .logo-sub {
    color: var(--secondary-light);
}

.brand-col .logo {
    margin-bottom: 24px;
}

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 38px;
    height: 38px;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
}

.social-links a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

.footer-col h3 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 24px;
    font-weight: 700;
}

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

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    font-size: 0.9rem;
}

.footer-col ul li a:hover {
    color: var(--white);
    padding-left: 4px;
}

.license-info {
    margin-top: 24px;
    padding: 16px;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.license-info span:first-child {
    color: var(--white);
}

.footer-bottom {
    background-color: var(--primary-dark);
    padding: 24px 0;
    font-size: 0.85rem;
}

.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.bottom-links {
    display: flex;
    gap: 24px;
}

.bottom-links a:hover {
    color: var(--white);
}

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 41, 74, 0.8);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-card {
    background-color: var(--white);
    width: 100%;
    max-width: 580px;
    padding: 50px 40px;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    position: relative;
    transform: translateY(30px) scale(0.95);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-fast);
}

.modal-close:hover {
    color: var(--primary-color);
    transform: rotate(90deg);
}

.modal-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.modal-icon-wrap {
    width: 80px;
    height: 80px;
    background-color: var(--light-bg);
    color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    margin-bottom: 24px;
}

.modal-body h3 {
    font-size: 1.6rem;
    margin-bottom: 16px;
}

.modal-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

.modal-stats {
    width: 100%;
    background-color: var(--light-bg);
    border-radius: 6px;
    padding: 16px;
    display: flex;
    justify-content: space-around;
    margin-bottom: 30px;
    border: 1px solid var(--border-color);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
}

.stat-value {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--primary-color);
}

/* Animations */
@keyframes zoomHero {
    from { transform: scale(1); }
    to { transform: scale(1.05); }
}

@keyframes scaleIn {
    from { transform: scale(0.7); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Scroll reveal triggers */
.animate-scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-scroll-reveal.reveal-active {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   Responsive Queries
   ========================================================================== */

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-top {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 900px) {
    .floating-bar {
        grid-template-columns: 1fr;
    }
    
    .floating-bar .main-col {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        align-items: center;
        text-align: center;
    }
    
    .floating-bar .loc-col {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 40px;
    }
    
    .calculator-grid {
        grid-template-columns: 1fr;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--white);
        padding: 40px;
        transition: var(--transition-normal);
        border-top: 1px solid var(--border-color);
        box-shadow: var(--shadow-lg);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu ul {
        flex-direction: column;
        gap: 24px;
        align-items: center;
    }
    
    .nav-link {
        font-size: 1.1rem;
    }
    
    .header-cta {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    /* Toggle animations */
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(2px, 2px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(2px, -2px);
    }
    
    .testimonial-card {
        padding: 30px 24px;
    }
    
    .testimonial-card .quote {
        font-size: 1.1rem;
    }
}

@media (max-width: 580px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrap {
        padding: 24px;
    }
}

/* Honeypot Spam Protection */
.form-group-hp {
    display: none !important;
    visibility: hidden !important;
    position: absolute !important;
    left: -9999px !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    z-index: -1000 !important;
}

