/* Reset default margin and padding for all elements */
* {
    margin: 0;
    padding: 0;
    font-family: "Open Sans", sans-serif; /* Set default font family */
    box-sizing: border-box; /* Include padding and border in element's total width and height */
    line-height: 1.6; /* Improved line height for better readability */
}

/* Modern styling for the entire page */
body {
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
}

/* Base Navbar Styles (As before) */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    background-color: #fefefe;
    border-bottom: 1px solid #d1d1d1;
    height: 60px;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

.logo img {
    height: 25px;
    margin-left: 40px;
}

.nav-menu {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-grow: 1;
}

.nav-menu li {
    margin: 0 15px;
}

.nav-menu a {
    text-decoration: none;
    color: #000;
    font-size: 13px;
    padding: 17px 0;
    position: relative;
}

.nav-menu a:hover {
    color: rgb(41, 7, 174);
}

.nav-menu a:hover::after {
    content: "";
    display: block;
    height: 2px;
    position: absolute;
    left: 0;
    right: 0;
    bottom: -5px;
}

.language {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #333;
    margin-right: 40px;
}

.language .globe {
    margin-right: 8px;
    color: #000;
    font-size: 16px;
}

/* Submenu styles */
.submenu {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background-color: #fff;
    height: 4vh;
    justify-content: center;
    padding: 0;
    margin: 0;
    list-style: none;
    white-space: nowrap;
    z-index: 1000;
}

.submenu li {
    display: inline-block;
}

.submenu a {
    padding: 20px 15px;
    color: #000;
    text-decoration: none;
}

.has-submenu:hover .submenu {
    display: flex;
}

.submenu-blocks {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    padding: 10px;
    list-style: none;
    justify-content: center;
    z-index: 1000;
    width: 100%;
    flex-wrap: wrap;
    border: 1px solid #ddd;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.block-item {
    width: 100px;
    height: 100px;
    background-color: #f8f8f8;
    border: 1px solid #ddd;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 10px;
    align-items: center;
    margin-right: 5px;
    text-align: center;
    transition: box-shadow 0.3s ease;
}

.block-item img {
    max-width: 100%;
    max-height: 90px;
    transform: scale(1.1);
    margin-bottom: 5px;
}

.block-item img:hover {
    transform: scale(1.2);
    transition: transform 1s ease;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    /* Stack the menu vertically */
    .nav-menu {
        flex-direction: column;
        align-items: flex-start;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: #fff;
        display: none; /* Initially hide */
    }

    .nav-menu.active {
        display: flex; /* Show menu on toggle */
    }

    .nav-menu li {
        width: 100%;
        text-align: left;
        margin: 0;
        padding: 10px 20px;
        border-bottom: 1px solid #ddd;
    }

    .submenu {
        display: block; /* Show submenu items vertically */
        position: relative; /* Remove absolute positioning */
        top: auto; /* Reset position */
        width: 100%; /* Full width */
        flex-direction: column;
        padding: 0;
        margin: 0;
    }

    .submenu-blocks {
        display: none; /* Hide submenu-blocks on small screens */
        
    }

    .nav-menu a {
        font-size: 16px;
        padding: 10px 0;
    }

    /* Hide submenu items on hover, we will use a click event instead */
    .has-submenu:hover .submenu {
        display: none;
    }

    .submenu-toggle {
        display: inline-block;
        cursor: pointer;
    }

    .has-submenu .submenu {
        display: none; /* Hide submenu initially */
    }

    .has-submenu.active .submenu {
        display: flex; /* Show submenu when active */
    }

    /* Language section is hidden on smaller screens */
    .language {
        display: none;
    }
    .submenu-blocks{
        margin-top: 20px;
    }
}

/* Menu Icon for Mobile */
.menu-icon {
    display: none;
    cursor: pointer;
    font-size: 24px;
}

@media (max-width: 768px) {
    .menu-icon {
        display: block;
    }
}


/* About section styling */
.about-section {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 0;
    overflow: hidden;
    margin-top: 60px;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0, 75, 155, 0.3), rgba(0, 0, 0, 0.7)), url('images/reception.jpeg') center/cover no-repeat;
    z-index: 1;
}

.about-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin: 0 auto;
    padding: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.about-image {
    position: relative;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-text {
    color: #ffffff;
    text-align: center;
}

.about-text h1 {
    font-size: 3.5rem;
    margin-bottom: 40px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
    position: relative;
    padding-bottom: 20px;
}

.about-text h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: #004b9b;
    border-radius: 2px;
}

