:root {
    --primary-green: #2e7d32;
    --light-green: #4caf50;
    --light-bg: #f9f9f9;
    --text-dark: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --border-radius: 8px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

h1, h2, h3, h4 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 20px;
}

h1 {
    font-size: 56px;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
}

h3 {
    font-size: 1.5rem;
}

p {
    color: var(--text-light);
    margin-bottom: 20px;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-green);
    color: var(--white);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
}

#mobile-quote {
    display: none;
}

.btn-primary:hover {
    background-color: #1b5e20;
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

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

.btn-outline:hover {
    background-color: var(--primary-green);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

/* Header Styles */
header {
    background-color: transparent;
    position: fixed;
    top: 0;
    width: 100vw;
    z-index: 1000;
    transition: all 0.3s ease;
    border-radius: 50px;
}

header.scrolled {
    background-color: rgba(255, 255, 255, 0);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

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

.logo {
    font-size: 26px;
    font-weight: 600;
}

header .logo {
    color: var(--text-dark);
}

nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin: 0 10px;
}

nav ul li a {
    font-weight: 500;
    transition: color 0.3s ease;
    color: var(--text-dark);
    font-size: 16px;
}


nav ul li a:hover {
    color: var(--light-green);
}

.header-actions {
    display: flex;
    align-items: center;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-dark);
    background: none;
    border: none;
    padding: 5px;
    z-index: 1001; /* Ensure it's above everything */
}

header.scrolled .mobile-menu-btn {
    color: var(--text-dark);
}


/* Hero Section */
.hero {
    padding: 130px 0;
    background-color: var(--light-bg);
}


.hero-container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.hero-content {
    flex: 1;
}

.hero-content .tiny-text {
    font-size: 16px;
    color: var(--primary-green);
    background-color: #4caf4f4b;
    padding: 1px 10px;
    border-radius: 10px;
}

.hero-content h1 {
    margin-bottom: 20px;
}

.hero-content h1 span {
    color: var(--primary-green);
}

.hero-content p {
    font-size: 17px;
    font-weight: 400;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-image {
    flex: 1;
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}


.hero-image img {
    bottom: 0;
    right: 0;
    width: 95%;
    border-radius: 45%;
    object-fit: cover;
    z-index: 2;
}

.hero-image::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 110%;
    height: 110%;
    border: 2px solid var(--primary-green);
    border-radius: 300px;
    z-index: 1;
}

/*Text Positioning*/
.quick-booking {
    position: absolute;
    top: -20px;
    left: 70%;
    transform: translateX(-50%);
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-green);
    background-color: var(--light-bg);
    padding: 20px;
    border-radius: 10px;
    z-index: 3;
    box-shadow: var(--shadow);
    text-align: center;
}

.houses-cleaned {
    position: absolute;
    bottom: 5px;
    left: 10%;
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-green);
    background-color: var(--light-bg);
    padding: 20px 20px 0px;
    border-radius: 10px;
    z-index: 3;
    text-align: center;
    box-shadow: var(--shadow);
}

.houses-cleaned p {
    font-size: 10px;
}

@media (max-width: 768px) {
    .hero-image {
        width: 90%;
    }

    .quick-booking {
        top: -40px;
        left: 70%;
        font-size: 13px;
    }

    .houses-cleaned {
        bottom: -50px !important;
        left: 10%;
        padding: 20px 20px 0px!important;
    }

    .hero-image i {
        font-size: 50px;
    }

    .hero-image .top-left {
        top: -30px !important;
        left: 8% !important;
    }
    
    .hero-image .bottom-right {
        bottom: 0% !important;
        right: 8% !important;
    }
}

/*Star Graphics*/
.hero-image i {
    position: absolute;
    font-size: 80px;
    color: var(--primary-green);
    z-index: 3;
}

.hero-image .top-left {
    top: -20px;
    left: 10%;
}

.hero-image .bottom-right {
    bottom: 5px;
    right: 0%;
}

/* Services Navigation */
.services-nav {
    background-color: var(--primary-green);
    padding: 20px 0;
    overflow: hidden;
    position: relative;
}

.services-nav-container {
    display: flex;
    gap: 40px;
    animation: scrollMarquee 20s linear infinite;
    width: max-content;
}

.service-category {
    font-weight: 500;
    padding-bottom: 5px;
    padding-left: 80px;
    cursor: pointer;
    transition: color 0.3s ease;
    position: relative;
    white-space: nowrap;
    font-size: 16px;
    color: var(--white);
    flex-shrink: 0;
}

