/* ===========================
   Global Styles
   =========================== */
:root {
    --primary-color: #1a5f7a;
    --secondary-color: #86c232;
    --highlight-color: #e63946;
    --dark-bg: #2c3e50;
    --light-bg: #ecf0f1;
    --text-dark: #2c3e50;
    --text-light: #ffffff;
    --border-radius: 8px;
    /* Design System Colors - DRC + Lebanon */
    --kin-blue: #007fff;
    --kin-yellow: #f7d618;
    --kin-red: #ce1021;
    --cedar-green: #2e7d32;
    --header-height: 120px;
    --header-extra: 12px; /* top color lines, borders, safe offset */
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    padding-top: 0;
    background-color: #f8f9fa;
}

html {
    scroll-behavior: smooth;
    overflow-y: scroll; /* Force scrollbar space to prevent layout shift */
}

main {
    margin: 0;
    padding: 0;
}

.custom-container {
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 576px) {
    .custom-container {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .custom-container {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .custom-container {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .custom-container {
        max-width: 1200px;
    }
}

@media (min-width: 1600px) {
    .custom-container {
        max-width: 1600px;
    }
}

.embassy-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}


.header-main {
    background: linear-gradient(135deg, rgba(26, 95, 122, 0.88) 0%, rgba(0, 127, 255, 0.82) 100%);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 2px 15px rgba(0, 127, 255, 0.2);
    padding: 0.5rem 0;
    border-bottom: 2px solid rgba(247, 214, 24, 0.3);
}

.brand-section {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.embassy-logo {
    height: 60px;
    width: 60px;
    object-fit: contain;
    border-radius: 4px;
    border: none;
    background: transparent;
    display: block;
}

.embassy-title-stack {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.title-line1 {
    font-size: 0.95rem;
    font-weight: 600;
    color: white;
    white-space: nowrap;
}

.title-part1 {
    color: white;
}

.title-part2 {
    color: var(--kin-red);
}

.title-line2 {
    font-size: 0.8rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    white-space: nowrap;
}

.btn-language {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-language:hover,
.btn-language:focus {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    color: white;
}

.header-search-form .input-group {
    position: relative;
    background-color: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.header-search-form .input-group:hover,
.header-search-form .input-group:focus-within {
    background-color: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
}

.header-search-form .search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.7);
    z-index: 1;
    pointer-events: none;
}

.search-input-header {
    background: transparent;
    border: none;
    padding: 0.75rem 1rem 0.75rem 2.75rem;
    font-size: 0.9rem;
    color: white;
    width: 100%;
}

.search-input-header::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.search-input-header:focus {
    box-shadow: none;
    outline: none;
    background: transparent;
    color: white;
}

.btn-auth-signin {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-auth-signin:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
}

.btn-auth-register {
    background-color: var(--kin-red);
    border: 1px solid var(--kin-yellow);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-auth-register:hover {
    filter: brightness(1.1);
    color: white;
}

.header-nav-inline {
    display: flex;
    align-items: center;
}

.navbar-nav-inline {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 1.75rem;
    align-items: center;
}

.nav-item-inline {
    position: relative;
}

.nav-link-inline {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
    padding: 0.5rem 0;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    text-shadow: 0 1px 2px rgba(0,0,0,0.35);
    text-decoration: none;
    display: block;
}

.nav-link-inline:hover {
    color: var(--kin-yellow);
    transform: scale(1.05);
}

.nav-link-inline.active {
    color: white;
    font-weight: 600;
}

.nav-underline-active {
    height: 2px;
    width: 100%;
    background-color: var(--kin-yellow);
    margin-top: 0.25rem;
}

.mobile-nav {
    padding: 1rem 0;
}

.mobile-nav .navbar-nav {
    gap: 0;
}

.mobile-nav .nav-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav .nav-link {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
    padding: 0.75rem 0;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
}

.mobile-nav .nav-link:hover,
.mobile-nav .nav-link.active {
    color: var(--kin-yellow);
}

.mobile-language-selector {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem 0;
}

.mobile-lang-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.mobile-lang-link:hover,
.mobile-lang-link.active {
    color: var(--kin-yellow);
}

.navbar-toggler {
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1.5rem;
    padding: 0.5rem 0.75rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    text-shadow: 0 1px 2px rgba(0,0,0,0.35);
}

.navbar-toggler:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.7);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25);
}

@media (max-width: 1399px) {
    .navbar-nav-inline {
        gap: 1.5rem;
    }

    .nav-link-inline {
        font-size: 0.9rem;
    }
}

@media (max-width: 1199px) {
    .navbar-nav-inline {
        gap: 1rem;
    }

    .nav-link-inline {
        font-size: 0.85rem;
    }

    .embassy-logo {
        height: 50px;
        width: 50px;
    }

    .title-line1 {
        font-size: 0.85rem;
    }

    .title-line2 {
        font-size: 0.7rem;
    }

    .btn-language {
        padding: 0.4rem 0.75rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 991px) {
    .embassy-logo {
        height: 45px;
        width: 45px;
    }

    .embassy-title-stack {
        display: none;
    }
}

/* ===========================
   Language Selector Styles
   =========================== */
.language-selector {
    position: relative;
    z-index: 1050;
}

.btn-language {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    border-radius: 50px;
}

.btn-language:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
    transform: translateY(-2px);
}

.btn-language:focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25);
    color: white;
}

    .btn-language .flag-icon {
        /*    font-size: 1.2rem;*/
        font-size: 0.65rem;
        line-height: 1;
    }

.btn-language .lang-name {
    font-size: 0.95rem;
}

.language-dropdown {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    min-width: 180px;
    z-index: 1050;
    position: relative;
}

.language-dropdown .dropdown-item {
    padding: 0.75rem 1.25rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.2s ease;
    font-weight: 500;
}

.language-dropdown .dropdown-item:hover {
    background: rgba(26, 95, 122, 0.1);
    color: var(--primary-color);
}

.language-dropdown .dropdown-item.active {
    background: linear-gradient(135deg, var(--primary-color) 0%, #2d7a99 100%);
    color: white;
}

.language-dropdown .dropdown-item.active:hover {
    background: linear-gradient(135deg, #2d7a99 0%, var(--primary-color) 100%);
    color: white;
}

.language-dropdown .flag-icon {
    font-size: 1.3rem;
    line-height: 1;
}

.language-dropdown .lang-name {
    flex-grow: 1;
    font-size: 0.95rem;
}

.language-dropdown .bi-check-lg {
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
}

/* Mobile Menu Styles */
@media (max-width: 991px) {
    :root {
        --header-height: 96px;
    }
    .embassy-logo {
        height: 50px;
    }

    .embassy-title .title-normal {
        font-size: 0.95rem;
    }

    .embassy-title .title-highlight {
        font-size: 1.15rem;
    }

    .embassy-title .subtitle {
        font-size: 0.8rem;
    }

    .search-container {
        padding: 0 15px;
    }

    .header-bottom .navbar-collapse {
        background: rgba(26, 95, 122, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 1rem;
        border-radius: var(--border-radius);
        margin-top: 0.5rem;
        border: 1px solid rgba(255, 255, 255, 0.2);
    }

    .header-bottom .navbar-nav {
        flex-direction: column;
        gap: 0;
    }

    .header-bottom .nav-link {
        padding: 0.75rem 1rem !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .header-bottom .nav-link:hover::after {
        width: 0;
    }
}

@media (max-width: 576px) {
    :root {
        --header-height: 84px;
    }
    .embassy-logo {
        height: 45px;
    }

    .embassy-title .title-normal {
        font-size: 0.85rem;
    }

    .embassy-title .title-highlight {
        font-size: 1rem;
    }

    .embassy-title .subtitle {
        font-size: 0.75rem;
    }

    .search-input {
        font-size: 0.85rem;
        padding: 0.75rem 1.25rem;
    }

    .btn-search {
        padding: 0.75rem 1.25rem;
        font-size: 1rem;
    }
}

/* ===========================
   Hero Section Styles
   =========================== */
.hero-section {
    position: relative;
    min-height: calc(100vh + 160px);
    height: auto;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
/*    margin-top: calc(-1 * (var(--header-height) + var(--header-extra)));*/
/*    padding-top: calc(var(--header-height) + var(--header-extra));*/
}

/* Hero overlay removed - showing only background image */

.hero-content {
    position: relative;
    z-index: 2;
    padding: 4rem 2rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-light);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
    max-width: 800px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 100vh;
        height: auto;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-content {
        padding: 2rem 1rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        min-height: 80vh;
        height: auto;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }
}

/* ===========================
   Footer Styles - Clean Design with City Sketch
   =========================== */
.embassy-footer {
    background: #f8f9fa;
    color: #2c3e50;
/*    margin-top: 0 !important;*/
    position: relative;
}

/* Accent Top Border with Flag Colors */
.footer-top-line {
    height: 4px;
    width: 100%;
    background: linear-gradient(to right,
        var(--kin-blue) 0%,
        var(--kin-blue) 33%,
        var(--cedar-green) 33%,
        var(--cedar-green) 66%,
        var(--kin-red) 66%,
        var(--kin-red) 100%);
    box-shadow: 0 2px 8px rgba(0, 127, 255, 0.2);
}

.footer-main {
    padding-top: 2.5rem;
    padding-bottom: 1.5rem;
    position: relative;
    z-index: 2;
    margin-bottom: 0;
}

/* Footer Brand */
.footer-brand {
    margin-bottom: 1rem;
}

.footer-logo {
    height: 45px;
    width: 45px;
    object-fit: contain;
    border-radius: 8px;
    border: 2px solid var(--primary-color);
    padding: 5px;
    background: rgba(26, 95, 122, 0.05);
}

.footer-site-name {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary-color);
}

.footer-heading {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.6rem;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--kin-blue);
}

.footer-text {
    color: #555;
    line-height: 1.7;
    font-size: 0.9rem;
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.7rem;
}

.footer-links a {
    color: #495057;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    position: relative;
}

.footer-links a::before {
    content: '▸';
    margin-right: 0.5rem;
    color: var(--kin-blue);
    transition: all 0.3s ease;
    font-size: 0.8rem;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-links a:hover::before {
    margin-right: 0.75rem;
    color: var(--kin-yellow);
}

/* Footer Hours Card */
.footer-hours {
    display: flex;
    flex-direction: column;
}

.footer-hours i {
    color: var(--kin-blue);
    font-size: 1.2rem;
}

.hours-card {
    background: rgba(26, 95, 122, 0.08);
    border: 2px solid rgba(0, 127, 255, 0.25);
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 2px 8px rgba(0, 127, 255, 0.1);
}

.hours-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(0, 127, 255, 0.15);
    font-size: 0.9rem;
}

.hours-row:last-child {
    border-bottom: none;
}

.hours-day {
    color: #6c757d;
    font-weight: 500;
}

.hours-time {
    color: var(--primary-color);
    font-weight: 600;
}

/* City Sketch Section - Directly above copyright */
.footer-sketch-separator {
    position: relative;
    height: 120px;
    background: #f8f9fa;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.footer-sketch-separator::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 160px;
    background: url('/images/footer-sketch-4.png') repeat-x center bottom;
    background-size: auto 100%;
    opacity: 0.5;
    z-index: 1;
    pointer-events: none;
}

/* Footer Bottom with Copyright */
.footer-bottom {
    background: #ffffff;
    border-top: none;
    position: relative;
    z-index: 2;
    margin: 0;
    padding: 0;
}

.footer-bottom p {
    color: #495057;
    font-size: 0.85rem;
}

.footer-bottom-link {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
    font-weight: 500;
}

.footer-bottom-link:hover {
    color: var(--kin-blue);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .footer-sketch-separator {
        height: 80px;
    }

    .footer-sketch-separator::after {
        height: 80px;
    }
}

/* Additional Mobile Footer Adjustments */
@media (max-width: 768px) {
    .footer-main {
        padding-top: 2rem;
        padding-bottom: 1rem;
    }

    .footer-heading {
        text-align: center;
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .footer-heading::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-text {
        text-align: center;
        font-size: 0.85rem;
    }

    .footer-brand {
        justify-content: center;
    }

    .footer-links {
        text-align: center;
    }

    .footer-links a::before {
        margin-right: 0.25rem;
    }

    .footer-links li {
        margin-bottom: 0.6rem;
    }

    .hours-card {
        margin: 0 auto;
        max-width: 320px;
    }
}

/* ===========================
   Utility Classes
   =========================== */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    margin-bottom: 2rem;
}

/* ===========================
   Animations
   =========================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content {
    animation: fadeInUp 0.8s ease-out;
}

/* ===========================
   Hero Slider Section - New Design
   =========================== */
.hero-slider-section {
    position: relative;
    height: 100vh;
    min-height: 100vh;
    width: 100%;
    overflow: hidden;
    padding-top: 94px;
}

.hero-slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transition: opacity 1200ms ease;
}

