/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

/* --- Global Styles & Variables --- */
:root {
    --primary-color: #eb595f;
    /* A deep, elegant teal */
    --secondary-color: #815379;
    /* A sophisticated gold/mustard accent */
    --dark-grey: #41303e;
    --btn-hover: #d94c50;
    --light-grey: #f4f4f4;
    --white-color: #ffffff;
}

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

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

h1,
h2,
h3 {
    font-weight: 600;
}

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

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

/* --- Utility Classes --- */
.btn {
    display: inline-block;
    padding: 12px 28px;
    background-color: var(--primary-color);
    color: var(--white-color);
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: 2px solid var(--primary-color);
}

.btn:hover {
    background-color: var(--btn-hover);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--dark-grey);
    border-color: var(--secondary-color);
    color: var(--white-color);
}

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

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

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

.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--dark-grey);
}

.section-subtitle {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 50px auto;
    color: #666;
}

/* --- Header & Navigation --- */
.header {
    background: var(--white-color);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.logo img {
    max-height: 80px;
    width: auto;
    vertical-align: middle;
}

.nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.nav-item {
    margin-left: 30px;
}

.nav-link {
    color: var(--dark-grey);
    font-weight: 400;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    font-weight: 600;
}

.contact-info-header {
    font-weight: 600;
    color: var(--primary-color);
}

/* Mobile Menu */
.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: var(--dark-grey);
}




/* --- Hero Section (Home Page) --- */
.hero {
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.1)), url('../images/hero-background.jpg') no-repeat center center/cover;
    min-height: 90vh;
    /* Use min-height to ensure it's not too small on wide screens */
    display: flex;
    align-items: center;
    color: var(--white-color);
    padding: 100px 0 60px 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    /* Left column is slightly larger */
    align-items: center;
    gap: 60px;
}

.hero-content h1 {
    font-size: 3.2rem;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    font-weight: 300;
    opacity: 0.9;
}

/* --- NEW: Hero Form Styles --- */
.hero-form-container {
    background-color: var(--white-color);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    color: var(--dark-grey);
}

.hero-form-container h3 {
    text-align: center;
    margin-top: 0;
    margin-bottom: 25px;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.hero-form .form-group {
    margin-bottom: 20px;
}

.hero-form input {
    width: 100%;
    padding: 14px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    box-sizing: border-box;
    /* Important for padding */
}

.hero-form .btn {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
}

.hero-form-footer {
    font-size: 0.8rem;
    color: #888;
    text-align: center;
    margin-top: 15px;
}

.hero-form-footer i {
    color: var(--primary-color);
}


/* --- NEW: Trust Bar Section --- */
.trust-bar {
    background-color: var(--light-grey);
    padding: 30px 0;
    border-bottom: 1px solid #ddd;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    text-align: center;
}

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

.trust-item .icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-right: 15px;
}

.trust-item h4 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-grey);
}

/* --- Process / Promises Section --- */
.promises-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.promise-card {
    background: var(--white-color);
    padding: 30px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

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

.promise-card .icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.promise-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}


/* --- Process Section --- */
.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 50px;
}

.process-card {
    background: var(--white-color);
    padding: 30px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

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

.process-card .icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.process-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

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

.service-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    color: var(--white-color);
}

.service-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.service-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 40px 20px 20px;
    text-align: left;
}

.service-overlay h3 {
    margin: 0 0 10px 0;
    font-size: 1.8rem;
}

/* --- CTA Section --- */
.cta-section {
    background-color: var(--primary-color);
    color: var(--white-color);
    text-align: center;
}

.cta-section h2 {
    font-size: 2.2rem;
    margin-bottom: 30px;
}


/* --- Footer --- */
.footer {
    background-color: var(--dark-grey);
    color: var(--light-grey);
    padding: 60px 0 20px 0;
}

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

.footer-col h4 {
    color: var(--white-color);
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 50px;
    height: 2px;
    background-color: var(--secondary-color);
}