/* Remove the mobile responsive styles that cause stacking */
@media (max-width: 768px) {
    .services-nav-container {
        gap: 30px; /* Slightly smaller gap on mobile */
        animation-duration: 15s; /* Faster animation on mobile */
    }
    
    .service-category {
        font-size: 14px; /* Slightly smaller font on mobile */
    }

    .services-nav {
        padding: 15px 0;
    }

    .double {
        display: none;
    }
}

/* Marquee Animation */
@keyframes scrollMarquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Pause animation on hover */
.services-nav-container:hover {
    animation-play-state: paused;
}

/* Why Choose Us Section */
.why-container .why {
    text-align: center;
    margin-top: -30px;
    margin-bottom: 50px;
}

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

.feature-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 15px;
}

.feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon i {
    font-size: 1rem;
}

/* Individual icon background colors */
.feature-card:nth-child(1) .feature-icon {
    background-color: #2e7d325a; 
}
.feature-card:nth-child(1) .feature-icon i {
    color: #2e7d32;
}

.feature-card:nth-child(2) .feature-icon {
    background-color: #7b1fa253; 
}
.feature-card:nth-child(2) .feature-icon i{
    color: #7b1fa2; 
}

.feature-card:nth-child(3) .feature-icon {
    background-color: #e1f50055; 
}
.feature-card:nth-child(3) .feature-icon i{
    color: #9aa801;
}

.feature-card:nth-child(4) .feature-icon {
    background-color: #1976d259; 
}
.feature-card:nth-child(4) .feature-icon i{
    color: #1976d2;
}

.feature-card:nth-child(5) .feature-icon {
    background-color: #2e7d3260; 
}
.feature-card:nth-child(5) .feature-icon i{
    color: #2e7d32; 
}

.feature-card:nth-child(6) .feature-icon {
    background-color: #7b1fa25a; 
}
.feature-card:nth-child(6) .feature-icon i{
    color: #7b1fa2; 
}

.feature-title {
    flex: 1;
}

.feature-card h3 {
    margin-bottom: 0;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
}

.feature-card p {
    font-size: 15px;
    font-weight: 400;
    line-height: 2;
    margin-bottom: 0;
}

/* About Section */
.about{
   position: relative;
}

.about::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(assets/about2.svg);
    background-position: center; /* This centers the background image */
    background-repeat: repeat; /* This prevents the background image from repeating */
    object-fit: fill;
    opacity: 25%;
    z-index: 0;
}


.about-container {
    display: flex;
    align-items: center;
    gap: 50px;
    z-index: 1;
}

.about-content {
    flex: 1;
}

.about-content h2 {
    text-align: left;
}

.about-content p {
    line-height: 2;
}

.about-image {
    flex: 1;
    width: 100%;
    height: 500px; /* Set a fixed height */
    position: relative; /* Add this for positioning the badge */
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* This makes the image cover the entire container */
    border-radius: var(--border-radius);
}

.years-badge {
    position: absolute;
    bottom: -20px;
    left: -10px;
    background-color: var(--primary-green);
    color: var(--white);
    padding: 12px 20px;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 16px;
    box-shadow: var(--shadow);
}

.stats-container {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.stat-box {
    color: var(--white);
    padding: 20px;
    border-radius: var(--border-radius);
    text-align: center;
    flex: 1;
}

.stat-number {
    color: var(--primary-green);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-text {
    color: var(--text-dark);
    font-size: 0.9rem;
}

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

.services .service-p {
    text-align: center;
    margin-top: -30px;
    margin-bottom: 50px;
}

.service-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-image {
    height: 200px;
    background-color: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Add this */
}

.service-content {
    padding: 20px;
}

.service-content h3 {
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
}

.service-content p {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: 15px;
}

.service-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 14px;
}

.service-price {
    font-weight: 600;
    color: var(--primary-green);
}

.service-duration {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--text-light);
}

.service-duration i {
    color: var(--primary-green);
}

.learn-more {
    color: var(--primary-green);
    font-weight: 500;
    display: block;
    text-align: center;
    margin-top: 10px;
    font-size: 15px;
}

.learn-more i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.learn-more:hover i {
    transform: translateX(5px);
}

/* Testimonials Section */
.testimonials {
    background-color: var(--light-bg);
}

.testimonials .testi-p {
    text-align: center;
    margin-top: -30px;
    margin-bottom: 50px;
}

.testimonials-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    /* Remove overflow-x and padding-bottom */
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 testimonials per row on desktop */
    gap: 30px;
    /* Remove width and padding */
}

