/* ==========================================================================
   Leomar 2011 LLC - Custom Stylesheet (Mobile-First)
   ========================================================================== */

/* --- Design Tokens / Variables --- */
:root {
    /* Color Palette */
    --primary-blue: #0084ff;
    /* Vibrant blue primary */
    --primary-blue-hover: #006cd7;
    /* Hover state blue */
    --primary-blue-light: rgba(0, 132, 255, 0.1);

    --accent-light-blue: #4fa3e3;
    /* Light blue details */
    --dark-slate-blue: #2c5270;
    /* Why Choose Us background */
    --dark-slate-hover: #386488;

    --bg-dark-black: #080808;
    /* Pure dark for footers */
    --bg-light-grey: #f8fafc;
    /* Soft background alternations */
    --bg-white: #ffffff;

    --text-main: #1f2937;
    /* Dark charcoal for body */
    --text-muted: #4b5563;
    /* Grey for body-desc */
    --text-white: #ffffff;
    --text-black: #0c0c0c;

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;

    /* Box Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);
    --shadow-blue: 0 10px 25px rgba(0, 132, 255, 0.25);

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    /* Layout */
    --container-width: 1200px;
    --border-radius: 8px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    color: var(--text-black);
}

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

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

button,
input,
select,
textarea {
    font-family: inherit;
    font-size: inherit;
    border: none;
    outline: none;
}

button {
    cursor: pointer;
    background: none;
}

ul {
    list-style: none;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* --- Common Layout & Utilities --- */
.container {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    padding-right: 20px;
    padding-left: 20px;
    max-width: var(--container-width);
}

.section-padding {
    padding: 60px 0;
}

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

.grid {
    display: grid;
    gap: 30px;
}

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

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

.section-header {
    text-align: center;
    margin-bottom: 45px;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    color: var(--text-black);
}

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

.section-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 700px;
    margin-right: auto;
    margin-left: auto;
}

.highlight-blue {
    color: var(--primary-blue);
}

.highlight-light-blue {
    color: var(--accent-light-blue);
}

.accent-bar {
    position: relative;
    padding-left: 20px;
}

.accent-bar::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 80%;
    background-color: var(--primary-blue);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    user-select: none;
    padding: 12px 28px;
    font-size: 1rem;
    border-radius: 0;
    /* Square corners matching premium look */
    transition: var(--transition-normal);
    gap: 8px;
}

.btn-primary {
    background-color: var(--primary-blue);
    color: var(--text-white);
    box-shadow: var(--shadow-blue);
}

.btn-primary:hover {
    background-color: var(--primary-blue-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 132, 255, 0.4);
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.125rem;
}

.btn-full {
    width: 100%;
}

.arrow-icon {
    transition: transform 0.2s ease;
}

.btn:hover .arrow-icon {
    transform: translateX(4px);
}

/* --- Top Info Bar --- */
.top-bar {
    background-color: var(--bg-white);
    border-bottom: 1px solid #f0f0f0;
    padding: 15px 0;
    display: none;
    /* Mobile first: hide */
}

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

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

.logo-img {
    height: 42px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.5px;
    color: var(--text-black);
}

.logo-text-accent {
    color: var(--primary-blue);
}

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

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

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-blue-light);
    color: var(--primary-blue);
}

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

.contact-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    font-weight: 500;
}

.contact-value {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-black);
}

.contact-value:hover {
    color: var(--primary-blue);
}

/* --- Navigation --- */
.nav-bar {
    background-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 99999;
    transition: var(--transition-normal);
}

.nav-bar.sticky {
    box-shadow: var(--shadow-md);
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.nav-container {
    display: flex;
    flex-direction: column;
    padding: 0;
}

.nav-mobile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    width: 100%;
}

.mobile-logo .logo-img {
    height: 36px;
}

.mobile-logo .logo-text {
    font-size: 1.25rem;
}

.mobile-nav-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.mobile-call-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: var(--primary-blue);
    color: var(--text-white);
}

.nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    position: relative;
}

.hamburger {
    display: block;
    width: 22px;
    height: 2px;
    background-color: var(--text-black);
    position: relative;
    transition: var(--transition-fast);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 22px;
    height: 2px;
    background-color: var(--text-black);
    transition: var(--transition-fast);
}

.hamburger::before {
    top: -6px;
}

