/* ===================================
   Hotmix Paving & Construction
   Modern & Bold Website Styles
   =================================== */

/* CSS Variables for Brand Colors */
:root {
    --primary-color: #e74c3c;
    --primary-dark: #c0392b;
    --primary-light: #ff6b5a;
    --secondary-color: #2c3e50;
    --secondary-dark: #1a252f;
    --secondary-light: #34495e;
    --accent-color: #f39c12;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --background-light: #ecf0f1;
    --background-white: #ffffff;
    --border-color: #dfe6e9;
    --success-color: #27ae60;
    --gradient-1: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    --gradient-2: linear-gradient(135deg, #2c3e50 0%, #1a252f 100%);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.2);
    --transition: all 0.3s ease;
}

body.dark-mode {
    background: #101820;
    --text-dark: #ffffff;
    --text-light: #bdc3c7;
    --background-light: #1a252f;
    --background-white: #2c3e50;
    --border-color: #34495e;
}

body.dark-mode,
body.dark-mode section:not(.page-header):not(.cta-section):not(.stats-section),
body.dark-mode main,
body.dark-mode .story-section,
body.dark-mode .values-section,
body.dark-mode .team-section,
body.dark-mode .certifications-section,
body.dark-mode .commitment-section,
body.dark-mode .contact-section,
body.dark-mode .map-section,
body.dark-mode .gallery-section,
body.dark-mode .before-after-section,
body.dark-mode .services-overview,
body.dark-mode .featured-projects,
body.dark-mode .why-choose-us,
body.dark-mode .testimonials,
body.dark-mode .service-detail,
body.dark-mode .service-detail:nth-child(even) {
    background: var(--background-light) !important;
    color: var(--text-dark);
}

body.dark-mode .navbar {
    background: rgba(0, 0, 0, 0.9);
}

body.dark-mode .story-text p,
body.dark-mode .service-info p,
body.dark-mode .gallery-item p,
body.dark-mode .contact-details p,
body.dark-mode .team-bio,
body.dark-mode .cert-info p,
body.dark-mode .commitment-content p,
body.dark-mode .section-description,
body.dark-mode .why-text .lead,
body.dark-mode .benefits-list p,
body.dark-mode .time,
body.dark-mode .signature,
body.dark-mode .map-container,
body.dark-mode .scroll-indicator,
body.dark-mode .hero-subtitle {
    color: var(--text-light) !important;
}

body.dark-mode .service-card,
body.dark-mode .project-card,
body.dark-mode .testimonial-card,
body.dark-mode .value-card,
body.dark-mode .team-card,
body.dark-mode .cert-card,
body.dark-mode .gallery-item,
body.dark-mode .contact-form-card,
body.dark-mode .contact-info-card,
body.dark-mode .service-features li,
body.dark-mode .filter-btn,
body.dark-mode .service-price,
body.dark-mode .before-after-slider,
body.dark-mode .form-group input,
body.dark-mode .form-group select,
body.dark-mode .form-group textarea {
    background: var(--background-white) !important;
    color: var(--text-dark) !important;
}

body.dark-mode .section-header .section-title,
body.dark-mode .page-header h1,
body.dark-mode .service-info h2,
body.dark-mode .story-text h2,
body.dark-mode .commitment-content h2,
body.dark-mode .contact-details h3,
body.dark-mode .form-group label,
body.dark-mode .contact-info-card h2,
body.dark-mode .contact-form-card h2,
body.dark-mode .value-card h3,
body.dark-mode .team-info h3,
body.dark-mode .cert-info h4,
body.dark-mode .gallery-item h3,
body.dark-mode .service-info .service-subtitle,
body.dark-mode .project-card h3,
body.dark-mode .testimonial-text,
body.dark-mode .testimonial-author strong,
body.dark-mode .benefits-list strong {
    color: white !important;
}

body.dark-mode .filter-btn {
    border-color: var(--border-color) !important;
}

body.dark-mode .filter-btn:hover,
body.dark-mode .filter-btn.active {
    background: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: white !important;
}

body.dark-mode .commitment-section {
    background: var(--secondary-dark) !important;
}

body.dark-mode .commitment-content {
    color: white;
}

body.dark-mode .contact-method,
body.dark-mode .filter-btn,
body.dark-mode .form-group input,
body.dark-mode .form-group select,
body.dark-mode .form-group textarea {
    border-color: var(--border-color) !important;
}

body.dark-mode .form-group input::placeholder,
body.dark-mode .form-group textarea::placeholder {
    color: #97a6b3;
}

body.dark-mode .gallery-category,
body.dark-mode .team-role,
body.dark-mode .contact-details a,
body.dark-mode .service-link,
body.dark-mode .cert-icon,
body.dark-mode .contact-icon {
    color: var(--primary-light);
}

body.dark-mode .gallery-category {
    background: rgba(231, 76, 60, 0.18) !important;
}

body.dark-mode .cert-icon,
body.dark-mode .contact-icon,
body.dark-mode .service-features li::before {
    color: white !important;
    background: var(--primary-color) !important;
}

body.dark-mode .slider-dot {
    background: #516273;
}

body.dark-mode .slider-dot.active {
    background: var(--primary-color);
}

/* Dark mode toggle button */
.dark-mode-toggle {
    background: transparent;
    border: 1px solid white;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    margin-left: 1rem;
    transition: var(--transition);
}

.dark-mode-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

body.dark-mode .dark-mode-toggle {
    border-color: var(--primary-color);
    color: var(--primary-color);
}


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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    scrollbar-color: #6a6a6a #222222;
}