.hero-slide.active img {
    opacity: 1;
}

.hero-slide:not(.active) img {
    opacity: 0;
}

.hero-overlay {
/*    position: absolute;
    inset: 0;
    background-color: rgba(15, 23, 42, 0.4);
    z-index: 1;*/
}

.hero-content-new {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    padding: 2rem;
}

.hero-text-center {
    text-align: center;
    color: white;
    max-width: 1024px;
}

.hero-title-new {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 2px 2px 12px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 0, 0, 0.6);
}

.hero-subtitle-new {
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    text-shadow: 1px 1px 8px rgba(0, 0, 0, 0.8), 0 0 15px rgba(0, 0, 0, 0.6);
    font-weight: 500;
}

.hero-cta-button {
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
/*    border: 2px solid rgba(255, 255, 255, 0.4);*/
    color: white;
    padding: 0.85rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-cta-button:hover {
    background-color: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.6);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.hero-cta-button-red {
    background: var(--cedar-green)
/*    border: 2px solid rgba(255, 255, 255, 0.5);*/
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.hero-cta-button-red:hover {
    background: linear-gradient(135deg, #e03131 0%, #f03e3e 100%);
    border-color: rgba(255, 255, 255, 0.7);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(201, 42, 42, 0.4);
}

@media (max-width: 768px) {
    .hero-slider-section {
        height: 100vh;
        min-height: 100vh;
    }

    .hero-title-new {
        font-size: 2rem;
    }

    .hero-subtitle-new {
        font-size: 1rem;
    }
}

/* ===========================
   Section Styles - New Design
   =========================== */
.section-container {
    padding: 3rem 0;
/*    background-color: white;*/
    padding-top: 100px;
}

.section-header-new {
    margin-bottom: 1.5rem;
    text-align: left;
}

.section-title-new {
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.title-indicator {
    display: inline-block;
    height: 24px;
    width: 4px;
    background-color: var(--cedar-green);
    border-radius: 2px;
}

.section-caption {
    color: #6c757d;
    font-size: 1rem;
}

/* ===========================
   Card Styles - New Design
   =========================== */
.card-new {
    background: white;
    border: 1px solid var(--kin-blue);
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card-new:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.card-header-new {
    margin-bottom: 1rem;
}

.card-title-new {
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-dark);
}

.card-title-indicator {
    display: inline-block;
    height: 8px;
    width: 8px;
    background-color: var(--kin-red);
    border-radius: 50%;
}

.card-description {
    color: #6c757d;
    font-size: 0.875rem;
    line-height: 1.6;
}

/* Service Card Enhancements */
.service-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.card-new-enhanced {
    position: relative;
    border: 2px solid #e9ecef;
    border-radius: 16px;
    padding: 2rem 1.75rem;
    overflow: hidden;
}

.card-new-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--cedar-green), var(--kin-red));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.card-new-enhanced:hover::before {
    transform: scaleX(1);
}

.card-new-enhanced:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 24px rgba(26, 95, 122, 0.15);
    transform: translateY(-4px);
}

.service-card-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(26, 95, 122, 0.1), rgba(0, 71, 171, 0.1));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    transition: all 0.3s ease;
}

.service-card-icon i {
    font-size: 1.75rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.card-new-enhanced:hover .service-card-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--kin-blue));
    transform: scale(1.1);
}

.card-new-enhanced:hover .service-card-icon i {
    color: white;
    transform: rotate(10deg);
}

.card-new-enhanced .card-title-new {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    line-height: 1.4;
}

.card-new-enhanced .card-description {
    flex: 1;
    margin-bottom: 1rem;
    line-height: 1.7;
}

.service-card-footer {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.service-learn-more {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.card-new-enhanced:hover .service-learn-more {
    color: var(--kin-blue);
    gap: 0.5rem;
}

.card-new-enhanced:hover .service-learn-more i {
    transform: translateX(4px);
}

/* ===========================
   Visa Section Styles
   =========================== */
.visa-category-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.visa-category-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--kin-blue);
    margin-bottom: 1rem;
}

.visa-bullets {
    list-style: disc;
    padding-left: 1.25rem;
    margin-bottom: 1rem;
    flex: 1;
}

.visa-bullets li {
    font-size: 0.875rem;
    color: #6c757d;
    margin-bottom: 0.5rem;
}

.visa-badge {
    display: inline-block;
    background-color: var(--kin-yellow);
    color: #1f2937;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-right: 0.5rem;
}

.visa-note {
    font-size: 0.75rem;
    color: #9ca3af;
}

/* ===========================
   Announcements/News Section - New Design
   =========================== */
.announcement-card-new {
    background: white;
    border: 1px solid var(--kin-blue);
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.announcement-card-new:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.announcement-header-new {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.badge-new {
    background-color: var(--kin-blue);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.announcement-date-new {
    font-size: 0.75rem;
    color: #9ca3af;
}

.announcement-title-new {
    font-size: 1rem;
    font-weight: 600;
    color: var(--kin-red);
    margin-bottom: 0.5rem;
}

.announcement-text-new {
    font-size: 0.875rem;
    color: #6c757d;
    line-height: 1.6;
}

.emergency-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1.5rem;
}

.emergency-icon-box {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background-color: rgba(206, 16, 33, 0.1);
    border: 1px solid var(--kin-red);
    border-radius: 12px;
    padding: 0.75rem;
}

.emergency-icon {
    color: var(--kin-red);
    font-size: 1.25rem;
}

/* ===========================
   Visit/Contact Section Styles
   =========================== */
.visit-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1.5rem;
}

.visit-card-title {
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.visit-card-description {
    color: #6c757d;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.map-container-new {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--kin-blue);
}

.map-note {
    font-size: 0.75rem;
    color: #9ca3af;
    margin-top: 0.5rem;
}

.contact-form-new {
    display: grid;
    gap: 0.75rem;
}

.form-group-new {
    display: grid;
    gap: 0.5rem;
}

.form-label-new {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-dark);
}

.form-input-new,
.form-textarea-new {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 0.875rem;
}

.form-input-new:focus,
.form-textarea-new:focus {
    outline: none;
    border-color: var(--kin-blue);
    box-shadow: 0 0 0 3px rgba(0, 127, 255, 0.1);
}

.btn-submit-new {
    background-color: var(--kin-blue);
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-submit-new:hover {
    filter: brightness(1.1);
}

/* ===========================
   Forms Section Styles
   =========================== */
.forms-section-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1.5rem;
}

.form-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem;
    border: 1px solid var(--kin-blue);
    border-radius: 12px;
}

.form-item-name {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-dark);
}