.hamburger::after {
    top: 6px;
}

/* Nav toggle active state */
.nav-toggle[aria-expanded="true"] .hamburger {
    background-color: transparent;
}

.nav-toggle[aria-expanded="true"] .hamburger::before {
    transform: rotate(45deg);
    top: 0;
}

.nav-toggle[aria-expanded="true"] .hamburger::after {
    transform: rotate(-45deg);
    top: 0;
}

.nav-links {
    display: none;
    /* Mobile first: hide list */
    flex-direction: column;
    width: 100%;
    border-top: 1px solid #f0f0f0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.nav-links.show {
    display: flex;
    max-height: 600px;
}

.nav-links li {
    width: 100%;
}

.nav-item {
    display: block;
    padding: 15px 20px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
    border-bottom: 1px solid #f9f9f9;
    color: var(--text-black);
}

.nav-item:hover,
.nav-item.active {
    color: var(--primary-blue);
    background-color: var(--bg-light-grey);
}

/* --- Navigation Dropdown --- */
.nav-dropdown-wrapper {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--bg-white);
    box-shadow: var(--shadow-md);
    min-width: 220px;
    z-index: 1000;
    border-top: 3px solid var(--primary-blue);
    padding: 10px 0;
}

.dropdown-item {
    display: block;
    padding: 10px 20px;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-black);
    transition: var(--transition-fast);
}

.dropdown-item:hover {
    background-color: var(--bg-light-grey);
    color: var(--primary-blue);
    padding-left: 25px;
}

.dropdown-arrow {
    font-size: 0.7rem;
    margin-left: 4px;
    display: inline-block;
    transition: transform var(--transition-fast);
}

@media (min-width: 1024px) {
    .nav-dropdown-wrapper:hover .dropdown-menu {
        display: flex;
        flex-direction: column;
    }
}

@media (max-width: 1023px) {
    /* Keep toggle button on top of drawer menu */
    .nav-toggle {
        position: relative;
        z-index: 100000;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: var(--bg-white);
        z-index: 99999;
        padding: 90px 24px 40px 24px;
        transform: translateX(-100%);
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        max-height: none;
        overflow-y: auto;
        border-top: none;
    }

    .nav-links.show {
        transform: translateX(0);
        display: flex;
        max-height: none;
        height: 100vh;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links .nav-item {
        font-size: 1.25rem;
        padding: 16px 12px;
        border-bottom: 1px solid #f2f2f2;
    }

    .nav-links .nav-item:hover,
    .nav-links .nav-item.active {
        background-color: #f7fafe;
        color: var(--primary-blue);
    }

    .dropdown-menu {
        position: static;
        display: none;
        box-shadow: none;
        background-color: #fafbfc;
        border-top: none;
        border-left: 3px solid var(--primary-blue);
        padding: 5px 0 5px 15px;
        min-width: 100%;
    }

    .dropdown-menu.show {
        display: block;
    }

    .dropdown-item {
        padding: 12px 15px;
        font-size: 1.1rem;
        border-bottom: none;
    }

    .nav-dropdown-wrapper.open .dropdown-arrow {
        transform: rotate(180deg);
    }
}

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    background-image: url('assets/hero_background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--text-white);
    padding-top: 60px;
    padding-bottom: 120px;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(12, 17, 24, 0.8) 0%, rgba(20, 30, 45, 0.65) 100%);
    z-index: 1;
}

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

.hero-content {
    max-width: 750px;
    text-align: center;
    margin: 0 auto;
}

.hero-subtitle {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
    color: var(--accent-light-blue);
}

.hero-title {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 30px;
    color: var(--text-white);
}

.hero-title .highlight-blue {
    color: var(--primary-blue);
}

.hero-action {
    display: flex;
    justify-content: center;
}

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 2;
}

.hero-wave svg {
    position: relative;
    display: block;
    width: 100%;
    height: 40px;
}

/* --- Inner Page Header --- */
.page-header {
    position: relative;
    padding-top: 100px;
    padding-bottom: 120px;
    background-image: url('assets/hero_background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--text-white);
    text-align: center;
}

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

.page-header-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--text-white);
}

.page-header-subtitle {
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--accent-light-blue);
}

/* --- We Transform Section --- */
.transform-image-wrapper {
    position: relative;
    padding: 8px;
    margin-bottom: 25px;
}

