/* Import Modern Google Font */
@import url('https://fonts.googleapis.com/css2?family=Public+Sans:wght@700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}


body {
    font-family: "Poppins";
    color: #333;
    background-color: #f4f4f9;
}

h1 {
    font-family: 'Public Sans';
}

/* Header Styling */
header {
    background: #4c378b;
    color: #fff;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s;
}

header.scrolled {
    background: #3a2a73;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none; /* Remove underline */
    color: inherit; /* Keep the color same as the header text */
}

.logo-image {
    width: 40px; /* Adjust size as needed */
    height: 40px; /* Ensure aspect ratio is correct */
    margin-right: 10px; /* Space between logo and text */
}

header h1 {
    font-size: 30px;
    font-weight: 600;
    margin: 0;
}

header nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

header nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s;
}

header nav a:hover {
    color: #e0d4f5;
}

/* Introduction Section */
.intro-section {
    position: relative;
    background-color: #e6e4ef;
    padding: 50px 20px;
    text-align: center;
    color: #4c378b;
}

/* Styling for the Intro Section Image */
.intro-section .intro-image {
    width: 250px; /* Set image width */
    opacity: 1.0; /* Slightly transparent */
}

.intro-section h2 {
    font-size: 3em;
    font-weight: 600;
    margin-bottom: 10px;
}

.intro-section p {
    font-size: 1.2em;
    margin-bottom: 50px;
}

.cta-button {
    background-color: #4c378b;
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1em;
    font-weight: 500;
    transition: background-color 0.3s, transform 0.3s;
}

.cta-button:hover {
    background-color: #6b4fb3;
    transform: scale(1.05);
}

/* Section Layouts */
section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}

.about-section, .team-section, .mission-section, .testimonials-section, .contact-section {
    padding: 80px 10%;
    text-align: center;
}

.about-section p {
    font-weight: bold;
}

h2 {
    font-size: 2.5em;
    color: #4c378b;
    margin-bottom: 20px;
    font-weight: 600;
}

/* Team Section */
.team-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.team-member {
    background: #e0d4f5;
    padding: 20px;
    border-radius: 12px;
    width: 250px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.team-member img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

.team-member .name {
    font-weight: bold;
    color: #4c378b;
    margin-top: 10px;
    font-size: 0.9em;
}

.team-member .role {
    background-color: #d1c1f3;
    color: #4c378b;
    font-size: 0.8em;
    padding: 5px;
    border-radius: 10px;
    margin-top: 5px;
}

/* Mission Section */
.mission-section h3 {
    color: #4c378b;
    margin-bottom: 10px;
}
.mission-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.card {
    position: relative;
    width: 350px;
    height: 450px;
    padding: 20px;
    border-radius: 12px;
    border-width:10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    color: white;
}

/* Background image inside card */
.card img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5; /* Reduced opacity for readability */
    transition: opacity 0.3s;
    z-index: -1;
}

/* Hover effect to make image clearer */
.card:hover img {
    opacity: 0.9; /* Slightly higher opacity on hover */
}

.card h3 {
    color: #f0f8f2;
    background-color: rgba(0, 0, 0, 0.7);
    font-size: 1.2em;
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 8px;
    z-index: 1;
}

.card p {
    background-color: rgba(0, 0, 0, 0.7);
    font-size: 0.9em;
    padding: 10px;
    border-radius: 8px;
    z-index: 1;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}


/* Testimonials Section */
.testimonials {
    max-width: 800px;
    margin: 0 auto;
}

.testimonials blockquote {
    background: #f0f8f2;
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
    font-style: italic;
    color: #333;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Contact Section Styling */
.contact-section {
    padding: 80px 10%;
    text-align: center;
    background: #f9f9fc;
}

.contact-section h2, .contact-section h3 {
    color: #4c378b;
    margin-bottom: 10px;
}

.contact-form, .contact-info, .working-hours-section, .socials-section {
    margin-top: 30px;
    padding: 20px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.contact-info h4, .working-hours-section h4, .socials-section h4 {
    font-size: 1.2em;
    color: #4c378b;
    margin-bottom: 10px;
    margin-top: 10px;
}

.contact-info a {
    display: flex;
    align-items: center;
    color: #4c378b;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s;
}
.contact-info a:hover {
    color: #6b4fb3;
}
.social-icon {
    width: 24px;
    height: 24px;
    margin-right: 8px;
}

/* Working Hours Table */
.working-hours {
    width: 100%;
    border-collapse: collapse;
    color: #333;
    margin-top: 10px;
}

.working-hours th, .working-hours td {
    padding: 8px 12px;
    border: 1px solid #ddd;
    text-align: left;
}

.working-hours th {
    background-color: #e0d4f5;
    color: #4c378b;
    font-weight: 600;
}


/* Footer */
footer {
    background: #4c378b;
    color: #fff;
    padding: 20px;
    text-align: center;
    font-size: 0.9em;
    border-top: 1px solid #ddd;
}