.btn-download {
    background: transparent;
    border: 1px solid var(--kin-red);
    color: var(--kin-red);
    padding: 0.375rem 1rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-download:hover {
    background-color: var(--kin-red);
    color: white;
}

/* ===========================
   FAQs Section - New Design
   =========================== */
.faq-item-new {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
}

.faq-button {
    width: 100%;
    background: white;
    border: none;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
}

.faq-button:hover {
    background-color: #f9fafb;
}

.faq-button:not(.collapsed) {
    background-color: var(--kin-blue);
    color: white;
}

.faq-button:not(.collapsed) .faq-question i {
    color: white;
}

.faq-button:focus {
    outline: none;
    box-shadow: none;
}

.faq-question {
    display: flex;
    align-items: center;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    flex: 1;
}

.faq-button:not(.collapsed) .faq-question {
    color: white;
}

.faq-question i {
    color: var(--kin-blue);
    font-size: 1.25rem;
}

.faq-icon {
    font-size: 1.25rem;
    transition: transform 0.3s ease;
    color: var(--text-dark);
}

.faq-button:not(.collapsed) .faq-icon {
    transform: rotate(180deg);
    color: white;
}

.faq-answer {
    padding: 1.25rem 1.5rem;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #6c757d;
    background-color: #f9fafb;
}

/* ===========================
   News & Articles - New Design
   =========================== */
.news-card-new {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news-card-new:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

.news-image-new {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.news-image-new img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card-new:hover .news-image-new img {
    transform: scale(1.05);
}

.news-overlay-new {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.4) 0%, transparent 50%);
}

.news-content-new {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-date-new {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--kin-blue);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.news-title-new {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-excerpt-new {
    font-size: 0.875rem;
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-read-more {
    color: var(--kin-blue);
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.news-read-more:hover {
    color: var(--kin-red);
    gap: 0.5rem;
}

.btn-view-all {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 2rem;
    background-color: var(--kin-blue);
    color: white;
    border-radius: 50px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-view-all:hover {
    background-color: var(--kin-red);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 127, 255, 0.3);
}

/* ===========================
   Page Wrapper & Page Header
   =========================== */
.page-wrapper {
    min-height: 100vh;
    background-color: #f8f9fa;
}

.page-header-section {
    background: linear-gradient(135deg, var(--kin-blue) 0%, #005bb5 100%);
    padding: calc(var(--header-height) + var(--header-extra) + 2rem) 0 2.5rem 0;
    margin-top: 0;
    color: white;
    position: relative;
    overflow: hidden;
}

.page-header-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.page-header-icon {
    width: 72px;
    height: 72px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.page-header-content {
    padding: 0;
    position: relative;
    z-index: 1;
}

.page-title {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin: 0;
}

.page-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    margin: 0.5rem 0;
}

.breadcrumb-new {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0.75rem 0 0 0;
    font-size: 0.875rem;
}

.breadcrumb-item-new {
    display: flex;
    align-items: center;
}

.breadcrumb-item-new a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item-new a:hover {
    color: white;
}

.breadcrumb-item-new.active {
    color: white;
    font-weight: 500;
}

.breadcrumb-item-new + .breadcrumb-item-new::before {
    content: "/";
    margin-right: 0.5rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ===========================
   Service Listing Page Styles
   =========================== */
.service-card-list {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.service-card-list:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
    border-color: var(--kin-blue);
}

.service-card-header {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.service-card-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.4;
}

.service-card-description {
    font-size: 0.875rem;
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex: 1;
}

.service-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #6c757d;
}

.meta-item i {
    color: var(--kin-blue);
    font-size: 1rem;
}

.btn-service-more {
    color: var(--kin-blue);
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.btn-service-more:hover {
    color: var(--kin-red);
    gap: 0.5rem;
}

/* Service Card List Enhanced */
.service-card-list-enhanced {
    position: relative;
    border: 2px solid #e9ecef;
    border-radius: 16px;
    padding: 2rem;
    overflow: hidden;
}

.service-card-list-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--kin-blue), var(--cedar-green), var(--kin-red));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card-list-enhanced:hover::before {
    transform: scaleX(1);
}

.service-card-list-enhanced:hover {
    border-color: var(--primary-color);
    box-shadow: 0 12px 32px rgba(26, 95, 122, 0.18);
    transform: translateY(-6px);
}

.service-card-icon-large {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(26, 95, 122, 0.1), rgba(0, 71, 171, 0.1));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
}

.service-card-icon-large i {
    font-size: 2rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.service-card-list-enhanced:hover .service-card-icon-large {
    background: linear-gradient(135deg, var(--primary-color), var(--kin-blue));
    transform: scale(1.15) rotate(-5deg);
    box-shadow: 0 8px 16px rgba(26, 95, 122, 0.3);
}

.service-card-list-enhanced:hover .service-card-icon-large i {
    color: white;
    transform: scale(1.1);
}

.service-card-list-enhanced .service-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.875rem;
    color: var(--text-dark);
    line-height: 1.4;
}

.service-card-list-enhanced .service-card-description {
    line-height: 1.75;
    margin-bottom: 1.25rem;
}

.service-card-list-enhanced .service-card-meta {
    background: #f8f9fa;
    padding: 0.875rem 1rem;
    border-radius: 10px;
    border: none;
    margin-bottom: 1.25rem;
}

.service-card-list-enhanced .meta-item {
    color: var(--text-dark);
    font-weight: 500;
}

.service-card-list-enhanced .btn-service-more {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95rem;
    padding-top: 1rem;
    border-top: 2px solid #e9ecef;
}

.service-card-list-enhanced:hover .btn-service-more {
    color: var(--kin-blue);
}

/* ===========================
   Detail Pages (News & Services)
   =========================== */
.detail-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 2rem;
}

.detail-header {
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #e5e7eb;
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}

.detail-badge {
    display: inline-block;
    background-color: var(--kin-blue);
    color: white;
    padding: 0.375rem 1rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.detail-date {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #6c757d;
}

.detail-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.3;
}

.detail-image {
    width: 100%;
    margin: 1.5rem 0;
    border-radius: 8px;
    overflow: hidden;
}

.detail-image img {
    width: 100%;
    height: auto;
    display: block;
}

.detail-body {
    padding: 1.5rem 0;
}

.detail-section-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.detail-section-title i {
    color: var(--kin-blue);
}

.detail-text {
    font-size: 1rem;
    line-height: 1.8;
    color: #374151;
}

.detail-footer {
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
    margin-top: 2rem;
}

.detail-share {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.detail-share-label {
    font-weight: 600;
    color: var(--text-dark);
}

.detail-share-buttons {
    display: flex;
    gap: 0.5rem;
}

.btn-share {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e5e7eb;
    background: white;
    border-radius: 50%;
    color: var(--kin-blue);
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-share:hover {
    background: var(--kin-blue);
    color: white;
    border-color: var(--kin-blue);
    transform: translateY(-2px);
}

.btn-back {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    background: white;
    border: 1px solid var(--kin-blue);
    color: var(--kin-blue);
    border-radius: 50px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-back:hover {
    background: var(--kin-blue);
    color: white;
}

/* ===========================
   Sidebar Styles
   =========================== */
.sidebar-card-new {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1.5rem;
}

.sidebar-card-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sidebar-card-title i {
    color: var(--kin-blue);
}

.sidebar-card-text {
    font-size: 0.875rem;
    color: #6c757d;
    margin-bottom: 1rem;
}

.service-info-list-new {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-info-list-new li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f3f4f6;
    font-size: 0.875rem;
}

.service-info-list-new li:last-child {
    border-bottom: none;
}

.info-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #6c757d;
    font-weight: 500;
}

.info-label i {
    color: var(--kin-blue);
}

.info-value {
    font-weight: 600;
    color: var(--text-dark);
}

.btn-sidebar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--kin-blue);
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-sidebar:hover {
    background: var(--kin-red);
    color: white;
    transform: translateY(-2px);
}

.btn-sidebar-outline {
    background: white;
    color: var(--kin-blue);
    border: 1px solid var(--kin-blue);
}

.btn-sidebar-outline:hover {
    background: var(--kin-blue);
    color: white;
}

/* ===========================
   Empty State
   =========================== */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
}

.empty-state h3 {
    color: var(--text-dark);
    font-weight: 600;
}

/* ===========================
   Embassy Message Styles
   =========================== */
.embassy-message-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.embassy-message-card {
    background: white;
    border-left: 5px solid var(--highlight-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    gap: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.embassy-message-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.message-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--highlight-color) 0%, #c23646 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.message-content {
    flex: 1;
}

.message-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.message-description {
    font-size: 1rem;
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.message-date {
    font-size: 0.875rem;
    color: #999;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

@media (max-width: 768px) {
    .embassy-message-card {
        flex-direction: column;
        text-align: center;
    }

    .message-icon {
        margin: 0 auto;
    }
}

/* ===========================
   Services Section Styles
   =========================== */
.services-section {
    background-color: white;
}

.service-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: var(--border-radius);
    padding: 2rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(26, 95, 122, 0.15);
    border-color: var(--primary-color);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #0d3f52 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 2rem;
}

.service-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.service-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.service-description {
    font-size: 0.95rem;
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex: 1;
}

.service-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: #999;
}

.service-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.service-fee {
    color: var(--primary-color);
    font-weight: 600;
}

.service-time {
    color: #6c757d;
}

.service-card .btn {
    align-self: flex-start;
    margin-top: auto;
}

@media (max-width: 768px) {
    .service-card {
        margin-bottom: 1.5rem;
    }
}

/* ===========================
   Welcome Section Styles
   =========================== */
.welcome-section {
    background-color: var(--light-bg);
}

.welcome-section .section-title {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 2.5rem;
}

.welcome-section p {
    color: #4a5568;
    font-size: 1.05rem;
    line-height: 1.8;
}

.about-image-container {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
}

.about-image-container img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.about-image-container:hover img {
    transform: scale(1.05);
}

.about-stat {
    padding: 1.5rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
}

.about-stat:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.about-stat i {
    display: block;
    margin: 0 auto;
}

.about-stat h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-top: 0.5rem;
}

.about-stat p {
    font-size: 0.9rem;
    color: #6c757d;
}

/* ===========================
   Announcements Section Styles
   =========================== */
.announcements-section {
    background-color: var(--light-bg);
}

.announcement-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.announcement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.announcement-card.announcement-critical {
    border-left-color: #dc3545;
}

.announcement-card.announcement-important {
    border-left-color: #ff9800;
}

.announcement-card.announcement-advisory {
    border-left-color: #2196f3;
}

.announcement-card.announcement-info {
    border-left-color: #4caf50;
}

.announcement-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.announcement-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.badge-critical {
    background-color: #dc3545;
    color: white;
}

.badge-important {
    background-color: #ff9800;
    color: white;
}

.badge-advisory {
    background-color: #2196f3;
    color: white;
}

.badge-info {
    background-color: #4caf50;
    color: white;
}

.announcement-date {
    font-size: 0.875rem;
    color: #999;
}

.announcement-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.announcement-body {
    font-size: 0.95rem;
    color: #6c757d;
    line-height: 1.6;
}

/* ===========================
   News Section Styles
   =========================== */
.news-section {
    background-color: white;
}

.news-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.news-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.news-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 50%);
}

.news-content {
    padding: 1.5rem;
}

.news-date {
    font-size: 0.875rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.news-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-excerpt {
    font-size: 0.95rem;
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* ===========================
   FAQs Section Styles
   =========================== */
.faqs-section {
    background-color: var(--light-bg);
}

.faq-item {
    background: white;
    border: 1px solid #e0e0e0;
    margin-bottom: 1rem;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.faq-item .accordion-button {
    background-color: white;
    color: var(--text-dark);
    font-weight: 600;
    padding: 1.25rem 1.5rem;
    font-size: 1.05rem;
}

.faq-item .accordion-button:not(.collapsed) {
    background-color: var(--primary-color);
    color: white;
    box-shadow: none;
}

.faq-item .accordion-button:focus {
    box-shadow: none;
    border-color: var(--primary-color);
}

.faq-item .accordion-body {
    padding: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #6c757d;
}

/* ===========================
   Detail Pages Common Styles
   =========================== */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0d3f52 100%);
    padding: 2rem 0 1rem;
}

.page-header .breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 1rem;
}

.page-header .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.page-header .breadcrumb-item.active {
    color: white;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

.page-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
}

/* ===========================
   Service Detail Page
   =========================== */
.service-detail-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.service-header-detail {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #f0f0f0;
}

.service-icon-large {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #0d3f52 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
    flex-shrink: 0;
}

.service-icon-large img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.service-detail-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.service-category-badge {
    display: inline-block;
    padding: 0.35rem 0.85rem;
    background-color: var(--primary-color);
    color: white;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.service-detail-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.service-detail-content p,
.service-requirements,
.service-terms {
    font-size: 1rem;
    line-height: 1.8;
    color: #6c757d;
}

.service-sidebar {
    position: sticky;
    top: 20px;
}

.sidebar-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.sidebar-card h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.service-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-info-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.service-info-list li:last-child {
    border-bottom: none;
}

.service-info-list i {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-top: 0.2rem;
}

/* ===========================
   News Detail Page
   =========================== */
.news-detail-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.news-detail-header {
    margin-bottom: 2rem;
}

.news-detail-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.3;
    margin-bottom: 1rem;
}

.news-detail-meta {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    padding-top: 1rem;
    border-top: 2px solid #f0f0f0;
}

.news-detail-date,
.news-detail-updated {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95rem;
}

.news-detail-image {
    width: 100%;
    height: 400px;
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-bottom: 2rem;
}

.news-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-detail-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #495057;
    margin-bottom: 2rem;
}

.news-detail-footer {
    padding-top: 2rem;
    border-top: 2px solid #f0f0f0;
}

.news-share {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.news-share span {
    font-weight: 600;
    color: var(--text-dark);
}

@media (max-width: 768px) {
    .service-header-detail {
        flex-direction: column;
        text-align: center;
    }

    .news-detail-title {
        font-size: 1.8rem;
    }

    .news-detail-image {
        height: 250px;
    }

    .page-title {
        font-size: 2rem;
    }
}

/* ===========================
   Contact Section Styles
   =========================== */
.contact-section {
    background-color: white;
}

.contact-info-card {
    padding: 2rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, #2d7a99 100%);
    border-radius: var(--border-radius);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    color: white;
}

.contact-info-card h4 {
    color: white;
    font-weight: 700;
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.contact-details h6 {
    color: white;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
    line-height: 1.6;
    font-size: 0.95rem;
}

.contact-details strong {
    color: white;
    font-weight: 600;
}

.contact-form-card {
    padding: 2rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.contact-form-card h4 {
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.contact-form-card .form-label {
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.contact-form-card .form-control,
.contact-form-card .form-select {
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-form-card .form-control:focus,
.contact-form-card .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(26, 95, 122, 0.15);
}

.contact-form-card textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

.contact-form-card .form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.contact-form-card .btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, #2d7a99 100%);
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-form-card .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 95, 122, 0.3);
}

.map-container {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.map-placeholder {
    background: linear-gradient(135deg, var(--light-bg) 0%, #d5dce3 100%);
    padding: 4rem 2rem;
    text-align: center;
    color: var(--text-dark);
}

.map-placeholder i {
    color: var(--primary-color);
    opacity: 0.5;
}

.map-placeholder p {
    color: #6c757d;
    font-style: italic;
}

/* ===========================
   Appointments Section Styles
   =========================== */
.appointments-section {
    background-color: var(--light-bg);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* ===========================
   Announcements Pages Styles
   =========================== */

/* Announcements Listing Page */
.announcement-card-list {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.announcement-card-list:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

.announcement-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.announcement-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0.75rem 0;
    flex: 1;
}

.announcement-card-title a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.announcement-card-title a:hover {
    color: var(--kin-blue);
}

.announcement-card-excerpt {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex: 1;
}

.announcement-read-more {
    color: var(--kin-blue);
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    margin-top: auto;
}

.announcement-read-more:hover {
    color: var(--kin-red);
    gap: 0.5rem;
}

.announcement-read-more i {
    transition: transform 0.3s ease;
}

.announcement-read-more:hover i {
    transform: translateX(4px);
}

/* Announcement Detail Page */
.detail-badge-notice {
    background: linear-gradient(135deg, var(--kin-blue), #0066cc);
}

.detail-badge-advisory {
    background: linear-gradient(135deg, var(--kin-yellow), #e6c300);
    color: var(--text-dark);
}

.detail-badge-alert {
    background: linear-gradient(135deg, var(--kin-red), #a80000);
}

.detail-badge-urgent {
    background: linear-gradient(135deg, #ff4444, #cc0000);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

/* Sidebar Emergency Card */
.sidebar-card-emergency {
    background: linear-gradient(135deg, #fff5f5 0%, #ffe8e8 100%);
    border: 2px solid var(--kin-red);
}

.sidebar-card-emergency .sidebar-card-title {
    color: var(--kin-red);
}

.emergency-contact-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    border-left: 4px solid var(--kin-red);
}

.emergency-contact-info i {
    font-size: 2rem;
    color: var(--kin-red);
}

.emergency-contact-info .fw-semibold {
    color: var(--text-dark);
    font-size: 0.95rem;
}

.emergency-contact-info .text-muted {
    color: #6c757d !important;
    font-size: 0.85rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .announcement-card-list {
        padding: 1rem;
    }

    .announcement-card-title {
        font-size: 1.1rem;
    }

    .announcement-card-excerpt {
        font-size: 0.9rem;
    }
}

/* ===========================
   Announcement Popup Modal
   =========================== */
#announcementPopupModal .modal-content {
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

#announcementPopupModal .modal-header {
    border-bottom: 2px solid #dee2e6;
    padding: 1.25rem 1.5rem;
    border-radius: 12px 12px 0 0;
}

#announcementPopupModal .modal-header.bg-danger .btn-close {
    filter: brightness(0) invert(1);
}

#announcementPopupModal .modal-title {
    font-size: 1.25rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

#announcementPopupModal .modal-title .badge {
    font-size: 0.75rem;
    padding: 0.35em 0.65em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#announcementPopupModal .modal-body {
    padding: 1.5rem;
    max-height: 60vh;
    overflow-y: auto;
}

#announcementPopupImage img {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    border-radius: 8px;
}

#announcementPopupBody {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-dark);
}

#announcementPopupBody h1,
#announcementPopupBody h2,
#announcementPopupBody h3,
#announcementPopupBody h4,
#announcementPopupBody h5,
#announcementPopupBody h6 {
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

#announcementPopupBody p {
    margin-bottom: 0.75rem;
}

#announcementPopupBody ul,
#announcementPopupBody ol {
    margin-left: 1.5rem;
    margin-bottom: 0.75rem;
}

#announcementPopupAttachments {
    background-color: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

#announcementPopupAttachments h6 {
    margin-bottom: 0.75rem;
    color: var(--primary-color);
}

#announcementPopupAttachmentsList li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #dee2e6;
}

#announcementPopupAttachmentsList li:last-child {
    border-bottom: none;
}

#announcementPopupAttachmentsList a {
    color: var(--primary-color);
    transition: color 0.2s ease;
}