.transform-image-wrapper::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    width: 80px;
    height: 80px;
    background-image: radial-gradient(var(--primary-blue) 1.5px, transparent 1.5px);
    background-size: 8px 8px;
    z-index: 0;
    opacity: 0.45;
    pointer-events: none;
}

.image-offset-frame {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px solid var(--primary-blue);
    z-index: 1;
    pointer-events: none;
    transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
    box-shadow: 0 6px 20px rgba(0, 132, 255, 0.1);
}

.transform-image {
    position: relative;
    z-index: 2;
    margin: 8px;
    width: calc(100% - 16px);
    height: auto;
    object-fit: cover;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.transform-image-wrapper:hover .transform-image {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg), 0 16px 32px rgba(0, 0, 0, 0.15);
}

.transform-image-wrapper:hover .image-offset-frame {
    transform: translateY(4px);
    border-color: var(--accent-light-blue);
    box-shadow: 0 10px 25px rgba(79, 163, 227, 0.2);
}

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

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

.benefits-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.benefit-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: var(--primary-blue-light);
    color: var(--primary-blue);
    flex-shrink: 0;
    margin-top: 2px;
}

.benefit-text {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-main);
}

.transform-action {
    margin-top: 10px;
}

/* --- Why Choose Us Section --- */
.why-choose-us {
    background-color: var(--dark-slate-blue);
    color: var(--text-white);
}

.why-cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.why-card {
    background-color: var(--bg-white);
    color: var(--text-black);
    padding: 35px 25px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

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

.why-card-icon {
    color: var(--text-black);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.why-card:hover .why-card-icon {
    transform: scale(1.1);
    color: var(--primary-blue);
}

.why-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-black);
}

/* --- About Section --- */
.about {
    background-color: var(--bg-white);
}

.about-header-wrapper {
    margin-bottom: 25px;
}

.about-subtitle {
    font-size: 1.25rem;
    color: var(--accent-light-blue);
    font-weight: 500;
    margin-top: 10px;
}

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

/* --- Process Section (3 Steps) --- */
.step-card {
    background-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    position: relative;
    display: flex;
    flex-direction: column;
    padding-bottom: 20px;
}

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

.step-image-wrapper {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.step-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.step-card:hover .step-image {
    transform: scale(1.08);
}

.step-icon-badge {
    position: absolute;
    top: 200px;
    left: 25px;
    width: 48px;
    height: 48px;
    background-color: var(--primary-blue);
    color: var(--text-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 132, 255, 0.3);
    z-index: 2;
    transition: var(--transition-normal);
}

.step-card:hover .step-icon-badge {
    background-color: var(--text-black);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.step-card-content {
    padding: 40px 25px 15px 25px;
    flex-grow: 1;
}

.step-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
    font-weight: 700;
}

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

/* --- Testimonials Section --- */
.testimonials {
    position: relative;
    background-image: url('assets/transform_kitchen&bath.webp');
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    /* Mobile friendly parallax alternative */
    padding: 70px 0;
}

.testimonials-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(8, 12, 18, 0.92) 0%, rgba(20, 26, 35, 0.88) 100%);
    z-index: 1;
}

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

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}

.review-card {
    background-color: var(--bg-white);
    box-shadow: var(--shadow-md);
    padding: 20px;
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

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

.verified-header {
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 12px;
}

.google-logo-mock {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #f2f2f2;
    color: #4285f4;
    font-weight: 800;
    font-family: var(--font-heading);
    font-size: 1.15rem;
}

.verified-info {
    display: flex;
    flex-direction: column;
}

.verified-status {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
}

.stars {
    color: #ffc107;
    font-size: 0.875rem;
}

.review-img-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.review-screenshot {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* --- Services Section --- */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}

.service-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

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

.service-image-container {
    width: 100%;
    height: 240px;
    overflow: hidden;
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.service-card:hover .service-img {
    transform: scale(1.08);
}

.service-title-bar {
    background-color: var(--primary-blue);
    padding: 15px;
    text-align: center;
    transition: var(--transition-fast);
}

.service-card:hover .service-title-bar {
    background-color: var(--primary-blue-hover);
}

.service-name {
    color: var(--text-black);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0.5px;
    transition: var(--transition-fast);
}

.service-card:hover .service-name {
    color: var(--text-white);
}

/* --- Stats Section --- */
.stats-section {
    position: relative;
    background-image: url('assets/hero_background.png');
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    padding: 60px 0;
    color: var(--text-white);
}

.stats-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(8, 12, 18, 0.94) 0%, rgba(20, 26, 35, 0.9) 100%);
    z-index: 1;
}

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