.about-text p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 25px;
    color: #ffffff;
    text-align: justify;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 992px) {
    .about-section {
        min-height: auto;
        padding: 100px 0 80px;
    }

    .about-content {
        padding: 40px 30px;
        margin: 0 20px;
    }

    .about-text h1 {
        font-size: 2.8rem;
        margin-bottom: 30px;
    }

    .about-text p {
        font-size: 1.1rem;
        line-height: 1.7;
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .about-section {
        padding: 80px 0 60px;
    }

    .about-content {
        padding: 35px 25px;
    }

    .about-text h1 {
        font-size: 2.4rem;
        margin-bottom: 25px;
    }

    .about-text p {
        font-size: 1.05rem;
        line-height: 1.6;
        margin-bottom: 15px;
    }
}

@media (max-width: 576px) {
    .about-section {
        padding: 60px 0 40px;
        margin-top: 40px;
    }

    .about-content {
        padding: 30px 20px;
        margin: 0 15px;
    }

    .about-text h1 {
        font-size: 2rem;
        margin-bottom: 20px;
        padding-bottom: 15px;
    }

    .about-text p {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 15px;
        text-align: left;
    }

    .about-text h1::after {
        width: 80px;
        height: 3px;
    }
}

/* Director section styling */
.director {
    padding: 60px;
    margin: 40px auto;
    background-color: white;
    border-radius: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
    min-height: 500px;
    max-width: 1200px;
    transition: transform 0.3s ease;
}

.director:hover {
    transform: translateY(-5px);
}

.director .content-section {
    flex: 1;
    max-width: 50%;
}

.director .content-section .title h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 25px;
    color: #004b9b;
    position: relative;
    padding-bottom: 15px;
}

.director .content-section .title h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: #004b9b;
    border-radius: 2px;
}

.director .content-section .content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #333;
}

.director .content-section .content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 25px;
}

.directorImage-section {
    flex: 1;
    max-width: 45%;
}

.directorImage-section img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s ease;
}

.directorImage-section img:hover {
    transform: scale(1.03);
}

/* Social media icons */
.social {
    margin-top: 30px;
}

.social a {
    display: inline-block;
    text-decoration: none;
}

.social i {
    font-size: 32px;
    color: #000;
    transition: transform 0.3s ease;
}

.social i:hover {
    transform: scale(1.1);
}

/* Responsive design for director sections */
@media screen and (max-width: 1200px) {
    .director {
        padding: 40px;
        gap: 40px;
    }

    .director .content-section,
    .directorImage-section {
        max-width: 48%;
    }
}

@media screen and (max-width: 1000px) {
    .director {
        flex-direction: column !important;
        padding: 30px;
        margin: 20px;
        gap: 30px;
        min-height: auto;
    }

    .director .content-section,
    .directorImage-section {
        max-width: 100%;
    }

    .directorImage-section {
        order: -1; /* Always show image first on mobile */
    }

    .director .content-section .title h1 {
        font-size: 1.8rem;
        text-align: center;
    }

    .director .content-section .content h2 {
        font-size: 1.5rem;
        text-align: center;
    }

    .director .content-section .content p {
        text-align: center;
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .social {
        text-align: center;
    }
}

@media screen and (max-width: 480px) {
    .director {
        padding: 20px;
        margin: 15px;
    }

    .director .content-section .title h1 {
        font-size: 1.5rem;
    }

    .director .content-section .content h2 {
        font-size: 1.3rem;
    }

    .director .content-section .content p {
        font-size: 0.9rem;
    }
}

/* Milestone section styling */
.milestone {
    padding: 60px;
    margin: 40px auto;
    background-color: white;
    border-radius: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    max-width: 1200px;
}

.milestone .title h1 {
    font-size: 2.5rem;
    color: #004b9b;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 20px;
}

.milestone .title h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: #004b9b;
    border-radius: 2px;
}

/* --- Start progress bar --- */
.milestone .process-wrapper {
    margin: auto; /* Center the wrapper */
    max-width: 1080px; /* Maximum width */
}

/* Container for progress bar */
#progress-bar-container {
    position: relative; /* Relative positioning */
    width: 100%; /* Full width */
    margin: auto; /* Centering */
    height: 100px; /* Fixed height */
    margin-top: 20px; /* Space above */
}

/* List for progress bar steps */
#progress-bar-container ul {
    padding: 0; /* No padding */
    margin: 0; /* No margin */
    padding-top: 15px; /* Space above list */
    z-index: 9999; /* High z-index for visibility */
    position: absolute; /* Absolute positioning */
    width: 100%; /* Full width */
    margin-top: -40px; /* Move up slightly */
}

