/* --- Variables --- */
:root {
    --primary-blue: #004799; /* Deep Professional Blue */
    --dark-grey: #404040;    /* Dark Grey for accents/strong text */
    --text-color: #333333;   /* General Text Color */
    --light-grey-bg: #FAFAFA; /* Very Light Off-White Background */
    --white: #ffffff;
    --border-color: #e0e0e0; /* Light border for elements */

    --header-height: 80px; /* Adjust as needed */

    /* Fonts (adjust if you have specific brand fonts) */
    --font-heading: 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    --font-body: 'Open Sans', 'Lato', 'Roboto', Arial, sans-serif;
}

/* --- Base Styles --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--dark-grey);
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

/* Section Styling */
.section {
    padding: 80px 0;
    text-align: center;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5em;
    color: var(--primary-blue);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--dark-grey);
}

.section-description {
    font-size: 1.1em;
    margin-bottom: 40px;
    color: var(--text-color);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.bg-light-grey {
    background-color: var(--light-grey-bg);
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 12px 25px;
    border-radius: 5px;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 0.9em;
    letter-spacing: 0.5px;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: var(--dark-grey);
}

/* --- Header --- */
header {
    background-color: var(--white);
    color: var(--dark-grey);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height); /* Ensure header height matches variable */
}

.logo img {
    height: 75px; /* Adjust logo height as needed */
    width: auto;
}

.nav-links {
    display: flex;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: var(--dark-grey);
    font-weight: 600;
    font-size: 1.05em;
    transition: color 0.3s ease, transform 0.2s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    bottom: -5px;
    left: 0;
    transition: width 0.3s ease-in-out;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--primary-blue);
}

/* Burger Menu for Mobile */
.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--dark-grey);
    margin: 5px;
    transition: all 0.3s ease;
}

/* --- Hero Section --- */
#hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/Slide1.jpg') no-repeat center center/cover;
    color: var(--white);
    text-align: center;
    padding: 150px 20px 100px; /* Adjust top padding to account for fixed header */
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70vh; /* Minimum height for hero section */
    position: relative;
    top: var(--header-height); /* Push hero down by header height */
}

.hero-content {
    max-width: 800px;
}

#hero h1 {
    font-family: var(--font-heading);
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
}

#hero p {
    font-size: 1.4em;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* --- About Us Section --- */
.about-content {
	
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.about-content p {
    margin-bottom: 15px;
    font-size: 1.1em;
}
.mission-vision-container {
    display: flex; /* Use flexbox for side-by-side layout */
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    gap: 30px; /* Space between mission and vision boxes */
    margin-top: 40px;
    justify-content: center; /* Center the boxes horizontally */
    margin-bottom: 40px; /* Space below the boxes */
}

.mission-statement,
.vision-statement {
    flex: 1; /* Allow boxes to grow and shrink */
    min-width: 300px; /* Minimum width before wrapping */
    background-color: #f9f9f9; /* Light background for the boxes */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08); /* Soft shadow for depth */
    text-align: left; /* Align text within boxes to the left */
    transition: transform 0.3s ease-in-out; /* Smooth hover effect */
    border-left: 5px solid #007bff; /* Left border for accent, Mission */
}

.vision-statement {
    border-left: 5px solid #28a745; /* Different accent color for Vision */
}
.vision-statement {
    border-left: 5px solid #28a745; /* Different accent color for Vision */
}

.mission-statement:hover,
.vision-statement:hover {
    transform: translateY(-5px); /* Lift effect on hover */
}

.mission-statement h3,
.vision-statement h3 {
    font-size: 1.8em;
    margin-top: 0;
    margin-bottom: 15px;
    color: #007bff; /* Mission heading color */
}

.vision-statement h3 {
    color: #28a745; /* Vision heading color */
}

.mission-statement p,
.vision-statement p {
    font-size: 1em;
    line-height: 1.7;
    color: #666;
    margin-bottom: 0; /* Remove default paragraph margin */
    text-align: left; /* Ensure text inside boxes is left-aligned */
}


/* --- Why Us Section --- */
.why-us-grid {
	
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
    text-align: center;
}

.why-us-item {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-us-item:hover {
    transform: translateY(-5px);
    background-color: #CCCCCC;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.why-us-item i {
    font-size: 3em;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.why-us-item h3 {
    font-family: var(--font-heading);
    font-size: 1.4em;
    color: var(--dark-grey);
    margin-bottom: 15px;
}

.why-us-item p {
    font-size: 1em;
    line-height: 1.6;
    color: var(--text-color);
}

/* --- Services Section --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
    text-align: left; /* Align text within service items to the left */
}

.service-item {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
 background-color: #CCCCCC;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.service-item i {
    font-size: 2.8em;
    color: var(--primary-blue);
    margin-bottom: 20px;
    display: block; /* Ensures icon is on its own line */
    text-align: center; /* Center the icon within its container */
transition: color 0.3s ease;
}

.service-item h3 {
    font-family: var(--font-heading);
    font-size: 1.6em;
    color: var(--dark-grey);
    margin-bottom: 15px;
    text-align: center; /* Center the service title */
}

.service-item ul {
    list-style: none; /* Remove default list style */
    padding-left: 0;
}

.service-item ul li {
    font-size: 1em;
    margin-bottom: 10px;
    padding-left: 25px; /* Indent list items */
    position: relative;
    color: var(--text-color);
}

.service-item ul li::before {
    content: '\f00c'; /* Font Awesome checkmark icon */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: var(--primary-blue);
    position: absolute;
    left: 0;
    top: 2px;
}


/* --- Contact Us Section --- */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    margin-top: 50px;
    text-align: left;
}

.contact-info {
    padding: 20px;
    border-right: 1px solid var(--border-color); /* Separator */
}

.contact-info h3, .contact-form-container h3 {
    font-family: var(--font-heading);
    font-size: 1.8em;
    color: var(--primary-blue);
    margin-bottom: 25px;
}

.contact-info p {
    margin-bottom: 15px;
    font-size: 1.1em;
    display: flex;
    align-items: center;
}

.contact-info p i {
    margin-right: 15px;
    color: var(--primary-blue);
    font-size: 1.2em;
}

.contact-info p a {
    color: var(--text-color);
    transition: color 0.3s ease;
}

.contact-info p a:hover {
    color: var(--primary-blue);
}

.social-links {
    margin-top: 30px;
}

.social-links a {
    font-size: 1.8em;
    color: var(--dark-grey);
    margin-right: 20px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-blue);
}

