/* === Google Fonts (Optional but Recommended) === */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

/* === Global Styles & Variables === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --primary-color: #007BFF; /* A vibrant, modern blue */
    --secondary-color: #002349; /* A deep navy blue for text and dark sections */
    --accent-color: #00A8E8; /* A lighter blue for highlights */
    --light-color: #F8F9FA; /* Off-white for backgrounds */
    --dark-color: #212529; /* Nearly black for primary text */
    --white-color: #FFFFFF;
    --gray-color: #6C757D;
}

body {
    background-color: var(--white-color);
    color: var(--dark-color);
    line-height: 1.7;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4 {
    color: var(--secondary-color);
    font-weight: 700;
    line-height: 1.2;
}

section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.8rem;
}

.section-title p {
    font-size: 1.1rem;
    color: var(--gray-color);
    max-width: 600px;
    margin: 1rem auto 0;
}

/* === Header & Navigation === */
header {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 0;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-link {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
    padding-bottom: 5px;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger div {
    width: 25px;
    height: 3px;
    background-color: var(--dark-color);
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* === Hero Section === */
.hero {
    background: linear-gradient(rgba(0, 35, 73, 0.85), rgba(0, 35, 73, 0.85)), url('images/hero-background.jpg') center/cover no-repeat;
    color: var(--white-color);
    padding: 200px 0 120px;
    text-align: center;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    max-width: 850px;
}

.hero h1 {
    font-size: 3.8rem;
    color: var(--white-color);
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.btn {
    display: inline-block;
    padding: 14px 35px;
    border-radius: 5px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white-color);
}

.btn-primary:hover {
    background: var(--white-color);
    color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-3px);
}


/* === Services Section === */
.services {
    background: var(--light-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white-color);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    text-align: center;
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary-color);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* === Why Choose Us Section === */
.why-us-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    background: var(--light-color);
    padding: 2rem;
    border-radius: 8px;
}

.feature-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-top: 5px;
}

.feature-item h4 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

/* === Contact Info Section (Homepage) === */
.contact-preview {
    background: var(--secondary-color);
    color: var(--white-color);
    text-align: center;
}
.contact-preview h2 {
    color: var(--white-color);
}
.contact-preview p {
    font-size: 1.5rem;
    margin-top: 1.5rem;
    letter-spacing: 1px;
}
.contact-preview i {
    margin-right: 10px;
}

/* === About Page === */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-content img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-text h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-top: 2rem;
}

.core-values {
    list-style: none;
    margin-top: 1rem;
}
.core-values li {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}
.core-values i {
    color: var(--primary-color);
    margin-right: 10px;
}

/* === Contact Page === */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: flex-start;
}

.contact-info-block p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-info-block i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}
.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}
.contact-response-text {
    text-align: center;
    margin-top: 2rem;
    font-style: italic;
    color: var(--gray-color);
}
.map-container {
    margin-top: 4rem;
    border-radius: 10px;
    overflow: hidden;
    height: 400px;
}
.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* === Footer === */
footer {
    background: var(--dark-color);
    color: var(--light-color);
    text-align: center;
    padding: 1.5rem 0;
}

/* === Responsive Design === */
@media (max-width: 992px) {
    .about-content, .contact-container {
        grid-template-columns: 1fr;
    }
    .about-content img {
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px; /* 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 20px rgba(0, 0, 0, 0.1);
        gap: 0;
    }
    .nav-menu.active {
        left: 0;
    }
    .nav-menu li {
        padding: 1.5rem 0;
        border-bottom: 1px solid var(--light-color);
    }
    .nav-link::after {
        display: none;
    }
    .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);
    }

    .hero h1 { font-size: 2.8rem; }
    .section-title h2 { font-size: 2.2rem; }
    .why-us-grid { grid-template-columns: 1fr; }
}