/* Circle before each list item */
#progress-bar-container li:before {
    content: " "; /* Empty content for circle */
    display: block; /* Block display */
    margin: auto; /* Center the circle */
    width: 30px; /* Width of circle */
    height: 30px; /* Height of circle */
    border-radius: 50%; /* Circle shape */
    border: solid 2px #aaa; /* Gray border */
    transition: all ease 0.3s; /* Smooth transition */
}

/* Active and hover states for progress bar items */
#progress-bar-container li.active:before,
#progress-bar-container li:hover:before {
    border: solid 2px #fff; /* White border on active or hover */
    background: linear-gradient(to right, rgba(52, 52, 52, 0.88) 0%, #fff 100%); /* Gradient background */
}

/* List item styling for progress bar */
#progress-bar-container li {
    list-style: none; /* Remove default list styling */
    float: left; /* Float items to the left */
    width: 12%; /* Width of each item */
    text-align: center; /* Center text */
    color: #aaa; /* Gray text color */
    text-transform: uppercase; /* Uppercase text */
    font-size: 11px; /* Font size */
    cursor: pointer; /* Pointer cursor on hover */
    font-weight: 800; /* Bold font weight */
    transition: all ease 0.2s; /* Smooth transition */
    vertical-align: bottom; /* Align items at the bottom */
    height: 70px; /* Fixed height */
    position: relative; /* Relative positioning */
}

/* Inner text for each progress step */
#progress-bar-container li .step-inner {
    position: absolute; /* Absolute positioning */
    width: 100%; /* Full width */
    bottom: 0; /* Align at the bottom */
    font-size: 14px; /* Font size for step text */
}

/* Active state for list items */
#progress-bar-container li.active,
#progress-bar-container li:hover {
    color: #444; /* Darker color for active/hover state */
}

/* Circle after each list item */
#progress-bar-container li:after {
    content: " "; /* Empty content */
    display: block; /* Block display */
    width: 6px; /* Width of circle */
    height: 6px; /* Height of circle */
    background: #777; /* Gray background */
    margin: auto; /* Center the circle */
    border: solid 7px #fff; /* White border */
    border-radius: 50%; /* Circle shape */
    margin-top: 40px; /* Space above */
    box-shadow: 0 2px 13px -1px rgba(0, 0, 0, 0.3); /* Shadow for depth */
    transition: all ease 0.2s; /* Smooth transition */
}

/* Hover state for circles */
#progress-bar-container li:hover:after {
    background: #555; /* Darker background on hover */
}

/* Active state for circles */
#progress-bar-container li.active:after {
    background: #004b9b;
}

/* Progress bar line styling */
#progress-bar-container #line {
    width: 83%; /* Width of the line */
    margin: auto; /* Center the line */
    background: #eee; /* Light gray background */
    height: 6px; /* Fixed height */
    position: absolute; /* Absolute positioning */
    left: 7%; /* Center within the container */
    top: 57px; /* Position from top */
    z-index: 1; /* Layering order */
    border-radius: 50px; /* Rounded corners */
    transition: all ease 0.9s; /* Smooth transition */
}

/* Progress bar fill */
#progress-bar-container #line-progress {
    content: " "; /* Empty content */
    width: 0%; /* Initial width of progress fill */
    height: 100%; /* Full height */
    background: linear-gradient(to right, #004b9b 0%, #0073e6 100%); /* Gradient fill */
    position: absolute; /* Absolute positioning */
    z-index: 2; /* Layering order */
    border-radius: 50px; /* Rounded corners */
    transition: all ease 0.9s; /* Smooth transition */
}

/* Content section for progress details */
#progress-content-section {
    width: 90%; /* Responsive width */
    max-width: 800px; /* Limit max width */
    margin: auto; /* Centering */
    background: #f3f3f3; /* Light gray background */
    border-radius: 4px; /* Rounded corners */
}

/* Section content styling */
#progress-content-section .section-content {
    padding: 30px; /* Padding for content */
    text-align: center; /* Center text */
}

/* Heading styling within progress content */
#progress-content-section .section-content h2 {
    font-size: 17px; /* Font size for headings */
    text-transform: uppercase; /* Uppercase text */
    color: #333; /* Dark gray text color */
    letter-spacing: 1px; /* Spacing between letters */
}

/* Paragraph styling within progress content */
#progress-content-section .section-content p {
    font-size: 16px; /* Font size for paragraphs */
    line-height: 1.8em; /* Line height for readability */
    color: #777; /* Gray text color */
}

/* Initially hide section content */
#progress-content-section .section-content {
    display: none; /* Hide content by default */
    animation: FadeInUp 700ms ease 1; /* Fade-in animation */
    animation-fill-mode: forwards; /* Keep final state after animation */
    transform: translateY(15px); /* Initial translate for animation */
    opacity: 0; /* Start invisible */
}

