/* ================================================================
   INPDPA CSS
================================================================ */

:root {
    --clr-teal: #00947A;
    --clr-teal-dark: #007a64;
    --clr-teal-deeper: #005e4c;
    --clr-gold: #c9a63a;
    --clr-gold-light: #e8c96a;
    --clr-beige: #f5f0e8;
    --clr-text: #180e25;
    --clr-text-light: #666;
    --clr-white: #ffffff;
    --clr-border: #e0ddd5;
    --font-display: 'PT Sans', sans-serif;
    --font-body: 'PT Sans', sans-serif;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, .08);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, .12);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, .16);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --transition: .25s ease;

    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
}

html, body {
    overflow-x: hidden !important;
    width: 100%;
    position: relative;
    -webkit-overflow-scrolling: touch;
}

body.rtl {
    direction: rtl;
    text-align: right;
}

body.rtl .hero-content {
    left: auto;
    right: 50%;
    transform: translateX(50%);
    flex-direction: row-reverse;
}

.logo-box:focus,
.logo-box:focus-visible {
    outline: none;
}

*, *::before, *::after {
    box-sizing: border-box
}

.container {
    max-width: 1200px;
}

body {
    font-family: var(--font-body);
    color: var(--clr-text);
    background: var(--clr-white);
    font-size: 15px;
    line-height: 1.7
}

a {
    color: inherit;
    transition: color var(--transition)
}

img {
    max-width: 100%
}

.text-primary {
    color: var(--clr-teal) !important
}

.text-accent {
    color: var(--clr-gold) !important
}

/* ================================================================
   Section Headers
================================================================ */
.section-eyebrow {
    display: block;
    font-family: 'Lora', serif;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 1.5px;
    color: #D39633;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.section-title {
    font-family: 'Lora', serif;
    font-size: 26px;
    font-weight: 700;
    color: #0D3A3A;
    line-height: 1.2;
    margin-bottom: 12px;
}

.section-dots {
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 0;
}

.section-dots span {
    display: block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #DB9E30;
}

.section-dots span.dot-lg {
    width: 10px;
    height: 10px;
}

.section-dots span.dot-line {
    width: 20px;
    height: 3px;
    border-radius: 2px;
}

/* ================================================================
   HEADER
================================================================ */
#site-header {
    position: relative;
    top: 0;
    z-index: 1050;
    overflow: visible;
}

.logo-box {
    background: #ffffff;
    width: 150px;
    height: 181px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding-bottom: 17px;
    border-radius: 0 0 8px 8px;
    margin-top: -100px;
    position: relative;
    flex-shrink: 0;
    z-index: 10;
    text-decoration: none;
    padding-left: 10px;
    padding-right: 10px;
}

.logo-text {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 27px;
    color: #180e25;
    letter-spacing: 3px;
    text-decoration: none !important;
    display: block;
    text-align: center;
    margin-left: 7px;
}

.logo-img {
    width: 80px;
    height: auto;
    object-fit: contain;
    margin-bottom: 8px;
}

.header-topbar {
    background: #ffffff;
    height: 130px;
    position: relative;
}

.header-topbar .container {
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding-bottom: 10px;
    position: relative;
}

.topbar-building {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    height: 150px;
    display: flex;
    align-items: center;
    pointer-events: none;
    z-index: 1;
}

.topbar-tagline {
    font-family: 'Lora', serif;
    font-style: italic;
    font-size: 15px;
    color: #180e25;
    margin-inline-start: 210px;
    z-index: 2;
    position: relative;
}

.topbar-lang {
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 2;
    position: relative;
}

.topbar-lang-item {
    font-family: 'PT Sans', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: var(--clr-text);
    text-decoration: none;
    transition: color var(--transition);
}

.topbar-lang-item:hover,
.topbar-lang-item.active {
    color: var(--clr-teal);
    font-weight: 700;
}

.topbar-lang-sep {
    color: var(--clr-border);
    font-size: 12px;
}

.main-navbar {
    position: relative;
    background-color: #00947A;
    padding: 0;
    min-height: 55px;
    box-shadow: var(--shadow-md);
}

.main-navbar .nav-item.dropdown.show .nav-link {
    border-bottom-color: transparent;
}

.main-navbar::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("../../../public/front/images/navbar_bg.png");
    background-repeat: repeat;
    background-size: auto 100%;
    opacity: 0.6;
    mix-blend-mode: multiply;
    pointer-events: none;
}

