/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
}
.top-banner img {
    width: 100%;
    height: 25vh;
    display: block;
}

/* ===== HEADER ===== */
.top-header {
    width: 100vw;                 /* full width */
    height: 23vh;                /* full screen height */
    background-image: url("../images/banner.jpg"); /* your image */
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;       /* fills screen */
}
.logo {
    width: auto;
    height: 60px;
}

.title {
    text-align: center;
}

.title h1 {
    font-size: 18px;
    color:black;
}

.title p {
    font-size: 16px;
    color:black;
}

/* ===== MENU ICON (MOBILE) ===== */
.menu-icon {
    display: none;
    font-size: 26px;
    padding: 10px;
    cursor: pointer;
}

/* ===== NAVBAR ===== */
.navbar {
  background:blue;
}

.menu {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
}

.menu li {
    position: relative;
}

.menu > li > a {
    display: block;
    padding: 12px 16px;
    color: #fff;
    font-size:16px;
    text-decoration: none;
    white-space: nowrap;
    font-weight: 600;
}

.menu > li > a:hover {
    background: #084298;
}

/* ===== SUBMENU ===== */
.submenu {
    display: none;
    position: absolute;
    background: #ffffff;
    min-width: 230px; /* bigger width */
    top: 100%;
    left: 0;
    box-shadow: 0 2px 12px rgba(0,0,0,0.25);
    z-index: 1000;
    padding:6px 0;
    margin:0;
    
}

.submenu li a {
    display: block;
    padding: 12px 18px;
    color: #222;
    font-size:15px;
    text-decoration: none !important;
}

.submenu li a:hover {
    background: #f1f1f1;
}

/* JS toggle */
.has-submenu.open > .submenu {
    display: block;
}
/* Basic hide */
.submenu, .sub-submenu {
    display: none;
}

/* Desktop — first level show */
.has-submenu:hover > .submenu {
    display: block;
}

/* 2nd level RIGHT SIDE position */
.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);
    white-space: nowrap;
}
.sub-submenu li a {
    text-decoration: none !important;
}
.submenu li a:hover,
.sub-submenu li a:hover {
    text-decoration: none !important;
}
.menu, .submenu, .sub-submenu {
    list-style: none !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
}




/* Desktop hover show 2nd level */
.submenu .has-submenu:hover > .sub-submenu {
    display: block;
}



/* ===== DESKTOP HOVER (OPTIONAL) ===== */
@media (min-width: 768px) {
    .has-submenu:hover > .submenu {
        display: block;
    }
}

/* ===== MOBILE VIEW ===== */
@media (max-width: 769px) {

    .menu-icon {
        display: block;
    }

    .navbar {
        display: none;
    }

    .navbar.show {
        display: block;
    }

    .menu {
        flex-direction: column;
    }

    .menu li {
        border-bottom: 1px solid #ddd;
    }

    .submenu {
        position: static;
        box-shadow: none;
        background: #f8f9fa;
    }
    .slider{
        margin-top:60px;
    }
    .slider img {
    height:250px;
}
}

/* ===== BANNER ===== */
.banner {
    position: relative;
    overflow: hidden;
}

.banner-slider {
    display: flex;
    overflow-x: hidden;
    scroll-behavior: smooth;
    max-height: 380px;
    overflow: hidden;
}

.banner-slider img {
    width: 100%;
    flex-shrink: 0;
    height: 350px; /* medium size */
    object-fit: cover;
}
.arrow {
  width: 35px;
  height: 35px;
  background: transparent;
  border: none;
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.arrow::before {
  content: "";
  width: 20px;
  height: 20px;
  border-right: 4px solid white;
  border-bottom: 4px solid white;
  display: inline-block;
}

.left-arrow {
  left: 10px; /* Left side */
}

.left-arrow::before {
  transform: rotate(135deg);
}

.right-arrow {
  right: 10px; /* Right side */
}

.right-arrow::before {
  transform: rotate(-45deg);
}


/* ===== CONTENT ===== */
.content {
    display: flex;
    gap: 20px;
    padding: 20px;
    color:#CC3366;
    font-size:12px;
    align-items: stretch; /* NEW */
}


.content h3{
    color:black;
    font-size:19px;
}
.content p {
    font-size: 18px;
    line-height: 1.6;
    font-weight: 500;
}


/* text-box bigger */
.text-box {
    flex: 5;
    padding: 10px;
    border: 1px solid #ddd;
}
.media-box {
    flex: 3;
    padding: 0;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
}
.media-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.text-box,
.media-box {
    height: 200px; /* set your height */
}


