/* General styling */
body {
  font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    transition: background-color 0.3s, color 0.3s;
}

body {
    background-color: white;
}

body.dark-theme {
    background-color: #333333;
    color: white;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color:#333333;
    color: white;
    position: sticky;
    top: 0;
    z-index: 100;
}

header .logo {
    font-size: 1.5em;
    font-weight: bold;
    margin-left: 20px;
    order: 1;
    height: 30px;
}
header .logo img {
    max-height: 100%; /* Ensure logo fits within header height */
    height: 60px; /* Maintain aspect ratio */
    width: auto; /* Maintain aspect ratio */
    position: absolute;
    top: 2px;
}


nav {
    display: flex;
    align-items: center;
    order: 2;
    margin-left: auto;

}

nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin: 0 15px;
    position: relative; /* Needed for dropdown positioning */
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 10px;
    transition: color 0.3s;

}

nav ul li a:hover,
nav ul li a.active {
    color: #fdbe33;
}

nav ul li .dropdown {
    display: none;
    font-size: 0.8em;
    font-weight: normal;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #333333;
    padding: 10px;
    border-radius: 5px;
    color: white;
    width: 230px;

}

nav ul li:hover .dropdown {
    display: block;
}



.right-container {
    display: flex;
    align-items: center;
    order: 3;
    margin-right: 20px;
}

#hamburger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    margin-left: 10px;
}

#hamburger-menu span {
    height: 3px;
    width: 25px;
    background-color: white;
    margin: 4px;
    border-radius: 3px;
    transition: 0.3s;
}

#theme-switch {
    width: 30px;
    height: 30px;
    cursor: pointer;
    margin-left: 10px;
    position: relative;
    overflow: hidden;
}

#theme-switch img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

.slider {
    position: relative;
}

.slider img {
    width: 100%;
    height: 700px;
    object-fit: cover;
    position: relative;
    z-index: 1;
}

.slider .slick-slide {
    position: relative;
    color: white;
}

.slider .slider-image::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 255, 0.3);
    z-index: 2;
    pointer-events: none;
    transition: background-color 0.3s;
}

/* Hero Section */
.hero {
    background: url('images/gallery/16.jpg') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
}

.hero-caption h1 {
    color:#fdbe33;
    font-size: 4em;
}

.hero-caption p {
    font-size: 1.5em;
}

/* Feature Item Row */
.features {

    display: flex;
    padding-left:20px;
    margin-left: 90px;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    width: 30%;
    background-color:#333333;
    min-height: 250px;
}

.feature-image {
    width: 70px;
    height: 70px;
    padding-left: 20px;
    padding-top: 40px;
    padding-right: 20px;
}

.feature-text {
  padding-top: 20px;

  text-align: left;


}

.feature-text h3 {
  font-size:1.5em;
  padding-top: 10px;
    margin: 0;
    margin-bottom: 10px;
    color:#fdbe33;

}

.feature-text p {
  font-size:1.2em;
  align-content: center;
  padding-right: 10px;
  padding-top: 10px;
  padding-bottom: 10px;
  margin: 0;
  color:white;
}

/* Image and Text Section */
.image-text {
    display: flex;
    align-items: center;
    padding: 50px 0;
    margin-left:50px;
    margin-right:50px;
}

.image-text h2{
  font-size: 2.9em;
}

.image-text h3{
    color: #fdbe33;
}

.image-text .image {
    width: 50%;
}

.image-text .image img {
    width: 100%;
    border-top-right-radius: 60px;
    border-bottom-left-radius: 60px;
}

.image-text .text-content {
    width: 50%;
    padding: 0 30px;
}

.text-content h2, .text-content h3, .text-content p, .text-content .learn-more {
    text-align: left;
}

.learn-more {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background: #333333;
    color: #fff;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}
.learn-more:hover {
    background-color: #fdbe33;
    color: #000;
}

/* Services Section */
.services {
    text-align: center;
    padding: 50px 0;
    margin-left:50px;
    margin-right:50px;
}

.services h2 {
    margin-bottom: 30px;
    font-size: 2.8em;
}

.service-item {
    position: relative;
    width: 30%;
    display: inline-block;
    margin: 0 1.5%;

}

.service-item img {
    width: 100%;
    min-height: 400px;
    max-height: 500px;
    object-fit: cover;
}

.service-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    opacity: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s ease;
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
    padding-left: 5px;
    padding-right: 5px;
}

.service-item:hover .overlay {
    opacity: 1;
}

.title-container {
    width: 100%;
    background:#333333;
    padding: 5px 0;
    text-align: center;
    height: 50px;
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
}

