/* General Styles */
body {
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    color: #2D2D2D;
    background-color: #F7F7F7;
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    background: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1em 2em;
}

.navbar-links {
    display: flex;
    gap: 1.5em;
}

.navbar a, .dropbtn {
    text-decoration: none; /* This removes the underline */
    color: #2D2D2D;
    font-weight: 700;
    position: relative;
    transition: color 0.3s;
  }
  

.navbar a::after, .dropbtn::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: #112794;
    transform-origin: bottom right;
    transition: transform 0.3s ease-out;
}

.navbar a:hover, .dropbtn:hover {
    color: #112794;
}

.navbar a:hover::after, .dropbtn:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* Dropdown Styles */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #ffffff;
    min-width: 160px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.dropdown-content a {
    color: #2D2D2D;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    transition: background-color 0.3s;
}

.dropdown-content a:hover {
    background-color: #f1f1f1;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropbtn {
    background-color: transparent;
    border: none;
    cursor: pointer;
    color: #333;
    font-weight: 500;
    padding: 0;
    transition: color 0.3s, transform 0.3s;
}

/* Mobile Navbar */
.mobile-navbar-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.mobile-navbar-links a {
    padding: 15px 20px;
    text-decoration: none;
    color: #2D2D2D;
    font-weight: 700;
    border-bottom: 1px solid #ddd;
    transition: background 0.3s ease;
}

.mobile-navbar-links a:hover {
    background: #f0f0f0;
}

.mobile-navbar-links .dropdown-content {
    display: none;
    flex-direction: column;
    position: relative;
    background: rgba(255, 255, 255, 0.95);
}

.mobile-navbar-links .dropdown:hover .dropdown-content {
    display: flex;
}

.mobile-navbar-links.open {
    display: flex;
    max-height: 500px; /* Adjust as needed */
}

/* Mobile Menu Button */
.mobile-menu {
    display: none;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    padding: 10px;
    position: absolute;
    top: 1em;
    right: 1em;
}

.menu-line {
    width: 25px;
    height: 3px;
    background-color: #2D2D2D;
    margin: 4px;
    transition: transform 0.3s ease;
}

.mobile-menu.open .menu-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu.open .menu-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu.open .menu-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Hero Section */
.hero {
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #112794;
    color: #fff;
    padding: 0 1em;
}

.hero-content {
    max-width: 600px;
    animation: slideUp 1s ease-out;
}

.hero-content img {
    width: 400px;
    margin-bottom: 20px;
}

.hero-content h1 {
    font-size: 4em;
    margin-bottom: 0.5em;
    color: #ff6347;
    font-family: 'Roboto', sans-serif;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.hero-content p {
    font-size: 1.5em;
    margin-bottom: 1.5em;
}

.btn {
    background: #ff6347;
    text-decoration: none;
    color: #fff;
    padding: 0.75em 1.5em;
    text-transform: uppercase;
    font-weight: 700;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}



/* About Us Section */
.about-us {
    padding: 4em 2em;
    background-color: #F0F0F0;
    margin-top: 80px; /* To account for fixed header */
}

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

h2 {
    font-size: 2.5em;
    margin-bottom: 1em;
    text-align: center;
    color: #2D2D2D;
}

p {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 1.5em;
    text-align: center;
    color: #2D2D2D;
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
    justify-content: center;
}

.gallery img {
    width: 100%;
    max-width: 400px;
    border-radius: 8px;
    transition: transform 0.3s;
}

.gallery img:hover {
    transform: scale(1.05);
}

/* Footer */
footer {
    background: #2D2D2D;
    color: #fff;
    text-align: center;
    padding: 2em;
}

footer a {
    color: white;
    text-decoration: none;
}

.social-icon {
    color: #112794;
    margin-left: 0.5em;
    font-size: 1.5em;
    transition: color 0.3s;
}

.social-icon:hover {
    color: #ff6347;
}

/* Media Queries */
@media (max-width: 768px) {
    .navbar-links {
        display: none;
    }

    .mobile-menu {
        display: flex;
    }

    .gallery {
        flex-direction: column;
        align-items: center;
    }

    .hero-content h1 {
        font-size: 2.5em;
    }

    .hero-content p {
        font-size: 1.2em;
    }
}