body {
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Custom asphalt scrollbar */
html::-webkit-scrollbar,
body::-webkit-scrollbar {
    width: 53px;
    height: 53px;
}

html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track,
html::-webkit-scrollbar-corner,
body::-webkit-scrollbar-corner {
    background-color: #222222;
    background-image: url('../assets/asphalt_texture.png');
    background-repeat: repeat;
    background-size: 256px 256px;
}

html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb {
    background-color: transparent;
    background-image: url('../assets/scroll_roller.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 53px 128px;
    border: none;
    border-radius: 0;
    min-height: 128px;
}

.asphalt-scrollbar {
    display: none;
}

@media (min-width: 900px) and (pointer: fine) {
    html.has-asphalt-scrollbar {
        scroll-behavior: auto;
        scrollbar-width: none;
    }

    html.has-asphalt-scrollbar::-webkit-scrollbar,
    body.has-asphalt-scrollbar::-webkit-scrollbar {
        width: 0;
        height: 0;
    }

    body.has-asphalt-scrollbar {
        padding-right: 53px;
    }

    body.has-asphalt-scrollbar .navbar {
        right: 53px;
    }

    body.asphalt-scrollbar-dragging {
        user-select: none;
    }

    .asphalt-scrollbar {
        position: fixed;
        top: 0;
        right: 0;
        width: 53px;
        height: 100vh;
        z-index: 1400;
        display: block;
        background-color: #222222;
        background-image: url('../assets/asphalt_texture.png');
        background-repeat: repeat;
        background-size: 256px 256px;
        box-shadow: inset 8px 0 16px rgba(0, 0, 0, 0.35);
        touch-action: none;
    }

    .asphalt-scrollbar.is-hidden {
        display: none;
    }

    .asphalt-scrollbar__thumb {
        position: absolute;
        top: 0;
        left: 0;
        width: 53px;
        height: 128px;
        background: transparent url('../assets/scroll_roller.png') center / 53px 128px no-repeat;
        cursor: grab;
        touch-action: none;
        user-select: none;
        will-change: transform;
    }

    .asphalt-scrollbar__thumb.is-dragging {
        cursor: grabbing;
    }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); }
h2 { font-size: clamp(2rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 1.75rem); }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

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

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

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===================================
   NAVIGATION
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(44, 62, 80, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 0.5rem 0;
    background: var(--secondary-dark);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: white;
    text-decoration: none;
}

.logo-img {
    height: 50px;
    width: 50px;
    border-radius: 8px;
    background: var(--primary-color);
    object-fit: cover;
}

.logo-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 1px;
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-sub {
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    opacity: 0.9;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: white;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
    background: rgba(231, 76, 60, 0.2);
    color: var(--primary-light);
}

.nav-menu .cta-link {
    background: var(--gradient-1);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
}

.nav-menu .cta-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: var(--transition);
}