#announcementPopupAttachmentsList a:hover {
    color: var(--highlight-color);
}

#announcementPopupAttachmentsList .bi {
    margin-right: 0.5rem;
    font-size: 1.1rem;
}

#announcementPopupModal .modal-footer {
    border-top: 1px solid #dee2e6;
    padding: 1rem 1.5rem;
}

/* Responsive Adjustments for Popup */
@media (max-width: 768px) {
    #announcementPopupModal .modal-dialog {
        margin: 0.5rem;
    }

    #announcementPopupModal .modal-body {
        max-height: 50vh;
        padding: 1rem;
    }

    #announcementPopupImage img {
        max-height: 200px;
    }

    #announcementPopupModal .modal-title {
        font-size: 1rem;
    }

    #announcementPopupBody {
        font-size: 0.9rem;
    }
}

/* RTL Global Adjustments */
[dir="rtl"] body,
body.rtl {
    direction: rtl;
    text-align: right;
}

[dir="rtl"] .page-wrapper,
body.rtl .page-wrapper {
    direction: rtl;
}

[dir="rtl"] .embassy-page,
body.rtl .embassy-page {
    direction: rtl;
}

/* RTL Header Adjustments */
[dir="rtl"] .embassy-header,
body.rtl .embassy-header {
    direction: rtl;
}

/* Brand section - browser handles flex reversal automatically with dir="rtl" */
[dir="rtl"] .embassy-title-stack,
body.rtl .embassy-title-stack {
    text-align: right;
}

/* RTL Brand logo spacing */
[dir="rtl"] .embassy-logo,
body.rtl .embassy-logo {
    margin-right: 0;
    margin-left: 1rem;
}

/* RTL Language Selector - browser handles icon positioning */
[dir="rtl"] .language-dropdown,
body.rtl .language-dropdown {
    text-align: right;
}

/* RTL Language button icon */
[dir="rtl"] .btn-language i,
body.rtl .btn-language i {
    margin-right: 0;
    margin-left: 0.5rem;
}

/* RTL Language selector positioning (left side in RTL) */
[dir="rtl"] .language-selector,
body.rtl .language-selector {
    text-align: left;
}

/* RTL Search Bar */
[dir="rtl"] .search-input-header,
body.rtl .search-input-header {
    padding: 0.75rem 2.75rem 0.75rem 1rem;
}

[dir="rtl"] .header-search-form .search-icon,
body.rtl .header-search-form .search-icon {
    left: auto;
    right: 15px;
}

/* RTL Navigation */
/* Browser handles nav reversal with dir="rtl", no need for flex-direction change */

[dir="rtl"] .nav-underline-active,
body.rtl .nav-underline-active {
    margin-right: auto;
    margin-left: 0;
}

/* RTL Hero Section */
[dir="rtl"] .hero-text-center,
body.rtl .hero-text-center {
    text-align: center;
}

[dir="rtl"] .hero-cta-button,
body.rtl .hero-cta-button {
    flex-direction: row-reverse;
}

[dir="rtl"] .hero-cta-button i,
body.rtl .hero-cta-button i {
    margin-right: 0;
    margin-left: 0.5rem;
}

/* RTL Section Titles */
/* Browser automatically reverses flex direction with dir="rtl", no need for row-reverse */
[dir="rtl"] .section-header-new,
body.rtl .section-header-new {
    text-align: right;
}

[dir="rtl"] .section-caption,
body.rtl .section-caption {
    text-align: right;
}

/* RTL Card Styles */
/* Browser automatically reverses flex direction with dir="rtl" */
[dir="rtl"] .card-description,
body.rtl .card-description {
    text-align: right;
}

/* RTL Announcements */
[dir="rtl"] .announcement-header-new,
body.rtl .announcement-header-new {
    flex-direction: row-reverse;
}

[dir="rtl"] .announcement-title-new,
body.rtl .announcement-title-new {
    text-align: right;
}

[dir="rtl"] .announcement-text-new,
body.rtl .announcement-text-new {
    text-align: right;
}

/* RTL News Cards */
/* Browser automatically handles flex direction with dir="rtl" */

[dir="rtl"] .news-title-new,
body.rtl .news-title-new {
    text-align: right;
}

[dir="rtl"] .news-excerpt-new,
body.rtl .news-excerpt-new {
    text-align: right;
}

[dir="rtl"] .news-read-more,
body.rtl .news-read-more {
    text-align: right;
}

[dir="rtl"] .news-content-new,
body.rtl .news-content-new {
    text-align: right;
}

/* Flip arrow direction for RTL (browser handles positioning) */
[dir="rtl"] .news-read-more i,
body.rtl .news-read-more i {
    transform: scaleX(-1);
}

/* RTL Service Cards */
/* Browser automatically handles flex direction with dir="rtl" */
[dir="rtl"] .service-card-title,
body.rtl .service-card-title {
    text-align: right;
}

[dir="rtl"] .service-card-description,
body.rtl .service-card-description {
    text-align: right;
}

[dir="rtl"] .service-card-meta,
body.rtl .service-card-meta {
    flex-direction: row-reverse;
    justify-content: flex-end;
}

[dir="rtl"] .meta-item,
body.rtl .meta-item {
    flex-direction: row-reverse;
}

[dir="rtl"] .meta-item i,
body.rtl .meta-item i {
    margin-right: 0;
    margin-left: 0.5rem;
}

[dir="rtl"] .service-card-list,
body.rtl .service-card-list {
    text-align: right;
}

[dir="rtl"] .btn-service-more,
body.rtl .btn-service-more {
    text-align: right;
}

[dir="rtl"] .btn-service-more i,
body.rtl .btn-service-more i {
    transform: scaleX(-1);
}

/* RTL FAQs */
/* Browser handles flex direction automatically */
[dir="rtl"] .faq-button,
body.rtl .faq-button {
    text-align: right;
}

[dir="rtl"] .faq-answer,
body.rtl .faq-answer {
    text-align: right;
}

/* RTL Footer */
[dir="rtl"] .footer-brand,
body.rtl .footer-brand {
    flex-direction: row-reverse;
    justify-content: flex-end;
}

[dir="rtl"] .footer-logo,
body.rtl .footer-logo {
    margin-left: 0.75rem;
    margin-right: 0;
}

[dir="rtl"] .footer-heading,
body.rtl .footer-heading {
    text-align: right;
}

[dir="rtl"] .footer-heading::after,
body.rtl .footer-heading::after {
    left: auto;
    right: 0;
}

[dir="rtl"] .footer-text,
body.rtl .footer-text {
    text-align: right;
}

[dir="rtl"] .footer-links,
body.rtl .footer-links {
    text-align: right;
}

[dir="rtl"] .footer-links a::before,
body.rtl .footer-links a::before {
    content: '◂';
    margin-right: 0;
    margin-left: 0.5rem;
}

[dir="rtl"] .footer-links a:hover,
body.rtl .footer-links a:hover {
    padding-left: 0;
    padding-right: 5px;
}

[dir="rtl"] .footer-links a:hover::before,
body.rtl .footer-links a:hover::before {
    margin-right: 0;
    margin-left: 0.75rem;
}

[dir="rtl"] .hours-row,
body.rtl .hours-row {
    flex-direction: row-reverse;
    justify-content: space-between;
}

[dir="rtl"] .footer-hours i,
body.rtl .footer-hours i {
    margin-right: 0;
    margin-left: 0.5rem;
}

[dir="rtl"] .footer-hours .d-flex,
body.rtl .footer-hours .d-flex {
    flex-direction: row-reverse;
    justify-content: flex-end;
}

[dir="rtl"] .hours-day,
body.rtl .hours-day {
    text-align: right;
}

[dir="rtl"] .hours-time,
body.rtl .hours-time {
    text-align: left;
}

/* RTL Breadcrumbs */
/* Browser automatically handles flex direction with dir="rtl" */
[dir="rtl"] .breadcrumb-item-new + .breadcrumb-item-new::before,
body.rtl .breadcrumb-item-new + .breadcrumb-item-new::before {
    margin-right: 0;
    margin-left: 0.5rem;
}

/* RTL Detail Pages */
/* Browser automatically handles flex direction with dir="rtl" */

[dir="rtl"] .detail-title,
body.rtl .detail-title {
    text-align: right;
}

[dir="rtl"] .detail-text,
body.rtl .detail-text {
    text-align: right;
}

/* Browser handles flex direction automatically for detail-share */

[dir="rtl"] .detail-header,
body.rtl .detail-header {
    text-align: right;
}

[dir="rtl"] .detail-body,
body.rtl .detail-body {
    text-align: right;
}

/* Fix back button arrow */
/* Browser handles flex direction automatically */
[dir="rtl"] .btn-back i,
body.rtl .btn-back i {
    transform: scaleX(-1);
}

/* Fix page header title */
/* Browser automatically handles flex direction with dir="rtl" */

/* RTL Sidebar */
/* Browser automatically handles flex direction with dir="rtl" */

[dir="rtl"] .sidebar-card-text,
body.rtl .sidebar-card-text {
    text-align: right;
}

[dir="rtl"] .service-info-list-new li,
body.rtl .service-info-list-new li {
    flex-direction: row-reverse;
}

[dir="rtl"] .info-label,
body.rtl .info-label {
    flex-direction: row-reverse;
}

[dir="rtl"] .info-label i,
body.rtl .info-label i {
    margin-right: 0;
    margin-left: 0.5rem;
}

/* RTL Contact Section */
[dir="rtl"] .contact-info-item,
body.rtl .contact-info-item {
    flex-direction: row-reverse;
}

[dir="rtl"] .contact-icon,
body.rtl .contact-icon {
    margin-left: 1rem;
    margin-right: 0;
}

[dir="rtl"] .contact-details,
body.rtl .contact-details {
    text-align: right;
}

[dir="rtl"] .form-label-new,
body.rtl .form-label-new {
    text-align: right;
}

[dir="rtl"] .form-input-new,
[dir="rtl"] .form-textarea-new,
body.rtl .form-input-new,
body.rtl .form-textarea-new {
    text-align: right;
    direction: rtl;
}

/* Keep contact section map on left in RTL */
[dir="rtl"] #contact .row,
body.rtl #contact .row {
    flex-direction: row !important;
}

/* Browser handles visit-card-title with dir="rtl" */

[dir="rtl"] .visit-card-description,
body.rtl .visit-card-description {
    text-align: right;
}

/* RTL Forms */
[dir="rtl"] .form-item,
body.rtl .form-item {
    flex-direction: row-reverse;
}

[dir="rtl"] .form-item-name,
body.rtl .form-item-name {
    text-align: right;
}

