/* --- Global Styles & Variables --- */
:root {
    --blue-600: #2563eb;
    --blue-700: #1d4ed8;
    --blue-100: #dbeafe;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #11182c;
    --white: #ffffff;
    --red-600: #dc2626;
    --green-600: #16a34a;
}

html {
    scroll-behavior: smooth;
}

*, *::before, *::after {
    box-sizing: border-box;
}

@media (max-width: 767px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}


body {
    font-family: 'Inter', sans-serif;
    background-color: var(--gray-50);
    color: var(--gray-800);
    margin: 0;
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

/* --- Utility Classes --- */
.cta-button {
    display: inline-block;
    color: var(--white);
    background-color: var(--blue-600);
    font-weight: 600;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
	color:#fff !important;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    background-color: var(--blue-700);
}

/* --- Header & Navigation --- */
.site-header {
    background-color: var(--white);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 50;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.navbar-brand i {
    color: var(--blue-600);
    font-size: 1.5rem;
}
.navbar-brand a {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    text-decoration: none;
}

.navbar-logo {
    max-height: 45px; /* Adjust this value as needed */
    width: auto;
}

.navbar-links {
    display: none; /* Hidden on mobile */
    align-items: center;
    gap: 1.5rem;
}
.navbar-links a {
    color: var(--gray-600);
    text-decoration: none;
    transition: color 0.3s ease;
}
.navbar-links a:hover {
    color: var(--blue-600);
}

.navbar-cta {
    display: none; /* Hidden on mobile */
    padding: 0.5rem 1.25rem;
}

.mobile-menu-toggle {
    display: block; /* Shown on mobile */
    background: none;
    border: none;
    color: var(--gray-800);
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-menu {
    display: none; /* Initially hidden */
    background-color: var(--white);
    padding-bottom: 1rem;
    text-align: center;
}
.mobile-menu.is-open {
    display: block;
}
.mobile-menu a {
    display: block;
    padding: 0.5rem 1rem;
    font-size: 18px;
    color: var(--gray-700);
    text-decoration: none;
}
.mobile-menu a:hover {
    background-color: #eff6ff; /* blue-50 */
}
.mobile-menu-cta-container {
    margin-top: 1rem;
}
.mobile-menu .cta-button {
    padding: 0.5rem 1.25rem;
}


/* --- Section Headers --- */
.section-header {
    text-align: center; 
    margin-bottom: 3rem; 
}
.section-title {
    font-size: 2.25rem; 
    font-weight: 700; 
    color: var(--gray-900); 
    margin: 0; 
}
.section-subtitle {
    margin-top: 0.5rem; 
    color: var(--gray-600); 
}

/* --- Hero Section --- */ 
.hero {
    color: var(--white); 
    padding: 6rem 0; 
    text-align: center; 
    position: relative; /* Needed for absolute positioning of the video */
}
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden; /* Clip the video to the hero area */
}
.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensure video covers the entire area */
}
.hero-content {
    position: relative; /* Place content above the video */
    max-width: 56rem; /* max-w-3xl */
}
.hero-title {
    font-size: 3rem; 
    font-weight: 700; 
    line-height: 1.2; 
    margin-bottom: 1rem; 
}
.hero-subtitle {
    font-size: 1.125rem; 
    color: var(--gray-200); 
    margin-bottom: 2rem; 
}
.hero-cta {
    font-size: 1.125rem; 
    padding: 1rem 2rem; 
}

/* --- Hero Section --- */
.hero {
    color: var(--white);
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://placehold.co/1920x1080/cccccc/ffffff?text=Modern+Home+Interior');
    background-size: cover;
    background-position: center;
    padding: 6rem 0;
    text-align: center;
}
.hero-content {
    max-width: 56rem; /* max-w-3xl */
}
.hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}
.hero-subtitle {
    font-size: 1.125rem;
    color: var(--gray-200);
    margin-bottom: 2rem;
}
.hero-cta {
    font-size: 1.125rem;
    padding: 1rem 2rem;
}

/* --- Services Section --- */
.services-section {
    padding: 5rem 0;
    background-color: var(--white);
}
.services-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
}
.service-card {
    background-color: var(--gray-50);
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
    text-align: center;
    transition: box-shadow 0.3s ease;
}
.service-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
}
.service-card-icon-wrapper {
    width: 4rem;
    height: 4rem;
    border-radius: 9999px;
    background-color: var(--blue-100);
    color: var(--blue-600);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
}
.service-card-icon-wrapper i {
    font-size: 1.875rem;
}
.service-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

