body {
    margin: 0;
    font-family: Arial, sans-serif;
}
/* TOP BAR */
.top-bar {
    background: #003366; /* deep blue */
    color: white;
    display: flex;
    justify-content: space-between;
    padding: 8px 20px;
    font-size: 14px;
    flex-wrap: wrap;
}

/* LEFT SIDE */
.top-left span {
    margin-right: 20px;
}

/* RIGHT SIDE */
.top-right a {
    color: white;
    text-decoration: none;
    margin-left: 20px;
    font-weight: 500;
}

.top-right a:hover {
    text-decoration: underline;
}
/* HEADER */
.top-header {
    background: linear-gradient(to right, #8b0000, #b30000);
    color: white;
    padding: 30px 40px;
    position: relative;
}

/* Keep logo fixed on the left */
.logo {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.logo img {
    width: 100px;
}

/* Center the text perfectly */
.title {
    text-align: center;
}

.title h1 {
    margin: 0;
    font-size: 40px;
}

.title h3 {
    margin: 0;
    font-size: 24px;
    font-style: italic;
}

/* NAV */
.nav {
    display: flex;
    justify-content: center;
    background: #a00000;
}

.nav a {
    color: white;
    padding: 14px 20px;
    text-decoration: none;
}

.apply {
    background: orange;
    color: black;
    font-weight: bold;
}

/* SLIDER */
.hero-slider {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease;
}

.slide {
    min-width: 100%;
    position: relative;
}

.slide img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    background: #ccc; /* placeholder */
}

.overlay {
    position: absolute;
    bottom: 60px;
    left: 60px;
    background: rgba(255, 140, 0, 0.95);
    padding: 20px;
    color: white;
    max-width: 400px;
}

/* BUTTONS */
.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    border: none;
    color: white;
    font-size: 24px;
    padding: 10px;
    cursor: pointer;
}

.prev { left: 10px; }
.next { right: 10px; }

