﻿/* =====================================================
   GLOBAL RESET
===================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.latest-news-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
}

.latest-news-text {
    font-weight: 700;
    font-size: 18px;
    color: #00597a;
    text-shadow: 0 1px 0 #00597a, 0 2px 4px rgba(0, 0, 0, 0.18);
}

.new-badge {
    --badge-size: 35px;
    position: relative;
    display: inline-flex !important;
    justify-content: center;
    align-items: center;
    width: var(--badge-size);
    height: var(--badge-size);
    background: linear-gradient(135deg, #00c4ff 0%, #00597a 100%);
    color: white !important;
    font-weight: 700 !important;
    font-size: 8px !important;
    border-radius: 50%;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    box-shadow: 0 2px 6px rgba(0, 153, 204, 0.6);
    line-height: 1;
}
    .new-badge::before {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: 50%;
        outline: 2px dotted #fff;
        outline-offset: -4px;
        animation: tp-spin 2s linear infinite;
        transform-origin: center;
    }



.tp-header-area {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
}


/* HEADER BAR */
.header-bar {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 9px 30px !important;
    background: rgb(0 95 123);
    backdrop-filter: blur(0.5px) !important;
}

/* SECTIONS */
.header-left,
.header-center,
.header-right {
    display: flex !important;
    align-items: center !important;
}

.header-left {
    gap: 45px !important;
}

.header-center {
    gap: 25px !important;
}

.header-right {
    gap: 14px !important;
}

/* LOGO */
.header-logo-img {
    height: 70px !important;
    width: auto !important;
}


/* NAV LINKS */
.nav-link {
    color: #fff !important;
    font-weight: 500 !important;
    text-decoration: none !important;
}

    .nav-link:hover {
        color: #ffd54f !important;
    }

/* CONTAINER BOX */
.header-social-box {
    display: flex;
    align-items: center;
    /*gap: 12px;*/ /* space between icons */
    padding: 6px 12px;
    border: 1px solid rgba(255,255,255,0.6);
    border-radius: 4px;
    background: transparent;
    transition: all 0.3s ease;
}

/* ICONS */
.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px; /* make icons bigger */
    width: 36px;
    height: 36px;
    border-radius: 4px;
    color: #fff;
    transition: all 0.3s ease;
    position: relative;
}

    /* HOVER EFFECT FOR INDIVIDUAL ICON */
    .social-icon:hover {
        color: #ffb74d !important;
        background-color: rgba(255, 183, 77, 0.12) !important;
        box-shadow: 0 6px 16px rgba(255, 183, 77, 0.35);
        transform: translateY(-2px) scale(1.1);
    }

    /* IMAGES INSIDE ICONS (X) */
    .social-icon img {
        width: 25px;
        height: 25px;
        object-fit: contain;
        transition: transform 0.3s ease; /* optional: smooth hover effect */
    }

/* RADIO ICON SEPARATE */
.social-radio img {
    display: block;
    height: 45px;
    /*margin-left: 14px;*/
    border-radius: 4px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .social-radio img:hover {
        transform: translateY(-2px) scale(1.05);
        box-shadow: 0 6px 16px rgba(244,196,48,0.45);
    }


/* MENU BOX */
.menu-btn,
.nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.6);
    background: linear-gradient( 160deg, rgba(11, 78, 106, 0.96), rgba(91, 151, 179, 0.94) );
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 50px;
}

    .menu-btn:hover,
    .nav-btn:hover {
        transform: translateY(-2px) scale(1.02);
        color: #fff !important;
        border-color: #ffb74d !important;
        box-shadow: 0 6px 16px rgba(255, 183, 77, 0.35);
        background-color: rgba(255, 183, 77, 0.12) !important;
    }

    .menu-btn i,
    .nav-btn i,
    .menu-btn svg,
    .nav-btn svg {
        color: inherit;
    }

    .menu-btn:active,
    .nav-btn:active {
        transform: translateY(0) scale(0.98);
        box-shadow: 0 3px 8px rgba(0,0,0,0.3);
    }

/*.menu-box.active {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateX(-50%) translateY(0) !important;
}*/


/* =====================================================
   MEGA MENU CONTAINER
===================================================== */
.menu-box {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
   /* width: 100%;
    max-width: 1400px;*/
    /*padding: 36px 44px;*/
    padding: 30px 30px;
    margin-top: 2px;
    border-radius: 20px;
    background: linear-gradient( 160deg, rgba(11,79,108,0.96), rgba(8,61,86,0.94) );
    backdrop-filter: blur(10px);
    box-shadow: 0 40px 80px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.12);
    display: none;
    z-index: 999;
}

    .menu-box.active {
        display: block;
    }

/* =====================================================
   MENU GRID
===================================================== */
.menu-nav > ul {
    display: grid;
    grid-template-columns: repeat(5, minmax(200px, 1fr)) 250px;
    /*gap: 44px;*/
    gap: 10px;
    list-style: none;
}

    /* =====================================================
   MAIN MENU TITLES
===================================================== */
    .menu-nav > ul > li {
        font-size: 22px;
        font-weight: 700;
        color: #ffffff;
        letter-spacing: 0.4px;
        padding-bottom: 8px;
        border-bottom: 1px solid rgba(255,255,255,0.22);
    }