.testimonial-card {
    background-color: transparent;
    padding: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Remove min-width */
}

.author-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 15px;
}

.author-image::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 1200px;
    height: 50%;
    background-color: var(--primary-green);
    border-radius: 50%;
    z-index: 1;
}

.yellow::after {
    background-color: #fad60a;
}

.author-image img {
    width: 90%;
    height: 90%;
    object-fit: cover;
    border-radius: 50%;
    position: relative;
    z-index: 2;
}

.author-info {
    margin-bottom: 20px;
}

.author-info h4 {
    margin-bottom: 1px;
    font-size: 20px;
    font-weight: 600;
}

.testimonial-content p {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.6;
    margin: 0;
    margin-top: -10px;
}

/* Responsive for tablets */
@media (max-width: 992px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 testimonials per row on tablet */
    }
}

/* Responsive for mobile */
@media (max-width: 576px) {
    .testimonials-grid {
        grid-template-columns: 1fr; /* 1 testimonial per row on mobile */
    }
}

/* Team Section */
.team {
    background-color: #fad60a29;
    padding: 30px 0;
}


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

.team-p {
    text-align: center;
    margin-top: -30px;
    margin-bottom: 50px;
}

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

.team-image {
    width: 280px;
    height: 400px;
    border-radius: 5px;
    background-color: #e0e0e0;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card h4 {
    margin-bottom: 5px;
}

.team-card h5 {
    margin-bottom: 5px;
    color: var(--light-green);
}

.team-card p {
    color: var(--text-light);
    margin: 0;
}

/* Contact Section */
.contact-container {
    display: flex;
    gap: 50px;
}

.contact-form {
    flex: 1;
}

.contact p {
    text-align: center;
    margin-top: -30px;
    margin-bottom: 50px;
}

.contact-image {
    flex: 1;
    width: 100%;
    height: 500px;
}

.contact-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--border-radius);
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
    margin-bottom: 0;
}

.form-group.full-width {
    flex: 0 0 100%;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 15px;
    color: var(--text-dark);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 400;
}

/* Control message textarea height */
textarea.form-control {
    height: 200px; /* Set specific height */
    min-height: 120px;
    max-height: 200px;
    resize: vertical;
}

/* Control Send Message button width */
.contact-form .btn-primary {
    width: 100%;
    font-size: 16px;
    font-weight: 600;
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'><path fill='%23666' d='M2 0L0 2h4zm0 5L0 3h4z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 12px;
}

/* Blog Section */
.blog {
    background-color: var(--light-bg);
}

.clean-p {
    text-align: center;
    margin-top: -30px;
    margin-bottom: 50px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.blog-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    position: relative;
}

.blog-image {
    height: 200px;
    background-color: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Makes image cover the space */
}

.blog-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--primary-green);
    color: var(--white);
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    z-index: 2;
}

.blog-content {
    padding: 20px;
}

.blog-date {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 8px;
    display: block;
}

.blog-content h3 {
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
}

.blog-content p {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: 15px;
}

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

.blog-button .btn {
    font-size: 16px;
    font-weight: 600;
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-p {
    text-align: center;
    margin-top: -30px;
    margin-bottom: 50px;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.faq-question {
    background-color: var(--white);
    padding: 25px 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 18px;
    position: relative;
    padding-left: 70px; /* Space for numbering */
}

.faq-number {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-green);
    width: 30px;
}

.faq-question i {
    transition: transform 0.3s ease;
    color: var(--text-light);
}

.faq-item.active .faq-question i {
    transform: rotate(45deg); /* Turns + into x */
}

.faq-answer {
    background-color: var(--light-bg);
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 20px;
    padding-left: 70px; /* Align with question */
}

.faq-answer p {
    font-size: 15px;
    font-weight: 400;
    margin: 0;
}

/* Questions Section */
.questions-section {
    background-color: var(--light-bg);
    text-align: center;
    padding: 60px 0;
}

.questions-content h3 {
    margin-bottom: 15px;
    line-height: 1.2;
}

.questions-button .btn {
    font-size: 16px;
    font-weight: 600;
    padding: 14px 35px;
}

/* Footer */
footer {
    background-color: #1b5e20;
    color: var(--white);
    padding: 40px 0 15px; /* Reduced padding */
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr 1.5fr;
    gap: 30px; /* Reduced gap */
    margin-bottom: 30px; /* Reduced margin */
}

.footer-about {
    grid-column: 1;
}

.footer-logo {
    font-size: 1.5rem; /* Reduced from 1.8rem */
    font-weight: 700;
    margin-bottom: 15px; /* Reduced margin */
}

.footer-logo span{
    color: #fad60a;
}

.footer-about p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px; /* Reduced margin */
    font-size: 14px; /* Reduced font size */
}