/* RTL Emergency Card */
/* Browser automatically handles flex direction with dir="rtl" */

[dir="rtl"] .emergency-text-content,
body.rtl .emergency-text-content {
    text-align: right;
}

[dir="rtl"] .emergency-contact-info,
body.rtl .emergency-contact-info {
    flex-direction: row-reverse;
    text-align: right;
}

[dir="rtl"] .emergency-contact-info i,
body.rtl .emergency-contact-info i {
    margin-right: 0;
    margin-left: 1rem;
}

/* RTL Service Header */
/* Browser handles flex direction automatically */
[dir="rtl"] .service-detail-title,
body.rtl .service-detail-title {
    text-align: right;
}

/* RTL Announcement Cards */
[dir="rtl"] .announcement-card-header,
body.rtl .announcement-card-header {
    flex-direction: row-reverse;
    justify-content: space-between;
}

[dir="rtl"] .announcement-card-title,
body.rtl .announcement-card-title {
    text-align: right;
}

[dir="rtl"] .announcement-card-excerpt,
body.rtl .announcement-card-excerpt {
    text-align: right;
}

[dir="rtl"] .announcement-read-more,
body.rtl .announcement-read-more {
    text-align: right;
}

[dir="rtl"] .announcement-read-more i,
body.rtl .announcement-read-more i {
    transform: scaleX(-1);
}

/* RTL Visa Section */
[dir="rtl"] .visa-category-title,
body.rtl .visa-category-title {
    text-align: right;
}

[dir="rtl"] .visa-bullets,
body.rtl .visa-bullets {
    padding-left: 0;
    padding-right: 1.25rem;
}

[dir="rtl"] .visa-note,
body.rtl .visa-note {
    text-align: right;
}

/* RTL Message Content */
[dir="rtl"] .message-content,
body.rtl .message-content {
    text-align: right;
}

[dir="rtl"] .message-date,
body.rtl .message-date {
    flex-direction: row-reverse;
}

[dir="rtl"] .message-date i,
body.rtl .message-date i {
    margin-right: 0;
    margin-left: 0.5rem;
}

/* RTL Page Title */
[dir="rtl"] .page-title,
body.rtl .page-title {
    text-align: right;
}

[dir="rtl"] .page-subtitle,
body.rtl .page-subtitle {
    text-align: right;
}

/* RTL Modal */
[dir="rtl"] .modal-title,
body.rtl .modal-title {
    text-align: right;
}

[dir="rtl"] .modal-body,
body.rtl .modal-body {
    text-align: right;
}

/* RTL About Section */
[dir="rtl"] .about-stat h5,
body.rtl .about-stat h5 {
    text-align: center;
}

[dir="rtl"] .about-stat p,
body.rtl .about-stat p {
    text-align: center;
}

/* RTL Service Icon */
[dir="rtl"] .service-icon,
body.rtl .service-icon {
    margin-left: auto;
    margin-right: auto;
}

/* RTL Buttons with Icons */
/* Flip arrows for RTL (browser handles positioning) */
[dir="rtl"] .btn-view-all i,
body.rtl .btn-view-all i,
[dir="rtl"] .btn-sidebar i,
body.rtl .btn-sidebar i {
    transform: scaleX(-1);
}

/* Submit button icon doesn't need flipping (send icon) */

/* Fix announcement header alignment */
/* Browser automatically handles with dir="rtl" */

[dir="rtl"] .announcement-date-new,
body.rtl .announcement-date-new {
    text-align: left;
}

[dir="rtl"] .badge-new,
body.rtl .badge-new {
    text-align: right;
}

[dir="rtl"] .announcement-card-new,
body.rtl .announcement-card-new {
    text-align: right;
}

/* Fix card header alignments */
/* Browser automatically handles flex direction with dir="rtl" */
[dir="rtl"] .card-header-new h3,
body.rtl .card-header-new h3 {
    text-align: right;
}

/* Fix emergency card */
[dir="rtl"] .emergency-card,
body.rtl .emergency-card {
    text-align: right;
}

/* Browser automatically handles flex direction with dir="rtl" */

/* Fix visa category cards */
[dir="rtl"] .visa-category-card,
body.rtl .visa-category-card {
    text-align: right;
}

[dir="rtl"] .visa-category-card h3,
body.rtl .visa-category-card h3 {
    text-align: right;
}

/* Contact/visit card titles and FAQ icons handled by browser with dir="rtl" */

/* Fix all d-flex with icons */
[dir="rtl"] .d-flex.align-items-center.gap-2 i,
body.rtl .d-flex.align-items-center.gap-2 i {
    margin-right: 0;
}

[dir="rtl"] .d-flex.align-items-center.gap-3 i,
body.rtl .d-flex.align-items-center.gap-3 i {
    margin-right: 0;
}

/* Fix visa note icon */
[dir="rtl"] .visa-note,
body.rtl .visa-note {
    direction: rtl;
}

[dir="rtl"] .text-muted i,
body.rtl .text-muted i {
    margin-right: 0;
    margin-left: 0.5rem;
}

/* Fix forms section title (uses icon instead of indicator) */
/* Browser automatically handles flex direction with dir="rtl" */

/* Fix download buttons */
[dir="rtl"] .btn-download,
body.rtl .btn-download {
    flex-direction: row-reverse;
}

[dir="rtl"] .btn-download i,
body.rtl .btn-download i {
    margin-right: 0;
    margin-left: 0.25rem;
}

/* RTL Border Adjustments */
[dir="rtl"] .announcement-card,
body.rtl .announcement-card {
    border-left: none;
    border-right: 4px solid transparent;
}

[dir="rtl"] .announcement-card.announcement-critical,
body.rtl .announcement-card.announcement-critical {
    border-right-color: #dc3545;
}

[dir="rtl"] .announcement-card.announcement-important,
body.rtl .announcement-card.announcement-important {
    border-right-color: #ff9800;
}

[dir="rtl"] .announcement-card.announcement-advisory,
body.rtl .announcement-card.announcement-advisory {
    border-right-color: #2196f3;
}

[dir="rtl"] .announcement-card.announcement-info,
body.rtl .announcement-card.announcement-info {
    border-right-color: #4caf50;
}

[dir="rtl"] .embassy-message-card,
body.rtl .embassy-message-card {
    border-left: none;
    border-right: 5px solid var(--highlight-color);
}

/* RTL Specific Font for Arabic */
[dir="rtl"][lang="ar"] body,
body.rtl[lang="ar"] {
    font-family: 'Arial', 'Tahoma', 'Segoe UI', sans-serif;
}

/* RTL Responsive Adjustments */
@media (max-width: 768px) {
    [dir="rtl"] .service-header-detail,
    body.rtl .service-header-detail {
        text-align: center;
    }

    [dir="rtl"] .embassy-message-card,
    body.rtl .embassy-message-card {
        text-align: center;
    }
}

/* ===========================
   RTL Bootstrap Overrides
   =========================== */

/* RTL Bootstrap Grid */
[dir="rtl"] .row,
body.rtl .row {
    direction: rtl;
}

/* RTL Bootstrap Margins and Padding */
[dir="rtl"] .me-1,
body.rtl .me-1 {
    margin-right: 0 !important;
    margin-left: 0.25rem !important;
}

[dir="rtl"] .me-2,
body.rtl .me-2 {
    margin-right: 0 !important;
    margin-left: 0.5rem !important;
}

[dir="rtl"] .me-3,
body.rtl .me-3 {
    margin-right: 0 !important;
    margin-left: 1rem !important;
}

[dir="rtl"] .me-4,
body.rtl .me-4 {
    margin-right: 0 !important;
    margin-left: 1.5rem !important;
}

[dir="rtl"] .ms-1,
body.rtl .ms-1 {
    margin-left: 0 !important;
    margin-right: 0.25rem !important;
}

[dir="rtl"] .ms-2,
body.rtl .ms-2 {
    margin-left: 0 !important;
    margin-right: 0.5rem !important;
}

[dir="rtl"] .ms-3,
body.rtl .ms-3 {
    margin-left: 0 !important;
    margin-right: 1rem !important;
}

[dir="rtl"] .ms-4,
body.rtl .ms-4 {
    margin-left: 0 !important;
    margin-right: 1.5rem !important;
}

[dir="rtl"] .pe-1,
body.rtl .pe-1 {
    padding-right: 0 !important;
    padding-left: 0.25rem !important;
}

[dir="rtl"] .pe-2,
body.rtl .pe-2 {
    padding-right: 0 !important;
    padding-left: 0.5rem !important;
}

[dir="rtl"] .pe-3,
body.rtl .pe-3 {
    padding-right: 0 !important;
    padding-left: 1rem !important;
}

[dir="rtl"] .pe-4,
body.rtl .pe-4 {
    padding-right: 0 !important;
    padding-left: 1.5rem !important;
}

[dir="rtl"] .ps-1,
body.rtl .ps-1 {
    padding-left: 0 !important;
    padding-right: 0.25rem !important;
}

[dir="rtl"] .ps-2,
body.rtl .ps-2 {
    padding-left: 0 !important;
    padding-right: 0.5rem !important;
}

[dir="rtl"] .ps-3,
body.rtl .ps-3 {
    padding-left: 0 !important;
    padding-right: 1rem !important;
}

[dir="rtl"] .ps-4,
body.rtl .ps-4 {
    padding-left: 0 !important;
    padding-right: 1.5rem !important;
}

/* RTL Bootstrap Text Alignment */
[dir="rtl"] .text-start,
body.rtl .text-start {
    text-align: right !important;
}

[dir="rtl"] .text-end,
body.rtl .text-end {
    text-align: left !important;
}

/* RTL Bootstrap Responsive Text Alignment */
@media (min-width: 576px) {
    [dir="rtl"] .text-sm-start,
    body.rtl .text-sm-start {
        text-align: right !important;
    }

    [dir="rtl"] .text-sm-end,
    body.rtl .text-sm-end {
        text-align: left !important;
    }
}

@media (min-width: 768px) {
    [dir="rtl"] .text-md-start,
    body.rtl .text-md-start {
        text-align: right !important;
    }

    [dir="rtl"] .text-md-end,
    body.rtl .text-md-end {
        text-align: left !important;
    }
}

@media (min-width: 992px) {
    [dir="rtl"] .text-lg-start,
    body.rtl .text-lg-start {
        text-align: right !important;
    }

    [dir="rtl"] .text-lg-end,
    body.rtl .text-lg-end {
        text-align: left !important;
    }
}

@media (min-width: 1200px) {
    [dir="rtl"] .text-xl-start,
    body.rtl .text-xl-start {
        text-align: right !important;
    }

    [dir="rtl"] .text-xl-end,
    body.rtl .text-xl-end {
        text-align: left !important;
    }
}

@media (min-width: 1400px) {
    [dir="rtl"] .text-xxl-start,
    body.rtl .text-xxl-start {
        text-align: right !important;
    }

    [dir="rtl"] .text-xxl-end,
    body.rtl .text-xxl-end {
        text-align: left !important;
    }
}

/* RTL Bootstrap Float */
[dir="rtl"] .float-start,
body.rtl .float-start {
    float: right !important;
}

[dir="rtl"] .float-end,
body.rtl .float-end {
    float: left !important;
}

/* RTL Bootstrap Responsive Float */
@media (min-width: 576px) {
    [dir="rtl"] .float-sm-start,
    body.rtl .float-sm-start {
        float: right !important;
    }

    [dir="rtl"] .float-sm-end,
    body.rtl .float-sm-end {
        float: left !important;
    }
}

@media (min-width: 768px) {
    [dir="rtl"] .float-md-start,
    body.rtl .float-md-start {
        float: right !important;
    }

    [dir="rtl"] .float-md-end,
    body.rtl .float-md-end {
        float: left !important;
    }
}

@media (min-width: 992px) {
    [dir="rtl"] .float-lg-start,
    body.rtl .float-lg-start {
        float: right !important;
    }

    [dir="rtl"] .float-lg-end,
    body.rtl .float-lg-end {
        float: left !important;
    }
}

@media (min-width: 1200px) {
    [dir="rtl"] .float-xl-start,
    body.rtl .float-xl-start {
        float: right !important;
    }

    [dir="rtl"] .float-xl-end,
    body.rtl .float-xl-end {
        float: left !important;
    }
}

