/* CSS Variables */
:root {
    --primary-blue: #0056D2;
    --growth-green: #28A745;
    --bg-white: #FFFFFF;
    --text-dark: #333333;
    --text-light: #666666;
    --light-gray: #f4f7f6;
    --border-color: #ddd;
    --font-heading: 'Outfit', sans-serif;
    /* Updated Font */
    --font-body: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    /* System fonts for cleanliness */
    --max-width: 1200px;
    --header-height: 70px;
}

/* Import Google Font */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;600;800&display=swap');

/* Reset & Basic Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-white);
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-blue);
    font-weight: 700;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 800px;
    margin-bottom: 20px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--growth-green);
    color: white;
}

.btn-primary:hover {
    background-color: #218838;
    /* Darker green */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.btn-block {
    display: block;
    width: 100%;
    background-color: var(--growth-green);
    color: white;
}

.btn-block:hover {
    background-color: #218838;
}

/* Header */
.header {
    background-color: var(--bg-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    height: var(--header-height);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-blue);
    text-decoration: none;
    letter-spacing: -1px;
    display: flex;
    align-items: center;
}

.logo-accent {
    color: var(--growth-green);
}

.nav-list {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark);
}

.nav-link:hover {
    color: var(--primary-blue);
}

.btn-cta-nav {
    background-color: var(--primary-blue);
    color: white !important;
    padding: 8px 20px;
    border-radius: 4px;
}

.btn-cta-nav:hover {
    background-color: #004494;
}

.menu-toggle {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: var(--text-dark);
}

/* Hero Section */
.hero {
    margin-top: var(--header-height);
    height: 90vh;
    /* Almost full viewport */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    position: relative;
    background-color: #f9fbfd;
}

.hero.with-bg {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('hero_bg.png') no-repeat center center/cover;
    color: white;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    /* Dark overlay text readability */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-headline {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero.with-bg .hero-headline {
    color: #ffffff;
    /* White text on dark bg */
}

.hero-subtext {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero.with-bg .hero-subtext {
    color: #e0e0e0;
}

/* Mission & Vision Section */
.mission-vision {
    background-color: white;
}

.mv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.mv-card {
    background: var(--light-gray);
    padding: 40px;
    border-radius: 12px;
    border-left: 5px solid var(--primary-blue);
}

.mv-card h3 {
    font-size: 1.8rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

/* About Section */
.about {
    background-color: var(--bg-white);
}

.about-container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-image {
    flex: 1;
}

.about-image img {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.about-text {
    flex: 1;
}

/* Services Section */
.services {
    background-color: var(--light-gray);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
    text-align: center;
    border-top: 4px solid var(--primary-blue);
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-blue);
}

.service-desc {
    color: var(--text-light);
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 30px;
}

.gallery-grid img {
    width: 100%;
    border-radius: 8px;
    transition: transform 0.3s;
}

.gallery-grid img:hover {
    transform: scale(1.05);
}

/* Blog Section */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.blog-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
}

.blog-card:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.blog-content {
    padding: 20px;
}

.blog-content h4 {
    margin-bottom: 10px;
    color: var(--text-dark);
}

.read-more {
    color: var(--primary-blue);
    font-weight: 600;
    margin-top: 10px;
    display: inline-block;
}

/* Utilities */
.mb-20 {
    margin-bottom: 20px;
}

.mb-40 {
    margin-bottom: 40px;
}

.mt-20 {
    margin-top: 20px;
}

.mt-40 {
    margin-top: 40px;
}

.styled-list {
    list-style: none;
    padding-left: 20px;
}

.styled-list li {
    position: relative;
    margin-bottom: 15px;
    padding-left: 20px;
}

.styled-list li::before {
    content: "•";
    color: var(--growth-green);
    font-weight: bold;
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -5px;
}

/* Contact Section */
.contact {
    background-color: var(--light-gray);
}

.contact-form-wrapper {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    max-width: 600px;
    margin: 0 auto;
}

.contact-sub {
    margin-bottom: 30px;
    color: var(--text-light);
}

.radio-options {
    display: flex;
    gap: 20px;
    margin-top: 5px;
}

.radio-options label {
    font-weight: normal;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: border 0.3s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-blue);
}

/* Footer */
.footer {
    background-color: #001f4d;
    /* Dark navy for contrast */
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.footer-brand p {
    color: #a0aec0;
}

.footer-links h4,
.footer-social h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--growth-green);
    display: inline-block;
    padding-bottom: 5px;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #a0aec0;
}

.footer-links ul li a:hover {
    color: white;
    padding-left: 5px;
}

.social-icons a {
    color: white;
    margin-right: 15px;
    font-size: 1rem;
}

.social-icons a:hover {
    color: var(--growth-green);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    color: #a0aec0;
    font-size: 0.9rem;
}

/* Media Queries (Responsive) */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: var(--header-height);
        gap: 0;
        flex-direction: column;
        background-color: var(--bg-white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 20px;
    }

    .hero-headline {
        font-size: 2.5rem;
    }

    .about-container {
        flex-direction: column;
    }

    .about-image img {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 2rem;
    }

    .hero-headline {
        font-size: 2rem;
    }

    .contact-form-wrapper {
        padding: 20px;
    }
}