.social-icons {
    display: flex;
    gap: 10px; /* Reduced gap */
}

.social-icon {
    width: 35px; /* Reduced size */
    height: 35px; /* Reduced size */
    border-radius: 50%;
    background-color: var(--light-bg);
    color: var(--primary-green);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
    font-size: 0.9rem; /* Reduced icon size */
}

.social-icon:hover {
    background-color: var(--text-light);
}

.footer-links h4, 
.footer-services h4,
.footer-contact h4,
.footer-newsletter h4 {
    margin-bottom: 15px; /* Reduced margin */
    font-size: 16px; /* Reduced from 17px */
    font-weight: 600;
}

.footer-links ul,
.footer-services ul {
    list-style: none;
}

.footer-links ul li,
.footer-services ul li {
    margin-bottom: 8px; /* Reduced margin */
}

.footer-links ul li a,
.footer-services ul li a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
    font-size: 14px; /* Reduced font size */
}

.footer-links ul li a:hover,
.footer-services ul li a:hover {
    color: var(--white);
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 12px; /* Reduced margin */
    display: flex;
    align-items: center;
    gap: 8px; /* Reduced gap */
    font-size: 14px; /* Reduced font size */
}

.footer-newsletter p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px; /* Reduced margin */
    font-size: 14px; /* Reduced font size */
}

.newsletter-form {
    display: flex;
    gap: 8px; /* Reduced gap */
    margin-top: 12px; /* Reduced margin */
    padding: 5px 5px; /* Reduced padding */
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    border-radius: 50px;
    background-color: var(--light-bg);
    width: 100%;
}

.newsletter-input {
    flex: 1;
    padding: 10px 12px; /* Reduced padding */
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    border-radius: 50px;
    background-color: var(--light-bg);
    color: var(--text-dark);
    font-family: 'Poppins', sans-serif;
    font-size: 13px; /* Reduced font size */
}

.newsletter-input:focus {
    outline: none;
}

.newsletter-input::placeholder {
    color: var(--text-light);
}

.newsletter-btn {
    background-color: #fad60a;
    color: var(--text-dark);
    border: none;
    border-radius: 50px ;
    padding: 10px 15px; /* Reduced padding */
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 13px; /* Reduced font size */
    transition: background-color 0.3s ease;
}

.newsletter-btn:hover {
    background-color: #2e7d32;
}

.footer-bottom {
    text-align: center;
    padding-top: 15px; /* Reduced padding */
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem; /* Reduced from 0.9rem */
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 10px;
}



/* Responsive Styles */
@media (max-width: 992px) {
    .features-grid,
    .services-grid,
    .testimonials-grid,
    .team-grid,
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-container,
    .about-container,
    .contact-container {
        flex-direction: column;
    }

    .hero-content,
    .about-content,
    .about-content h2,
    .contact-form {
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .form-label {
        text-align: left;
        margin-bottom: 4px;
        font-weight: 500;
        font-size: 12px;
    }

    .form-control {
        font-size: 12px;
    }
    
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .mobile-menu-btn {
        display: block;
    }

    #mobile-quote {
        display: block;
        text-align: center;
    }

    nav {
        width: 100vw;
    }

    nav ul {
        display: none;
        position: absolute;
        top: 30px;
        left: 0;
        width: 100%;
        height: auto; 
        background-color: var(--white);
        flex-direction: column;
        padding: 20px 4px 10px; 
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        z-index: 1000 !important; /* High z-index */
        margin: 0;
        overflow-y: auto; /* Allow scrolling if needed */
    }


    nav ul.active {
        display: flex;
    }

    nav ul li {
        margin: 15px 0;
        text-align: center;
    }
    nav ul li a {
        color: var(--text-dark);
        font-size: 18px;
        font-weight: 500;
        padding: 10px 0;
        display: block;
    }

    .header-actions .btn {
        display: none;
    }

    /* Ensure header stays on top of mobile menu */
    header {
        z-index: 1002 !important;
    }

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

    .services-nav-container {
        flex-wrap: wrap;
        gap: 15px;
    }

    .stats-container {
        flex-direction: column;
    }

    
    .newsletter-input {
        width: 100%;
    }

}

@media (max-width: 576px) {
    .features-grid,
    .services-grid,
    .testimonials-grid,
    .team-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }
}