/* POPUP */
.popup {
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgba(249, 244, 244, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.popup-box {
    background: rgb(233, 208, 208);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    width: 300px;
    animation: pop 0.4s ease;
}

.close {
    float: right;
    font-size: 20px;
    cursor: pointer;
}

/* ANIMATION */
@keyframes pop {
    from { transform: scale(0.5); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}
/* MAIN SECTION */
.main-section {
    padding: 30px;
    background: #f4f4f4;
}

/* TOP ROW */
.top-row {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    align-items: flex-start; 
}
.image-box {
    text-align: center;
}

.image-box img {
    width: 200px;
    height: 200px;
    object-fit: cover;
}

.caption {
    margin-top: 5px;
    font-size: 14px;
    font-weight: bold;
}

/* SPOTLIGHT IMAGE FIX */
.spotlight img {
    width: 100%;
    height: 200px;        /* control height */
    object-fit: cover;    /* keeps image nice (no distortion) */
    display: block;
}
.welcome {
    flex: 2;          /* takes more space */
}

.spotlight {
    flex: 1;          /* stays smaller and independent */
}
.welcome p {
    text-align: justify;
}
.welcome-content {
    display: flex;
    gap: 15px;
}

.welcome-content img {
    width: 200px;
    height: 200px;
    background: #ccc;
}

/* SECOND ROW */
.second-row {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.news, .events, .videos {
    background: white;
    padding: 20px;
    flex: 1;
}

/* NEWS */
.news-item {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.news-item img {
    width: 200px;
    height: 100px;
    background: #ccc;
}

/* EVENTS */
.event {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.date {
    background: red;
    color: white;
    padding: 10px;
    text-align: center;
    font-weight: bold;
}

.btn {
    background: orange;
    border: none;
    padding: 10px;
    cursor: pointer;
}

/* VIDEOS */
.video-box {
    position: relative;
}

.video-box img {
    width: 100%;
    height: 150px;
    background: #ccc;
}

.play-btn {
    position: absolute;
    top: 40%;
    left: 45%;
    font-size: 30px;
    color: white;
}

/* GALLERY */
.gallery {
    background: white;
    padding: 20px;
}

.gallery-grid {
    display: flex;
    gap: 10px;
}

.gallery-grid img {
    width: 100%;
    height: 150px;
    background: #ccc;
}
/* FOOTER */
.footer {
    background: #222;
    color: white;
    padding: 40px 20px;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: space-between;
}

.footer-box {
    flex: 1;
    min-width: 200px;
}

.footer-box h3 {
    margin-bottom: 10px;
    color: orange;
}

/* LOGO */
.footer-logo {
    width: 80px;
    margin-bottom: 10px;
}

/* LINKS */
.footer-box a {
    display: block;
    color: white;
    text-decoration: none;
    margin-bottom: 5px;
}

/* HOVER (same style as header) */
.footer-box a:hover {
    color: orange;
}

/* SOCIAL */
.social a {
    margin-right: 10px;
    font-size: 18px;
    color: white;
}

.social a:hover {
    color: orange;
}

/* BOTTOM */
.footer-bottom {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    border-top: 1px solid #444;
    padding-top: 10px;
}
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25D366;
    color: white;
    padding: 10px 15px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    z-index: 1000;
    font-size: 14px;
}

/* TEXT */
.whatsapp-text {
    white-space: nowrap;
}

/* ICON */
.whatsapp-float i {
    font-size: 20px;
}

/* HOVER */
.whatsapp-float:hover {
    background: #1ebe5d;
}
.social a {
    margin-right: 10px;
    font-size: 20px;
    color: white;
}

.social a:hover {
    color: orange;
}
/* FIX SOCIAL ICONS HORIZONTAL */
.social {
    display: flex;
    align-items: center;
    gap: 15px; /* space between icons */
    margin-top: 10px;
}

.social a {
    color: white;
    font-size: 20px;
    text-decoration: none;
}

.social a:hover {
    color: orange;
}
/* FIX VIDEO WITHOUT BREAKING LAYOUT */
.video-box {
    width: 100%;
    height: 150px; /* same as your old image */
    overflow: hidden;
}

.video-player {
    width: 100%;
    height: 100%;
    object-fit: cover; /* keeps layout intact */
    display: block;
}
/* MAKE NEWS ITEM POSITIONED */
.news-item {
    position: relative;
}

/* BLINKING NEW BADGE */
.new-badge {
    position: absolute;
    top: 5px;
    left: 5px;
    background: red;
    color: white;
    padding: 3px 8px;
    font-size: 12px;
    font-weight: bold;
    border-radius: 3px;

    animation: blink 1s infinite;
}

/* BLINK ANIMATION */
@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0; }
    100% { opacity: 1; }
}
/* FADE EFFECT ADDITION (SAFE) */
.slide {
    opacity: 0.5;
    transition: opacity 0.8s ease-in-out;
}

/* ACTIVE SLIDE */
.slide.active {
    opacity: 1;
}
/* ===== PREMIUM NAV ===== */
.nav {
    display: flex;
    justify-content: center;
    background: #a00000;
    gap: 10px;
}

/* NAV LINKS */
.nav a {
    color: white;
    padding: 14px 18px;
    text-decoration: none;
    position: relative;
    font-weight: 500;
    transition: 0.3s;
}

/* HOVER UNDERLINE EFFECT */
.nav a::after {
    content: "";
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 0%;
    height: 2px;
    background: orange;
    transition: 0.3s;
}

.nav a:hover::after {
    width: 100%;
}

/* APPLY BUTTON */
.apply {
    background: orange;
    color: black;
    font-weight: bold;
    border-radius: 5px;
}

/* ===== DROPDOWN ===== */
.dropdown {
    position: relative;
}

/* DROPDOWN BOX */
.dropdown-content {
    position: absolute;
    top: 120%;
    left: 0;
    min-width: 240px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    overflow: hidden;

    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.35s ease;
    z-index: 1000;
}

/* SHOW */
.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* DROPDOWN LINKS */
.dropdown-content a {
    padding: 12px 18px;
    display: block;
    color: #333;
    font-size: 14px;
    transition: 0.3s;
}

/* HOVER EFFECT INSIDE */
.dropdown-content a:hover {
    background: #f8f8f8;
    color: #a00000;
    padding-left: 22px;
}

/* SMALL ARROW EFFECT */
.dropdown-content::before {
    content: "";
    position: absolute;
    top: -8px;
    left: 20px;
    width: 15px;
    height: 15px;
    background: white;
    transform: rotate(45deg);
}