@media (min-width: 1400px) {
    [dir="rtl"] .float-xxl-start,
    body.rtl .float-xxl-start {
        float: right !important;
    }

    [dir="rtl"] .float-xxl-end,
    body.rtl .float-xxl-end {
        float: left !important;
    }
}

/* RTL Bootstrap Dropdowns */
[dir="rtl"] .dropdown-menu,
body.rtl .dropdown-menu {
    right: 0;
    left: auto;
    text-align: right;
}

[dir="rtl"] .dropdown-menu-end,
body.rtl .dropdown-menu-end {
    right: auto !important;
    left: 0 !important;
}

/* RTL Bootstrap Forms */
[dir="rtl"] .form-control,
body.rtl .form-control,
[dir="rtl"] .form-select,
body.rtl .form-select {
    text-align: right;
}

[dir="rtl"] .form-check,
body.rtl .form-check {
    padding-left: 0;
    padding-right: 1.5em;
}

[dir="rtl"] .form-check-input,
body.rtl .form-check-input {
    float: right;
    margin-left: 0;
    margin-right: -1.5em;
}

/* RTL Bootstrap Navbar */
[dir="rtl"] .navbar-nav,
body.rtl .navbar-nav {
    padding-left: 0;
}

[dir="rtl"] .navbar-toggler,
body.rtl .navbar-toggler {
    margin-right: 0;
}

/* RTL Bootstrap Modal */
[dir="rtl"] .modal-header .btn-close,
body.rtl .modal-header .btn-close {
    margin: -0.5rem auto -0.5rem -0.5rem;
}

/* RTL Bootstrap Badges */
[dir="rtl"] .badge,
body.rtl .badge {
    padding-left: 0.65em;
    padding-right: 0.65em;
}

/* RTL Bootstrap Buttons */
[dir="rtl"] .btn,
body.rtl .btn {
    text-align: center;
}

/* RTL Bootstrap List Groups */
[dir="rtl"] .list-group,
body.rtl .list-group {
    padding-left: 0;
}

/* RTL Bootstrap Breadcrumbs */
[dir="rtl"] .breadcrumb-item + .breadcrumb-item::before,
body.rtl .breadcrumb-item + .breadcrumb-item::before {
    float: right;
    padding-right: 0;
    padding-left: 0.5rem;
}

/* RTL Bootstrap Alerts */
[dir="rtl"] .alert-dismissible,
body.rtl .alert-dismissible {
    padding-right: 1rem;
    padding-left: 3rem;
}

[dir="rtl"] .alert-dismissible .btn-close,
body.rtl .alert-dismissible .btn-close {
    right: auto;
    left: 0;
}

/* RTL Container Adjustments */
[dir="rtl"] .container,
body.rtl .container,
[dir="rtl"] .container-fluid,
body.rtl .container-fluid {
    direction: rtl;
}

/* RTL Input Groups */
[dir="rtl"] .input-group,
body.rtl .input-group {
    flex-direction: row-reverse;
}

[dir="rtl"] .input-group > :not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback),
body.rtl .input-group > :not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback) {
    margin-left: 0;
    margin-right: -1px;
}

/* RTL Accordion */
[dir="rtl"] .accordion-button::after,
body.rtl .accordion-button::after {
    margin-left: 0;
    margin-right: auto;
}

/* RTL Offcanvas */
[dir="rtl"] .offcanvas-start,
body.rtl .offcanvas-start {
    right: 0;
    left: auto;
    border-left: 0;
    border-right: 1px solid rgba(0, 0, 0, 0.2);
}

[dir="rtl"] .offcanvas-end,
body.rtl .offcanvas-end {
    left: 0;
    right: auto;
    border-right: 0;
    border-left: 1px solid rgba(0, 0, 0, 0.2);
}

/* ===========================
   RTL Additional Fixes
   =========================== */

/* Fix empty state */
[dir="rtl"] .empty-state,
body.rtl .empty-state {
    text-align: right;
}

[dir="rtl"] .empty-state h3,
body.rtl .empty-state h3 {
    text-align: center;
}

/* Fix detail badge */
[dir="rtl"] .detail-badge,
body.rtl .detail-badge {
    margin-left: 0;
    margin-right: 0;
}

/* Fix page title */
[dir="rtl"] .page-title,
body.rtl .page-title {
    text-align: right;
}

[dir="rtl"] .page-subtitle,
body.rtl .page-subtitle {
    text-align: right;
}

/* Fix visa section */
[dir="rtl"] .visa-category,
body.rtl .visa-category {
    text-align: right;
}

[dir="rtl"] .visa-item,
body.rtl .visa-item {
    text-align: right;
}

/* Fix forms download section */
[dir="rtl"] .form-download-link,
body.rtl .form-download-link {
    flex-direction: row-reverse;
}

[dir="rtl"] .form-download-link i,
body.rtl .form-download-link i {
    margin-right: 0;
    margin-left: 0.5rem;
}

/* Fix navbar collapse toggle */
[dir="rtl"] .navbar-toggler,
body.rtl .navbar-toggler {
    margin-left: 0;
}

/* Fix list page headers */
[dir="rtl"] .page-header-section,
body.rtl .page-header-section {
    text-align: right;
}

/* Fix all icon-text combinations */
[dir="rtl"] .bi + span,
body.rtl .bi + span,
[dir="rtl"] i + span,
body.rtl i + span {
    margin-right: 0;
}

/* Fix sidebar info values */
[dir="rtl"] .info-value,
body.rtl .info-value {
    text-align: left;
}

/* Ensure all section containers have proper RTL flow */
[dir="rtl"] .section-container,
body.rtl .section-container {
    direction: rtl;
}

/* Fix card new styles */
[dir="rtl"] .card-new,
body.rtl .card-new {
    text-align: right;
}

/* Fix news card list */
[dir="rtl"] .news-card-list,
body.rtl .news-card-list {
    text-align: right;
}




.welcome-section {
    background: #f8fafc;
}

.section-title {
    font-weight: 700;
    color: var(--kin-blue);
}

.about-paragraph {
    color: #4b5563;
    line-height: 1.75;
}

.about-stats-grid .about-stat {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1rem;
    height: 100%;
    transition: box-shadow .2s ease, transform .2s ease;
}

    .about-stats-grid .about-stat:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(0,0,0,0.06);
    }

.about-stat-icon {
    font-size: 1.75rem;
    line-height: 1;
    color: var(--kin-blue);
    flex-shrink: 0;
    margin-top: .25rem;
}

.about-stat-title {
    font-weight: 600;
    color: #111827;
}

.about-stat-desc {
    color: #6b7280;
}

.about-image-container {
    position: relative;
}

.about-image {
    border-radius: 16px;
}

/* RTL tweaks */
[dir="rtl"] .about-stat {
    text-align: right;
}

    [dir="rtl"] .about-stat .about-stat-icon {
        /* keep icon near text in RTL too */
    }

[dir="rtl"] .about-paragraph,
[dir="rtl"] .section-title {
    text-align: right;
}


.about-content-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.25rem;
}

.about-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,102,204,.1);
    color: #0a58ca;
    margin-bottom: 1rem;
}

.value-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.25rem;
}

.value-icon i {
    font-size: 1.75rem;
}

.about-image-featured .about-image-overlay {
    position: absolute;
    inset: auto 16px 16px auto;
    background: #fff;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e5e7eb;
}

.about-logo-large {
    max-height: 120px;
}

[dir="rtl"] .me-3 {
    margin-right: 0 !important;
    margin-left: 1rem !important;
}

/* Visit Lebanon page */
.visit-lebanon-page .section-title {
    font-weight: 700;
    letter-spacing: .2px;
    color: #0f172a;
}

/*.visit-lebanon-page .page-title {
    font-weight: 800;
    color: #0b132b;
}*/

.visit-lebanon-page .rich-text p {
    margin-bottom: 0.85rem;
    color: #374151;
    line-height: 1.75;
}

.visit-lebanon-page .leadish p {
    font-size: 1.05rem;
}

.visit-lebanon-page .soft-border {
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #fff;
}

.visit-lebanon-page .content-card {
    padding: 1.25rem;
}

@media (min-width: 992px) {
    .visit-lebanon-page .content-card {
        padding: 1.5rem 1.75rem;
    }
}

.visit-lebanon-page .section-muted {
    background: #f8fafc;
}

.visit-lebanon-page .section-gradient {
    background: linear-gradient(135deg, #f8f9fa 0%, #edf1f5 100%);
}

.visit-lebanon-page .section-eyebrow {
    font-weight: 600;
    color: #0a58ca;
    margin-bottom: .75rem;
}

/* Hero media */
.visit-lebanon-page .hero-media {
    position: relative;
}

.visit-lebanon-page .media-frame {
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 16/10;
    background: #eef2f7;
}

.visit-lebanon-page .media-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.visit-lebanon-page .media-badge {
    position: absolute;
    inset: auto 16px 16px auto;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0a58ca;
    box-shadow: 0 4px 12px rgba(0,0,0,.06);
}

/* Facts */
.visit-lebanon-page .facts-card {
    padding: 1rem;
}

@media (min-width: 768px) {
    .visit-lebanon-page .facts-card {
        padding: 1.25rem;
    }
}

.visit-lebanon-page .facts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 10px;
}

.visit-lebanon-page .fact-item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: baseline;
    gap: .5rem .75rem;
    padding: .75rem;
    border-radius: 10px;
    background: #fff;
    border: 1px dashed #e5e7eb;
}

.visit-lebanon-page .fact-label {
    color: #6b7280;
    font-weight: 600;
}

.visit-lebanon-page .fact-sep {
    height: 0;
    border-bottom: 1px dotted #e5e7eb;
    transform: translateY(-2px);
}

.visit-lebanon-page .fact-value {
    color: #111827;
    font-weight: 700;
}

[dir="rtl"] .visit-lebanon-page .fact-item {
    grid-template-columns: auto 1fr auto;
}

/* Gallery */
.visit-lebanon-page .gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
}

@media (min-width: 576px) {
    .visit-lebanon-page .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }
}

.visit-lebanon-page .gallery-item {
    background: transparent;
    border: none;
    padding: 0;
    text-align: inherit;
}

.visit-lebanon-page .gallery-thumb {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 4/3;
    background: #eef2f7;
    box-shadow: 0 2px 8px rgba(0,0,0,.04);
}

    .visit-lebanon-page .gallery-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform .25s ease;
    }

    .visit-lebanon-page .gallery-thumb:hover img {
        transform: scale(1.03);
    }

.visit-lebanon-page .gallery-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: .5rem .65rem;
    font-size: .85rem;
    color: #fff;
    background: linear-gradient(transparent, rgba(0,0,0,.7));
}

[dir="rtl"] .visit-lebanon-page .gallery-overlay {
    text-align: right;
}

/* Utility tweak for RTL margin flip */
[dir="rtl"] .visit-lebanon-page .me-2 {
    margin-inline-end: 0 !important;
    margin-inline-start: .5rem !important;
}


.visit-lebanon-page .tourism-split {
    display: grid;
    gap: 20px;
}

@media (min-width: 992px) {
    .visit-lebanon-page .tourism-split {
        grid-template-columns: 1.2fr 0.8fr; /* text : object */
        align-items: center;
    }
    /* RTL: swap columns visually using order */
    [dir="rtl"] .visit-lebanon-page .tourism-text {
        order: 2;
    }

    [dir="rtl"] .visit-lebanon-page .tourism-object {
        order: 1;
    }
}

.visit-lebanon-page .tourism-text .rich-text p {
    margin-bottom: 1rem;
}

/* Object container */
.visit-lebanon-page .tourism-object {
    position: relative;
    max-width: 520px;
    margin-inline: auto;
    /* keep room around object on mobile */
    padding: 8px;
}

/* The �floating� transparent illustration */
.visit-lebanon-page .tourism-object-img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 480px; /* keep it under control */
    object-fit: contain; /* don�t crop transparent edges */
    filter: drop-shadow(0 12px 24px rgba(0,0,0,.10));
    animation: vl-float 7s ease-in-out infinite;
    transform-origin: 50% 100%;
}

/* Gentle float; respect reduced motion */
@keyframes vl-float {
    0%, 100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-8px)
    }
}

@media (prefers-reduced-motion: reduce) {
    .visit-lebanon-page .tourism-object-img {
        animation: none;
    }
}

