@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    border: 0;
    font-family: "Roboto", sans-serif;
}

html,
body {
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 0%;
}

body {
    overflow-x: hidden;
}

.header {
    position: relative;
    background-image: url("/img/banner.jpeg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 20px 10px;
    display: flex;
    align-items: flex-end;
    height: 40vh;
}

.blur-header {
    filter: blur(0.1rem);
    transition: filter 0.1s ease-in-out;
}

.header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.35);
    z-index: 0;
}

.header-content {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 10px;
    overflow: visible;
    padding: 0rem 0rem 0 3rem;
}

.left-section {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

h1 a {
    color: white;
    font-size: 1.8rem;
    text-decoration: none;
}

.logo {
    width: 7rem;
    height: auto;
    display: flex;
    justify-content: space-around;
    /* padding-left: 1rem; */
}
/*
.language-switch {
  display: flex;
  gap: 10px;
  position: absolute;
  bottom: 300px;
  right: 40px;

}   */

.lang {
    text-decoration: none;
    color: white;
    font-size: 1rem;
}

.lang:hover {
    text-decoration: underline;
}

.social-icons {
    display: flex;
    gap: 10px;
    right: 40px;
    position: relative;
    bottom: 0.1rem;
}

.icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #3b3f5f;
    color: white;
    font-size: 20px;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
}

.icon:hover {
    transform: scale(1.1);
}

.container {
    display: flex;
    /* grid-template-columns: 20% 80%; */
    /* height: 100vh;  */
    /* flex:1; */
    flex-direction: row;
}

#sidebar {
    width: 25rem;
    background-color: rgb(59, 63, 95);
    color: white;
    display: flex;
    flex-direction: column;
    /* height:100rem; */
    /* vertical-align:baseline; */
    justify-content: flex-start;
    overflow-y: auto;
    left: -250px;
    overflow-x: hidden;
    flex-shrink: 0;
}

/* .blur-sidebar {
  filter: blur(0.1rem);
  transition: filter 0.1s ease-in-out;
} */

/* .nav-item {
  padding-bottom: 0.9rem;




} */
.nav-item hr {
    margin-left: 3rem;
}

.nav-item button {
    width: 100%;
    background: none;
    color: white;
    font-size: 18px;
    text-align: left;
    cursor: pointer;
    font-weight: bold;
    padding: 2rem 0rem 1.5rem 3rem;
    /* transition: all 1s ease-out; */
}

.nav-item button.active + .nav-links {
    display: flex !important;
    background-color: #2f324c;
}

.nav-links {
    display: none;
    flex-direction: column;
    overflow: hidden;
}
.nav-links.active {
    display: flex !important;
    overflow: hidden;
}

.nav-links li {
    list-style-type: circle;
    color: #a8a9b4;
    padding: 1rem;
}

.nav-links li {
    font-weight: 100;
    color: #a8a9b4;
    text-decoration: none;
    cursor: pointer;
}
.nav-links li.active-link {
    color: white;
}

.nav-links li.active-link::marker {
    content: "•";
    color: #0ba5cc;
    font-size: 1rem;
}

.nav-links li::marker {
    font-size: 1rem;
    content: "○";
}

.nav-links li:hover::marker {
    content: "•";
    color: #0ba5cc;
    font-size: 1rem;
}

.nav-links li:hover {
    color: white;
}

.nav-links li:hover a {
    color: white;
    position: absolute;
}

.nav-item button.active {
    background-color: #2f324c;
    width: 100%;
    text-align: left;
}

.appointment {
    padding: 1rem 3rem 1rem 3rem;
    text-align: center;
    background-color: #e74c3c;
    color: white;
    font-weight: bold;
    cursor: pointer;
    margin: 3rem;
}

.form-container {
    position: fixed;
    top: 0;
    background-color: rgba(0, 0, 0, 0.8);
    height: 100vh;
    width: 100vw;
    z-index: 9999; /* Ensure it appears above the overlay */
    display: none;
    overflow: hidden;
    justify-content: center;
    align-items: center;
}

