/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif; /* Sleeker font */
}

body {
    background-color: white; /* White background for the rest of the page */
    color: #1E3A56;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between; /* Spread out links */
    align-items: center;
    padding: 15px 40px; /* Adjusted padding */
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.7); /* Dark semi-transparent background */
    backdrop-filter: blur(5px); /* Adds a subtle blur effect */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Slight shadow for better visibility */
    transition: background-color 0.3s ease; /* Smooth transition when scrolling */
}

.navbar div a {
    position: relative;
    padding: 10px 15px;
    color: #FFD700;
    text-decoration: none;
    font-size: 1em;
    font-weight: 400;
    transition: color 0.3s ease;
    white-space: nowrap; /* Prevents wrapping */
}

.navbar div a:hover {
    color: #0077B6;
}


.navbar div a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 100%;
    height: 2px;
    background-color: #FFD700;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}



.navbar div a:hover::after {
    transform: scaleX(1);
}

.navbar div img {
    height: 50px;
}

/* Header */
header {
    height: 100vh;
    display: flex;
    flex-direction: column; /* Stacks elements vertically */
    justify-content: center;
    align-items: center;
    text-align: center;
    background-image: url('wallpaperflare.com_wallpaper.jpg');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    color: #ffffff;
}

header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4em;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    margin-bottom: 20px;
    animation: fadeInDown 1.5s ease-in-out;
}

header p {
    font-size: 1.5em;
    animation: fadeInUp 1.5s ease-in-out;
    margin-bottom: 20px; /* Space between p and button */
}

/* Button Styling */
header button {
    padding: 12px 25px;
    background-color: transparent;
    color: #FFD700;
    border: 2px solid #FFD700;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

header button:hover {
    background-color: #FFD700;
    color: #1E3A56;
    transform: translateY(-3px);
}

/* Sections */
section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 40px auto;
    background: white; /* White background for all sections */
}

.card {
    background-color: rgba(0, 51, 102, 0.9);
    color: #F7F9FC;
    margin: 15px;
    padding: 30px; /* Increased padding */
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex; /* Makes the card a flex container */
    flex-wrap: wrap; /* Allows wrapping if the screen is too narrow */
    justify-content: center; /* Centers the images */
    gap: 15px; /* Adds space between the images */
}

.card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.card h3 {
    font-size: 1.4em;
    color: #FFD700;
    font-family: 'Playfair Display', serif;
    margin-bottom: 10px;
}

.card p {
    font-size: 0.95em;
    color: #E3E9F1;
    line-height: 1.5;
}


.card img {
    max-width: 45%; /* Each image takes 45% of the card's width */
    height: auto; /* Maintains aspect ratio */
    border-radius: 10px; /* Rounding for images */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Subtle shadow */
}
.team-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px;
}
.team-card {
    display: flex; /* Makes the card a flex container */
    flex-direction: column; /* Stacks content vertically */
    align-items: center; /* Centers content horizontally */
    text-align: center; /* Centers the text */
    padding: 20px;
    background-color: rgba(0, 51, 102, 0.9); /* Background color */
    color: #F7F9FC;
    border-radius: 15px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    gap: 10px; /* Adds space between name and description */
}

.team-card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.team-card img {
    width: 150px; /* Fixed size for the team member photo */
    height: 150px;
    border-radius: 50%; /* Makes the image circular */
    margin-bottom: 10px;
}

.team-card h3 {
    font-size: 1.2em;
    color: #FFD700; /* Gold color for names */
    margin: 0; /* Removes unwanted margins */
}

.team-card p {
    font-size: 0.95em;
    color: #E3E9F1; /* Lighter color for the description */
    line-height: 1.4;
    margin: 0; /* Removes unwanted margins */
}

/* Testimonial Section */
.testimonial-section {
    padding: 50px 40px;
    background: linear-gradient(135deg, #003366 20%, #002147 100%);
    border-top: 2px solid #0077B6;
    text-align: center;
}

.testimonial-section h2 {
    font-size: 2em;
    color: #FFD700;
    margin-bottom: 20px;
}

.testimonial-cards {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.testimonial-card {
    width: 280px;
    padding: 20px;
    background-color: #0077B6;
    color: #F7F9FC;
    border: 2px solid #FFD700;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.testimonial-card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.testimonial-card h3 {
    font-size: 1.2em;
    color: #FFD700;
    margin-bottom: 8px;
}

.testimonial-card p {
    font-size: 0.9em;
    color: #E3E9F1;
    line-height: 1.4;
}

/* Footer */
footer {
    padding: 40px 20px;
    background: linear-gradient(135deg, #003366 20%, #002147 100%);
    color: #FFD700;
    text-align: center;
    border-top: 3px solid #0077B6;
}

footer a {
    color: #FFD700;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #0077B6;
}


/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Dropdown Base */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-menu {
    display: none; /* Hidden by default */
    position: absolute;
    top: 100%; /* Aligns below the parent link */
    left: 0;
    background-color: rgba(0, 0, 0, 0.7); /* Transparent background */
    border-radius: 0; /* Sharp corners */
    min-width: 200px;
    padding: 10px 0;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Dropdown Links */
.dropdown-menu a {
    color: #FFD700;
    text-decoration: none;
    display: block;
    padding: 8px 15px;
    transition: background-color 0.3s, color 0.3s;
}

.dropdown-menu a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #0077B6;
}

/* Show Dropdown on Hover */
.dropdown:hover > .dropdown-menu {
    display: block; /* Only displays the dropdown of the hovered parent */
}

/* Nested Dropdown */
.dropdown .nested-dropdown {
    position: relative;
}

.nested-dropdown .dropdown-menu {
    display: none; /* Hidden by default */
    top: 0;
    left: 100%; /* Aligns the nested dropdown to the right */
    margin-left: -1px; /* Seamless alignment */
    border-radius: 0; /* Sharp corners */
}

.nested-dropdown:hover > .dropdown-menu {
    display: block; /* Displays the nested dropdown on hover */
}

/* Contact Section */
.contact-section {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    margin: 40px auto;
    max-width: 1200px;
    gap: 20px; /* Space between the two cards */
  }
  
  .contact-card {
    background-color: rgba(0, 51, 102, 0.9);
    color: #F7F9FC;
    padding: 30px;
    border-radius: 10px;
    flex: 1;
    max-width: 500px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  }
  
  .info-card h3 {
    font-size: 1.8em;
    color: #FFD700;
    margin-bottom: 20px;
  }
  
  .info-card p {
    font-size: 1em;
    line-height: 1.6;
  }
  
  .social-link {
    color: #FFD700;
    text-decoration: none;
    font-weight: bold;
  }
  
  .social-link:hover {
    color: #0077B6;
    text-decoration: underline;
  }
  
  .contact-form label {
    font-weight: bold;
    color: #FFD700;
    display: block;
    margin-bottom: 8px;
  }
  
  .contact-form input, .contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    background: transparent;
    color: #F7F9FC;
  }
  
  .contact-form button {
    padding: 12px 25px;
    background-color: #FFD700;
    color: #003366;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  .contact-form button:hover {
    background-color: #F7F9FC;
    color: #003366;
  }
  