.footer-col p,
.footer-col li {
    margin-bottom: 10px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col a {
    color: var(--light-grey);
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer-col a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.social-links a {
    display: inline-block;
    height: 40px;
    width: 40px;
    background-color: rgba(255, 255, 255, 0.2);
    margin: 0 10px 10px 0;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    color: #ffffff;
    transition: all 0.5s ease;
}

.social-links a:hover {
    color: var(--primary-color);
    background-color: #ffffff;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    font-size: 0.9rem;
}

/* --- Updated page header section for each page  --- */
/* --- Updated Page Header --- */
/* --- Page Headers --- */
.page-header {
    padding: 140px 0 80px 0;
    text-align: center;
    position: relative;
    background-size: cover;
    background-position: center center;
    color: var(--white-color);
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

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

.page-header h1 {
    font-size: 3rem;
    color: var(--white-color);
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}


/* Specific background images for each page */
.services-header-bg {
    background-image: url('../images/header-services.jpg');
}

.why-us-header-bg {
    background-image: url('../images/header-why-us.jpg');
}

.contact-header-bg {
    background-image: url('../images/header-contact.jpg');
}

.gallery-header-bg {
    background-image: url('../images/header-gallery.jpg');
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
    align-items: center;
}

.why-us-grid img {
    border-radius: 8px;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    font-size: 1.1rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.feature-list .icon {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-right: 15px;
}

/* --- Gallery Page --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* --- Contact Page --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
}

.contact-info-item {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.contact-info-item .icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-right: 20px;
    width: 40px;
    text-align: center;
}

.map-container {
    margin-top: 30px;
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: 0;
    border-radius: 8px;
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        /* Stack columns on tablets */
        gap: 40px;
    }

    .hero-content {
        text-align: center;
        /* Center the text when stacked */
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }

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

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

    .why-us-grid img {
        margin-top: 40px;
    }

}

/* --- Pop-up Modal Styles --- */
/* --- Pop-up Modal Styles (Robust Version) --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    /* Use viewport width */
    height: 100vh;
    /* Use viewport height */
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999 !important;
    /* Extremely high z-index to ensure it's on top */

    /* Default state is hidden */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0s 0.3s;
    /* Fine-tuned transition */
}

.modal-overlay.active {
    /* When active, become visible */
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease;
}

.modal-content {
    background: #ffffff;
    padding: 30px 40px;
    border-radius: 8px;
    text-align: center;
    max-width: 450px;
    width: 90%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);

    /* Add a transition for the pop-in effect */
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

/* When the overlay is active, make the content pop-in */
.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-content .icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.modal-content .icon.success {
    color: #28a745;
}

.modal-content .icon.error {
    color: #dc3545;
}

.modal-content h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.5rem;
    color: #333;
}

.modal-content p {
    color: #555;
    font-size: 1rem;
}

.modal-close-btn {
    margin-top: 25px;
    cursor: pointer;
}

/* --- WhatsApp Floating Icon --- */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25D366;
    /* Official WhatsApp Green */
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
    z-index: 100;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-float i {
    margin-top: 15px;
    /* Adjusts icon to be perfectly centered */
}

/* Simple styles for the policy content for better readability */
/* Simple styles for the policy content for better readability */
.policy-content {
    padding: 80px 0;
}

.policy-content h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-top: 30px;
    margin-bottom: 15px;
}

.policy-content p,
.policy-content li {
    line-height: 1.8;
    color: #555;
}

.policy-content ul {
    padding-left: 20px;
}




/* =================================================================== */
/*                     RESPONSIVE DESIGN (COMPLETE)                    */
/* =================================================================== */

/* For Tablets and smaller desktops (up to 992px) */
@media (max-width: 992px) {

    /* Stack the hero section with the form */
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .hero-content {
        text-align: center;
        order: 1;
        /* Ensure text comes first */
    }

    .hero-form-container {
        order: 2;
        /* Ensure form comes second */
        max-width: 500px;
        margin: 0 auto;
        /* Center the form when stacked */
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }

    /* Make the promises grid 2x2 */
    .promises-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Stack why-us and service detail sections */
    .why-us-grid {
        grid-template-columns: 1fr;
    }

    .why-us-grid img {
        margin-top: 40px;
    }

    /* Stack contact page grid */
    .contact-grid {
        grid-template-columns: 1fr;
    }
}


/* For Mobile Phones (up to 768px) */
@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }

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

    /* --- Mobile Navigation Menu --- */
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 75px;
        /* Adjust based on header height */
        flex-direction: column;
        background-color: var(--white-color);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    }

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

    .nav-item {
        margin: 1.5rem 0;
    }

    .hamburger {
        display: block;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .contact-info-header {
        display: none;
    }

    /* Hide phone number in header on mobile */


    /* --- Stack all grids --- */
    .hero-content h1 {
        font-size: 2.2rem;
    }

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

    .trust-item {
        justify-content: flex-start;
        /* Align items to the left for a list look */
    }

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

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

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    /* --- Mobile WhatsApp Icon --- */
    .whatsapp-float {
        width: 50px;
        height: 50px;
        right: 20px;
        font-size: 24px;
    }

    .whatsapp-float i {
        margin-top: 13px;
    }

    .social-links {
        text-align: center; /* Center the icons on mobile */
    }
}