.main-navbar .container {
    display: flex;
    align-items: center;
    height: 55px;
}

.main-navbar .navbar-collapse {
    align-items: center;
    display: flex !important;
    align-self: stretch;
    z-index: 1050;
}

.main-navbar .navbar-nav {
    height: 50px;
    align-items: center;
}

.main-navbar .nav-link {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 17px;
    color: #ffffff !important;
    padding: 15px 12px 16px !important;
    border-bottom: 3px solid transparent;
    transition: color var(--transition), border-color var(--transition);
    white-space: nowrap;
    line-height: 19px;
}

.main-navbar .nav-link:hover,
.main-navbar .nav-link.active {
    color: var(--clr-white) !important;
    border-bottom-color: var(--clr-gold);
}

.main-navbar .nav-link:focus {
    outline: none;
    box-shadow: none;
}

.navbar-dropdown {
    border: none;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .15);
    padding: 0;
    min-width: 220px;
    margin-top: 0 !important;
    background: #ffffff;
    overflow: hidden;
}

.navbar-dropdown .dropdown-item {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 400;
    padding: 12px 20px;
    color: var(--clr-text);
    border-bottom: 1px solid rgba(0, 0, 0, .06);
    transition: background var(--transition), color var(--transition);
}

.navbar-dropdown .dropdown-item:last-child {
    border-bottom: none;
}

.navbar-dropdown .dropdown-item:hover {
    background: var(--clr-teal);
    color: #ffffff;
}

.search-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, .85);
    font-size: 1.1rem;
    padding: 10px 8px;
    cursor: pointer;
    transition: color var(--transition);
}

.search-btn:hover {
    color: var(--clr-gold);
}

.search-wrapper {
    position: relative;
}

.search-bar-collapse {
    position: absolute;
    top: 100%;
    right: 0;
    left: auto;
    width: 350px;
    background: var(--clr-teal-dark);
    border-radius: 0 0 8px 8px;
    padding: 12px;
    z-index: 1020;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.3s ease;
}

.search-bar-collapse.open {
    max-height: 100px;
    opacity: 1;
}

.search-input {
    border-radius: var(--radius-sm);
    border: none;
    background: rgba(255, 255, 255, .15);
    color: var(--clr-white);
    font-size: .9rem;
}

.search-input::placeholder {
    color: rgba(255, 255, 255, .6);
}

.search-input:focus {
    background: rgba(255, 255, 255, .25);
    color: var(--clr-white);
    box-shadow: none;
}

.btn-search {
    background: var(--clr-gold);
    color: var(--clr-white);
    border: none;
    border-radius: var(--radius-sm);
    padding: 6px 14px;
}

.btn-search:hover {
    background: var(--clr-gold-light);
    color: var(--clr-teal-deeper);
}

/* ================================================================
   FOOTER
================================================================ */
.site-footer {
    background-color: #085445;
    color: rgba(255, 255, 255, .75);
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("../../../public/front/images/footer_bg.png");
    background-repeat: repeat;
    background-size: auto;
    opacity: 0.1;
    pointer-events: none;
}

.site-footer .container {
    position: relative;
    z-index: 1;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .25);
    padding: 14px 0;
}

.footer-top {
    padding-top: 50px;
    padding-bottom: 30px;
}

.footer-logo-link {
    display: inline-block;
}

.footer-logo-img {
    width: 120px;
    height: 120px;
    object-fit: contain;
}

.footer-logo-text {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 20px;
    color: #ffffff;
    letter-spacing: 3px;
    margin-top: 6px;
}

.social-link {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .85rem;
    color: rgba(255, 255, 255, .7);
    text-decoration: none;
    transition: background var(--transition), color var(--transition);
}

.social-link:hover {
    background: rgba(255, 255, 255, .25);
    color: #ffffff;
}

.footer-columns {
    padding-bottom: 60px;
}

.footer-columns .row {
    --bs-gutter-x: 0rem;
}

.footer-columns .col-lg-3 {
    padding-left: 6px;
    padding-right: 6px;
}

.footer-heading {
    font-family: 'Lora', serif;
    font-weight: 400;
    font-size: 14px;
    letter-spacing: 1.1px;
    color: #ffffff;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.footer-links a {
    font-family: var(--font-body);
    font-weight: 400;
    display: inline-block;
    font-size: 12px;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, .7);
    text-decoration: none;
    transition: color var(--transition), transform var(--transition);
}

