/* Variables for easy color management */
:root {
    --mountain-blue: #4A90B8;
    --deep-teal: #2C7A99;
    --vibrant-orange: #E85A2B; /* This is #e85a2b */
    --warm-orange: #F17739;
    --fresh-white: #FFFFFF;
    --mountain-gray: #F8F9FA;
    --charcoal: #2C3E50;
    --steel-gray: #6C757D;
    --success-green: #28A745;
    --warning-amber: #FFC107;
    --light-blue: #E3F2FD;
    --light-orange: #FFF3E0;
}

/* Base Styles */
body {
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    padding: 0;
    color: var(--charcoal);
    line-height: 1.6;
    background-color: var(--fresh-white);
    overflow-x: hidden; /* Prevent horizontal scroll due to animations */
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    color: var(--charcoal);
    font-weight: 700;
    margin-bottom: 0.5em;
}

h1 { font-size: 2.8em; }
h2 { font-size: 2.5em; }
h3 { font-size: 2em; }
p { margin-bottom: 1em; }

a {
    color: var(--mountain-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--deep-teal);
    text-decoration: underline;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.section-padding {
    padding: 80px 0;
}

.section-bg-light-gray {
    background-color: var(--mountain-gray);
}

.section-description {
    font-size: 1.1em;
    line-height: 1.7;
    color: var(--steel-gray);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
}

.section-header {
    margin-bottom: 60px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1em;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--vibrant-orange);
    color: var(--fresh-white);
}

.btn-primary:hover {
    background-color: var(--warm-orange);
    transform: translateY(-2px);
    color: var(--fresh-white); /* Ensure text color remains white on hover */
}

.btn-secondary {
    background-color: var(--mountain-blue);
    color: var(--fresh-white);
}

.btn-secondary:hover {
    background-color: var(--deep-teal);
    transform: translateY(-2px);
    color: var(--fresh-white); /* Ensure text color remains white on hover */
}

.btn-text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--vibrant-orange);
    font-weight: 600;
    transition: gap 0.2s ease, color 0.2s ease;
}

.btn-text-link:hover {
    gap: 12px;
    color: var(--warm-orange);
    text-decoration: none; /* Remove underline on hover for this specific button type */
}

/* --- Header --- */
.header {
    background-color: var(--fresh-white);
    padding: 15px 0;
    border-bottom: 1px solid var(--mountain-gray);
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: background-color 0.3s ease;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px; /* Adjust logo size */
    transition: all 0.3s ease;
}

.nav-links ul {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links li a {
    color: var(--charcoal);
    font-weight: 600;
    font-size: 1.05em;
    position: relative;
    padding: 5px 0;
    transition: color 0.3s ease;
}

.nav-links li a:hover {
    color: var(--mountain-blue);
}

.nav-links li a.active {
    color: var(--mountain-blue);
}

.nav-links li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--vibrant-orange);
    transition: width 0.3s ease;
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
    width: 100%;
}

.hamburger-menu {
    display: none; /* Hidden on desktop */
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger-menu .bar {
    width: 100%;
    height: 3px;
    background-color: var(--charcoal);
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Hamburger menu animations */
.hamburger-menu.open .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.hamburger-menu.open .bar:nth-child(2) {
    opacity: 0;
}
.hamburger-menu.open .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--fresh-white);
    overflow: hidden;
    padding: 100px 0; /* Fallback padding */
}

.hero-section.small-hero {
    height: 45vh; /* Adjusted height for inner pages */
    min-height: 350px;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 1;
    transform: translate(-50%, -50%);
    background-size: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Darker overlay */
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 3.8em; /* Slightly smaller for inner pages */
    margin-bottom: 20px;
    color: var(--fresh-white);
}

.hero-content .hero-tagline {
    font-size: 1.4em; /* Slightly smaller for inner pages */
    line-height: 1.5;
    font-weight: 400;
    color: var(--fresh-white);
    max-width: 700px;
    margin: 0 auto 30px auto;
}

