/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f4f4f9;
}

/* Hero Section Styling */
.hero-section {
    background: linear-gradient(rgba(4,9,30,0.7), rgba(4,9,30,0.7)), url('Photos/standard.jpg') no-repeat center center/cover;
    color: #f5f8f9;
    text-align: center;
    padding: 4rem 2rem;
}

.hero-section h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-section p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.cta-button {
    padding: 0.8rem 2rem;
    background-color: #ffcc00;
    color: #333;
    border: none;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    border-radius: 5px;
}

.cta-button:hover {
    background-color: #ffb700;
}

/* About Us Section */
.about-us {
    text-align: center;
    padding: 3rem 2rem;
    background-color: #fff;
}

.about-us h2 {
    color: #0073e6;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.about-us p {
    font-size: 1.1rem;
    margin: 1rem 0;
    color: #555;
}

.about-image-container {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

.about-image {
    max-width: 100%;        /* Ensures the image does not exceed the width of its container */
    max-height: 500px;      /* Sets a maximum height to make the long photo reasonable */
    width: auto;            /* Automatically adjusts the width while maintaining aspect ratio */
    height: auto;           /* Automatically adjusts the height to keep aspect ratio */
    object-fit: contain;    /* Ensures the entire image is visible within the set max-height and max-width */
    border-radius: 8px;     /* Optional: adds rounded corners */
    display: block;         /* Centers the image by removing any bottom gap */
    margin: 0 auto;         /* Centers the image horizontally if within a block-level container */
}

/* Core Values Section */
.values {
    background-color: #f9fafb;
    padding: 3rem 2rem;
    text-align: center;
}

.values h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1.5rem;
}

.value-cards {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.card {
    background-color: #fff;
    width: 280px;
    padding: 1.5rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    text-align: center;
}

.card h3 {
    color: #0073e6;
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
}

.card p {
    color: #555;
}

/* Team Section */
.team {
    padding: 3rem 2rem;
    text-align: center;
}

.team h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1rem;
}

.team p {
    color: #555;
    margin-bottom: 1.5rem;
}

.team-gallery {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.team-member {
    text-align: center;
    width: 180px;
}

.team-member img {
    width: 100%;
    border-radius: 50%;
}

.team-member p {
    font-size: 1.1rem;
    font-weight: bold;
    color: #333;
}

.team-member span {
    color: #777;
}
/* Testimonials Section */
.testimonials {
    background-color: #f9fafb;
    padding: 3rem 2rem;
    text-align: center;
}

.testimonials h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 2rem;
}

.testimonial-container {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.testimonial {
    background-color: #fff;
    padding: 1.5rem;
    width: 280px;
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    font-style: italic;
    color: #555;
}

/* Star Ratings */
.stars {
    color: #FFD700; /* Gold color for stars */
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.testimonial p {
    font-size: 1rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.testimonial h3 {
    font-size: 1rem;
    color: #0073e6;
    font-weight: bold;
    margin-top: 1rem;
}

/* Responsive Styling */
@media (max-width: 768px) {
    .testimonial-container {
        flex-direction: column;
        align-items: center;
    }
}



/* Footer Styling */
footer {
    background-color: #333;
    color: #f4f4f9;
    text-align: center;
    padding: 1rem;
    margin-top: 1.5rem;
}

footer a {
    color: #f4f4f9;
    text-decoration: none;
    margin: 0 0.5rem;
}

footer a:hover {
    text-decoration: underline;
}

/* Responsive Styling */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }

    .value-cards, .team-gallery {
        flex-direction: column;
        align-items: center;
    }
}
