/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Lato", sans-serif;
    color: #333;
    background-color: #f4f4f4;
    line-height: 1.6;
}

/* General Header */
header {
    background-color: #002c5f;
    color: #fff;
    padding: 10px 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header h1 {
    font-size: 24px;
}

header nav {
    position: relative;
}

.nav-toggle {
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    display: none;
    cursor: pointer;
}

/* Dropdown Animation */
.nav-links {
    /*transform: scaleY(0);*/
    transition:
        transform 0.3s ease-in-out,
        opacity 0.3s ease-in-out;

    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links.show {
    transform: scaleY(1);
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease-in-out;
}

.nav-links a:hover {
    text-decoration: underline;
    color: var(--secondary-color);
}

/* General - Hero Section */
.hero {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.hero-overlay {
    position: relative;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: fill;
    filter: brightness(0.7); /* Dim the image for text readability */
}

.hero-text {
    position: absolute;
    top: 25%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    z-index: 2;
}

.hero-text h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

/* General Footer */
footer {
    background-color: #002c5f;
    color: white;
    padding: 20px 0;
    text-align: center;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

footer address {
    margin-top: 10px;
    font-style: normal;
}

/* General Responsive Styles */
@media (max-width: 768px) {
    /* Dropdown Animation */
    .nav-links {
        transition:
            transform 0.3s ease-in-out,
            opacity 0.3s ease-in-out;

        flex-direction: column;
        display: none;
        gap: 10px;
        background-color: #002c5f;
        padding: 10px;
        position: absolute;
        top: 50px;
        right: 20px;
        border-radius: 5px;
    }

    .nav-links.show {
        display: flex;
    }

    .nav-toggle {
        display: block;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }
}

/* Index Page - Who We Are Section */
.who-we-are {
    background-color: #f9f9f9;
    padding: 20px 20px;
}

.who-we-are .container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    justify-content: center;
}

.who-we-are-image {
    flex: 1;
    max-width: 500px;
}

.who-we-are-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.who-we-are-text {
    flex: 2;
    max-width: 700px;
}

.who-we-are-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #333;
}

.who-we-are-text h2 .highlight {
    color: #00509e;
}

.who-we-are-text p {
    font-size: 1rem;
    margin-bottom: 20px;
    color: #555;
    line-height: 1.6;
}

.who-we-are-text .btn-primary {
    display: inline-block;
    background-color: #00509e;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
}

.who-we-are-text .btn-primary:hover {
    background-color: #003d7a;
}

/* Index Page - Our Services Section */
.services {
    text-align: center;
    padding: 20px 20px;
    background-color: #f9f9f9;
}

.services h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #333;
}

.services .highlight {
    color: #00509e;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 0 auto;
    max-width: 1200px;
}

.service-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
    text-align: left;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.service-image {
    position: relative;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: auto;
    display: block;
}

.service-icon {
    position: absolute;
    bottom: 10px;
    left: 150px;
    background-color: #fff;
    padding: 10px;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.service-icon img {
    width: 30px;
    height: 30px;
}

.service-card h3 {
    margin: 15px 20px 10px;
    font-size: 1.2rem;
    color: #00509e;
}

.service-card p {
    margin: 0 20px 20px;
    font-size: 0.95rem;
    color: #555;
}

.more-link {
    display: inline-block;
    margin: 0 20px 20px;
    font-weight: bold;
    color: #00509e;
    text-decoration: none;
    transition: color 0.3s ease;
}

.more-link span {
    font-size: 1rem;
    margin-left: 5px;
}

.more-link:hover {
    color: #ff6f61;
}

/* Index Page - Motto Section */
.motto {
    text-align: center;
    padding: 20px 20px;
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 1px;
}

.motto p {
    margin: 0;
}

/* About Us Page - Mission Statement Section */
.mission {
    padding: 50px 20px;
    background-color: #f9f9f9;
}

.mission .container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: center;
}

.mission-image {
    flex: 1;
    max-width: max-content;
}

.mission-image img {
    width: 90%;
    height: auto;
    /*border-radius: 10px;*/
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.mission-text {
    flex: 1;
    max-width: max-content;
}

.mission-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #333;
}

.mission-text p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #555;
    line-height: 1.6;
}