/* Decorative chips */
.visit-lebanon-page .tourism-chip {
    position: absolute;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0a58ca;
    box-shadow: 0 6px 16px rgba(0,0,0,.06);
    font-size: 0.95rem;
    animation: vl-bob 5.5s ease-in-out infinite;
}

@keyframes vl-bob {
    0%, 100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-4px)
    }
}

@media (prefers-reduced-motion: reduce) {
    .visit-lebanon-page .tourism-chip {
        animation: none;
    }
}

/* Chip positions (tweak as needed for your artwork�s silhouette) */
.visit-lebanon-page .tourism-chip.--a {
    top: 6%;
    inset-inline-start: 6%;
}

.visit-lebanon-page .tourism-chip.--b {
    top: 42%;
    inset-inline-end: 2%;
    animation-delay: .8s;
}

.visit-lebanon-page .tourism-chip.--c {
    bottom: 4%;
    inset-inline-start: 12%;
    animation-delay: .4s;
}

/* Make the object a bit smaller on very small screens */
@media (max-width: 575.98px) {
    .visit-lebanon-page .tourism-object-img {
        max-height: 360px;
    }
}


.visit-lebanon-page .cl-controls {
    display: flex;
    gap: 8px;
}

.visit-lebanon-page .cl-nav {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #e5e7eb;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
    cursor: pointer;
}

    .visit-lebanon-page .cl-nav:hover {
        background: #f8fafc;
    }

.visit-lebanon-page .cl-carousel {
    --height: clamp(240px, 42vw, 460px);
    --center-width: min(70vw, 860px);
    --side-width: clamp(120px, 18vw, 240px);
    --gap: 16px;
    --offset-1: calc((var(--center-width)/2) + var(--gap) + (var(--side-width)/2));
    --offset-2: calc((var(--center-width)/2) + var(--gap) + var(--side-width) + var(--gap) + (var(--side-width)/2));
    position: relative;
    overflow: hidden;
}

.visit-lebanon-page .cl-stage {
    position: relative;
    height: var(--height);
}

.visit-lebanon-page .cl-slide {
    position: absolute;
    top: 50%;
    left: 50%;
    width: var(--side-width);
    height: auto;
    transform: translate(-50%,-50%) scale(.7);
    opacity: 0;
    z-index: 1;
    pointer-events: none;
    transition: transform .45s ease, opacity .45s ease, filter .3s ease;
    filter: grayscale(100%) contrast(.92) brightness(.95);
}

    .visit-lebanon-page .cl-slide .cl-slide-media {
        border-radius: 14px;
        overflow: hidden;
        box-shadow: 0 2px 10px rgba(0,0,0,.06);
        background: #eef2f7;
        aspect-ratio: 16/10;
    }

    .visit-lebanon-page .cl-slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    /* positions */
    .visit-lebanon-page .cl-slide.is-center {
        width: var(--center-width);
        z-index: 5;
        opacity: 1;
        transform: translate(-50%,-50%) scale(1);
        filter: none;
        pointer-events: auto;
    }

    .visit-lebanon-page .cl-slide.is-left1 {
        z-index: 4;
        opacity: .95;
        transform: translate(calc(-50% - var(--offset-1)),-50%) scale(.85);
    }

    .visit-lebanon-page .cl-slide.is-right1 {
        z-index: 4;
        opacity: .95;
        transform: translate(calc(-50% + var(--offset-1)),-50%) scale(.85);
    }

    .visit-lebanon-page .cl-slide.is-left2 {
        z-index: 3;
        opacity: .65;
        transform: translate(calc(-50% - var(--offset-2)),-50%) scale(.72);
    }

    .visit-lebanon-page .cl-slide.is-right2 {
        z-index: 3;
        opacity: .65;
        transform: translate(calc(-50% + var(--offset-2)),-50%) scale(.72);
    }

/* ===========================
   Embassy Pages - About & Visit Lebanon
   Modern, Clean Design System
   =========================== */

/* Page Container */
.embassy-page {
    min-height: 100vh;
    background-color: #f8f9fa;
}

/* Page Header */
.embassy-page-header {
    background: linear-gradient(135deg, var(--kin-blue) 0%, #005bb5 100%);
    padding: calc(var(--header-height) + var(--header-extra) + 2rem) 0 2.5rem 0;
    margin-top: 0;
    color: white;
    position: relative;
    overflow: hidden;
}

.embassy-header-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.embassy-page-icon {
    width: 72px;
    height: 72px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.embassy-page-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    color: white;
    margin: 0;
    line-height: 1.2;
}

/* Breadcrumbs */
.breadcrumb-embassy {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 0;
    margin: 0.75rem 0 0 0;
    list-style: none;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.breadcrumb-embassy-item {
    display: flex;
    align-items: center;
}

.breadcrumb-embassy-item + .breadcrumb-embassy-item::before {
    content: "/";
    margin-right: 0.5rem;
    color: rgba(255, 255, 255, 0.5);
}

.breadcrumb-embassy-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-embassy-item a:hover {
    color: white;
}

.breadcrumb-embassy-item.active {
    color: white;
    font-weight: 500;
}

/* Section Styles */
.embassy-section {
    padding: 4rem 0;
    background-color: white;
    padding-top: 100px;
}

.embassy-section-gray {
    background-color: #f8f9fa;
}

.embassy-section-dark {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0d4a5e 100%);
    color: white;
}

/* Content Box */
.embassy-content-box {
    position: relative;
}

.embassy-icon-badge {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--kin-blue) 0%, #005bb5 100%);
    color: white;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 24px rgba(0, 127, 255, 0.25);
    transition: all 0.3s ease;
}

.embassy-icon-badge:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 127, 255, 0.35);
}

/* Typography */
.embassy-main-title {
    font-size: clamp(1.75rem, 3.5vw, 2.25rem);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    line-height: 1.3;
    position: relative;
    padding-left: 30px;
}

.embassy-main-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--kin-red);
    border-radius: 50%;
}

[dir="rtl"] .embassy-main-title {
    padding-left: 0;
    padding-right: 30px;
}

[dir="rtl"] .embassy-main-title::before {
    left: auto;
    right: 0;
}

.embassy-section-dark .embassy-main-title {
    color: white;
}

.embassy-section-dark .embassy-main-title::before {
    background: var(--kin-yellow);
}

.embassy-main-title.text-center {
    padding-left: 0;
    padding-right: 0;
    display: inline-flex;
    align-items: center;
    gap: 15px;
}

.embassy-main-title.text-center::before {
    position: static;
    transform: none;
}

.embassy-section-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.25rem;
    line-height: 1.3;
    position: relative;
    padding-bottom: 1rem;
}

.embassy-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--kin-blue) 0%, var(--kin-red) 100%);
    border-radius: 2px;
}

[dir="rtl"] .embassy-section-title::after {
    left: auto;
    right: 0;
}

.embassy-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    font-weight: 400;
    line-height: 1.6;
}

.embassy-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #495057;
}

.embassy-text p {
    margin-bottom: 1.25rem;
}

.embassy-text p:last-child {
    margin-bottom: 0;
}

/* Images */
.embassy-image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(0, 127, 255, 0.15);
    transition: all 0.4s ease;
    border: 3px solid white;
}

.embassy-image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 127, 255, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 1;
}

.embassy-image-container:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 48px rgba(0, 127, 255, 0.25);
}

.embassy-image-container:hover::before {
    opacity: 1;
}

.embassy-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 4/3;
    transition: transform 0.4s ease;
}

.embassy-image-container:hover .embassy-image {
    transform: scale(1.05);
}

/* Value Cards */
.embassy-value-card {
    background: white;
    border-radius: 16px;
    padding: 2rem 1.5rem;
    height: 100%;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-align: center;
    border: 1px solid #e5e7eb;
}

.embassy-value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 127, 255, 0.15);
    border-color: var(--kin-blue);
}

.embassy-value-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--kin-blue) 0%, #005bb5 100%);
    color: white;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.25rem;
    box-shadow: 0 6px 16px rgba(0, 127, 255, 0.2);
    transition: all 0.3s ease;
}

.embassy-value-card:hover .embassy-value-icon {
    transform: scale(1.1);
    box-shadow: 0 8px 24px rgba(0, 127, 255, 0.3);
}

.embassy-value-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.embassy-value-desc {
    font-size: 0.95rem;
    color: #6c757d;
    line-height: 1.6;
    margin: 0;
}

/* Highlight Banner */
.embassy-highlight-banner {
    background: linear-gradient(135deg, rgba(0, 127, 255, 0.05) 0%, rgba(0, 91, 181, 0.05) 100%);
    border: 2px solid var(--kin-blue);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 8px 24px rgba(0, 127, 255, 0.1);
    transition: all 0.3s ease;
}

.embassy-highlight-banner:hover {
    box-shadow: 0 12px 32px rgba(0, 127, 255, 0.15);
    border-color: var(--kin-red);
}

.embassy-highlight-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--kin-red) 0%, #a00d19 100%);
    color: white;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    flex-shrink: 0;
    box-shadow: 0 6px 16px rgba(206, 16, 33, 0.25);
}

.embassy-highlight-title {
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.embassy-highlight-text {
    font-size: 1.05rem;
    color: #495057;
    line-height: 1.7;
    margin: 0;
}

.embassy-logo-image {
    max-width: 180px;
    height: auto;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.embassy-logo-image:hover {
    opacity: 1;
}

/* Facts Grid */
.embassy-facts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.embassy-fact-item {
    background: white;
    border-radius: 12px;
    padding: 1.75rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

.embassy-fact-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 127, 255, 0.15);
    border-color: var(--kin-blue);
}

.embassy-fact-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--kin-blue);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.embassy-fact-value {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.4;
}

/* Tourism Content */
.embassy-tourism-content {
    text-align: center;
}

.embassy-tourism-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #495057;
    margin-bottom: 1.5rem;
}