.contact-form-container {
    padding: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: var(--text-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1em;
    font-family: var(--font-body);
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 5px rgba(0, 71, 153, 0.2); /* Light blue shadow */
}

textarea {
    resize: vertical; /* Allow vertical resizing only */
}

.form-status {
    margin-top: 20px;
    padding: 10px;
    border-radius: 5px;
    font-weight: bold;
    display: none; /* Hidden by default */
}
.form-status.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}
.form-status.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}


/* --- Footer --- */
footer {
    background-color: var(--dark-grey);
    color: var(--white);
    text-align: center;
    padding: 30px 0;
    font-size: 0.9em;
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
    .section {
        padding: 60px 0;
    }
    .section-title {
        font-size: 2em;
    }
    #hero h1 {
        font-size: 2.8em;
    }
    #hero p {
        font-size: 1.2em;
    }

    .nav-links {
        position: fixed;
        right: 0px;
        height: 100vh;
        top: 0; /* Align to the top of the viewport */
        background-color: var(--white);
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 60%;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
        padding-top: 100px; /* Space for logo/header */
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    }

    .nav-links li {
        opacity: 0;
        margin: 20px 0;
    }

    .nav-links a {
        font-size: 1.3em;
        color: var(--primary-blue);
    }

    .burger {
        display: block;
    }

    .nav-active {
        transform: translateX(0%);
    }

    /* Burger animation */
    .toggle .line1 {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    .toggle .line2 {
        opacity: 0;
    }
    .toggle .line3 {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    /* Ensure hero section padding is sufficient */
    #hero {
        padding-top: calc(var(--header-height) + 80px); /* Adjust for header and extra space */
    }

    .contact-grid {
        grid-template-columns: 1fr; /* Stack columns on smaller screens */
        text-align: center;
    }

    .contact-info {
        border-right: none; /* Remove border on smaller screens */
        border-bottom: 1px solid var(--border-color); /* Add bottom border */
        padding-bottom: 30px;
        margin-bottom: 30px;
    }
    .contact-info p {
        justify-content: center; /* Center contact info lines */
    }
}

@media (max-width: 768px) {
    #hero h1 {
        font-size: 2.2em;
    }
    #hero p {
        font-size: 1em;
    }
    .section {
        padding: 40px 0;
    }
    .section-title {
        font-size: 1.8em;
    }
}

/* Keyframe for nav link animation */
@keyframes navLinkFade {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0px);
    }
}