/* ============================================
   TANAP CMS - Exact replica of original main.css
   Source: html/assets/css/main.css
   ============================================ */

/* ---- Google Fonts (Poppins - original font) ---- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;300;400;600&display=swap');

/* ---- Base ---- */
body {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    letter-spacing: 0.02rem;
    font-weight: 400;
    margin: 0;
    padding: 0;
}

a {
    color: #3589b3;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ---- Utility ---- */
.d-flex {
    display: flex;
}

.d-none {
    display: none !important;
}

.d-block {
    display: block;
}

.flex-column {
    flex-direction: column;
}

.align-items-center {
    align-items: center;
}

.justify-content-between {
    justify-content: space-between;
}

.justify-content-center {
    justify-content: center;
}

.text-center {
    text-align: center;
}

.h-100 {
    height: 100%;
}

.mb-3 {
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .d-none.d-md-block {
        display: block !important;
    }
}

.wrapper {
    position: relative;
    overflow: hidden;
}

.img-fluid {
    max-width: 100%;
    height: auto;
}

@media (min-width: 768px) {
    .d-md-block {
        display: block !important;
    }

    .d-md-none {
        display: none !important;
    }

    .mb-md-0 {
        margin-bottom: 0 !important;
    }
}

/* ============================================
   TOP BAR (topmenu)
   ============================================ */
.topmenu {
    height: 45px;
    border-bottom: 1px solid #cbb677;
}

.topmenu .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.topmenu .nav {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.topmenu .nav>.nav-item {
    border-left: 1px solid #efe9d6;
}

.topmenu .nav>.nav-item:first-child {
    border: none;
}

.topmenu .nav>.nav-item:first-child a {
    padding-left: 0;
}

.topmenu li a {
    font-size: 11px;
    color: #242424;
    line-height: 22px;
    padding: 11px 20px;
    font-weight: 500;
    display: block;
    transition: color 0.3s;
}

.topmenu li a:hover {
    color: #3589b3;
}

.topmenu li a.disbled {
    cursor: default;
}

.topmenu li a.disbled:hover {
    color: #242424 !important;
}

/* ============================================
   MAIN MENU (mainmenu - 95px height)
   ============================================ */
.mainmenu {
    height: 95px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.mainmenu .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

#logo a {
    display: inline-block;
}

#logo img {
    height: 55px;
    width: auto;
}

/* Main Nav List */
.main-nav {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav>li {
    position: relative;
}

.main-nav>li>a {
    font-size: 13px;
    color: #242424 !important;
    font-weight: 600;
    padding-left: 1.3rem !important;
    padding-right: 0.8rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
    display: block;
    transition: color 0.3s;
    white-space: nowrap;
}

.main-nav>li>a:hover,
.main-nav>li.active>a {
    color: #3589b3 !important;
}

/* Dropdown arrow - CSS only */
.main-nav>li>a .arrow {
    display: none;
}

/* Dropdown */
.main-nav .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 200px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(5px);
    transition: all 0.3s ease;
    z-index: 200;
    padding: 0;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 0;
    list-style: none;
    white-space: nowrap;
}

.main-nav>li:hover>.dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Right-align dropdowns for last 2 menu items to avoid overflow */
.main-nav>li:nth-last-child(-n+2) .dropdown-menu {
    left: auto;
    right: 0;
}

.main-nav .dropdown-menu li a {
    display: block;
    padding: 12px 20px;
    font-size: 13px;
    color: #242424;
    font-weight: 600;
    transition: all 0.2s;
}

.main-nav .dropdown-menu li a:hover {
    background: #f5f5f5;
    color: #3589b3;
}

/* Flyout submenu (dropend) - 3rd level */
.main-nav .dropdown-menu li.dropend {
    position: relative;
}


.main-nav .dropdown-menu li.dropend>.submenu {
    position: absolute;
    top: -4px;
    left: 100%;
    min-width: 180px;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: none;
    border-radius: 0;
    padding: 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    white-space: nowrap;
    list-style: none;
}

.main-nav .dropdown-menu li.dropend:hover>.submenu {
    opacity: 1;
    visibility: visible;
}

.main-nav .dropdown-menu li.dropend .submenu li a {
    padding: 12px 20px;
    border-bottom: 1px solid #f5f5f5;
}

.main-nav .dropdown-menu li.dropend:hover>a {
    background: #f5f5f5;
    color: #3589b3;
}

/* Mobile header area (EN + hamburger) */
.mobile-header-right {
    display: none;
    align-items: center;
    gap: 10px;
}

.mobile-header-right .mobile-lang {
    font-size: 13px;
    font-weight: 600;
    color: #242424;
}

.mobile-toggle {
    background: none;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    font-size: 1.5rem;
    font-family: system-ui, -apple-system, Arial, sans-serif;
    color: #242424;
    cursor: pointer;
    padding: 4px 8px;
    line-height: 1;
}

.hamburger-icon {
    display: inline-block;
    width: 24px;
    height: 24px;
    vertical-align: middle;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
}

/* ============================================
   HERO BANNER
   ============================================ */
.hero {
    position: relative;
}

.banner {
    height: 500px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    position: relative;
}

.hero-slider {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.hero-slide.active {
    opacity: 1;
}

/* ============================================
   INTRO SECTION (Teal bg - #6cc3d7)
   ============================================ */
.intro {
    position: relative;
    background-color: #6cc3d7;
    box-sizing: border-box;
    padding-top: 80px;
}

.intro .container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.intro h5 {
    font-weight: 600;
    line-height: 34px;
    font-size: 18px;
    color: #242424;
}

.intro .btn_video {
    display: inline-flex;
    margin-top: 10px;
}

.intro .btn_video:hover {
    opacity: 0.9;
}

.intro .btn_video img {
    width: 130px;
    height: auto;
}

/* ============================================
   INTROMENU (Quick link cards - floating)
   ============================================ */
.intro .intromenu {
    position: absolute;
    bottom: 111px;
    left: 0;
    display: flex;
    justify-content: center;
    width: 100%;
    z-index: 10;
}

.intromenu .row {
    display: flex;
    gap: 15px;
    padding: 16px 0;
    border-radius: 18px;
}

.intromenu a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 270px;
    height: 90px;
    background: linear-gradient(110.64deg, #9dc9dd 3.81%, #699aba 108.87%);
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    line-height: 20px;
    color: #fff;
    text-align: left;
    transition: opacity 0.3s;
}

.intromenu a:hover {
    opacity: 0.97;
    color: #fff;
}

.intromenu a img {
    width: 40px;
    height: auto;
    margin-right: 20px;
}

.intromenu .row>div:nth-child(2) a {
    background: linear-gradient(118.15deg, #bdcccb 11.44%, #8ba09d 99.67%);
}

.intromenu .row>div:nth-child(3) a {
    background: linear-gradient(117.06deg, #c9cbb8 12.97%, #9ea086 93.35%);
}

.intromenu .row>div:nth-child(4) a {
    background: linear-gradient(108.87deg, #e5dbb3 17.05%, #c7b57e 101.67%);
}

/* Bottom Panel (Subpages - #cbb677 bg with overlapping intromenu) */
.bottompanel {
    padding-top: 60px;
}

.bottom {
    position: relative;
    background-color: #cbb677;
    box-sizing: border-box;
    padding-top: 50px;
    padding-bottom: 40px;
}

.bottom .intromenu {
    position: absolute;
    top: -45px;
    display: flex;
    justify-content: center;
    width: 100%;
}

/* ============================================
   NEWS PANEL (Announcements - #f8f6ec)
   ============================================ */
.section {
    background-color: #f8f6ec;
}

.newspanel {
    background-color: #faf9f2;
    color: #242424;
    padding: 70px 0 70px;
}

.newsheader {
    margin-bottom: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ddd;
}

.newsheader .nav-tabs {
    display: flex;
    border: none;
    width: 100%;
    list-style: none;
    padding: 0;
    margin: 0;
}

.newsheader .nav-link {
    background: none;
    border: none;
    font-weight: 600;
    font-size: 16px;
    line-height: 22px;
    padding: 0 1.4rem;
    color: #242424;
    cursor: default;
}

.newsheader .nav-link.active {
    font-weight: 700;
    border-bottom: 2px solid #3589b3;
}

.btn_allnews {
    white-space: nowrap;
    color: #3589b3;
    font-size: 14px;
    font-weight: 500;
}

.btn_allnews:hover {
    text-decoration: underline;
}

/* News content / carousel */
.newscontent h6 {
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
    color: #242424;
    margin-bottom: 6px;
}

.newscontent a {
    font-size: 14px;
    line-height: 22px;
    color: #3589b3;
    font-weight: 500;
}

.newscontent a:hover {
    text-decoration: underline;
}

.news-carousel {
    min-height: 75px;
    position: relative;
}

.news-slide {
    opacity: 0;
    transition: opacity 0.5s ease;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.news-slide.active {
    opacity: 1;
    position: relative;
}

/* Carousel dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 30px 0 10px;
}

.carousel-dots .dot {
    width: 5px;
    height: 5px;
    border: 1px solid #d1c8a4;
    border-radius: 10px;
    background: #d1c8a4;
    cursor: pointer;
    transition: all 0.3s;
}

.carousel-dots .dot.active {
    border: 1px solid #3589b3;
    background: #3589b3;
}

/* ============================================
   GRID PANEL (Policy cards - #3589b3)
   ============================================ */
.gridpanel {
    background-color: #3589b3;
    padding: 90px 0 80px 0;
    color: #fff;
}

.gridpanel .row {
    display: flex;
    gap: 24px;
}

.gridpanel .row>div {
    flex: 1;
}

.gridpanel img {
    border-radius: 12px;
    width: 100%;
}

.gridimg {
    position: relative;
    margin-bottom: 12px;
}

.gridimg a {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.gridimg .sha {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    bottom: 0;
    border-radius: 0;
    background: linear-gradient(228.93deg, rgba(0, 0, 0, 0) 61.09%, #000000 108.91%);
}

.gridimg h5 {
    font-size: 18px;
    font-weight: 600;
    line-height: 24px;
    color: #ffffff;
    position: absolute;
    left: 18px;
    bottom: 16px;
    margin: 0;
    z-index: 2;
}

.gridimg h5:hover {
    color: #ffffff;
}

/* ============================================
   FOOTER (Gold bg - #cbb677)
   ============================================ */
footer,
.site-footer {
    background-color: #cbb677;
    padding: 55px 0 0 0;
}

.footer-row {
    display: flex;
    flex-wrap: wrap;
}

.footer-col-7 {
    width: 100%;
}

.footer-inner-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}

.footermenu {
    color: #242424;
    padding-bottom: 40px;
}

.footermenu h5 {
    font-size: 14px;
    font-weight: 600;
    line-height: 22px;
    margin-bottom: 12px;
    margin-top: 0;
}

.footermenu a {
    color: #242424;
    font-size: 13px;
    font-weight: 400;
}

.footermenu a:hover {
    opacity: 0.7;
}

.footermenu li {
    line-height: 20px;
    padding-bottom: 12px;
}

.copyright {
    border-top: 1px solid #aa9454;
    padding: 10px 0;
    font-size: 13px;
    line-height: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright a {
    color: #242424;
}

/* ============================================
   INNER PAGES - Head Panel
   ============================================ */
.headpanel {
    background-color: #3589b3;
    color: #fff;
    background-image: url('../img/head_bg.png');
    background-position: center 12px;
    background-repeat: no-repeat;
}

.headcontent {
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    min-height: 320px;
}

.headcontent h1 {
    font-size: 36px;
    line-height: 40px;
    font-weight: 600;
    margin-top: 70px;
    text-align: center;
}

.page-banner {
    background-color: #3589b3;
    color: #fff;
    padding: 0;
    min-height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.page-banner .container {
    padding-top: 30px;
    padding-bottom: 20px;
    text-align: center;
}

.page-banner h1 {
    font-size: 24px;
    line-height: 30px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #fff;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    list-style: none;
    padding: 0;
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
    color: #fff;
}

.breadcrumb .current {
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb span {
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb li {
    font-size: 14px;
    line-height: 30px;
    font-weight: 400;
    opacity: 0.7;
}

.breadcrumb li:before {
    content: "-";
    padding: 0 5px;
}

.breadcrumb li:first-child::before {
    content: none;
}

.breadcrumb li a {
    font-weight: 400;
    color: #fff;
}

.breadcrumb li a:hover {
    text-decoration: underline;
}

.breadcrumb .current {
    color: rgba(255, 255, 255, 0.7);
}

/* Content Area */
.page-content {
    padding: 60px 0;
    background-color: #f8f6ec;
}

.blogcontent {
    font-size: 14px;
    line-height: 27px;
    font-weight: 400;
}

.blogcontent p {
    padding: 5px 0;
    color: #000000;
}

.blogcontent li {
    padding-bottom: 8px;
}

.blogcontent h2 {
    font-size: 22px;
    line-height: 26px;
    font-weight: 600;
}

.blogimg {
    padding: 0 0 20px 20px;
    position: relative;
}

.blogimg::before {
    content: "";
    position: absolute;
    background-color: #3589b3;
    opacity: 0.5;
    left: 0;
    bottom: 0;
    width: 70%;
    height: 60%;
    border-radius: 18px;
}

.blogimg.light::before {
    background-color: #e0d8b5;
}

.blogimg img {
    border-radius: 18px;
    display: block;
    position: relative;
}

/* Blog sidebar menu */
.blogmenu {
    padding: 3px 0;
    background: #ffffff;
    border: 1px solid #ecdac3;
    box-sizing: border-box;
    box-shadow: 0px 10px 40px rgba(229, 219, 179, 0.2);
    border-radius: 15px;
    list-style: none;
}

.blogmenu li {
    padding: 18px 10px 17px 24px;
    border-top: 1px solid #e6dfd7;
}

.blogmenu li.active {
    font-weight: 600;
}

.blogmenu li:first-child {
    border: none;
}

.blogmenu li a {
    color: #242424;
    line-height: 20px;
}

/* ============================================
   GALLERY PAGE
   ============================================ */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 15px;
    padding: 50px 0;
}

.gallery-item {
    aspect-ratio: 4/3;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item .caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: #fff;
    padding: 30px 15px 12px;
    font-size: 13px;
    font-weight: 500;
    opacity: 0;
    transition: opacity 0.3s;
}

.gallery-item:hover .caption {
    opacity: 1;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2rem;
    color: #fff;
    cursor: pointer;
    background: none;
    border: none;
}

/* ============================================
   ANNOUNCEMENTS & PRESS RELEASES
   ============================================ */
.list-page {
    padding: 50px 0;
}

.list-item {
    padding: 25px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    gap: 20px;
}

.list-item .date-block {
    min-width: 70px;
    text-align: center;
    background: #3589b3;
    color: #fff;
    border-radius: 8px;
    padding: 10px;
}

.list-item .date-block .day {
    font-size: 24px;
    font-weight: 700;
}

.list-item .date-block .month {
    font-size: 11px;
    text-transform: uppercase;
}

.list-item h4 {
    font-size: 15px;
    font-weight: 600;
    color: #242424;
    margin-bottom: 6px;
}

.list-item .download-link {
    font-size: 13px;
    color: #3589b3;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 50px 0;
}

.contact-info h3 {
    font-size: 18px;
    font-weight: 600;
    color: #3589b3;
    margin-bottom: 15px;
}

.contact-info p {
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 24px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    font-size: 13px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn-submit {
    background: #3589b3;
    color: #fff;
    border: none;
    padding: 12px 40px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
}

.contact-form .btn-submit:hover {
    opacity: 0.9;
}

/* ============================================
   MOBILE MENU
   ============================================ */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
}

.mobile-menu-overlay.active {
    display: block;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    height: 100vh;
    background: #fff;
    z-index: 999;
    transition: right 0.3s ease;
    overflow-y: auto;
    padding: 20px;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu .close-btn {
    text-align: right;
    margin-bottom: 20px;
}

.mobile-menu .close-btn button {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-menu ul {
    list-style: none;
    padding: 0;
}

.mobile-menu>ul>li {
    border-bottom: 1px solid #eee;
}

.mobile-menu>ul>li>a {
    display: block;
    padding: 12px 0;
    font-size: 14px;
    font-weight: 600;
    color: #242424;
}

.mobile-menu .sub-menu {
    padding-left: 15px;
    padding-bottom: 10px;
}

.mobile-menu .sub-menu li a {
    display: block;
    padding: 6px 0;
    font-size: 13px;
    color: #666;
}

/* ============================================
   RESPONSIVE (991px - tablet)
   ============================================ */
@media (max-width: 991px) {
    .topmenu {
        display: none !important;
    }

    .main-nav {
        display: none !important;
    }

    .mobile-header-right {
        display: flex !important;
    }

    .mainmenu {
        height: auto;
        min-height: 70px;
        padding: 10px 0;
    }

    .banner,
    .hero-slider,
    .hero-slide {
        height: 250px;
    }

    .intro {
        padding-top: 20px;
        padding-bottom: 40px;
    }

    .intro .intromenu {
        position: relative !important;
        top: -6px !important;
        bottom: auto !important;
        padding: 10px 0;
    }

    .intromenu .row {
        flex-direction: column;
        gap: 10px;
        padding: 10px 0;
    }

    .intromenu a {
        min-width: auto;
        width: 100%;
        justify-content: left;
        padding-left: 24px;
        height: 80px;
    }

    .intro h5 {
        font-weight: 600;
        line-height: 20px;
        font-size: 16px;
    }

    .newspanel {
        padding-top: 30px;
        padding-bottom: 50px;
    }

    .newsheader {
        margin-bottom: 20px;
    }

    .newscontent h6 {
        font-size: 13px;
        line-height: 18px;
    }

    .newscontent a {
        font-size: 13px;
        line-height: 18px;
        margin-top: 4px;
    }

    .gridpanel {
        padding: 60px 0 40px 0;
    }

    .gridpanel .row {
        flex-direction: column;
        gap: 15px;
    }

    .gridimg .sha {
        display: none;
    }

    .gridimg h5 {
        font-size: 20px;
        font-weight: 600;
        line-height: 26px;
        left: 15px;
        bottom: 15px;
    }

    .footermenu {
        width: 50%;
    }

    footer {
        padding: 40px 0 0 0;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .page-banner {
        min-height: 200px;
    }

    .page-banner .container {
        padding-top: 40px;
    }

    .page-banner h1 {
        font-size: 24px;
    }

    .headcontent {
        min-height: 190px;
    }

    .headcontent h1 {
        font-size: 24px;
        line-height: 26px;
        margin-top: 20px;
    }

    .blogimg {
        padding: 0;
    }

    .blogimg::before {
        display: none;
    }

    .blogmenu {
        display: none;
    }
}

/* ============================================
   RESPONSIVE (576px - mobile)
   ============================================ */
@media (max-width: 576px) {

    body,
    html {
        overflow-x: hidden;
        width: 100%;
        max-width: 100%;
    }

    .container {
        padding-left: 10px;
        padding-right: 10px;
        width: 100%;
        max-width: 100%;
    }

    /* Compact header at narrow width */
    .mainmenu .container {
        padding-left: 8px;
        padding-right: 8px;
    }

    #logo {
        height: 50px;
        flex-shrink: 1;
        min-width: 0;
    }

    #logo img {
        height: 80%;
        max-width: 160px;
    }

    .mobile-header-right {
        flex-shrink: 0;
        gap: 6px !important;
    }

    .mobile-toggle {
        font-size: 1.3rem;
        padding: 2px 6px;
    }

    #logo {
        height: 50px;
    }

    #logo img {
        height: 80%;
    }

    .banner,
    .hero-slider,
    .hero-slide {
        height: 150px;
    }

    .intromenu .row {
        padding: 10px 0;
        border-radius: 18px;
    }

    .footermenu {
        width: 50%;
    }

    .footermenu h5 {
        font-size: 10px;
        font-weight: 600;
        line-height: 8px;
        margin-bottom: 10px;
    }

    .footermenu a {
        font-size: 9px;
    }

    .footermenu li {
        line-height: 10px;
    }

    .copyright {
        border-top: 1px solid #aa9454;
        padding: 16px 0;
        font-size: 10px;
        line-height: 20px;
        flex-direction: column;
        text-align: center;
        gap: 5px;
    }

    .blogcontent {
        font-size: 13px;
        line-height: 22px;
        padding-bottom: 15px;
    }

    .blogcontent h2 {
        font-size: 16px;
        line-height: 24px;
    }

    .breadcrumb li {
        font-size: 12px;
        line-height: 18px;
        margin-top: 2px;
    }

    .nav-link {
        font-size: 12px;
    }

    .gridheader h5 {
        font-size: 24px;
        font-weight: 600;
        line-height: 32px;
        margin-bottom: 5px;
    }
}

/* ============================================
   PAGE LAYOUT (Content + Sidebar)
   ============================================ */
.page-layout {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.page-main {
    flex: 1;
    min-width: 0;
}

.page-sidebar {
    width: 280px;
    flex-shrink: 0;
}

.sidebar-menu {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
}

.sidebar-menu .sidebar-title {
    padding: 16px 20px;
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #242424;
    border-bottom: 1px solid #e0e0e0;
}

.sidebar-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sidebar-menu ul li a {
    display: block;
    padding: 14px 20px;
    font-size: 14px;
    color: #333;
    font-weight: 400;
    border-bottom: 1px solid #e8e8e8;
    transition: all 0.2s;
    text-decoration: none;
}

.sidebar-menu ul li:last-child a {
    border-bottom: none;
}

.sidebar-menu ul li a:hover {
    background: #f5f5f5;
    color: #242424;
}

.sidebar-menu ul li.active a {
    font-weight: 700;
    color: #242424;
}

/* Sidebar Icon Cards */
.sidebar-icon-card {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 24px;
    margin-top: 12px;
    background-color: #e2d9bd;
    border-radius: 16px;
    text-decoration: none;
    color: #242424;
    font-weight: 600;
    font-size: 17px;
    transition: all 0.2s;
}

.sidebar-icon-card:hover {
    background: #ddd0b8;
}

.sidebar-icon-card img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    flex-shrink: 0;
}

.sidebar-icon-card span {
    line-height: 1.3;
}

/* ============================================
   FEATURED IMAGE (Page Content)
   ============================================ */
.featured-image {
    position: relative;
    margin-bottom: 30px;
    max-width: 850px;
    padding-left: 25px;
    padding-bottom: 25px;
}

.featured-image::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 70%;
    height: 70%;
    background: linear-gradient(135deg, #7fbdd4 0%, #6db3cc 100%);
    border-radius: 12px;
    z-index: 0;
}

.featured-image img {
    position: relative;
    z-index: 1;
    width: 100%;
    max-height: 409px;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}

@media (max-width: 768px) {
    .page-layout {
        flex-direction: column;
    }

    .page-sidebar {
        width: 100%;
    }
}

/* ---- Announcements list (orijinal tanap.com tarzı) ---- */
.announcements-list {
    padding: 0;
}

.announcement-item {
    padding: 20px 0;
    border-bottom: 1px solid rgba(180, 160, 120, 0.4);
}

.announcement-item:last-child {
    border-bottom: none;
}

.announcement-item h3 {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin: 0;
    line-height: 1.5;
}

.announcement-item a {
    text-decoration: none;
}

.announcement-item a h3 {
    color: #333;
    transition: color 0.2s;
}

.announcement-item a:hover h3 {
    color: #3589b3;
}

/* ===== Press Releases Card Grid ===== */
.press-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    padding: 30px 0 50px;
}

.press-card {
    background: #c5b27d;
    border-radius: 6px;
    overflow: hidden;
}

.press-card-img {
    width: 100%;
    height: 260px;
    overflow: hidden;
    background: #1a2a3a;
}

.press-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.press-card-body {
    padding: 25px;
}

.press-card-body h3 {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 12px;
    line-height: 1.4;
}

.press-card-body h3 a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.2s;
}

.press-card-body h3 a:hover {
    color: #333;
}

.press-card-body p {
    font-size: 13px;
    color: #333;
    line-height: 1.6;
    margin: 0 0 15px;
}

.press-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
}

.press-date {
    font-size: 13px;
    color: #444;
    font-weight: 500;
}

.press-readmore {
    font-size: 13px;
    color: #1a1a1a;
    font-weight: 400;
    text-decoration: none;
}

.press-readmore:hover {
    font-weight: 700;
}

@media (max-width: 768px) {
    .press-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .press-card-img {
        height: 200px;
    }
}

/* ===== Press Release Detail ===== */
.press-detail-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 40px;
    padding: 40px 0 60px;
    align-items: start;
}

.press-detail-main {
    min-width: 0;
}

.press-detail-img {
    width: 100%;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 25px;
}

.press-detail-img img {
    width: 100%;
    height: auto;
    display: block;
}

.press-detail-title {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 20px;
    line-height: 1.4;
}

.press-detail-content {
    font-size: 15px;
    line-height: 1.85;
    color: #333;
}

.press-detail-content p {
    margin-bottom: 16px;
}

/* Sidebar */
.press-detail-sidebar {
    position: sticky;
    top: 20px;
}

.sidebar-nav-box {
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
    background: #fff;
}

.sidebar-nav-item {
    display: block;
    padding: 14px 20px;
    color: #3589b3;
    text-decoration: none;
    font-size: 14px;
    border-bottom: 1px solid #eee;
    transition: background 0.2s, color 0.2s;
}

.sidebar-nav-item:last-child {
    border-bottom: none;
}

.sidebar-nav-item:hover {
    background: #f5f5f5;
}

.sidebar-nav-item.active {
    color: #1a1a1a;
    font-weight: 600;
    background: #fafafa;
}

@media (max-width: 768px) {
    .press-detail-layout {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .press-detail-sidebar {
        position: static;
    }
}

/* ============================================
   SAYILARLA TANAP - Original tanap.com CSS
   ============================================ */

/* Row grid system for page content */
.content-body .row {
    display: flex;
    flex-wrap: wrap;
}

/* Bootstrap-equivalent column classes used in DB content */
.content-body .col-12,
.content-body .col-md-12,
.content-body .col-md129 {
    flex: 0 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.content-body .gx-5 {
    --bs-gutter-x: 2.7rem;
}

.content-body .gx-5>* {
    padding-left: calc(var(--bs-gutter-x) * .5);
    padding-right: calc(var(--bs-gutter-x) * .5);
}

.mb100 {
    margin-bottom: 70px;
}

.col-md-3x {
    flex: 0 0 auto;
    width: 25%;
    padding: 0 15px;
    box-sizing: border-box;
}

.logocontent {
    margin-bottom: 2rem;
}

.numberimg {
    margin-bottom: 12px;
}

.numberimg img {
    border-radius: 5px;
    overflow: hidden;
    max-width: 100%;
    height: auto;
}

.st1text {
    font-weight: bold;
    color: #3589b3;
    padding: 0;
    font-size: 13px;
    line-height: 18px;
    text-align: left;
    text-decoration: none;
}

.st1text:hover {
    color: #3589b3;
}

.st1textb {
    font-weight: bold;
    color: #3589b3;
    padding: 0;
    font-size: 24px;
    line-height: 26px;
    text-align: left;
    text-decoration: none;
}

.st1textb:hover {
    color: #3589b3;
}

@media (max-width: 991px) {
    .col-md-3x {
        width: 33.33%;
    }
}

@media (max-width: 767px) {
    .col-md-3x {
        width: 50%;
    }
}

@media (max-width: 480px) {
    .col-md-3x {
        width: 100%;
    }
}

/* ============================================
   BLOGLIST - Content list with separators
   (Original tanap.com layout for service pages)
   ============================================ */
.bloglist {
    font-size: 14px;
    line-height: 26px;
    font-weight: 600;
}

.bloglist ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bloglist li {
    border-top: 1px solid #e0d3ad;
    display: flex;
    justify-content: flex-start;
    padding: 26px 0;
    line-height: 24px;
}

.bloglist li:first-child {
    border: none;
}

.bloglist li img {
    width: 100px;
    margin-right: 30px;
    border-radius: 6px;
}

.bloglist li p {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    margin: 0;
}

.bloglist li span {
    font-size: 18px;
    line-height: 26px;
    font-weight: 600;
    color: #3589b3;
}

.bloglist li a {
    font-weight: 600;
    font-size: 14px;
    line-height: 22px;
    color: #242424;
    text-decoration: none;
}

.bloglist li a:hover {
    color: #242424;
    text-decoration: none;
}

/* ============================================
   DOCSCONTENT - Document download list
   (Original tanap.com layout for referans pages)
   ============================================ */
.docscontent {
    min-height: 48px;
    width: 100%;
}

.docscontent a {
    font-size: 14px;
    line-height: 32px;
    padding-bottom: 16px;
    color: #242424;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    text-decoration: none;
}

.docscontent a:hover {
    color: #3589b3;
}

.docscontent a img {
    width: 32px;
    margin-right: 10px;
    flex-shrink: 0;
}

.docscontent .collapse a,
.docscontent .dtitle {
    cursor: pointer;
}

.docscontent .collapse {
    display: none;
}

.docscontent .collapse.show {
    display: inline;
}

.docscontent .collapse a {
    display: inline-flex;
    margin-left: 4px;
}

.docscontent .dtitle {
    cursor: pointer;
}

/* Page banner subtitle for sub-pages */
.headcontent h2,
.page-banner h2 {
    font-size: 22px;
    font-weight: 600;
    color: #fff;
    margin-top: 0;
    margin-bottom: 10px;
}

/* ============================================
   SIDEBAR - Blog menu and icon cards
   (Original tanap.com layout for İletişim etc.)
   ============================================ */
.content-body .row {
    display: flex;
    flex-wrap: wrap;
}

.content-body .col-md-9x {
    flex: 0 0 auto;
    width: 75%;
    box-sizing: border-box;
}

.content-body .col-md-3x {
    flex: 0 0 auto;
    width: 25%;
    box-sizing: border-box;
}

.row.gx-5>* {
    padding-left: 24px;
    padding-right: 24px;
}

.blogmenu ul {
    padding: 0;
    margin: 0;
}

.blogmenu {
    padding: 3px 0;
    background: #ffffff;
    border: 1px solid #ecdac3;
    box-sizing: border-box;
    box-shadow: 0px 10px 40px rgba(229, 219, 179, 0.2);
    border-radius: 15px;
}

.blogmenu li {
    padding: 18px 10px 17px 24px;
    border-top: 1px solid #e6dfd7;
    list-style: none;
}

.blogmenu li.active {
    font-weight: 600;
}

.blogmenu li:first-child {
    border: none;
}

.blogmenu li a {
    color: #242424;
    line-height: 20px;
    text-decoration: none;
}

.blogmenu li a:hover {
    color: #3589b3;
}

.blogbox {
    padding: 18px 20px;
    background-color: #e2d9bd;
    border-radius: 16px;
    display: flex;
    align-items: center;
}

.blogbox img {
    margin-right: 12px;
    width: 50px;
    height: auto;
    flex-shrink: 0;
}

.blogbox h5 {
    font-size: 16px;
    line-height: 22px;
    font-weight: 600;
    margin-bottom: 0;
    color: #242424;
}

.blogbox a {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.blogbox span {
    font-size: 12px;
    line-height: 18px;
}

/* ============================================
   ADDRESSCONTENT - Contact details
   ============================================ */
.addresscontent {
    padding: 0px 0px 30px 0px;
}

.addresscontent h5 {
    font-size: 18px;
    font-weight: 600;
    line-height: 30px;
    color: #3589b3;
    margin-bottom: 10px;
}

.addresscontent p {
    display: flex;
    justify-content: start;
    margin-bottom: 14px;
}

.addresscontent p span {
    width: 120px;
    font-weight: 600;
}

.addresscontent p i {
    font-weight: 600;
    width: 10px;
    font-style: normal;
}

/* Utility: margin-bottom */
.mb-3 {
    margin-bottom: 1rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

/* Blogimg light - iframe container */
.blogimg iframe {
    border-radius: 12px;
    position: relative;
    z-index: 1;
}

/* ---- Gallery Grid ---- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding: 20px 0;
}

.gallery-item {
    overflow: hidden;
}

.gallery-item a {
    display: block;
    cursor: pointer;
}

.gallery-item a:hover {
    opacity: 0.7;
}

.gallery-item img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    object-fit: cover;
    aspect-ratio: 4/3;
}

@media (max-width: 991px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 575px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
}

/* ---- Gallery Lightbox ---- */
.gallery-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    z-index: 1;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    border-radius: 4px;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    z-index: 2;
    line-height: 1;
    width: auto;
    height: auto;
    padding: 0 10px;
}

.lightbox-close:hover {
    opacity: 0.7;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(53, 137, 179, 0.8);
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    z-index: 2;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 1;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(53, 137, 179, 1);
}

/* ---- Videos Grid ---- */
.videos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.7rem;
    padding: 20px 0;
}

.video-item {
    overflow: hidden;
}

.videocontent {
    border-radius: 12px;
    overflow: hidden;
}

@media (max-width: 991px) {
    .videos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 575px) {
    .videos-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* ---- Logo Page ---- */
.logo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.7rem;
    padding: 20px 0;
}

.logo-grid-item {
    overflow: hidden;
}

.logocontent h5 {
    font-weight: 600;
    font-size: 15px;
    line-height: 22px;
    padding-left: 34px;
    padding-top: 3px;
    background: url(../img/logoico.png) left center no-repeat;
    background-size: contain;
}

.logoimg img {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    width: 100%;
}

.logoimg a:hover {
    opacity: 0.7;
}

@media (max-width: 575px) {
    .logo-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}