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

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f9;
    color: #333;
    margin: 0;
    padding-top: 80px;
}

.navbar {
    width: 100%;
    background-color: #ffffff;
    padding: 10px 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: fixed; 
    top: 0;         
    left: 0;         
    z-index: 1000;    
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: none; 
    background-color: #2e4053;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 10px;
}

.logo-text {
    font-size: 24px;
    font-weight: bold;
    color: #fff;
}

.menu ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 20px;
}

.menu ul li {
    position: relative;
}

li {
    color: #fff;
}

.menu ul li a {
    text-decoration: none;
    padding: 8px 15px;
    color: #333;
}
.navbar .menu ul li {
    margin: 0;
}

.navbar .menu ul li a {
    text-decoration: none;
    padding: 5px 8px; /* Adjust padding if needed */
    color: inherit; /* Keep original color */
}


.menu ul li a:hover {
    color: #007bff; /* Blue color on hover */
}
.menu ul li a.active {
    color: #007bff;
}

.hero {
    background-color: #cfe2f3;
    color: #2e4053;
    padding: 20px 10%;
    text-align: center;
}

.hero h2 {
    font-size: 28px;
    margin-bottom: 5px;
}

.breadcrumb {
    font-size: 13px;
    color: #6c7b8a;
}

.breadcrumb {
    font-size: 14px;
    color: #6c7b8a;
}

.content-section {
    padding: 50px 10%;
    max-width: 1200px;
    margin: auto;
}

.content-section h3 {
    color: #2e4053;
    font-size: 26px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.content-image {
    width: 250px;
    float: left;
    margin-right: 20px;
    margin-bottom: 20px;
    border-radius: 5px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}


.description {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 20px;
    text-align: justify;
}

/* CSS for Compact and Colored Footer */
.footer {
    background-color: #2e4053; /* Dark background color */
    color: #f3f6f9; /* Light text color for contrast */
    font-size: 0.85em; /* Slightly smaller font size */
    padding: 10px 5%; /* Reduced padding */
}

.footer-content {
    display: flex;
    justify-content: space-between;
    padding: 5px 0; /* Less vertical space between sections */
}

.footer-section h4 {
    color: #ffb400; /* Highlighted section titles */
    font-size: 1em;
    margin-bottom: 5px;
}

.footer-section p {
    margin: 5px 0; 
    line-height: 1.5; /* Adjusts line spacing */
}


.footer-social {
    display: flex;
    gap: 8px;
    justify-content: center;
    font-size: 1.2em;
}

.footer-social .social-icon {
    color: #f3f6f9;
    transition: color 0.3s;
}

.footer-social .social-icon:hover {
    color: #ffb400; /* Hover color for icons */
}

.footer-bottom {
    text-align: center;
    font-size: 0.8em; /* Smaller text for footer bottom */
    padding-top: 5px;
    margin-top: 5px;
    border-top: 1px solid #f3f6f9; /* Light border for separation */
}

.footer a {
    color: #ffb400; /* Color for links */
    text-decoration: none;
}

.footer a:hover {
    color: #f3f6f9;
}

/* Submenu Items */
/* Individual sub-menu item animation */

/* Dropdown styling */
.dropdown .sub-menu {
    position: absolute;
    top: 100%; /* Positions it directly below the parent menu item */
    left: 0;
    background-color: #2e4053;
    list-style-type: none;
    padding: 10px 0;
    margin: 0;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: none; /* Hidden by default */
    min-width: 150px; /* Ensures submenu has enough width */
    color: black;
}

/* Show submenu on hover */
.dropdown:hover .sub-menu {
    display: block;
}

/* Individual submenu item styling */
.sub-menu li {
    padding: 5px 20px;
}

.sub-menu li a {
    color: #333;
    display: block;
    text-align: left;
    width: 100%;
}

/* Hover effect for submenu items */
.sub-menu li a:hover {
    background-color: #f4f4f4;
    color: #007bff;
}

/* Optional: Additional styling for animation */
.sub-menu li {
    opacity: 0;
    transform: translateY(-10px);
    animation: slideIn 0.3s forwards;
}

.sub-menu li:nth-child(1) {
    animation-delay: 0.1s;
}
.sub-menu li:nth-child(2) {
    animation-delay: 0.2s;
}
.sub-menu li:nth-child(3) {
    animation-delay: 0.3s;
}

/* Keyframes for smooth entry */
@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.gallery-image {
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .gallery-image img {
    height: 250px;
    width: 350px;
    transform: scale(1.0);
    transition: transform 0.4s ease;
  }
  
  .img-box {
    box-sizing: content-box;
    margin: 10px;
    height: 250px;
    width: 295px;
    overflow: hidden;
    display: inline-block;
    color: white;
    position: relative;
    background-color: white;
  }
  
  .caption {
    position: absolute;
    bottom: 5px;
    left: 20px;
    opacity: 0.0;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  
  .transparent-box {
    height: 250px;
    width: 350px;
    background-color:rgba(0, 0, 0, 0);
    position: absolute;
    top: 0;
    left: 0;
    transition: background-color 0.3s ease;
  }
  
  .img-box:hover img { 
    transform: scale(1.1);
  }
  
  .img-box:hover .transparent-box {
    background-color:rgba(0, 0, 0, 0.5);
  }
  
  .img-box:hover .caption {
    transform: translateY(-20px);
    opacity: 1.0;
  }
  
  .img-box:hover {
    cursor: pointer;
  }
  
  .caption > p:nth-child(2) {
    font-size: 0.8em;
  }
  
  .opacity-low {
    opacity: 0.5;
  }