/* --- 1. Global Styles & New Color Palette --- */
:root {
    --primary-color: #3D5A80; /* Muted Slate Blue */
    --secondary-color: #98C1D9; /* Light Steel Blue */
    --dark-color: #293241; /* Gunmetal Gray */
    --background-color: #F8F9FA; /* Soft Off-White */
    --light-gray-color: #E9ECEF;
    --text-color: #5A6A7D;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    line-height: 1.7;
    color: var(--text-color);
    background-color: #fff;
}

.container {
    max-width: 1100px;
    margin: auto;
    overflow: hidden;
    padding: 0 2rem;
}

h1, h2, h3 {
    font-family: var(--font-heading);
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

h1 { font-size: 3.5rem; line-height: 1.2; }
h2 { font-size: 2.8rem; text-align: center; margin-bottom: 2rem; }

.content-section {
    padding: 100px 0;
}

.section-subtitle {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem auto;
    font-size: 1.1rem;
}

.bg-light {
    background: var(--background-color);
}

/* --- 2. Unified Button System --- */
.btn-primary {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    padding: 14px 35px;
    border-radius: 50px; /* Pill shape for all primary buttons */
    text-decoration: none;
    font-weight: 600;
    font-family: var(--font-body);
    transition: transform 0.3s ease, background-color 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--dark-color);
    transform: translateY(-3px);
}

.contact-form button.btn-primary {
    width: 100%; /* Ensure form button is full width */
    font-size: 1.1rem;
    padding: 16px 35px;
}


/* --- 3. Header & Frosted Glass Navbar --- */
.header {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--light-gray-color);
    position: fixed;
    width: 100%;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    /* Adjusted: Container's padding already handles spacing, no extra padding here */
    padding: 0 2rem; /* Ensure consistent padding with .container */
}

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    /* Removed extra margin-left if any, relying on navbar padding */
}

.nav-logo img {
    height: 45px;
    width: auto;
    object-fit: contain;
    display: block;
    margin-right: 12px;
}

.nav-menu {
    display: flex;
    list-style: none;
    /* Removed padding from here as it should be on the navbar or container */
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    margin: 0 1.2rem;
    font-weight: 600;
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

/* --- 4. Hero Section --- */
.hero-section {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    /* Corrected URL and simplified background property */
    background: linear-gradient(rgba(41, 50, 65, 0.7), rgba(41, 50, 65, 0.7)), 
                url('assets/images/hero_bg.jpg') no-repeat center center/cover;
    padding: 0 1rem;
}

.hero-content h1 {
    color: #fff;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 1.5rem auto 2.5rem auto;
    font-weight: 400;
}

/* --- 5. About Us Section --- */
.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: center;
    margin-top: 4rem;
}

.feature-item h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
}

/* --- 6. Modern Card Grid Service Section --- */
.service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    background-color: #fff;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    border: 1px solid var(--light-gray-color);
    box-shadow: 0 4px 6px rgba(0,0,0,0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px -5px rgba(0,0,0,0.1);
}

.card-icon {
    margin: 0 auto 1.5rem auto;
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.card-icon svg {
    width: 30px;
    height: 30px;
}

.service-card h3 {
    font-size: 1.5rem;
    color: var(--dark-color);
    margin-bottom: 0.75rem;
}

.card-description {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-color);
    margin-bottom: 2rem;
    min-height: 50px;
}

.service-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.7rem;
}

.service-item-btn {
    background: var(--light-gray-color);
    border: 1px solid transparent;
    border-radius: 20px;
    padding: 8px 15px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.service-item-btn:hover {
    background: var(--primary-color);
    color: #fff;
}


/* --- 7. Modern "Inquire Now" Form --- */
.contact-container { 
    max-width: 700px; 
    margin: auto; 
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 1rem;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(61, 90, 128, 0.2);
}

.form-group {
    background-color: var(--background-color);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border: 1px solid var(--light-gray-color);
}

.form-label {
    display: block;
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--dark-color);
}

.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
}

.checkbox-grid label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    cursor: pointer;
}

.checkbox-grid input[type="checkbox"] {
    margin: 0; /* !! Important: Yeh default browser margin ko hata dega !! */
    width: 1.15em;
    height: 1.15em;
    accent-color: var(--primary-color);
}

.checkbox-grid input[type="checkbox"] {
    width: 1.15em;
    height: 1.15em;
    accent-color: var(--primary-color);
}

/* --- 8. Footer --- */
.footer {
    background: var(--dark-color);
    color: #f0f0f0;
    padding: 3.5rem 0;
    font-size: 0.95rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 2.5rem;
    text-align: left;
    align-items: flex-start;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-brand img {
    height: 60px;
    width: auto;
    margin-bottom: 0.8rem;
    filter: brightness(0) invert(1);
    display: block;
}

.footer-brand p {
    font-size: 0.85rem;
    line-height: 1.5;
    color: #b0b0b0;
    margin: 0;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-heading);
    color: var(--secondary-color);
    margin-bottom: 1.2rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links ul li {
    margin-bottom: 0.6rem;
}

.footer-links ul a {
    color: #f0f0f0;
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    padding: 2px 0;
}

.footer-links ul a:hover {
    color: #fff;
}

.footer-contact p {
    margin-bottom: 0.7rem;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #f0f0f0;
}

/* --- 9. Responsive Design --- */
@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-brand {
        grid-column: 1 / -1;
        align-items: center;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2.8rem; }
    h2 { font-size: 2.2rem; }
    .nav-menu { display: none; } /* Hide menu on small screens */
    .navbar {
        padding: 0 1rem; /* Adjust navbar padding for smaller screens */
    }
    .features, .service-grid {
        grid-template-columns: 1fr;
    }
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    .footer-brand, .footer-links, .footer-contact {
        align-items: center;
        margin-bottom: 1.5rem;
    }
    .footer-brand img {
        margin-left: auto;
        margin-right: auto;
    }
    .footer-links ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.8rem 1.5rem;
    }
    .footer-links ul li {
        margin-bottom: 0;
    }
    .checkbox-grid {
        grid-template-columns: 1fr;
    }
}