/* --- About Us Section --- */
.about-section {
    padding: 5rem 0;
    background-color: var(--gray-50);
}
.about-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}
.about-image-wrapper {
    flex: 1;
}
.about-image {
    width: 100%;
    border-radius: 0.5rem;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
}
.about-text-wrapper {
    flex: 1;
}
.about-text-wrapper .section-title {
    text-align: left;
}
.about-text-wrapper p {
    margin-bottom: 1.5rem;
    color: var(--gray-600);
}
.about-cta {
    background-color: var(--gray-800);
    padding: 0.75rem 1.5rem;
}
.about-cta:hover {
    background-color: var(--gray-900);
}

/* --- Testimonials Section --- */
.testimonials-section {
    padding: 5rem 0;
    background-color: var(--white);
}
.testimonials-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
}
.testimonial-card {
    background-color: var(--gray-50);
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
}
.testimonial-author {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}
.testimonial-author img {
    width: 3rem;
    height: 3rem;
    border-radius: 9999px;
    margin-right: 1rem;
}
.author-name {
    font-weight: 700;
    margin: 0;
}
.author-location {
    font-size: 0.875rem;
    color: var(--gray-600);
    margin: 0;
}
.testimonial-text {
    color: var(--gray-600);
}

/* --- Contact Section --- */
.contact-section {
    padding: 5rem 0;
    background-color: var(--gray-100);
}
.contact-wrapper {
    max-width: 56rem;
    margin: 0 auto;
    background-color: var(--white);
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
    display: flex;
    flex-direction: column;
    gap: 3rem;
}
.contact-form-wrapper {
    flex: 2;
}
#contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}
#contact-form .form-group {
    margin-bottom: 1rem;
}
#contact-form input, #contact-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db; /* gray-300 */
    border-radius: 0.5rem;
    box-sizing: border-box;
}
#contact-form input:focus, #contact-form textarea:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--blue-600);
}
#contact-form button {
    width: 100%;
    padding: 0.75rem 1.5rem;
}
.form-status {
    margin-top: 1rem;
    text-align: center;
}
.form-status.success {
    color: var(--green-600);
}
.form-status.error {
    color: var(--red-600);
}

.contact-info-wrapper {
    flex: 1;
    color: var(--gray-700);
}
.contact-info-wrapper h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}
.contact-info-item i {
    color: var(--blue-600);
    margin-top: 0.25rem;
    margin-right: 0.75rem;
}
.contact-info-item .info-label {
    font-weight: 600;
    margin: 0;
}
.contact-info-item a {
    color: inherit;
    text-decoration: none;
}
.contact-info-item a:hover {
    color: var(--blue-600);
}

/* --- Footer --- */
.site-footer-bottom {
    background-color: var(--gray-800);
    color: var(--white);
}
.footer-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 1.5rem;
}
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}
.social-links a {
    color: #9ca3af; /* gray-400 */
    text-decoration: none;
    transition: color 0.3s ease;
}
.social-links a:hover {
    color: var(--white);
}

/* --- Responsive Media Queries --- */
@media (min-width: 768px) { /* md breakpoint */
    .navbar-links, .navbar-cta {
        display: flex;
    }
    .mobile-menu-toggle, .mobile-menu {
        display: none;
    }
    .hero-title {
        font-size: 3.75rem;
    }
    .hero-subtitle {
        font-size: 1.25rem;
    }
    .hero {
        padding: 8rem 0;
    }
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-content {
        flex-direction: row;
    }
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .contact-wrapper {
        padding: 3rem;
        flex-direction: row;
    }
    #contact-form .form-row {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-content {
        flex-direction: row;
    }
    .social-links {
        margin-top: 0;
    }
}

@media (min-width: 1024px) { /* lg breakpoint */
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Footer Styles */
.site-footer-bottom .footer-content .social-links {
    display: flex;
    align-items: center;
}

.site-footer-bottom .footer-content .social-links .social-text {
    color: white;
    margin-right: 10px;
}
/* --- Back to Top Button --- */
.back-to-top-btn {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: var(--blue-600);
    color: var(--white);
    border-radius: 50%;
    text-decoration: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s, background-color 0.3s, transform 0.3s;
}
.back-to-top-btn.is-visible {
    opacity: 1;
    visibility: visible;
}
.back-to-top-btn:hover {
    background-color: var(--blue-700);
    transform: translateY(-2px);
}
