/* ================= RESET ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: Arial, sans-serif;
}


/* ================= DESKTOP HEADER ================= 
.top-header {
    position: relative;
}
.desk-logo {
    width: 130px;
    height: 170px;
    display: block;
    object-fit: cover;
}*/
/* Desktop header container */
.desktop-header-container {
    display: flex;
    justify-content: space-between; /* left & right logos இடையே space */
    align-items: center;
    padding: 10px 20px;
    background-color: #fff; /* மாற்றலாம் */
}

/* Logos height fix */
.left-logo img,
.right-logo img {
    height: 130px; /* உங்களுக்கே பொருத்தமான அளவு */
    width: 130px;
}

/* Center text */
.center-text {
    text-align: center;
    flex: 1; /* logos இடையே text expand ஆக */
}

.center-text h5 {
    margin: 0;
    font-size: 19px;
    color: blue;
    font-weight: 600;
    line-height: 1.4;
    display: inline-block;   /* underline width = text width */
    padding-bottom: 8px;     /* text & underline gap */
    border-bottom: 1px solid black; /* block color underline */
}

.center-text p {
    margin-top: 6px;
    font-size: 16px;
    color: #333;
}



/* ================= SOCIAL MEDIA ICONS ================= */
.social-icons {
    display: flex;
    gap: 10px;
    z-index: 12000;
    align-items: center;
}

.social-icons a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    transform: scale(1.15);
    opacity: 0.85;
}

/* ================= DESKTOP SOCIAL BACKGROUND STRIP ================= */
.desktop-social {
    position: relative; 
    top: 0;
    right: 0;
    left: 0;
    display: flex;
    justify-content: flex-end;  /* aligns icons to the right */
    gap: 10px;
    align-items: center;
    padding: 6px 20px;
    background: blue;
    z-index: 12000;
}

/* ================= MOBILE HEADER BASE ================= */
.mobile-header {
    display: none;
    width: 100%;
    position: relative;
    z-index: 11000;
    flex-direction: column;
}

/* ================= NAVBAR ================= */
.navbar {
    background: blue;
    width: 100%;
}

.menu {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 0px !important;
}

.menu li {
    position: relative;
}

.menu > li > a {
    display: block;
    padding: 5px 16px;
    color: #fff;
    font-size: 13px;
    text-decoration: none;
    white-space: nowrap;
    font-weight: 600;
}

.menu > li > a:hover {
    background: #084298;
}


/* ================= SUBMENU ================= */
.submenu,
.sub-submenu {
    display: none;
    list-style: none;
}



.submenu {
    position: absolute;
    background: #ffffff;
    min-width: 200px;
    top: 100%;
    left: 0;
    box-shadow: 0 2px 12px rgba(0,0,0,0.25);
    z-index: 1000;
    padding: 6px 0;
}

.submenu li a {
    display: block;
    padding: 12px 18px;
    color: #222;
    font-size: 12px;
    text-decoration: none;
}

.submenu li a:hover {
    background: #f1f1f1;
}

.sub-submenu {
    position: absolute;
    top: 0;
    left: 100%;
    background: #fff;
    min-width: 230px;
    padding: 6px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}
/* ================= ACTIVE MENU HIGHLIGHT ================= */

/* Active current page link */
.menu a.active {
    background: #084298;
    color: #fff;
    border-radius: 4px;
}

/* Parent menu highlight */
.has-submenu.active-parent > a {
    background: #084298;
    color: #fff;
    font-weight: bold;
    padding: 5px 16px;
}

.submenu li a.active,
.sub-submenu li a.active {
    background: #d9d9d9; /* light gray for submenu */
    color:black;
    
}
/* Ensure submenu visible when active s */
/* .has-submenu.open > .submenu {
    display: block;
}
     */
     /* ================= MENU ICON – COMMON ================= */
.menu-icon {
    font-size: 18px;
    cursor: pointer;
    color: #fff;
    background: blue;

    padding: 5px 10px;          /* ✅ same padding everywhere */
    border-radius: 8px;

    box-shadow: 0 3px 8px rgba(0,0,0,0.35);
    border: 1px solid rgba(255,255,255,0.4);

    display: inline-flex;
    align-items: center;
    justify-content: center;

    line-height: 1;
}
/* ================ HERO SECTION ================ */

.hero-section {
    display: flex;
    align-items: center;
    height: 40px;
    background: lightgrey;
    overflow: hidden;
    margin-top:-8px;
    margin-bottom:10px;
}

.left-title {
    background: blue;
    color: #fff;
    padding: 14px 26px;
    white-space: nowrap;
    font-size:17px;
    margin-bottom: 0px;
}

.scroll-wrapper {
    flex: 1;
    overflow: hidden;
    position: relative;
}

/* scroll text container */
.scroll-text {
    display: flex;          /* flex instead of inline-flex */
    white-space: nowrap;
    gap: 75px;
    animation: ticker 20s linear infinite;
    margin-top: 15px;
    font-size:15px;
}

/* each notice item */
.notice-item {
    display: inline-flex;
}

.star {
    color: red;
    font-weight: bold;
    margin: 0 6px;
    text-shadow: 0 0 4px rgba(251,191,36,0.6);
    font-size: 19px;
}

/* seamless ticker animation */
@keyframes ticker {
    0% {
        transform: translateX(100%);   /* start from right */
    }
    100% {
        transform: translateX(-110%);  /* move fully to left */
    }
}

/* Optional highlight class */
.highlight {
    color: red;
    font-weight: bold;
}




    
    
/* ================= DESKTOP HOVER ================= */
@media (min-width: 769px) {
    .has-submenu:hover > .submenu {
        display: block;
    }

    .submenu .has-submenu:hover > .sub-submenu {
        display: block;
    }
}

