/* --- Global Styles & Typography --- */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: #f4f7f6;
    line-height: 1.6;
}

h1,
h2,
h3,
h4 {
    color: #004a8f;
    font-weight: 700;
}

/* --- Header & Navbar --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5em;
    font-weight: 700;
    color: #003366;
}

.logo img {
    margin-right: 10px;
    border-radius: 5px;
}

.logo-text {
    font-size: 20px;
    font-weight: bold;
    color: #004a8f;
}

.navbar nav {
    display: flex;
    gap: 20px;
}

.navbar nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: alias;
}

.navbar nav a:hover,
.navbar nav a.active {
    color: #FFC43A;
    border-bottom: 2px solid #FFC43A;
}

/* --- Mobile Menu Toggle --- */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #004a8f;
    transition: 0.3s;
}

/* --- Hero Sections --- */
.hero {
    background: url("unnamed (1).jpg") no-repeat center center/cover;
    height: 70vh;
    display: flex;
    align-items: center;
    padding-left: 100px;
    color: white;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 51, 102, 0.4);
    z-index: 1;
}

.hero-text {
    z-index: 2;
    max-width: 600px;
}

.hero-text h1 {
    font-size: 3em;
    color: #fff;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
}

/* --- Buttons --- */
.primary-btn,
.submit-btn {
    padding: 15px 30px;
    background: #FFC43A;
    color: #003366;
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.primary-btn:hover {
    background-color: #ffb700;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 196, 58, 0.4);
}

/* --- Page Headers (About/Services) --- */
.page-header {
    background-image: url('unnamed.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 100px 20px;
    text-align: center;
    position: relative;
}

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

/* --- Grid & Card Layouts (Universal) --- */
.values-section,
.services-content,
.about-content-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    text-align: center;
}

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

.value-card,
.service-card {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.value-card:hover,
.service-card:hover {
    transform: translateY(-5px);
}

/* --- Contact Page Specifics --- */
.contact-container {
    display: flex;
    gap: 40px;
    text-align: left;
}

.contact-form {
    flex: 2;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
}

.contact-info {
    flex: 1;
    background: #e6f0ff;
    padding: 30px;
    border-radius: 8px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

/* --- Footer --- */
footer {
    background-color: #003366;
    color: #fff;
    text-align: center;
    padding: 25px 0;
    margin-top: 50px;
}

/* --- Mobile Menu Toggle Visibility & Logic --- */
@media (max-width: 768px) {

    /* 1. Force the toggle icon to show on mobile/tablet */
    .menu-toggle {
        display: flex !important;
        flex-direction: column;
        z-index: 1001;
        padding: 10px;
    }

    /* 2. Style the nav menu as a mobile-friendly dropdown */
    .navbar nav {
        display: none;
        /* Keep hidden by default */
        flex-direction: column;
        position: absolute;
        top: 100%;
        /* Positions menu directly under the navbar */
        left: 0;
        width: 100%;
        background-color: #ffffff;
        padding: 20px 0;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        text-align: center;
    }

    /* 3. Show the menu when script.js adds the .active class */
    .navbar nav.active {
        display: flex !important;
    }

    /* 4. Adjust navigation links for vertical stacking */
    .navbar nav a {
        display: block;
        padding: 15px 0;
        width: 100%;
        border-bottom: none;
    }
}