/* General Body Styles */

body {

    margin: 0;

    font-family: Arial, sans-serif;

    line-height: 1.6;

    color: #333;

    background-color: #f4f4f4;

}



/* Hero Section */

.hero {

    width: 100%;

    height: 600px; /* Adjust as needed */


    display: flex;

    justify-content: left;

    align-items: center;

    color: white;

    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);

    position: relative; /* Needed for z-index of menu bar */

}

.hero-content {
    margin-left: 60vw;

    max-width: 30vw;

    margin-top:-140px;
}



.hero h1 {

    font-size: 3em;

    margin-bottom: 20px;

}



.hero p {

    font-size: 1.2em;

}



/* Menu Bar */

.menu-bar {

    background-color: white; /* White as per your image */

    padding: 15px 0;

    text-align: center;

    position: absolute; /* Initially hanging */

    bottom: -30px; /* Adjust to hang below hero */

    left: 50%;

    transform: translateX(-50%);

    width: 80%; /* White bar width as per your image */

    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);

    z-index: 1000;

    border-radius: 5px; /* Optional: subtle rounding */

    height: 29px;

    transition: 0.25s all;

}



.menu-bar.sticky {

    position: fixed; /* Stick to top on scroll */

    top: 0;

    left: 0;

    width: 100%; /* Full width when sticky */

    transform: translateX(0);

    border-radius: 0;

    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);

    transition: 0.25s all;

}



.menu-bar nav {

    width: 84%;

    transition: 0.25s all;

}

.menu-bar.sticky nav {

    width: 72% !important;

    transition: 0.25s all;

}



.menu-bar nav ul {

    list-style: none;

    padding: 0;

    margin: 0;

    display: flex;

    justify-content: center;

    transition: 0.25s all;

}



.menu-bar nav ul li {

    margin: 0 20px;

}



.menu-bar nav ul li a {

    text-decoration: none;

    color: #333;

    font-weight: bold;

    font-size: 1.1em;

    transition: color 0.3s ease;

}



.menu-bar nav ul li a:hover {

    color: #007bff; /* Example hover color */

}



/* Language Switcher */

.language-switcher {

    position: absolute;

    right: 20px;

    top: 50%;

    transform: translateY(-50%);

}



.language-switcher a {

    text-decoration: none;

    color: #333;

    margin-left: 10px;

    font-weight: bold;

}



.language-switcher a.active {

    color: #007bff; /* Highlight active language */

}



/* Main Content Section */

.container {

    max-width: 1200px;

    margin: 60px auto 20px auto; /* Adjust top margin to account for menu bar */

    padding: 0 20px;

}



/* Iframe Section */

.iframe-section {

    margin-bottom: 40px;

    background-color: #fff;

    padding: 20px;

    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);

    border-radius: 5px;

}



.iframe-section h2 {

    text-align: center;

    margin-bottom: 20px;

    color: #333;

}



.iframe-container {

    position: relative;

    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */

    height: 0;

    overflow: hidden;

    max-width: 100%;

    background: #000;

}



.iframe-container iframe {

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    border: 0;

}



/* Articles and News Sections */

.section-title {

    text-align: center;

    margin-top: 60px;

    margin-bottom: 30px;

    font-size: 2.5em;

    color: #333;

}



.article-grid, .news-grid {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));

    gap: 30px;

    margin-bottom: 40px;

}



.card {

    background-color: #fff;

    border-radius: 8px;

    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);

    overflow: hidden;

    transition: transform 0.3s ease;

}



.card:hover {

    transform: translateY(-5px);

}



.card img {

    width: 100%;

    height: 200px;

    object-fit: cover;

    display: block;

}



.card-content {

    padding: 20px;

}



.card-content h3 {

    margin-top: 0;

    font-size: 1.5em;

    color: #333;

}



.card-content p {

    font-size: 0.95em;

    color: #666;

    line-height: 1.5;

}



.card-content .read-more {

    display: inline-block;

    margin-top: 15px;

    color: #007bff;

    text-decoration: none;

    font-weight: bold;

}



.card-content .read-more:hover {

    text-decoration: underline;

}



/* News Cards (Text Only) */

.news-card .card-content h3 {

    margin-bottom: 10px;

}



/* Footer */

footer {

    background-color: #333;

    color: white;

    text-align: center;

    padding: 30px 0;

    margin-top: 40px;

}



footer p {

    margin: 0;

}



.menu-bar .sandwich {

    display: none;

}



/* Responsive Design */

@media (max-width: 768px) {

    .hero {

        height: 400px;

    }



    .hero h1 {

        font-size: 2.2em;

    }



    .hero p {

        font-size: 1em;

    }



    .hero-content {

        padding-left: 15px;

        padding-right: 15px;

    }



    .menu-bar {

        width: 90%;

        bottom: -20px;

    }



    .menu-bar nav ul {

        flex-direction: column;

        background-color: white;

        display: none;

    }



    .menu-bar .sandwich {

        display: block;

        position: relative;

        /* right: -89%; */

        left: 85%;

        top: 41%;

    }



    .menu-bar nav ul.active {

        display: block;

        padding: 5px;

        border: solid 1px black;

        border-radius: 5px;

        position: relative;

        top: -55px;

    }



    .menu-bar nav ul li {

        margin: 10px 0;

    }



    .language-switcher {

        position: static;

        transform: none;

        margin-top: 10px;

    }



    .container {

        margin-top: 40px;

    }



    .article-grid, .news-grid {

        grid-template-columns: 1fr;

    }



    .iframe-container {

        padding-bottom: 168.75%; /* 16:9 Aspect Ratio */

    }



    .iframe-container iframe {

        position: absolute;

        top: 0;

        left: 0;

        width: 100%;

        height: 100%;

        border: 0;

    }

}



/* Sandwich Menu Basic Styling */

.sandwich {

  width: 40px; /* Adjust as needed */

  height: 40px; /* Adjust as needed */

  display: flex;

  justify-content: center;

  align-items: center;

  cursor: pointer;

  /* You can add your text-align and padding-right here if you want the div to be the clickable area */

  /* text-align: right; */

  /* padding-right: 10px; */

}



.sandwich-icon {

  position: relative;

  width: 30px; /* Width of the sandwich lines */

  height: 3px; /* Height of a single sandwich line */

  background-color: #333; /* Color of the sandwich lines */

  transition: background-color 0.3s ease; /* Smooth transition for the middle line */

}



/* Top and Bottom Lines */

.sandwich-icon::before,

.sandwich-icon::after {

  content: '';

  position: absolute;

  width: 100%;

  height: 3px; /* Height of a single sandwich line */

  background-color: #333; /* Color of the sandwich lines */

  transition: transform 0.3s ease, top 0.3s ease, bottom 0.3s ease; /* Smooth transitions for movement and rotation */

  right: 0px;

}



.sandwich-icon::before {

  top: -10px; /* Position the top line above the middle */

}



.sandwich-icon::after {

  bottom: -10px; /* Position the bottom line below the middle */

}



/* Active State (Times Symbol) */

.sandwich.active .sandwich-icon {

  background-color: transparent; /* Hide the middle line */

}



.sandwich.active .sandwich-icon::before {

  top: 0; /* Move top line to the center */

  transform: rotate(45deg); /* Rotate for the 'X' */

}



.sandwich.active .sandwich-icon::after {

  bottom: 0; /* Move bottom line to the center */

  transform: rotate(-45deg); /* Rotate for the 'X' */

}