/* ================= MOBILE VIEW ================= */
@media (max-width: 768px) {
    
    


    /* Hide desktop elements */
    .desktop-header-container,
    .desktop-social,
    .left-logo,
    .right-logo,
    .center-text,
    .desk-logo {
        display: none !important;
    }

    /* Mobile Header */
    .mobile-header {
        display: flex !important;
        align-items: flex-start;
        justify-content: space-between;
        padding: 10px 15px;
        width: 100%;
        background: #fff;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 11000;
        box-shadow: 0 2px 6px rgba(0,0,0,0.1);
        height: 295px;
    }

    .mobile-logo {
        height: 130px;
        width: auto;
        object-fit: contain;
        margin-top: 20px;
    }

    .mobile-center-text {
        flex: 1;
        text-align: center;
        padding: 0 6px;
    }

    .mobile-center-text h5 {
        font-size: 12px;
        color: blue;
        line-height: 1.3;
        font-weight: 600;
        margin-bottom: 4px;
    }

    .mobile-center-text p {
        font-size: 10px;
        color: #333;
        line-height: 1.3;
        margin-bottom:20px ;
    }

    .mobile-right {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        gap: 6px;
        position: absolute;
        top: 12px;
        right: 12px;
        z-index: 12002;
    }

    .mobile-right-logo img {
        height: 130px;
        width: auto;
        object-fit: contain;
        margin-top: 20px;
    }

    .mobile-social {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        display: flex;
        justify-content: flex-end;
        align-items: center;
        gap: 8px;
        background-color: #0a3cff;
        padding: 10px;
        margin: 0;
        z-index: 12000;
        box-sizing: border-box;
    }

    .mobile-social a {
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        font-size: 18px;
        transition: all 0.3s ease;
    }

    .mobile-social a:hover {
        opacity: 0.85;
        transform: scale(1.15);
    }

   .menu-icon {
    font-size: 18px;
    cursor: pointer;
    color: #fff;
    background: blue;
    padding: 5px 10px;
    border-radius: 8px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.35);
    border: 1px solid rgba(255,255,255,0.4);
    margin-top:85px;
}
.page-content {
        padding-top: 10px; 
    }

    /* Mobile navbar */
    .navbar{
    position: fixed;
top: 290px;
left: -220px;
width: 195px;
height: calc(100vh - 290px);
background: blue;
overflow-y: auto;
transition: 0.3s ease;
z-index: 10000;
    }

    .navbar.show {
        left: 0;
    }

    .menu {
        flex-direction: column;
    }

    .menu > li > a {
        color: #fff;
        border-bottom: 1px solid rgba(255,255,255,0.2);
        padding: 8px 10px;       /* 🔽 item height */
        font-size: 10px; 
    }

    .submenu,
    .sub-submenu {
        display: none;
        position: relative;
        background: #fff;
        box-shadow: none;
        min-width:600px;
         }
         .sub-submenu{
            width:100px;
         }

    li.has-submenu.open > ul {
        display: block;
        position:sticky;
    }
    /* Mobile: show all nested submenus when parent is open */
li.has-submenu.open > ul,
li.has-submenu.open > ul li.has-submenu.open > ul {
    display: block;
}


    .submenu li a {
        color: #000;
    }

    .sub-submenu {
        padding-left: 18px;
        border-left: 2px solid #ccc;
    }
 .content {
        flex-direction: column; /* stack items vertically */
        gap: 12px;
        padding: 12px;
    }
      @media (max-width: 768px) {
        .text-box { 
            max-height: 170px; 
            overflow: hidden; 
        } 
        .media-box {
             max-height: 120px;
              overflow: hidden;
             }
            }

    
    .text-box p {
        font-size: 13px;
        line-height: 1.4;
        margin-bottom:6px;
    }

    .media-box img {
        height: auto;
        max-width: 100%;
    }
    


}
@media( max-width: 320px){
    .navbar{
    position: fixed;
top:290px;
left: -220px;
width: 170px;
height: calc(300px);
background: blue;
overflow-y: auto;
transition: 0.3s ease;
z-index: 10000;
    }
}









/* ================= MEDIA BOX ================= */
.media-box {
    flex: 4;
    border: 1px solid #ddd;

    height: 200px;
    overflow: hidden;      /* important */

    display: flex;
    align-items: center;
    justify-content: center;
}

.media-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;     /* ⭐ FULL COVER */
}
/* ================= MOBILE RESPONSIVE ================= */
@media (max-width: 768px){

body {
    padding-top: 290px;
}

.hero-section {
    margin-top: 0;
    min-height: 34px;
    height: auto;
    align-items: center;
}

.left-title {
    font-size: 14px;
}

.scroll-text {
    display: inline-flex;     /* important */
    width: max-content;       /* prevent shrink */
    white-space: nowrap;
    font-size: 13px;
    gap: 15px;
    margin-top: 15px;
    animation: ticker 20s linear infinite;
}
/* mobile animation */
@keyframes tickerMobile{
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}



.notice-item {
    flex: 0 0 auto;           /* no compression */
}

.star {
    font-size: 14px;
}

}






/* ================= SLIDER ARROWS ================= */
.banner .owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.banner .owl-nav button {
    pointer-events: all;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: #ffffff !important;
    font-size: 34px !important;
}

/* ================= CONTENT ================= */
.content {
    display: flex;
    gap: 20px;
    padding: 20px;
    align-items: center;   /* 🔥 stretch illa */
    color:blue;
}


.content h3 {
    color: black;
    font-size: 19px;
}

.content p {
    font-size: 13px;
    line-height: 1.4;
    font-weight: 500;
}

.text-box {
    flex: 6;
    padding: 14px;
    border: 1px solid #ddd;

    height: 200px;            /* 🔥 SAME HEIGHT */
    overflow: hidden;
}