/* =====================================================
   SUB MENU LIST
===================================================== */
.menu-nav ul li ul {
    margin-top: 16px;
    list-style: none;
}

    .menu-nav ul li ul li {
        position: relative;
        font-size: 16px;
        font-weight: 400;
        color: #d9eef7;
        word-wrap:break-word;
        padding: 9px 14px 9px 22px;
        margin-bottom: 6px;
        border-radius: 8px;
        cursor: pointer;
        transition: background 0.35s ease, color 0.35s ease;
    }

        /* Highlight bar */
        .menu-nav ul li ul li::before {
            content: "";
            position: absolute;
            left: 8px;
            top: 50%;
            transform: translateY(-50%);
            width: 4px;
            height: 0;
            background: #9fd3e8;
            border-radius: 2px;
            transition: height 0.3s ease;
        }

        .menu-nav ul li ul li:hover {
            background: rgba(255,255,255,0.14);
            color: #ffffff;
        }

            .menu-nav ul li ul li:hover::before {
                height: 60%;
            }

/* =====================================================
   MODULE WITHOUT SUBMENU
===================================================== */
.menu-nav > ul > li:not(:has(ul)) a {
    display: block;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    background: linear-gradient( 145deg, rgba(255,255,255,0.18), rgba(255,255,255,0.1) );
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.2);
    margin-bottom: 14px;
    text-decoration: none;
}

ul.submenu li a {
    max-width: 300px;
    white-space: normal;
    word-wrap: break-word;
    display: inline-block;
}


/* =====================================================
   RIGHT COLUMN
===================================================== */
.right-column {
    border-left: 1px solid rgba(255,255,255,0.3);
    padding-left: 32px;
}

/* =====================================================
   RIGHT MENU LINKS
===================================================== */
.right-menu a {
    display: block;
    font-size: 18px;
    font-weight: 500;
    color: #e6f4fa;
    padding: 8px 0;
    text-decoration: none;
    transition: color 0.3s ease;
}

    .right-menu a:hover {
        color: #9fd3e8;
    }


/* =====================================================
   MEGA MENU RESPONSIVE (1366 × 768 and below)
===================================================== */

@media screen and (max-width: 1366px) {

    /* MENU CONTAINER */
    .menu-box {
        padding: 22px 24px;
        border-radius: 16px;
        max-width: 1150px;
    }

    /* GRID SIZE */
    .menu-nav > ul {
        grid-template-columns: repeat(5, minmax(170px, 1fr)) 220px;
        gap: 8px;
    }

        /* MAIN TITLES */
        .menu-nav > ul > li {
            font-size: 18px;
            padding-bottom: 6px;
        }

    /* SUB MENU ITEMS */
    .menu-nav ul li ul li {
        font-size: 14px;
        padding: 7px 12px 7px 20px;
        margin-bottom: 4px;
    }

        /* LEFT HIGHLIGHT BAR */
        .menu-nav ul li ul li::before {
            left: 6px;
            width: 3px;
        }

    /* MODULE WITHOUT SUBMENU */
    .menu-nav > ul > li:not(:has(ul)) a {
        font-size: 16px;
        padding: 10px 14px;
        border-radius: 8px;
    }

    /* RIGHT COLUMN */
    .right-column {
        padding-left: 22px;
    }

    /* RIGHT MENU LINKS */
    .right-menu a {
        font-size: 16px;
        padding: 6px 0;
    }
}




/* =====================================================
   SOCIAL ICON CONTAINER
===================================================== */
.header-social-box {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border: 1px solid rgba(255,255,255,0.35);
    border-radius: 6px;
}

/* =====================================================
   SOCIAL ICONS
===================================================== */
.social-icon {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: background 0.3s ease;
}

    .social-icon:hover {
        background: rgba(159,211,232,0.18);
    }

    .social-icon img {
        width: 28px;
        height: 28px;
        object-fit: contain;
        border-radius: 4px;
    }

/* =====================================================
   RADIO ICON
===================================================== */
.social-radio img {
    height: 42px;
    border-radius: 6px;
    transition: box-shadow 0.3s ease;
}

    .social-radio img:hover {
        box-shadow: 0 6px 16px rgba(0,0,0,0.4);
    }

/* =====================================================
   RESPONSIVE FIX
===================================================== */
/*change 19.01.26*/
/*@media (max-width: 1399px) {
    .menu-nav > ul {
        grid-template-columns: repeat(6, minmax(200px, 1fr));
    }

}*/

/* =====================================================
   DESKTOP ONLY VISIBILITY
===================================================== */
@media (min-width: 1200px) {
    .menu-btn,
    .nav-btn {
        display: flex;
    }
}

/* =====================================================
   RESPONSIVE HEADER CONTROL
   Mobile → Small Laptop
===================================================== */

/* Default: hide hamburger (desktop-first approach) */
.tp-header-main-right-hamburger-btn {
    display: none;
}

/* =====================================================
   MOBILE + TABLET + SMALL LAPTOP
   (≤1199px)
===================================================== */
@media (max-width: 1199px) {

    /* Hide full right-side navigation */
    .header-right {
        display: none !important;
    }

    /* Hide menu + nav buttons on left */
    .menu-btn,
    .nav-btn {
        display: none !important;
    }

    /* Show hamburger button */
    .tp-header-main-right-hamburger-btn {
        display: flex !important;
        align-items: center;
        justify-content: flex-end;
    }

    /* Align header layout */
    .header-bar {
        justify-content: space-between !important;
    }

    /* Ensure hamburger is on the right */
    .tp-header-main-right-hamburger-btn {
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 10000;
    }
}

/* =====================================================
   DESKTOP ONLY (≥1200px)
===================================================== */
@media (min-width: 1200px) {

    /* Show full header content */
    .header-right {
        display: flex !important;
    }

    .menu-btn,
    .nav-btn {
        display: inline-flex !important;
    }

    /* Hide hamburger */
    .tp-header-main-right-hamburger-btn {
        display: none !important;
    }
}


.offcanvas__area {
    z-index: 10000 !important;
}

.hamburger-btn span {
    background: #fbfbfa;
}


@media (max-width: 768px) {
    .bg-knowmore {
        background-position: top center;
        padding-top: 80px;
        padding-bottom: 80px;
    }
}