.service-item .title-container {
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.title-container h3 {
  color:white;
    margin: 10px;
}

.title-container a {
    color: inherit; /* Inherit color from parent element */
    text-decoration: none; /* Remove underline */
    transition: background-color 0.3s ease, color 0.3s ease;
}

.title-container a:hover {
    background-color: #fdbe33;
    color: #000;
    display: inline-block;
    width: 100%; /* Ensure full-width background color */
    padding: 5px 0;
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
}


.banner-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 3;
}

.banner-content h1 {
    font-size: 3em;
    margin: 0;
}
.banner-content p {
    font-size: 1.9em;
    margin-top: 250px;
    color: white;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.95); /* Adding text shadow */
}

.section {
    padding: 60px 20px;
    margin-left: 80px;
    margin-right: 80px;
    opacity: 0;
    transform: translateY(100px);
    transition: transform 0.6s ease-in-out, opacity 0.6s ease-in-out;
}

/* Animation keyframes */
@keyframes slideIn {
    0% {
        opacity: 0;
        transform: translateY(100px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Active state for animation */
.section.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-header {
    font-size: 2.8em;
    font-weight: bold;
    margin-bottom: 20px
    color:#333333;
}

.sub-header {
    font-size: 0.9em;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333333; /* Light theme color */
}

body.dark-theme .sub-header {
    color: #fdbe33; /* Dark theme color */
}


.section-content {
    font-size: 1.3em;
    max-width: 900px;
    color:#666666;


}

body.dark-theme .section-content{
  font-size: 1.3em;
  max-width: 900px;
  color:white;
}

.section-content-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-content-container.reverse {
    flex-direction: column-reverse;
}

.section-image {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
}

.text-content {
    max-width: 800px;
}

/* Our Mission Section */
#our-mission {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    padding: 60px 20px;
}

.mission-image {
    width: 100%;
    max-width: 400px;
    margin: 0 20px 20px 0;
    float: right;
    border-top-right-radius: 40px;
    border-bottom-left-radius: 40px;
}

.text-content {
    flex: 1;
    min-width: 300px;
}

.mission-header {
    font-size: 2.8em;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333333;
}

.mission-subheader {
    font-size: 1.5em;
    font-weight: normal;
    margin-bottom: 20px;
    color: #030f27;
}


.mission-content {
    font-size: 1.0em;
    line-height: 1.8em;
    max-width: 900px;
    color: #666666;
}



body.dark-theme .mission-content {
    color: white;
}

body.dark-theme .mission-subheader{
  color: #fdbe33;
}

body.dark-theme .mission-header{
  color: #fdbe33;
}

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    font-weight:lighter;
    cursor: pointer;

    transition: background-color 0.3s, color 0.3s;
    background-color: #030f27; /* Light blue for light theme */
    color: #fdbe33; /* Dark blue text */
    display: inline-block;
  text-align: center;
  vertical-align: middle;
}


.btn a {
    text-decoration: none!important;
    color: inherit;
    display: block; /* Ensures link takes full button area */
    width: 100%;
    height: 100%;
    line-height: 1.5; /* Adjust if needed for vertical centering */
}

/* Ensure underline is removed for all states */
.btn a:link,
.btn a:visited,
.btn a:hover,
.btn a:active {
   text-decoration: none!important;
    outline: none;
}

body.dark-theme .btn {
    background-color: #fdbe33;
    color: black;
}

/* Button hover effect for dark theme */
body.dark-theme .btn:hover {
    background-color:#333333; /* Dark blue */
    color: white; /* White text */
}

.btn:hover {
    background-color:#333333;
    color: #fdbe33;
}

/* Event section styling */
.events-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
    align-items: flex-start;
    margin: 20px 0;
}

.event-image,
.event-details,
.event-info {
    flex: 1 1 calc(33.333% - 20px);
    box-sizing: border-box;
}

/* Contact section styling */
.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
    align-items: flex-start;
    margin: 20px 0;
}

.contact-info {
    flex: 1 1 calc(33.333% - 20px);
    box-sizing: border-box;
}

.contact-info h3 {
    color: #030f27;
    font-weight: bold;
}

.contact-info p {
  color: #666666;
  margin: 5px 0;
}

.contact-info a {
    color: #fdbe33;
    text-decoration: none;
}

body.dark-theme .contact-info h3 {
    color: #fdbe33;
}

body.dark-theme .contact-info p {
  color: white;
}

body.dark-theme .contact-info a {
    color: #fdbe33;
}

#scroll-to-top {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: #fdbe33;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
}

.search-section {
  margin: 20px;
  text-align: center;
}

#search-bar {
  padding: 10px;
  width: 80%;
  font-size: 1.2em;
}