.counter-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.counter-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-white);
    line-height: 1;
}

.counter-number::after {
    content: '+';
    color: var(--primary-blue);
}

.counter-label {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--accent-light-blue);
    letter-spacing: 0.5px;
}

/* --- Trust Accent Bar --- */
.trust-bar {
    background-color: var(--accent-light-blue);
    color: var(--text-white);
    padding: 20px 0;
}

.trust-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.trust-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.trust-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--text-white);
}

.trust-text {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.5px;
}

/* --- Estimations & Contact Section --- */
.estimation-section {
    background-color: var(--bg-white);
}

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

.quote-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    transition: opacity 0.3s ease;
}

.form-group {
    width: 100%;
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #e2e8f0;
    background-color: #f8fafc;
    color: var(--text-black);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-fast);
    border-radius: 0;
}

.form-control:focus {
    background-color: var(--bg-white);
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 132, 255, 0.15);
}

textarea.form-control {
    resize: vertical;
}

.form-success-message {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 20px;
    animation: fadeIn 0.4s ease-out;
}

.success-icon-badge {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #10b981;
    color: var(--text-white);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.form-success-message h3 {
    font-size: 1.4rem;
    color: #10b981;
    margin-bottom: 10px;
}

.form-success-message p {
    color: var(--text-muted);
}

/* Contact detail box (right column) */
.contact-details-box {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

.detail-card {
    display: flex;
    align-items: center;
    gap: 18px;
    background-color: var(--bg-light-grey);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.detail-card:hover {
    transform: translateX(5px);
    background-color: var(--bg-white);
    box-shadow: var(--shadow-md);
}

.detail-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    background-color: var(--primary-blue);
    color: var(--text-white);
    flex-shrink: 0;
}

.detail-content h3 {
    font-size: 0.85rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 1px;
    margin-bottom: 3px;
}

.detail-content a,
.detail-content p {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--text-black);
}

.detail-content a:hover {
    color: var(--primary-blue);
}

/* --- Footer --- */
.footer {
    background-color: var(--bg-dark-black);
    color: var(--text-white);
    padding: 50px 0 30px 0;
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.footer-logo .logo-img {
    height: 60px;
}

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

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: var(--text-white);
    background-color: rgba(255, 255, 255, 0.08);
    transition: var(--transition-normal);
}

.social-icon:hover {
    transform: translateY(-4px);
}

.social-icon.facebook:hover {
    background-color: #3b5998;
}

.social-icon.instagram:hover {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
}

.social-icon.linkedin:hover {
    background-color: #0077b5;
}

.copyright {
    font-size: 0.875rem;
    color: #6b7280;
    text-align: center;
    letter-spacing: 0.5px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 25px;
    width: 100%;
}

.copyright a {
    color: var(--primary-blue);
    font-weight: 600;
    transition: color var(--transition-fast);
}

.copyright a:hover {
    color: var(--accent-light-blue);
    text-decoration: underline;
}

/* --- Estimate Modal --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(12, 17, 24, 0.8);
    backdrop-filter: blur(8px);
    z-index: 1000000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    padding: 20px;
}

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

.modal-card {
    background-color: var(--bg-white);
    width: 100%;
    max-width: 500px;
    padding: 40px 30px;
    position: relative;
    transform: translateY(30px);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: var(--shadow-lg);
}

.modal-overlay.open .modal-card {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.8rem;
    font-weight: 300;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-fast);
    line-height: 1;
}

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

.modal-header {
    margin-bottom: 25px;
    text-align: center;
}

.modal-header h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.modal-header p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* --- Reveal-on-Scroll Animations --- */
.reveal-fade-up,
.reveal-fade-left,
.reveal-fade-right {
    opacity: 0;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.8s ease;
}

.reveal-fade-up {
    transform: translateY(40px);
}

.reveal-fade-left {
    transform: translateX(-40px);
}

.reveal-fade-right {
    transform: translateX(40px);
}

.reveal-visible {
    opacity: 1;
    transform: translate(0, 0);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ==========================================================================
   Media Queries (Responsive Layouts)
   ========================================================================== */

/* Tablet & Smaller Desktop Screens */
@media (min-width: 768px) {
    .section-padding {
        padding: 80px 0;
    }

    .grid-2 {
        grid-template-columns: repeat(2, 1fr);
        align-items: center;
    }

    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-title {
        font-size: 2.6rem;
    }

    /* Navigation Bar */
    .nav-mobile-header {
        padding: 15px 0;
    }

    /* Why Choose Us Grid */
    .why-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Testimonials Grid */
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Services Grid */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Stats Grid */
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Trust Bar Grid */
    .trust-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .top-bar {
        display: block;
        /* Show desktop info bar */
    }

    .mobile-logo {
        display: none !important;
        /* Hide mobile logo in nav when info bar is visible */
    }

    .mobile-nav-buttons {
        display: none !important;
        /* Hide mobile buttons */
    }

    .nav-bar {
        border-top: 1px solid #f0f0f0;
        border-bottom: 1px solid #f0f0f0;
        box-shadow: none;
    }

    .nav-container {
        flex-direction: row;
        justify-content: center;
        align-items: center;
    }

    .nav-links {
        display: flex !important;
        flex-direction: row;
        justify-content: center;
        width: auto;
        border-top: none;
        max-height: none;
        overflow: visible;
    }

    .nav-links li {
        width: auto;
    }

    .nav-item {
        padding: 20px 16px;
        border-bottom: none;
        border-left: 1px solid #f0f0f0;
        transition: var(--transition-fast);
        white-space: nowrap;
    }

    .nav-links li:last-child .nav-item {
        border-right: 1px solid #f0f0f0;
    }

    .nav-item:hover,
    .nav-item.active {
        background-color: transparent;
        color: var(--primary-blue);
    }

    .hero {
        min-height: 70vh;
        padding-top: 100px;
        padding-bottom: 150px;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .hero-wave svg {
        height: 80px;
    }

    .page-header {
        padding-top: 120px;
        padding-bottom: 140px;
    }

    .page-header-title {
        font-size: 3.5rem;
    }

    .transform-image-wrapper {
        margin-bottom: 0;
    }
}

/* Large Desktop Screens */
@media (min-width: 1024px) {
    .section-padding {
        padding: 100px 0;
    }

    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }

    .section-title {
        font-size: 3rem;
    }

    /* Why Choose Us: 3 on top, 2 on bottom */
    .why-cards-grid {
        grid-template-columns: repeat(6, 1fr);
    }

    .why-card {
        grid-column: span 2;
    }

    .why-card.why-card-bottom {
        grid-column: span 3;
    }

    /* Testimonials Grid */
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Services Grid */
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Trust Bar Grid */
    .trust-container {
        grid-template-columns: repeat(4, 1fr);
    }

    .hero {
        min-height: 85vh;
        padding-top: 140px;
        padding-bottom: 180px;
    }

    .hero-title {
        font-size: 4rem;
        line-height: 1.15;
    }

    .hero-wave svg {
        height: 120px;
    }

    .page-header {
        padding-top: 140px;
        padding-bottom: 160px;
    }

    .testimonials {
        background-attachment: fixed;
        /* Parallax effect on desktop */
    }

    .stats-section {
        background-attachment: fixed;
        /* Parallax effect on desktop */
    }
}

/* --- Review Filter Stars --- */
.star-rating-row {
    display: inline-flex;
    gap: 12px;
    font-size: 3.5rem;
    line-height: 1;
    cursor: pointer;
    justify-content: center;
    user-select: none;
    margin: 10px 0;
}

.filter-star {
    color: #ddd;
    transition: color 0.15s ease, transform 0.15s ease, text-shadow 0.15s ease;
}

.filter-star.hovered,
.filter-star.filled {
    color: #ffb400; /* Rich gold/yellow color */
    text-shadow: 0 0 10px rgba(255, 180, 0, 0.3);
}

.filter-star:hover {
    transform: scale(1.2);
}

.filter-star:active {
    transform: scale(0.9);
}

.form-container-boxed.active {
    display: block !important;
    animation: slideDownFade 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideDownFade {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}