.embassy-cedar-icon {
    max-width: 120px;
    height: auto;
    opacity: 0.85;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.embassy-cedar-icon:hover {
    transform: scale(1.1);
    opacity: 1;
}

/* Gallery Carousel */
.embassy-gallery-carousel {
    position: relative;
    min-height: 420px;
    overflow: hidden;
}

.embassy-gallery-track {
    position: relative;
    height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.embassy-gallery-slide {
    position: absolute;
    width: 420px;
    height: 280px;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateX(-50%) scale(0.7);
    z-index: 1;
    pointer-events: none;
    left: 50%;
}

.embassy-gallery-slide.active {
    opacity: 1;
    transform: translateX(-50%) scale(1);
    z-index: 10;
    pointer-events: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.embassy-gallery-slide.prev {
    opacity: 0.7;
    transform: translateX(-150%) scale(0.85);
    z-index: 5;
    pointer-events: auto;
}

.embassy-gallery-slide.next {
    opacity: 0.7;
    transform: translateX(50%) scale(0.85);
    z-index: 5;
    pointer-events: auto;
}

.embassy-gallery-slide:hover {
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}

.embassy-gallery-image {
    width: 100%;
    height: 100%;
    position: relative;
}

.embassy-gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.embassy-gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    padding: 1.5rem 1rem 1rem;
    font-size: 0.95rem;
    font-weight: 500;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.embassy-gallery-slide.active .embassy-gallery-caption {
    opacity: 1;
}

/* Gallery Controls */
.embassy-gallery-controls {
    display: flex;
    gap: 0.75rem;
}

.embassy-gallery-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.embassy-gallery-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

.embassy-gallery-btn:active {
    transform: scale(0.95);
}

/* Responsive Design */
@media (max-width: 991px) {
    .embassy-page-header {
        padding: calc(var(--header-height) + var(--header-extra) + 1.5rem) 0 2rem 0;
    }

    .embassy-page-icon,
    .page-header-icon {
        width: 64px;
        height: 64px;
        font-size: 1.75rem;
    }

    .embassy-section {
        padding: 3rem 0;
    }

    .embassy-value-card {
        padding: 1.75rem 1.25rem;
    }

    .embassy-highlight-banner {
        padding: 2rem;
    }

    .embassy-gallery-slide {
        width: 360px;
        height: 240px;
    }

    .embassy-facts-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .embassy-page-header {
        padding: calc(var(--header-height) + var(--header-extra) + 1rem) 0 1.5rem 0;
    }

    .embassy-page-icon {
        width: 56px;
        height: 56px;
        font-size: 1.5rem;
        border-radius: 16px;
    }

    .embassy-section {
        padding: 2.5rem 0;
    }

    .embassy-highlight-banner {
        padding: 1.5rem;
    }

    .embassy-gallery-slide {
        width: 300px;
        height: 200px;
    }

    .embassy-gallery-slide.prev,
    .embassy-gallery-slide.next {
        opacity: 0.5;
        transform: translateX(-50%) scale(0.7);
    }

    .embassy-gallery-controls {
        gap: 0.5rem;
    }

    .embassy-gallery-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .embassy-cedar-icon {
        max-width: 90px;
    }

    .embassy-logo-image {
        max-width: 140px;
    }

    .embassy-main-title {
        padding-left: 20px;
    }

    .embassy-main-title::before {
        width: 6px;
        height: 6px;
    }

    [dir="rtl"] .embassy-main-title {
        padding-left: 0;
        padding-right: 20px;
    }

    .embassy-page-icon,
    .page-header-icon {
        width: 56px;
        height: 56px;
        font-size: 1.5rem;
        border-radius: 16px;
    }
}

@media (max-width: 575px) {
    .embassy-icon-badge {
        width: 48px;
        height: 48px;
        font-size: 1.5rem;
    }

    .embassy-value-icon {
        width: 56px;
        height: 56px;
        font-size: 1.75rem;
    }

    .embassy-highlight-icon {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }

    .embassy-gallery-slide {
        width: 260px;
        height: 180px;
    }

    .embassy-tourism-text {
        font-size: 1rem;
    }
}

/* RTL Support */
[dir="rtl"] .breadcrumb-embassy-item + .breadcrumb-embassy-item::before {
    margin-right: 0;
    margin-left: 0.5rem;
}

[dir="rtl"] .embassy-gallery-slide.prev {
    transform: translateX(50%) scale(0.85);
}

[dir="rtl"] .embassy-gallery-slide.next {
    transform: translateX(-150%) scale(0.85);
}

/* Print Styles */
@media print {
    .embassy-page-header {
        background: white;
        border-bottom: 2px solid #000;
    }

    .embassy-section {
        padding: 1.5rem 0;
        page-break-inside: avoid;
    }

    .embassy-value-card,
    .embassy-highlight-banner {
        box-shadow: none;
        border: 1px solid #dee2e6;
    }

    .embassy-gallery-carousel {
        display: none;
    }
}

.faq-accordion-enhanced {
    margin-bottom: 2rem;
}

.faq-item-enhanced {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
}

    .faq-item-enhanced:hover {
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
        transform: translateY(-2px);
    }

.faq-button-enhanced {
    width: 100%;
    padding: 1.5rem 1.75rem;
    background: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.3s ease;
    gap: 1rem;
}

    .faq-button-enhanced:not(.collapsed) {
        background: linear-gradient(135deg, rgba(26, 95, 122, 0.05), rgba(0, 71, 171, 0.05));
        color: var(--primary-color);
    }

.faq-question-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.faq-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary-color), var(--kin-blue));
    color: white;
    border-radius: 50%;
    font-weight: 600;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.faq-button-enhanced.collapsed .faq-number {
    background: #e9ecef;
    color: var(--text-dark);
}

.faq-question-text {
    line-height: 1.4;
}

.faq-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(26, 95, 122, 0.1);
    border-radius: 50%;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.faq-button-enhanced:not(.collapsed) .faq-icon-wrapper {
    background: var(--primary-color);
}

.faq-chevron {
    font-size: 1.1rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-button-enhanced:not(.collapsed) .faq-chevron {
    transform: rotate(180deg);
    color: white;
}

.faq-answer-enhanced {
    padding: 1.5rem 1.75rem 2rem 1.75rem;
    background: white;
}

.faq-answer-content {
    padding: 1.5rem 2rem;
    background: #f8f9fa;
    border-left: 4px solid var(--primary-color);
    border-radius: 8px;
    line-height: 1.8;
    color: var(--text-dark);
    margin: 0 auto;
    max-width: 95%;
}

.faq-contact-prompt {
    margin-top: 3rem;
}

.btn-embassy-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--kin-blue));
    color: white;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(26, 95, 122, 0.3);
}

    .btn-embassy-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(26, 95, 122, 0.4);
        color: white;
    }

/* RTL Support */
[dir="rtl"] .faq-button-enhanced {
    text-align: right;
}

[dir="rtl"] .faq-answer-content {
    border-left: none;
    border-right: 4px solid var(--primary-color);
}

@media (max-width: 768px) {
    .faq-button-enhanced {
        padding: 1.25rem 1.25rem;
        font-size: 0.95rem;
    }

    .faq-number {
        width: 32px;
        height: 32px;
        font-size: 0.85rem;
    }

    .faq-answer-enhanced {
        padding: 1.25rem 1.25rem 1.5rem 1.25rem;
    }

    .faq-answer-content {
        padding: 1.25rem 1.5rem;
        max-width: 100%;
    }
}

/* ===========================
   Page Hero Sections
   =========================== */
.page-hero-section {
    position: relative;
    background: transparent;
    padding: 8rem 0 3rem 0;
    overflow: hidden;
}

.page-hero-section.page-hero-compact {
    padding: 7rem 0 2.5rem 0;
}

.page-hero-overlay {
    display: none;
}

.page-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.page-hero-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(26, 95, 122, 0.1), rgba(0, 71, 171, 0.1));
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    border: none;
}

.page-hero-icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

.page-hero-title {
    font-size: 2.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.page-hero-subtitle {
    font-size: 1rem;
    color: #6c757d;
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
}

.page-hero-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.8rem;
    background: #f8f9fa;
    border-radius: 50px;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    border: 1px solid #e9ecef;
}

.page-hero-breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
}

.page-hero-breadcrumb a:hover {
    color: var(--kin-blue);
}

.page-hero-breadcrumb i {
    font-size: 0.7rem;
    color: #6c757d;
}

.page-hero-breadcrumb span {
    color: var(--text-dark);
    font-weight: 500;
}

/* ===========================
   Enhanced Content Boxes
   =========================== */
.embassy-content-box-enhanced {
    position: relative;
    padding: 2rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.content-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(26, 95, 122, 0.1), rgba(0, 71, 171, 0.1));
    border-radius: 50px;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    border: 2px solid rgba(26, 95, 122, 0.2);
}

.content-badge i {
    font-size: 1.1rem;
}

/* Enhanced Image Container */
.embassy-image-container-enhanced {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.embassy-image-container-enhanced .embassy-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.embassy-image-container-enhanced:hover .embassy-image {
    transform: scale(1.05);
}

.image-decoration {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, var(--primary-color), var(--kin-blue));
    border-radius: 30px;
    opacity: 0.1;
    z-index: -1;
    transform: rotate(15deg);
}

/* ===========================
   Responsive Adjustments
   =========================== */
@media (max-width: 992px) {
    .page-hero-section {
        padding: 7rem 0 2.5rem 0;
    }

    .page-hero-section.page-hero-compact {
        padding: 6rem 0 2rem 0;
    }

    .page-hero-title {
        font-size: 2rem;
    }

    .page-hero-subtitle {
        font-size: 0.95rem;
    }

    .page-hero-icon {
        width: 65px;
        height: 65px;
    }

    .page-hero-icon i {
        font-size: 1.85rem;
    }
}

@media (max-width: 768px) {
    .page-hero-section {
        padding: 6rem 0 2rem 0;
    }

    .page-hero-section.page-hero-compact {
        padding: 5.5rem 0 1.5rem 0;
    }

    .page-hero-title {
        font-size: 1.75rem;
    }

    .page-hero-subtitle {
        font-size: 0.9rem;
    }

    .page-hero-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 0.75rem;
    }

    .page-hero-icon i {
        font-size: 1.65rem;
    }

    .page-hero-breadcrumb {
        font-size: 0.8rem;
        padding: 0.35rem 0.7rem;
    }

    .embassy-content-box-enhanced {
        padding: 1.5rem;
    }

    .content-badge {
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
    }
}

/* RTL Support for Hero Sections */
[dir="rtl"] .page-hero-breadcrumb {
    flex-direction: row-reverse;
}

[dir="rtl"] .content-badge {
    flex-direction: row-reverse;
}

[dir="rtl"] .image-decoration {
    right: auto;
    left: -20px;
    transform: rotate(-15deg);
}

/* ===========================
   Announcement Popup Modal
   =========================== */
.announcement-modal-dialog {
    max-width: 650px;
}

.announcement-modal-content {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.announcement-modal-header {
    background: linear-gradient(135deg, var(--primary-color), var(--kin-blue));
    color: white;
    padding: 1.75rem 2rem;
    border-bottom: none;
    position: relative;
    display: flex;
    align-items: center;
    gap: 1.25rem;
}


.announcement-modal-header.bg-danger {
    background: linear-gradient(135deg, #dc3545, #c82333) !important;
}

.announcement-modal-header.bg-warning {
    background: linear-gradient(135deg, #ffc107, #e0a800) !important;
    color: #212529 !important;
}

.announcement-modal-header.bg-warning .announcement-modal-close {
    filter: brightness(0);
}

.announcement-modal-badge {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-right: 0.7rem
}

.announcement-modal-badge i {
    font-size: 1.5rem;
    color: white;
}

.announcement-modal-title {
    flex: 1;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
}

.announcement-modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
/*    background-color: rgba(255, 255, 255, 0.3);*/
/*    backdrop-filter: blur(10px);*/
    border-radius: 8px;
    width: 36px;
    height: 36px;
    padding: 0;
    opacity: 1;
    z-index: 2;
}

.announcement-modal-header:not(.bg-warning) .announcement-modal-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}

.announcement-modal-header.bg-warning .announcement-modal-close {
    filter: brightness(0);
}

.announcement-modal-body {
    padding: 2rem 2rem 1.5rem 2rem;
    background: linear-gradient(to bottom, #ffffff, #f8f9fa);
}

.announcement-popup-image {
    margin-bottom: 1.5rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.announcement-popup-image img {
    border-radius: 12px;
    width: 100%;
    height: auto;
}

.announcement-popup-content {
    color: var(--text-dark);
    line-height: 1.8;
    font-size: 1rem;
}

.announcement-popup-content p {
    margin-bottom: 1rem;
}

.announcement-popup-content p:last-child {
    margin-bottom: 0;
}

.announcement-modal-footer {
    background: white;
    border-top: 1px solid #e9ecef;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: center;
}

.announcement-details-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.875rem 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--kin-blue));
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(26, 95, 122, 0.3);
    position: relative;
    overflow: hidden;
}

.announcement-details-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left:5;
    width: 100%;
    height: 100%;
/*    background: linear-gradient(135deg, var(--kin-blue), var(--cedar-green));*/
    opacity: 0;
    transition: opacity 0.4s ease;
}

.announcement-details-btn:hover::before {
    opacity: 1;
}

.announcement-details-btn span,
.announcement-details-btn i {
    position: relative;
    z-index: 1;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.announcement-details-btn:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(26, 95, 122, 0.4);
}

.announcement-details-btn:hover i {
    transform: translateX(6px);
}

.announcement-details-btn:active {
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .announcement-modal-dialog {
        margin: 1rem;
        max-width: calc(100% - 2rem);
    }

    .announcement-modal-header {
        padding: 1.5rem 1.25rem;
        padding-right: 3.5rem;
        gap: 1rem;
    }

    .announcement-modal-badge {
        width: 45px;
        height: 45px;
    }

    .announcement-modal-badge i {
        font-size: 1.25rem;
    }

    .announcement-modal-title {
        font-size: 1rem;
    }

    .announcement-modal-close {
        top: 1rem;
        right: 1rem;
        width: 32px;
        height: 32px;
    }

    .announcement-modal-body {
        padding: 1.5rem 1.25rem;
    }

    .announcement-modal-footer {
        padding: 1.25rem;
    }

    .announcement-details-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }
}

/* RTL Support */
[dir="rtl"] .announcement-modal-close {
    right: auto;
    left: 1.2rem;
}

[dir="rtl"] .announcement-modal-badge {
    margin-left: 0.7rem;
}

    [dir="rtl"] .announcement-details-btn:hover i {
    transform: translateX(-6px);
}

@media (max-width: 768px) {
    [dir="rtl"] .announcement-modal-close {
        left: 1rem;
    }
}