#search-results {
  list-style-type: none;
  padding: 0;
}

#search-results .search-result-item {
  padding: 10px;
  cursor: pointer;
}

#search-results .search-result-item:hover {
  background-color: #eee;
}

#map {
    height: 500px;
    margin: 10px 0;
}

.country-info-header {
    background-color:#333333;
    color: white;
    padding: 20px;
}

.country-info-header h2 {
    margin: 0;
    font-size: 24px;
}

.country-info-header address {
    font-style: normal;
    margin: 10px 0;
}

.contact-info p {
    margin: 5px 0;
}

.terminal-facts {

    color: white;
    padding: 20px;
}

.terminal-facts h3 {
    color: #030f27;
    font-size: 20px;
    margin-bottom: 10px;
}

.terminal-facts p {
    margin: 5px 0;
    color: #030f27;
}
.terminal-facts span{
  color:#333333;
}

.additional-info {
    background-color: #212121;
    color: white;
    padding: 20px;
}

.additional-info p {
    margin: 5px 0;
}

.country-image {
    text-align: center;
    margin: 20px 0;
}

.country-image img {
    max-width: 100%;
    height: auto;
}

body.dark-theme .terminal-facts h3{
  color: #fdbe33;
}

body.dark-theme .terminal-facts p{
  color: #fdbe33;
}
body.dark-theme .terminal-facts span{
  color: white;
}
body.dark-theme #scroll-to-top {
    background-color: #fdbe33;
}

#scroll-to-top img {
    width: 50%;
    height: 50%;
    object-fit: cover;
}


.footer {
    background-color:#333333;
    font-size: 0.8em;
    color: #fff;
    padding: 20px 0;
}

.footer-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-logo {
    flex: 1 1 auto;
    text-align: center;
    margin-bottom: 20px;
}

.footer-logo img {
    max-width: 200px;

}

.footer-section {
    flex: 1 1 auto;
    text-align: center;
    margin-bottom: 20px;
}

.footer-section h3 {
    margin-bottom: 10px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #fff;
    text-decoration: none;
}

.footer-section ul li a:hover {
    text-decoration: none;
    color: #fdbe33;
}

@media (max-width: 768px) {

  .footer-logo, .footer-section {
     margin-bottom: 0;
     padding: 0 10px;
     text-align: left;
 }

 .footer-logo {
     text-align: left;
 }
    #hamburger-menu {
        display: flex;
    }

    nav ul {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 60px;
        right: 0;
        width: 200px;
        background-color: #333333;
        padding: 10px;
        border-radius: 5px;
        transition: transform 0.3s ease-in-out;
        transform: translateX(100%);
        z-index: 1000;
    }

    nav ul.active {
        display: flex;
        transform: translateX(0);
    }

    nav ul li {
        width: 100%;
        margin: 10px 0;
    }
    nav ul li .dropdown {
       position: relative;
       top: 0;
       left: 0;
       z-index: 200; /* Ensure dropdown is above other elements */
   }

    header {
        flex-direction: row;
        justify-content: space-between;
    }

    .logo {
        order: 1;
        margin-right: auto;
    }

    .right-container {
        order: 3;
        display: flex;
        justify-content: flex-end;
        width: auto;
    }

    #theme-switch {
        order: 2;
        margin-left: 10px;
    }

    #hamburger-menu {
        order: 4;
        margin-left: 10px;
    }

    .section-content-container {
        flex-direction: column;
    }

    .section-content-container.reverse {
        flex-direction: column-reverse;
    }
}

@media (min-width: 769px) {

    .right-container {
        order: 3;
    }

    .logo {
        order: 1;
        margin-left: auto;
    }

    nav ul {
        order: 2;
    }

    #theme-switch {
        margin-left: 15px;
    }

    .section-content-container {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .section-content-container.reverse {
        flex-direction: row-reverse;
    }

    .section-image {
        max-width: 50%;
        margin-bottom: 0;
    }

    .text-content {
        max-width: 50%;
        padding: 0 20px;
    }
}

@media (max-width: 768px) {
    .event-image,
    .event-details,
    .event-info {
    flex: 1 1 100%;
      }
}

    .event-info p {
    margin: 10px 0;
     }
}

@media (max-width: 768px) {
    .contact-info {
        flex: 1 1 100%;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .features {
        flex-direction: column;
        align-items: center;
        margin-left:10px;
        margin-right: 10px;
    }

    .feature-item {
        width: 80%;

    }

    .image-text {
        flex-direction: column;
    }

    .image-text .image, .image-text .text-content {
        width: 100%;
    }

    .service-item {
        width: 80%;
        margin-bottom: 30px;
    }
}