.footer-links a:hover {
    color: #ffffff;
    transform: translateX(5px);
}

.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 17px;
    font-family: var(--font-body);
    font-size: 12px;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, .7);
    line-height: 1.5;
}

.footer-contact-icon {
    flex-shrink: 0;
    margin-top: 2px;
    color: rgba(255, 255, 255, .5);
    font-size: 13px;
}

.footer-contact-list a {
    color: rgba(255, 255, 255, .7);
    text-decoration: none;
    transition: color var(--transition);
}

.footer-contact-list a:hover {
    color: #ffffff;
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-copy {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 12px;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, .6);
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-bottom-links a {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 12px;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, .6);
    text-decoration: none;
    transition: color var(--transition);
}

.footer-bottom-links a:hover {
    color: #ffffff;
}

.nav-toggle-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.burger {
    display: none;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 6px;
}

.burger span,
.burger span::before,
.burger span::after {
    content: '';
    display: block;
    width: 20px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    position: relative;
    transition: all 0.3s ease;
}

.burger span::before {
    position: absolute;
    top: -6px;
}

.burger span::after {
    position: absolute;
    top: 6px;
}

#navToggle:checked ~ #site-header .navbar-collapse {
    transform: translateX(0);
    visibility: visible;
}

.nav-backdrop {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .5);
    z-index: 1040;
    backdrop-filter: blur(2px);
}

#navToggle:checked ~ .nav-backdrop {
    opacity: 1;
    visibility: visible;
}

.news-card-title,
.news-card-excerpt,
.event-card-title,
.event-card-excerpt,
.related-card-title,
.related-card-excerpt,
.featured-doc-title,
.featured-doc-desc,
.doc-item-title {
    word-break: break-word;
    overflow-wrap: break-word;
}

/* ================================================================
   RESPONSIVE — app.css
================================================================ */