.mission-text .highlight {
    color: #00509e;
}

/* About Us Page - Core Values Section */
.core-values {
    text-align: center;
    padding: 50px 20px;
    background-color: #f9f9f9;
}

.core-values h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #333;
}

.core-values .highlight {
    color: #00509e;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 0 auto;
    max-width: 1200px;
}

.value-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
    text-align: left;
}

.value-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.value-card h3 {
    margin: 15px 20px 10px;
    font-size: 1.2rem;
    color: #00509e;
}

.value-card p {
    margin: 0 20px 20px;
    font-size: 0.95rem;
    color: #555;
}

.value-image {
    position: relative;
    overflow: hidden;
}

.value-image img {
    margin-top: 10%;
    width: 100%;
    height: auto;
    display: block;
}

/* About Us Page - Call-to-Action Section */
.cta {
    text-align: center;
    padding: 50px 20px;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.cta .btn-primary {
    display: inline-block;
    background-color: #00509e;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
}

.cta .btn-primary:hover {
    background-color: #003d7a;
}

/* Services Page - Services List */
.services-services-list {
    padding: 50px 20px;
    background-color: #f9f9f9;
}

.services-service-item {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    align-items: center;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: box-shadow 0.3s;
}

.services-service-item:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.services-service-image {
    flex: 1;
    max-width: fit-content;
    max-height: min-content;
}

.services-service-image img {
    width: 100%;
    height: auto;
    border-radius: 8px 0 0 8px;
    object-fit: fill;
    margin: 5%;
}

.services-service-text {
    flex: 2;
    padding: 20px;
}

.services-service-text h3 {
    margin-bottom: 10px;
    color: #00509e;
    font-size: 1.5rem;
}

.services-service-text p {
    color: #555;
    font-size: 1rem;
}

.services-service-text ul {
    list-style: disc;
    margin: 10px 0 20px 20px;
    color: #555;
}

.services-service-text ul li {
    margin-bottom: 5px;
    font-size: 1rem;
}

/* Contact Us Page - Contact Section */
.contact-info {
    background-color: #f9f9f9;
    padding: 40px 20px;
}

.contact-details {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    text-align: left;
}

.contact-item {
    display: flex;
    align-items: center;
    border-radius: 8px;
    padding: 20px;
    margin: 10px;
    transition: transform 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-10px);
}

.contact-item .contact-icon {
    margin-right: 15px;
}

.contact-item .icon {
    width: 50px;
    height: 50px;
}

.contact-item .contact-text h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 10px;
}

.contact-item .contact-text p {
    font-size: 1rem;
    color: #555;
}

.contact-item .contact-text a {
    color: #00509e;
    text-decoration: none;
}

.contact-item .contact-text a:hover {
    text-decoration: underline;
}

/* Contact Us Page - Message Form Section */
.message-form {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin: 0 auto;
    max-width: 1000px;
}

.message-form .container {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    align-items: flex-start;
    width: 100%;
}

.message-content {
    flex: 1;
    max-width: 500px;
}

.message-content h3 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 15px;
}

.message-content p {
    font-size: 1.2rem;
    color: #555;
}

.form-container {
    flex: 1;
    max-width: 500px;
    padding: 20px;
    background-color: #f4f4f4;
    border-radius: 8px;
}

.form-container form input,
.form-container form textarea {
    width: 100%;
    padding: 15px;
    margin: 10px 0;
    border-radius: 5px;
    border: 1px solid #ddd;
    font-size: 1rem;
}

.form-container form button {
    background-color: #00509e;
    color: white;
    padding: 15px;
    font-size: 1.2rem;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

.form-container form button:hover {
    background-color: #003d7a;
}

/* Focus styles for buttons */
.btn-primary:focus {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}

/* Loading indicator for submit button */
button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}