.form-container form {
    max-width: 80vw; /* Larger width for contact form */
    background-color: white;
    box-shadow: 0px 8px 32px rgba(0, 0, 0, 0.25);
    border-radius: 12px;
    padding: 2rem;
    max-height: 80vh;
    overflow-y: auto;
}
/* Form Heading */
.form-container h3 {
    text-align: center;
    color: #2c3e50;
    padding-bottom: 1.125rem;
    font-size: 1.6rem;
}
.form-container label {
    font-weight: bold;
    color: #34495e;
    display: block;
    padding-bottom: 1rem;
    padding-top: 0.625rem;
}

/* Input Fields */
.form-container input,
.form-container textarea {
    width: 100%;
    padding: 12px;
    border-radius: 5px;
    border: 1px solid #ccc;
    margin-bottom: 18px;
    font-size: 1rem;
    box-sizing: border-box;
    transition: border 0.2s;
}

.form-container input:focus,
.form-container textarea:focus {
    border-color: #3498db;
    outline: none;
}

.form-container textarea {
    resize: vertical;
    min-height: 80px;
    max-height: 200px;
}

.form-container button {
    flex: 1;
    padding: 0.75rem;
    border-radius: 5px;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: background 0.1s;
}

.form-container button[type="submit"] {
    background: #3498db;
    color: #fff;
}

.form-container button[type="button"] {
    background: #e74c3c;
    color: #fff;
    align-items: start;
}
.form-container button[type="button"]:hover {
    background: #c0392b;
}
.form-container button[type="submit"]:hover {
    background: #2980b9;
}

.form-container.active {
    right: 0;
}
@media (min-width: 600px) {
    .form-container h3 {
        font-size: 1.6rem;
        padding-bottom: 1.125rem;
    }
}
.appointment:hover {
    background-color: #c0392b;
}

hr {
    height: 0.09px;
    background-color: #a8a9b4;
    overflow: hidden;
    padding-left: 2;
}
@media (max-width: 768px) {
    .header {
        height: auto;
        display: flex;
        justify-content: space-around;
        align-items: center;
        padding: 10px 20px;
        position: relative;
    }

    .header-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
        padding: 0rem 2rem 0rem 2rem;
    }

    .left-section {
        justify-content: center;
        align-items: center;
        margin-bottom: 10px;
        gap: 10px;
    }

    /* .language-switch {
    position: static;
    margin-top: 10px;
    justify-content: flex-end;
  } */

    h1 a {
        font-size: 1.3rem;
    }

    .logo {
        width: 80px;
    }

    .social-icons {
        margin-top: 10px;
        right: 8rem;
    }

    .icon {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
    .news-grid {
        width: 80vw;
        padding: 0rem 0rem 1rem 0rem;
    }
    .appointment {
        margin: 0%;
    }
}

.body-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: white;
    padding: 2.813rem 2.813rem 2.813rem 2.813rem;
    text-align: justify;
    flex-grow: 1;
}
.culture-1 {
    padding: 0.313rem;
    margin-right: 0.414rem;
}
.news-feed {
    background: white;
    padding: 1rem;
    /* border-radius: 5px; */
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(250px, 1fr));
    /* grid-template-columns: repeat(1,2fr); */

    gap: 5rem;
    padding: 1rem;
}

.news-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.news-item.single {
    flex-direction: column;
}

.news-item.single img {
    width: 100%;
    height: auto;
}

.news-item.single .news-title {
    font-size: 1.2rem;
}

.news-item img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 5px;
}
.news-item-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.news-item-link * {
    text-decoration: none !important;
}

.middle-section {
    display: flex;
    flex-wrap: wrap;

    justify-content: space-between;
    gap: 20px;
}
.mfa-news {
    flex: 1;
    background: white;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}

.mfa-item {
    padding: 1rem;
}
.social-media {
    flex: 1;
    background: white;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}

.fb-page {
    width: 100%;
    height: 100px;
    border: none;
}

/* Bottom Block: Buttons */
.bottom-block {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    width: 100%;
}

.info-btn {
    background-color: #d4d4d4;
    padding: 12px 20px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    border-radius: 5px;
    transition: background 0.3s;
}

.info-btn:hover {
    background-color: #bbb;
}