@media (max-width: 768px) {

    .header-topbar {
        display: none;
    }

    .logo-box {
        width: auto;
        height: auto;
        margin-top: 0;
        flex-direction: row;
        padding: 8px 12px;
        border-radius: 0;
        gap: 8px;
        align-items: center;
        justify-content: flex-start;
        background: transparent;
    }

    .logo-img {
        width: 50px;
        margin-bottom: 0;
    }

    .logo-text {
        font-size: 22px;
        margin-left: 0;
        color: #fff;
    }

    #site-header,
    .main-navbar {
        z-index: auto !important;
    }

    .main-navbar {
        min-height: 70px;
    }

    .main-navbar .container {
        height: 50px;
    }

    .main-navbar::before {
        display: none;
    }

    .main-navbar .navbar-collapse {
        display: flex !important;
        position: fixed;
        top: 0;
        left: 0;
        width: 180px;
        max-width: 80%;
        height: 100vh;
        background: #00947A;
        flex-direction: column;
        align-items: flex-start;
        padding: 0 0 24px;
        overflow-y: auto;
        box-shadow: 4px 0 24px rgba(0, 0, 0, .3);
        transform: translateX(-100%);
        visibility: hidden;
        transition: transform 0.3s ease, visibility 0.3s ease;
        z-index: 1060;
    }

    .main-navbar .navbar-nav {
        flex-direction: column;
        height: auto;
        width: 100%;
    }

    .main-navbar .navbar-nav .nav-item {
        border-bottom: 1px solid rgba(255, 255, 255, .1);
        width: 100%;
    }

    .main-navbar .nav-link {
        padding: 16px 20px !important;
        font-size: 16px !important;
        font-weight: 400 !important;
    }

    #mainNav .navbar-nav .nav-link {
        padding: 16px 20px !important;
        font-size: 16px !important;
        font-weight: 400 !important;
    }

    .main-navbar .nav-link:hover,
    .main-navbar .nav-link.active {
        background: rgba(255, 255, 255, .1);
        border-bottom-color: transparent !important;
    }

    .main-navbar .navbar-collapse::-webkit-scrollbar {
        width: 4px;
    }

    .main-navbar .navbar-collapse::-webkit-scrollbar-thumb {
        background: var(--clr-gold);
        border-radius: 10px;
    }

    .navbar-dropdown {
        background: rgba(0, 0, 0, .15);
        box-shadow: none;
        border-radius: 0;
        position: relative !important;
        transform: none !important;
        width: 100%;
    }

    .nav-item.dropdown {
        display: flex;
        flex-direction: column;
    }

    .navbar-dropdown .dropdown-item {
        color: #fff;
        padding: 12px 40px;
        border-bottom-color: rgba(255, 255, 255, .08);
    }

    .navbar-dropdown .dropdown-item:hover {
        background: rgba(255, 255, 255, .12);
    }

    .search-wrapper {
        width: 100%;
        padding: 16px 24px;
    }

    .search-bar-collapse {
        position: relative;
        width: 100%;
        top: auto;
        right: auto;
        border-radius: 8px;
    }

    .search-btn {
        display: none;
    }

    .section-title {
        font-size: 22px;
    }

    .footer-columns .col-lg-3 {
        margin-bottom: 20px;
    }

    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom-links {
        justify-content: center;
    }

    .mobile-nav-header {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 18px 0 5px;
        border-bottom: none;
        position: relative;
        width: 100%;
    }

    .mobile-nav-logo-img {
        margin-top: 16px;
        align-self: flex-start;
        margin-left: 20px;
        width: 65px;
        height: auto;
        margin-bottom: 8px;
    }

    .mobile-nav-logo-text {
        font-family: var(--font-body);
        font-size: 24px;
        font-weight: 500;
        letter-spacing: 3px;
        color: #fff;
        align-self: flex-start;
        margin-left: 20px;
    }

    .main-navbar .navbar-collapse .nav-link {
        text-align: left !important;
        font-size: 18px !important;
    }

    .mobile-nav-search {
        padding: 12px 32px 16px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, .15);
        width: 100%;
    }

    .mobile-nav-search form {
        position: relative;
        display: flex;
        align-items: center;
    }

    .mobile-nav-search input {
        width: 100%;
        height: 44px;
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 8px;
        padding: 0 45px 0 15px;
        color: #fff;
        font-size: 15px;
        outline: none;
        transition: border-color var(--transition), background var(--transition);
    }

    .mobile-nav-search input::placeholder {
        color: rgba(255, 255, 255, 0.6);
    }

    .mobile-nav-search input:focus {
        background: rgba(255, 255, 255, 0.15);
        border-color: var(--clr-gold);
    }

    .mobile-nav-search button {
        position: absolute;
        right: 5px;
        width: 36px;
        height: 36px;
        border: none;
        background: transparent;
        color: #fff;
        display: grid;
        place-items: center;
        cursor: pointer;
        font-size: 16px;
    }

    .burger {
        display: flex;
        position: relative;
        z-index: 1050;
    }

    .navbar-collapse {
        transform: translateX(-100%);
        visibility: hidden;
    }

    #navToggle:checked ~ #site-header .burger span {
        background: transparent;
    }

    #navToggle:checked ~ #site-header .burger span::before {
        transform: rotate(45deg);
        top: 0;
    }

    #navToggle:checked ~ #site-header .burger span::after {
        transform: rotate(-45deg);
        top: 0;
    }

    .mobile-nav-lang {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 14px 24px;
    }

    .mobile-nav-lang a {
        font-family: 'PT Sans', sans-serif;
        font-size: 16px;
        color: rgba(255, 255, 255, .8);
        text-decoration: none;
    }

    .mobile-nav-lang a.active {
        color: #fff;
        font-weight: 700;
    }

    .mobile-nav-lang span {
        color: rgba(255, 255, 255, .4);
    }
}

@media (max-width: 576px) {

    .main-navbar .container {
        height: 70px;
    }

    .logo-text {
        font-size: 21px;
        margin-left: 10px;
    }

    .logo-img {
        width: 50px;
    }

    .main-navbar .navbar-collapse {
        width: 320px;
    }

    .main-navbar .nav-link {
        font-size: 14px;
        padding: 12px 20px !important;
    }

    .section-title {
        font-size: 20px;
    }

    .footer-heading {
        font-size: 13px;
    }

    .footer-bottom-links {
        flex-direction: column;
        gap: 8px;
    }
}

@media (min-width: 992px) {
    .mobile-nav-header,
    .mobile-nav-search {
        display: none;
    }

    .main-navbar .navbar-collapse {
        flex-grow: 1;
        justify-content: space-between;
    }

    .main-navbar .navbar-nav {
        flex-grow: 1;
        justify-content: center;
    }

    .search-wrapper {
        margin-left: auto !important;
    }

    .nav-lang-mobile {
        display: none;
    }
}