/* --- Main Service Categories Grid --- */
.service-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-category-card {
    background-color: var(--fresh-white);
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.service-category-card i {
    font-size: 3.5em; /* Larger icons */
    color: var(--vibrant-orange); /* ICON COLOR: #e85a2b */
    margin-bottom: 20px;
}

.service-category-card h3 {
    color: var(--deep-teal);
    font-size: 1.8em;
    margin-bottom: 15px;
}

.service-category-card p {
    font-size: 1em;
    color: var(--steel-gray);
    line-height: 1.6;
    flex-grow: 1; /* Ensures cards are same height if text length varies */
}

/* --- Service Detail Sections (Image/Text Layout) --- */
.service-detail-section h2 {
    color: var(--deep-teal);
    margin-bottom: 25px;
}

.service-feature-item {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 60px;
    background-color: var(--fresh-white);
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    padding: 30px;
}

.service-feature-item:last-child {
    margin-bottom: 0;
}

.service-feature-item.reverse {
    flex-direction: row-reverse; /* Image on right */
}

.feature-image {
    flex: 0 0 45%; /* Image takes 45% width */
    max-width: 45%;
}

.feature-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.feature-content {
    flex: 1; /* Text takes remaining width */
    padding: 10px 0; /* Add some padding */
}

.feature-content h3 {
    color: var(--vibrant-orange); /* HEADING COLOR: #e85a2b */
    font-size: 2.2em;
    margin-bottom: 15px;
}

.feature-content p {
    font-size: 1.05em;
    line-height: 1.7;
    color: var(--charcoal);
    margin-bottom: 20px;
}

.feature-content ul {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.feature-content ul li {
    font-size: 1em;
    color: var(--steel-gray);
    margin-bottom: 10px;
    padding-left: 30px;
    position: relative;
}

.feature-content ul li::before {
    content: '\f00c'; /* FontAwesome checkmark icon */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--vibrant-orange); /* Checkmark color: #e85a2b */
    position: absolute;
    left: 0;
    top: 2px;
}

/* --- Why Choose Us Section --- */
.why-choose-us-section h2 {
    color: var(--deep-teal);
    margin-bottom: 25px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.benefit-item {
    background-color: var(--fresh-white);
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.benefit-item i {
    font-size: 3em;
    color: var(--vibrant-orange); /* ICON COLOR: #e85a2b */
    margin-bottom: 15px;
}

.benefit-item h3 {
    color: var(--deep-teal);
    font-size: 1.6em;
    margin-bottom: 10px;
}

.benefit-item p {
    font-size: 0.95em;
    color: var(--steel-gray);
    line-height: 1.6;
}


/* --- Call to Action Section --- */
.cta-section {
    background-color: var(--deep-teal);
    color: var(--fresh-white);
    text-align: center;
}

.cta-section h2 {
    color: var(--fresh-white);
    font-size: 2.8em;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.2em;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

.cta-section .btn {
    margin-bottom: 20px;
}

.cta-section .phone-number {
    font-size: 1.5em;
    font-weight: 700;
    margin-top: 20px;
}

.cta-section .phone-number a {
    color: var(--vibrant-orange);
    transition: color 0.3s ease;
}

.cta-section .phone-number a:hover {
    color: var(--fresh-white);
    text-decoration: underline;
}

/* --- Footer --- */
.footer {
    background-color: var(--charcoal);
    color: var(--fresh-white);
    padding: 60px 0 20px 0;
    font-size: 0.95em;
}

.footer .footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-about img {
    height: 70px;
    margin-bottom: 20px;
}

.footer-about p {
    color: var(--steel-gray);
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-about .social-links a {
    color: var(--fresh-white);
    font-size: 1.5em;
    margin-right: 15px;
    transition: color 0.3s ease;
}

.footer-about .social-links a:hover {
    color: var(--vibrant-orange);
}

.footer-links h3,
.footer-contact h3 {
    color: var(--fresh-white);
    font-size: 1.4em;
    margin-bottom: 20px;
}

.footer-links ul li,
.footer-contact p {
    margin-bottom: 10px;
}

.footer-links ul li a,
.footer-contact p a {
    color: var(--steel-gray);
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-contact p i {
    color: var(--vibrant-orange);
}

.footer-links ul li a:hover,
.footer-contact p a:hover {
    color: var(--fresh-white);
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-bottom p {
    margin: 0;
    color: var(--steel-gray);
}

.footer-bottom ul {
    display: flex;
    gap: 20px;
}

.footer-bottom ul li a {
    color: var(--steel-gray);
    transition: color 0.3s ease;
}

.footer-bottom ul li a:hover {
    color: var(--fresh-white);
    text-decoration: underline;
}

/* --- Modal Styles (Financing Modal) --- */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 2000; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0,0,0,0.7); /* Black w/ opacity */
    padding-top: 60px; /* Location of the box */
}

.modal-content {
    background-color: var(--fresh-white);
    margin: 5% auto; /* 5% from the top and centered */
    padding: 40px;
    border-radius: 10px;
    width: 80%; /* Could be more responsive */
    max-width: 600px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    animation: fadeInScale 0.3s ease-out;
}

.modal-content h2 {
    color: var(--deep-teal);
    font-size: 2em;
    margin-bottom: 20px;
    text-align: center;
}

.modal-content p {
    color: var(--charcoal);
    line-height: 1.7;
    margin-bottom: 15px;
    text-align: center;
}

.modal-financing-partners {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin: 30px 0;
}

.modal-financing-partners img {
    max-height: 50px;
    width: auto;
}

.modal-content .btn-primary {
    margin: 20px auto 0 auto;
    display: block; /* Make button block to center with margin auto */
    max-width: 200px; /* Limit button width */
}

.modal-content small {
    display: block;
    text-align: center;
    margin-top: 15px;
    color: var(--steel-gray);
    font-size: 0.85em;
}

.close-button {
    color: var(--steel-gray);
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-button:hover,
.close-button:focus {
    color: var(--vibrant-orange);
    text-decoration: none;
    cursor: pointer;
}

/* Body no-scroll for modal */
body.no-scroll {
    overflow: hidden;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInScale {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

/* --- Responsive Design --- */
@media (max-width: 991px) { /* Tablets and smaller desktops */
    h1 { font-size: 2.5em; }
    h2 { font-size: 2.2em; }
    h3 { font-size: 1.8em; }


    .hero-content h1 {
        font-size: 3em;
    }
    .hero-content .hero-tagline {
        font-size: 1.2em;
    }

    .section-padding {
        padding: 60px 0;
    }

    .service-category-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 20px;
    }

    .service-feature-item,
    .service-feature-item.reverse {
        flex-direction: column; /* Stack image and text */
        gap: 30px;
        padding: 25px;
    }

    .feature-image {
        flex: none;
        max-width: 80%; /* Limit image width when stacked */
        margin: 0 auto; /* Center image */
    }

    .feature-content {
        text-align: center; /* Center text content when stacked */
    }

    .feature-content h3 {
        text-align: center;
        font-size: 1.8em;
    }
    .feature-content p {
        text-align: center;
    }
    .feature-content ul {
        text-align: left; /* Keep lists left-aligned within content area */
        margin: 0 auto 25px auto; /* Center the list itself */
        max-width: 400px; /* Constrain list width */
    }

    .benefits-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }

    .benefit-item i {
        font-size: 2.5em;
    }
    .benefit-item h3 {
        font-size: 1.4em;
    }

    .cta-section h2 {
        font-size: 2.5em;
    }
    .cta-section p {
        font-size: 1.1em;
    }

    .footer .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-about,
    .footer-links,
    .footer-contact {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .footer-about .social-links {
        margin-top: 15px;
    }
    .footer-links ul,
    .footer-bottom ul {
        flex-direction: column;
        gap: 10px;
    }
    .footer-bottom {
        flex-direction: column;
    }
}

@media (max-width: 767px) { /* Mobile phones */
    h1 { font-size: 2.2em; }
    h2 { font-size: 1.8em; }
    h3 { font-size: 1.6em; }

    .hero-section.small-hero {
        height: 40vh;
        min-height: 280px;
    }
    .hero-content h1 {
        font-size: 2.5em;
    }
    .hero-content .hero-tagline {
        font-size: 1.05em;
    }

    .section-padding {
        padding: 40px 0;
    }

    .section-description {
        font-size: 1em;
        margin-bottom: 30px;
    }

    .service-category-grid {
        grid-template-columns: 1fr; /* Stack on mobile */
        gap: 15px;
    }
    .service-category-card i {
        font-size: 3em;
    }
    .service-category-card h3 {
        font-size: 1.6em;
    }

    .service-feature-item {
        gap: 20px;
        padding: 20px;
    }

    .feature-content h3 {
        font-size: 1.6em;
    }
    .feature-content p {
        font-size: 0.95em;
    }
    .feature-content ul li {
        font-size: 0.9em;
    }

    .benefits-grid {
        grid-template-columns: 1fr; /* Stack on mobile */
        gap: 15px;
    }

    .benefit-item i {
        font-size: 2.2em;
    }
    .benefit-item h3 {
        font-size: 1.2em;
    }

    .cta-section h2 {
        font-size: 1.8em;
    }
    .cta-section p {
        font-size: 0.95em;
    }
    .cta-section .phone-number {
        font-size: 1.2em;
    }

    .modal-content {
        width: 90%;
        padding: 25px;
    }
    .modal-content h2 {
        font-size: 1.6em;
    }
    .modal-financing-partners {
        flex-direction: column;
        gap: 15px;
    }
    .modal-financing-partners img {
        max-height: 40px;
    }
    .close-button {
        font-size: 30px;
        top: 10px;
        right: 15px;
    }
}


.feature-content ul li {
    text-align: left;
    font-size: 1em;
    color: var(--steel-gray);
    margin-bottom: 10px;
    padding-left: 30px;
    position: relative;
}

.feature-content p {
    text-align: left;
    font-size: 1.05em;
    line-height: 1.7;
    color: var(--charcoal);
    margin-bottom: 20px;
}

.feature-content h3 {
    color: var(--vibrant-orange);
    font-size: 2.2em;
    text-align: left;
    margin-bottom: 15px;
}

.feature-content {
    display: flex
;
    flex: 1;
    padding: 10px 0;
    flex-direction: column;
}

.feature-image img {
    width: 100%;
    height: 600px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}



@media (max-width: 1199px) {
    /* ... ensure your existing .hamburger-menu and .navigation default styles are here ... */

    .navigation {
        /* Default state for mobile: hidden */
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        transform: translateX(100%); /* Hidden off-screen to the right */
        transition: transform 0.3s ease-out; /* Smooth transition */
        background-color: var(--fresh-white); /* Default background color for the menu panel */
        z-index: 999; /* Ensure it's above other content but below hamburger toggle (if higher z-index) */
        overflow-y: auto; /* Allow scrolling if menu content overflows */
        flex-direction: column; /* Ensure vertical layout for flexbox */
        justify-content: center; /* Center content vertically */
        align-items: center; /* Center content horizontally */
    }

    .navigation.active {
        display: flex !important; /* Force display flex to make it visible */
        transform: translateX(0%) !important; /* Bring into view */
    }

    .navigation .nav-links {
        display: flex !important; /* Ensure the ul itself is a flex container */
        flex-direction: column !important; /* Stack list items vertically */
        list-style: none !important; /* Remove any default list bullets */
        padding: 0 !important; /* Remove default padding */
        margin: 0 !important; /* Remove default margin */
        width: 100%; /* Ensure it takes full width of the parent */
        max-width: 300px; /* Optional: set a max-width for the menu content */
        text-align: center; /* Center the text within the list */
    }

    .navigation .nav-links li {
        margin: 20px 0 !important; /* Add vertical spacing between menu items */
        display: block !important; /* Ensure each list item is treated as a block */
        width: 100%;
    }

    .navigation .nav-links a {
        text-align: left;
        color: var(--charcoal) !important; /* Set text color to charcoal (very dark gray/black) */
        font-size: 14px !important; /* Make font size larger for readability */
        text-decoration: none !important; /* Remove underlines from links */
        padding: 0px 0 !important; /* Add padding for clickable area */
        display: block !important; /* Make the entire link area clickable */
        transition: color 0.2s ease-in-out; /* Smooth hover effect */
    }

    .navigation .nav-links a:hover,
    .navigation .nav-links a:focus {
        color: var(--vibrant-orange) !important; /* Hover effect color */
    }

    /* Optional: Hide scrollbar on body when menu is open */
    body.mobile-menu-open {
        overflow: hidden !important;
    }

    /* Hamburger menu icon animations when 'open' class is applied by JS */
    .hamburger-menu.open .bar:nth-child(1) {
        transform: translateY(11px) rotate(45deg);
    }
    .hamburger-menu.open .bar:nth-child(2) {
        opacity: 0;
    }
    .hamburger-menu.open .bar:nth-child(3) {
        transform: translateY(-11px) rotate(-45deg);
    }
}



.navigation .nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex; /* Default to flex for desktop */
}

.navigation .nav-links li {
    margin-left: 30px;
}

.navigation .nav-links a {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: var(--charcoal);
    padding: 10px 0;
    position: relative;
}

.navigation .nav-links a:hover {
    color: var(--vibrant-orange);
}

.navigation .nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--vibrant-orange);
    transition: width 0.3s ease;
}

.navigation .nav-links a:hover::after {
    width: 100%;
}