/* Responsive */
@media (max-width: 768px) {
    .html {
        overflow: hidden;
        padding: 0%;
    }
    .body-container {
        width: 100%;
        padding: 0;
        margin: 0;
    }
    .middle-section {
        flex-direction: column;
    }

    .news-grid {
        grid-template-columns: 1fr;
        width: 100%;
    }

    .news-item {
        flex-direction: column;
        align-items: flex-start;
        text-decoration: none;
    }

    .news-item img {
        width: 10rem;
        max-width: 50rem;
        height: auto;
    }


    .news-content {
        text-align: start;
        padding-left: 0%;
    }
    .bottom-block {
        flex-direction: column;
        align-items: center;
    }
}
@media screen and (max-width: 768px) {
    .fb-page {
        width: 100% !important;
        height: 500px !important;
        display: flex;
        justify-content: center;
    }
}
@media screen and (max-width: 1000px) {
    .middle-section {
        flex-direction: column;
    }

    .news-grid {
        grid-template-columns: 1fr;
        width: 100% !important;
    }
    .fb-page {
        width: 100% !important;
        height: 500px !important;
        display: flex;
        justify-content: center;
    }
}

.footer {
    display: flex;
    flex-direction: column; /* Stack items vertically */
    justify-content: center;
    align-items: center;
    background-color: #282c47;
    color: white;
    padding: 1.25rem; /* Use padding instead of margin */
    width: 100%;
}

.footer-content {
    display: flex;
    flex-direction: column; /* Stack sections vertically */
    gap: 1rem; /* Add spacing between sections */
    text-align: center; /* Center-align text */
}

.footer-left,
.footer-right {
    display: flex;
    flex-direction: column; /* Align text vertically */
}

.coat-of-arms {
    width: 10rem;
    height: auto; /* Maintain aspect ratio */
    /* padding-right: 2rem; */
    padding-left: 6rem;
    padding-bottom: 1rem;
}
.copyright {
    padding-top: 1rem;
    font-size: 0.8rem;
}
.footer-right p {
    font-size: 0.9rem;
}

/* Enhanced Styles for Larger Screens */
@media (min-width: 768px) {
    .footer-content {
        flex-direction: row; /* Arrange sections horizontally */
        justify-content: space-between; /* Space out sections evenly */
        align-items: center; /* Align items vertically */
        gap: 2rem; /* Increase spacing between sections */
        width: 100%;
    }
    .coat-of-arms {
        padding-left: 1rem;
        width: 5rem;
        /* padding-top: 2rem; */
    }

    .footer-left {
        /* width: 20%; */
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 1rem;
    }
    .footer-right {
        display: flex;
        flex-direction: row;
        align-items: left;
        gap: 1rem;
    }

    .footer-right p {
        padding-bottom: 1rem;
        text-align: left;
        line-height: 1.8;
    }
    .footer-left p {
        line-height: 1.7;
        text-align: left;
    }
}

.ambassador-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 2rem;
}

.ambassador-heading {
    align-self: flex-start;
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
}
.ambassador-content {
    text-align: center;
    max-width: 50rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 1rem;
    padding-left: 100rem 0rem;
}

.ambassador-name {
    font-size: 1.3rem;
    font-weight: bold;
    color: #222;
}

.ambassador-designation {
    font-size: 1rem;
    color: #444;
}

.ambassador-img {
    width: 22rem;
    height: auto;
    border-radius: 10px;
    display: block;
}

.ambassador-body {
    align-self: flex-start;
    font-size: 1rem;
    color: #555;
    line-height: 1.5;
    padding: 1rem;
}
.ambassador-body h3 {
    color: #000;
}
.dob {
    font-weight: bold;
    line-height: 3rem;
}
.experience {
    font-weight: bold;
    line-height: 3rem;
}

.education {
    font-weight: bold;
    line-height: 3rem;
}

.structure-section {
    display: flex;
    flex-direction: column;
}
.structure-heading {
    font-size: 1.5rem;
    font-weight: bold;
    color: #000;
}
.counsellor {
    font-weight: bold;
    font-style: italic;
}
.second {
    font-weight: bold;
    font-style: italic;
}

.assistant {
    font-weight: bold;
    font-style: italic;
}
.consul {
    font-weight: bold;
    font-style: italic;
}

.structure-body {
    font-size: 1rem;
    color: #555;
    padding-top: 2rem;
}

.consul-content {
    padding-bottom: 2rem;
    font-style: italic;
}

.counsellor-content {
    padding-bottom: 2rem;
    font-style: italic;
}

.second-content {
    padding-bottom: 2rem;
    font-style: italic;
}

.structure-item {
    margin-bottom: 20px;
}

.structure-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: #000;
}