/* ===================================
   HERO SECTION
   =================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 2rem;
    background: var(--background-light);
    color: var(--text-dark);
    text-align: center;
    padding: calc(70px + 2rem) 20px 4rem;
    overflow: hidden;
}

.hero-media {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    height: clamp(340px, 62vh, 720px);
    background: #000;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #000;
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding-top: 0.5rem;
    animation: fadeInUp 1s ease;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    margin-bottom: 2.5rem;
    color: var(--text-light);
    font-weight: 400;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hero-features {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--primary-color);
    border-radius: 50%;
    font-weight: bold;
}

.scroll-indicator {
    position: relative;
    z-index: 2;
    text-align: center;
    animation: bounce 2s infinite;
    opacity: 0.8;
    color: var(--text-light);
}

.scroll-indicator span {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 0.5rem;
}

.scroll-arrow {
    font-size: 1.5rem;
}

/* ===================================
   BUTTONS
   =================================== */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    font-family: 'Montserrat', sans-serif;
    text-align: center;
}

.btn-primary {
    background: var(--gradient-1);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

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

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

.btn-white:hover {
    background: var(--background-light);
}

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

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

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.phone-icon {
    margin-right: 0.5rem;
}

/* ===================================
   SECTION STYLES
   =================================== */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-label {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(231, 76, 60, 0.1);
    color: var(--primary-color);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.section-title {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

/* ===================================
   SERVICES OVERVIEW
   =================================== */
.services-overview {
    background: var(--background-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.service-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
}

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

.service-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.service-card h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.service-card p {
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.service-link {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.service-link:hover {
    color: var(--primary-dark);
    gap: 0.75rem;
}

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

/* ===================================
   FEATURED PROJECTS
   =================================== */
.featured-projects {
    background: white;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.project-card {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    background: white;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.project-image {
    position: relative;
    overflow: hidden;
    height: 300px;
}

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

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

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: var(--transition);
}

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

.project-category {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: var(--primary-color);
    color: white;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    width: fit-content;
}

.view-project {
    color: white;
    font-weight: 600;
}

.project-card h3 {
    padding: 1.5rem 1.5rem 0.5rem;
    color: var(--text-dark);
}

.project-card > p {
    padding: 0 1.5rem 1.5rem;
    font-size: 0.95rem;
}

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

/* ===================================
   WHY CHOOSE US
   =================================== */
.why-choose-us {
    background: var(--background-light);
}

.why-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 4rem;
    align-items: center;
}

.why-text .lead {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.benefits-list {
    list-style: none;
    margin-bottom: 2rem;
}

.benefits-list li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.benefit-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    font-weight: bold;
    flex-shrink: 0;
}

.benefits-list strong {
    display: block;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.benefits-list p {
    margin: 0;
    font-size: 0.95rem;
}

.why-image {
    position: relative;
}

.why-image img {
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    width: 100%;
}

.experience-badge {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    background: var(--gradient-1);
    color: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    text-align: center;
    min-width: 150px;
}

.badge-number {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.badge-text {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
}

/* ===================================
   TESTIMONIALS
   =================================== */
.testimonials {
    background: white;
}

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

.testimonial-track {
    position: relative;
    overflow: hidden;
}

.testimonial-card {
    background: var(--background-light);
    padding: 3rem;
    border-radius: 16px;
    text-align: center;
    display: none;
    animation: fadeIn 0.5s ease;
}

.testimonial-card.active {
    display: block;
}

.stars {
    color: var(--accent-color);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.testimonial-text {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.testimonial-author strong {
    color: var(--text-dark);
    font-size: 1.1rem;
}

.testimonial-author span {
    color: var(--text-light);
    font-size: 0.9rem;
}

.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
}

.slider-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

.slider-dots {
    display: flex;
    gap: 0.5rem;
}

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

.slider-dot.active {
    background: var(--primary-color);
    width: 30px;
    border-radius: 6px;
}

/* ===================================
   CTA SECTION
   =================================== */
.cta-section {
    background: var(--gradient-2);
    color: white;
    text-align: center;
    padding: 5rem 20px;
}

.cta-content h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===================================
   FOOTER
   =================================== */
.footer {
    background: var(--secondary-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3,
.footer-section h4 {
    color: white;
    margin-bottom: 1.5rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
}

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

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.contact-info li {
    color: rgba(255, 255, 255, 0.7);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: var(--transition);
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
}

.footer-links a:hover {
    color: var(--primary-color);
}

/* ===================================
   ANIMATIONS
   =================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: var(--secondary-dark);
        width: 100%;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        transition: left 0.3s ease;
        align-items: flex-start;
    }

    .nav-menu.active {
        left: 0;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

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

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

    .why-content {
        grid-template-columns: 1fr;
    }

    .why-image {
        order: -1;
    }

    .hero-cta {
        flex-direction: column;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 640px) {
    section {
        padding: 3rem 0;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

    .hero {
        padding: calc(70px + 1.5rem) 20px 3rem;
    }

    .hero-media {
        width: calc(100% + 40px);
        margin: 0 -20px;
        height: clamp(280px, 42vh, 520px);
        border-radius: 0;
    }

    .services-grid,
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .testimonial-card {
        padding: 2rem 1.5rem;
    }

    .testimonial-text {
        font-size: 1.05rem;
    }

    .experience-badge {
        bottom: 1rem;
        right: 1rem;
        padding: 1.5rem;
        min-width: 120px;
    }

    .badge-number {
        font-size: 2.5rem;
    }
}

/* Featured Gallery Viewer */
.featured-gallery-viewer {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    background: #000;
}
.gallery-slides {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
}
.gallery-slide {
    display: none;
    width: 100%;
    height: 100%;
}
.gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.gallery-caption {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
}
.gallery-prev, .gallery-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: auto;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 24px;
    transition: 0.3s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background-color: rgba(0,0,0,0.3);
    text-decoration: none;
    z-index: 2;
}
.gallery-next {
    right: 0;
    border-radius: 3px 0 0 3px;
}
.gallery-prev:hover, .gallery-next:hover {
    background-color: rgba(0,0,0,0.8);
}
.gallery-dots {
    text-align: center;
    position: absolute;
    bottom: 10px;
    width: 100%;
    z-index: 2;
}
.gallery-dot {
    cursor: pointer;
    height: 12px;
    width: 12px;
    margin: 0 4px;
    background-color: rgba(255,255,255,0.5);
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s ease;
}
.gallery-dot.active, .gallery-dot:hover {
    background-color: #fff;
}
.fade {
    animation-name: fadeAnim;
    animation-duration: 1.5s;
}
@keyframes fadeAnim {
    from {opacity: .4}
    to {opacity: 1}
}
@media (max-width: 768px) {
    .gallery-caption { font-size: 1rem; padding: 10px; }
    .gallery-prev, .gallery-next { padding: 10px; font-size: 18px; }
}

/* ===================================
   PAGE TRANSITIONS
   Asphalt-paving themed slide overlay
   =================================== */
.page-transition {
    position: fixed;
    inset: 0;
    z-index: 10000;
    pointer-events: none;
    transform: translateY(100%);
    display: flex;
    flex-direction: column;
    will-change: transform;
}
.page-transition__accent {
    height: 6px;
    width: 100%;
    background: linear-gradient(90deg, #f39c12 0%, #e74c3c 50%, #c0392b 100%);
    box-shadow: 0 0 18px rgba(231, 76, 60, 0.55);
}
.page-transition__panel {
    flex: 1;
    background:
        radial-gradient(ellipse at 30% 20%, rgba(255,255,255,0.04) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 80%, rgba(255,255,255,0.03) 0%, transparent 55%),
        linear-gradient(180deg, #1a252f 0%, #0e1419 100%);
    position: relative;
    overflow: hidden;
}
.page-transition__panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 12% 22%, rgba(255,255,255,0.05) 1px, transparent 1.5px),
        radial-gradient(circle at 78% 58%, rgba(255,255,255,0.04) 1.2px, transparent 1.8px),
        radial-gradient(circle at 40% 80%, rgba(255,255,255,0.03) 1px, transparent 1.5px),
        radial-gradient(circle at 88% 18%, rgba(255,255,255,0.04) 1px, transparent 1.5px),
        radial-gradient(circle at 22% 70%, rgba(255,255,255,0.05) 1.3px, transparent 2px);
    opacity: 0.9;
    pointer-events: none;
}
.page-transition__logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scale(0.92);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    opacity: 0;
    transition: opacity 320ms ease, transform 520ms cubic-bezier(.22,1,.36,1);
    font-family: 'Montserrat', sans-serif;
    color: #fff;
    letter-spacing: 0.18em;
    font-weight: 800;
    font-size: 1.1rem;
    text-transform: uppercase;
}
.page-transition__logo-mark {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.15);
    border-top-color: #e74c3c;
    border-right-color: #f39c12;
    animation: hotmixSpin 1.1s linear infinite;
}
.page-transition.is-leaving {
    transition: transform 620ms cubic-bezier(.77, 0, .175, 1);
    transform: translateY(0);
    pointer-events: auto;
}
.page-transition.is-leaving .page-transition__logo {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    transition-delay: 180ms;
}
.page-transition.is-entering {
    transform: translateY(0);
    pointer-events: none;
}
.page-transition.is-entering .page-transition__logo {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}
.page-transition.is-revealing {
    transition: transform 720ms cubic-bezier(.77, 0, .175, 1);
    transform: translateY(-100%);
}
.page-transition.is-revealing .page-transition__logo {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.9);
    transition: opacity 240ms ease, transform 320ms ease;
}
@keyframes hotmixSpin {
    to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
    .page-transition,
    .page-transition.is-leaving,
    .page-transition.is-revealing,
    .page-transition__logo {
        transition-duration: 120ms !important;
    }
    .page-transition__logo-mark { animation: none; }
}

/* Entry fade for main content */
.page-enter-fade {
    opacity: 0;
    transform: translateY(12px);
}
.page-enter-fade.is-ready {
    opacity: 1;
    transform: none;
    transition: opacity 520ms ease, transform 520ms cubic-bezier(.22,1,.36,1);
}
@media (prefers-reduced-motion: reduce) {
    .page-enter-fade, .page-enter-fade.is-ready { transition: none; opacity: 1; transform: none; }
}

/* ===================================
   INSTANT QUOTE ESTIMATOR
   =================================== */
.estimator-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, rgba(44, 62, 80, 0.02) 0%, rgba(44, 62, 80, 0.06) 100%);
    position: relative;
    overflow: hidden;
}
body.dark-mode .estimator-section {
    background: linear-gradient(180deg, #0f1620 0%, #18222e 100%);
}
.estimator-wrap {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
    align-items: stretch;
    max-width: 1150px;
    margin: 3rem auto 0;
    background: var(--background-white);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}
body.dark-mode .estimator-wrap {
    background: #1f2b38;
    border-color: #2c3e50;
}
.estimator-controls h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem;
    margin-bottom: 0.4rem;
    color: var(--text-dark);
}
.estimator-controls .estimator-subtitle {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}
.estimator-services {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.75rem;
}
.estimator-service {
    background: transparent;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 0.9rem 1rem;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-dark);
    transition: all 0.25s ease;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.estimator-service:hover {
    border-color: var(--primary-light);
    transform: translateY(-1px);
}
.estimator-service.active {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(231,76,60,0.08), rgba(243,156,18,0.05));
    box-shadow: 0 4px 14px rgba(231, 76, 60, 0.18);
}
body.dark-mode .estimator-service { color: var(--text-dark); border-color: #34495e; }
body.dark-mode .estimator-service.active {
    background: linear-gradient(135deg, rgba(231,76,60,0.18), rgba(243,156,18,0.1));
}
.estimator-service-icon {
    width: 28px; height: 28px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 8px;
    background: var(--gradient-1);
    color: #fff;
    font-size: 0.9rem;
    flex-shrink: 0;
}
.estimator-slider-row {
    margin-bottom: 1.4rem;
}
.estimator-slider-row label {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}
.estimator-slider-row label span.value {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.05rem;
    font-variant-numeric: tabular-nums;
}
.estimator-slider-row input[type="range"] {
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    height: 8px;
    background: linear-gradient(90deg, var(--primary-color) var(--fill, 40%), var(--border-color) var(--fill, 40%));
    border-radius: 999px;
    outline: none;
    transition: background 0.1s ease;
}
body.dark-mode .estimator-slider-row input[type="range"] {
    background: linear-gradient(90deg, var(--primary-color) var(--fill, 40%), #34495e var(--fill, 40%));
}
.estimator-slider-row input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--primary-color);
    box-shadow: 0 2px 8px rgba(231,76,60,0.4);
    cursor: grab;
    transition: transform 0.15s ease;
}
.estimator-slider-row input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.1); }
.estimator-slider-row input[type="range"]::-webkit-slider-thumb:active { cursor: grabbing; transform: scale(1.15); }
.estimator-slider-row input[type="range"]::-moz-range-thumb {
    width: 22px; height: 22px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--primary-color);
    box-shadow: 0 2px 8px rgba(231,76,60,0.4);
    cursor: grab;
}

.estimator-preview {
    background: linear-gradient(135deg, #1a252f 0%, #2c3e50 100%);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    color: #fff;
    position: relative;
    overflow: hidden;
    min-height: 420px;
}
.estimator-preview::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(255,255,255,0.03) 1px, transparent 1.5px),
        radial-gradient(circle at 60% 70%, rgba(255,255,255,0.02) 1.2px, transparent 1.8px),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.03) 1px, transparent 1.5px);
    pointer-events: none;
}
.estimator-preview-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: rgba(255,255,255,0.55);
    margin-bottom: 0.5rem;
    z-index: 1;
    position: relative;
}
.estimator-area-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    position: relative;
    z-index: 1;
    padding: 1rem 0;
}
.estimator-area {
    background:
        repeating-linear-gradient(45deg, rgba(0,0,0,0.15) 0 2px, transparent 2px 6px),
        radial-gradient(ellipse at 30% 30%, #3d4a57 0%, #1c242c 100%);
    border-radius: 6px;
    border: 2px solid rgba(255,255,255,0.08);
    box-shadow: inset 0 2px 12px rgba(0,0,0,0.5), 0 8px 24px rgba(0,0,0,0.4);
    transition: width 0.35s cubic-bezier(.22,1,.36,1), height 0.35s cubic-bezier(.22,1,.36,1);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    min-height: 40px;
}
.estimator-area::after {
    content: attr(data-dims);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.7);
    font-weight: 600;
    letter-spacing: 0.05em;
    white-space: nowrap;
}
.estimator-total {
    text-align: center;
    z-index: 1;
    position: relative;
    width: 100%;
}
.estimator-total-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: rgba(255,255,255,0.55);
    margin-bottom: 0.3rem;
}
.estimator-price {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 2.8rem;
    line-height: 1;
    background: linear-gradient(135deg, #f39c12 0%, #e74c3c 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
}
.estimator-price-range {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
    margin-top: 0.4rem;
}
.estimator-footnote {
    font-size: 0.78rem;
    color: var(--text-light);
    margin-top: 1rem;
    font-style: italic;
}
.estimator-cta {
    margin-top: 1.5rem;
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}
@media (max-width: 900px) {
    .estimator-wrap {
        grid-template-columns: 1fr;
        padding: 1.75rem;
        gap: 2rem;
    }
    .estimator-preview { min-height: 320px; }
    .estimator-price { font-size: 2.2rem; }
}
body.dark-mode .estimator-controls h3 { color: var(--text-dark); }
body.dark-mode .estimator-service { background: #263341 !important; }
body.dark-mode .estimator-service.active { background: linear-gradient(135deg, rgba(231,76,60,0.22), rgba(243,156,18,0.12)) !important; }