/* Active content to be displayed */
#progress-content-section .section-content.active {
    display: block; /* Show content */
}

/* Fade-in animation definition */
@keyframes FadeInUp {
    0% {
        transform: translateY(15px); /* Start translated */
        opacity: 0; /* Start invisible */
    }
    100% {
        transform: translateY(0px); /* End at original position */
        opacity: 1; /* End visible */
    }
}

/* Gallery section styling */
.gallery {
    padding: 60px;
    margin: 40px auto;
    background-color: white;
    border-radius: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    max-width: 1200px;
}

.gallery .title {
    margin-bottom: 40px;
}

.gallery .title h1 {
    font-size: 2.5rem;
    color: #004b9b;
    text-align: center;
    position: relative;
    padding-bottom: 20px;
}

.gallery .title h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: #004b9b;
    border-radius: 2px;
}

.gallery .video-container {
    position: relative;
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    aspect-ratio: 16/9;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    display: block;
}

@media (max-width: 992px) {
    .gallery {
        padding: 40px 20px;
        margin: 30px 20px;
    }

    .gallery .video-container {
        max-width: 100%;
        aspect-ratio: 16/9;
    }
}

@media (max-width: 576px) {
    .gallery {
        padding: 30px 15px;
        margin: 20px;
    }

    .gallery .title h1 {
        font-size: 2rem;
    }
}

/* footer coder here  */
.footer {
    background-color: #1c1e22;
    color: #fff;
    padding: 40px 0 0 0 ;
    position: absolute;
    width: 100vw;
    font-family: Arial, sans-serif;
  }
  
  .footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    padding: 10px;
  }
  
  .footer-column {
    flex: 1;
    min-width: 150px;
    margin-bottom: 20px;
  }
  
  .footer-column h3 {
    margin-bottom: 15px;
    font-size: 16px;
  }
  .footer-column ul {
    list-style-type: none;
    padding: 0;
  }
  
  .footer-column ul li {
    margin-bottom: 20px; /* Space between list items */
  }
  
  .footer-column ul li a {
    color: grey;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease, transform 0.3s ease; /* Smooth transition for color and scale */
    display: inline-block; /* Allow scaling effect */
  }
  
  .footer-column ul li a:hover {
    color: white; /* Change color on hover */
    transform: scale(1.2); /* Scale effect on hover */
  }
  
  .footer-column ul li a:hover {
    text-decoration: underline;
  }
  
  .footer-column .social-icons {
    display: flex;
  }
  
  .footer-column .social-icons a {
    margin-right: 10px;
  }
  
  .footer-column .social-icons img {
    width: 24px;
    height: 24px;
  }
  
  .footer-bottom {
    background-color: #004b9b;
    text-align: center;
    padding: 10px;
    font-size: 14px;
  }
  
  .footer-bottom a {
    color: #fff;
    text-decoration: none;
  }
  
  .footer-bottom a:hover {
    text-decoration: underline;
  }



/* Responsive design */

  /* Media Query for smaller screens */
  @media (max-width: 768px) {
    .nav-menu {
      display: none; /* Hide menu on smaller screens, can add mobile menu later */
    }
  
    .logo img {
      height: 30px;
    }
  
    .language {
      font-size: 12px; /* Adjusted for smaller screens */
    }
  }
  

@media screen and (max-width: 1200px) {
    .inner-container {
        padding: 40px; /* Adjust padding for medium screens */
        width: 90%; /* Adjust width for medium screens */
    }
    .mission-section .content {
        width: 90%; /* Make content width responsive */
    }
}

@media screen and (max-width: 1000px) {
    .about-section {
        background-size: cover; /* Resize background image */
        padding: 40px 20px; /* Adjust padding for smaller screens */
    }
    .inner-container {
        width: 100%; /* Full width for smaller screens */
        padding: 40px; /* Adjust padding */
    }
    .director {
        flex-direction: column; /* Stack items on smaller screens */
        align-items: center; /* Center alignment */
    }
    .director .content-section {
        padding-left: 0; /* Remove left padding */
    }
}

@media screen and (max-width: 768px) {
    .video-container {
        width: 90%; /* Full width on smaller screens */
        height: auto; /* Auto height */
    }
}

@media screen and (max-width: 600px) {
    .about-section {
        padding: 20px; /* Reduce padding */
    }
    .inner-container {
        padding: 20px; /* Adjust padding */
    }
    .directorImage-section {
        margin-left: 0; /* Remove left margin */
        margin-top: 20px; /* Add top margin for spacing */
    }
}