.structure-name {
    font-size: 1rem;
    color: #555;
}

.working-hours-section p {
    padding-bottom: 1rem;
}

.working-hours-heading {
    padding-bottom: 1rem;
}

.gallery-heading {
    padding-bottom: 2rem;
}

.pdf a {
    text-decoration: none;
}

.photo-box {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}
.pic-box {
    width: 30%;
}
.pic-box img {
    width: 18rem;
}
.photo-title {
    padding-top: 1rem;
    font-size: 1rem;
    font-weight: bold;
    color: #333;
}

.date {
    font-style: italic;
}

.consular p {
    padding-top: 1rem;
    font-size: 1.2rem;
}

.service-list {
    padding-top: 1rem;
    font-size: 1.1rem;
}
.passport-heading {
    padding-bottom: 1rem;
}
.passport-body p {
    font-size: 1rem;
    padding-bottom: 1rem;
}
.require li {
    padding: 0rem 0rem 1rem 0.5rem;
    font-size: 1rem;
}
.registration-heading {
    padding-bottom: 1rem;
    font-size: 1.2rem;
}

.registration-body p {
    font-size: 1.1rem;
    padding-bottom: 1rem;
}

.notary-heading {
    padding-bottom: 1rem;
}

.notary-body p {
    font-size: 1.1rem;
    padding-bottom: 1rem;
}

.notary-list li {
    padding-bottom: 1rem;
}

.residency-heading {
    padding-bottom: 1rem;
}

.residency-body p {
    font-size: 1.1rem;
    padding-bottom: 1rem;
}

.residency-list li {
    padding-bottom: 1rem;
}
.advice-heading {
    padding-bottom: 1rem;
}
.advice-content {
    font-size: 1.2rem;
    padding-bottom: 1rem;
}

.criminal-heading {
    padding-bottom: 1.2rem;
}
.criminal-body p {
    font-size: 1.1rem;
    padding-bottom: 1.5rem;
}
.map-responsive {
    position: relative;
    width: 100%;
    padding-bottom: 44.6%; /* 560/1256 = 44.6% for your original aspect ratio, or use 56.25% for 16:9 */
    height: 0;
    overflow: hidden;
}

.map-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.news {
    display: grid;
    grid-template-columns: repeat(1, minmax(500px, 1fr));
    padding: 1rem;
    gap: 1.2rem;
}

.news img {
    width: 200px;
    height: auto;
    max-height: 200px;
    object-fit: cover;
    border-radius: 5px;
}

.links a {
    text-decoration: none;
    color: #0ba5cc;
}
.university img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
}
.faqs li {
    padding: 1rem;
}
.hamburger {
    display: block;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    position: fixed;
}

.bar {
    width: 30px;
    height: 2px;
    background-color: #fff;
    transition: all 0.4s ease;
}
.hamburger.active .top-bar {
    transform: rotate(45deg) translateY(3px);
    margin: 0;
}

.hamburger.active .middle-bar {
    opacity: 0;
    margin: 0;
}

.hamburger.active .bottom-bar {
    transform: rotate(-45deg) translateY(-3px);
    margin: 0;
}
@media (max-width: 768px) {
    .hamburger {
        position: absolute;
        right: 20px;
        bottom: 0.1rem;
        z-index: 1001;
        cursor: pointer;
    }

    .hamburger.active {
        bottom: 0.5rem;
    }
    .hamburger span {
        display: flex;
        height: 2px;
        background: white;
        margin: 5px 5px;
        transition: 0.3s;
        transform-origin: center;
    }

    .rightsidebar {
        background: #3b3f5f;
        right: 0;
        position: fixed;
        overflow-y: auto;
        height: 60vh;
        width: 322px;
        transform: translateX(100%);
        transition: transform 0.8s ease;
        z-index: 99;
    }

    .rightsidebar.active {
        transform: translateX(0);
    }
    .no-scroll {
        overflow: hidden;
        height: 100vh;
    }
    #sidebar {
        display: none;
    }
}
@media (min-width: 769px) {
    #mobileSidebar {
        display: none;
    }
}

.section-heading {
    color: #000 !important;
    font-size: 2rem;
    font-weight: 700;
    text-align: left !important;
}

.news-content .date {
    font-size: 0.92rem;
}

.news-title {
    font-size: 1rem;
}
