/* ================= STICKY HEADER ================= */

.main-navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    transition: all 0.3s ease;
}

/* Add spacing for fixed header */
body {
    padding-top: 90px;
}
/* Shrink effect on scroll */
.main-navbar.shrink {
    padding: 5px 0;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

.main-navbar.shrink .school-name {
    font-size: 16px;
}

.main-navbar.shrink .logo-img {
    height: 40px;
}
/* ================= RESET ================= */
html, body {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', sans-serif;
    background: #f4f7fb;
    overflow-x: hidden;
}

/* ================= NAVBAR ================= */

.main-navbar {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    padding: 12px 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

/* Brand Text */
.school-name {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.school-subtitle {
    font-size: 12px;
    color: #ffc107;
}

/* Nav Links */
.nav-link {
    color: #ffffff !important;
    font-weight: 500;
    margin-left: 20px;
    transition: 0.3s;
}

.nav-link:hover {
    color: #ffc107 !important;
}

/* Login Button */
.login-btn {
    background: #ffc107;
    border: none;
    font-weight: 600;
    padding: 8px 22px;
    border-radius: 30px;
}

.login-btn:hover {
    background: #ff9800;
}

/* ================= HERO SECTION FIXED & PROPER ================= */

/* Center content properly */
.hero-content {
    position: relative;
    z-index: 2;
    top: 50%;
    transform: translateY(-50%);
    text-align: center;
}
/* ================= FEATURES ================= */

.card {
    border: none;
    border-radius: 15px;
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* ================= FOOTER ================= */

footer {
    background: #1e3c72;
    color: #fff;
    padding: 40px 0 20px 0;
}

/* ================= MOBILE RESPONSIVE ================= */

@media (max-width: 768px) {

    .school-name {
        font-size: 16px;
    }

    .school-subtitle {
        font-size: 11px;
    }

    
    .hero-section h1 {
        font-size: 1.6rem;
    }

    .hero-section p {
        font-size: 0.9rem;
    }

    .nav-link {
        margin-left: 0;
        padding: 10px 0;
    }

    .login-btn {
        width: 100%;
        margin-top: 10px;
    }
}
/* ================= HERO BUTTON FINAL FIX ================= */

.hero-btn {
    background: linear-gradient(45deg, #ff9800, #ffc107);
    color: #000;
    font-weight: 600;
    padding: 10px 28px;
    border-radius: 30px;
    text-decoration: none;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: auto;
    max-width: max-content;

    transition: 0.3s ease;
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.3);
    color: #000;
}

/* Mobile fix */
@media (max-width: 768px) {
    .hero-btn {
        padding: 8px 20px;
        font-size: 14px;
    }
}
.hero-btn {
    margin-left: auto;
    margin-right: auto;
}
/* ================= LOGIN DROPDOWN UPGRADE ================= */

.login-dropdown {
    width: 260px;
    border: none;
    border-radius: 18px;
    padding: 15px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    animation: fadeDropdown 0.3s ease;
}

.dropdown-logo img {
    width: 70px;
    margin-bottom: 10px;
}

.login-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    border-radius: 12px;
    font-weight: 500;
    transition: 0.3s;
}

.login-item:hover {
    background: linear-gradient(90deg,#4e73df,#2a5298);
    color: #fff !important;
    transform: translateX(5px);
}

.login-icon {
    margin-right: 10px;
    font-size: 18px;
}

@keyframes fadeDropdown {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* ================= HEADER LOGO FIX ================= */

.header-logo {
    height: 50px;
    width: auto;
    object-fit: contain;
}

/* Navbar spacing fix */
.navbar {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
}

/* School name styling */
.school-name {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
}

.school-subtitle {
    font-size: 11px;
    color: #ffc107;
}

/* ================= MOBILE PERFECT FIX ================= */

@media (max-width: 768px) {

    .header-logo {
        height: 35px;   /* SMALLER LOGO */
    }

    .school-name {
        font-size: 13px;
    }

    .school-subtitle {
        font-size: 9px;
    }

    .navbar-brand {
        align-items: center;
    }

}
body {
    padding-top: 80px;
}
/* ================= STICKY SHRINK HEADER ================= */

.main-navbar {
    transition: all 0.3s ease;
    padding: 12px 0;
}

.header-logo {
    transition: all 0.3s ease;
}

.shrink {
    padding: 5px 0 !important;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.shrink .header-logo {
    height: 35px;
}

.shrink .school-name {
    font-size: 15px;
}

.shrink .school-subtitle {
    font-size: 9px;
}
/* ================= PREMIUM SCROLL SECTIONS ================= */

.section-title {
    text-align: center;
    font-weight: 700;
    margin-bottom: 40px;
    font-size: 28px;
    position: relative;
}

.red-title {
    color: #d32f2f;
}

.green-title {
    color: #1e7e34;
}

/* Scroll Container */
.scroll-container {
    overflow: hidden;
    position: relative;
}

/* Gradient Fade Edges */
.scroll-container::before,
.scroll-container::after {
    content: "";
    position: absolute;
    top: 0;
    width: 80px;
    height: 100%;
    z-index: 2;
}

.scroll-container::before {
    left: 0;
    background: linear-gradient(to right, #fff, transparent);
}

.scroll-container::after {
    right: 0;
    background: linear-gradient(to left, #fff, transparent);
}

/* Track */
.scroll-track {
    display: flex;
    gap: 25px;
    animation: smoothScroll 25s linear infinite;
}

.scroll-container:hover .scroll-track {
    animation-play-state: paused;
}

@keyframes smoothScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ================= ANNOUNCEMENT CARDS ================= */

.announcement-card{
    display:block;
    padding:20px;
    margin-bottom:15px;
    border-radius:15px;
    background: linear-gradient(135deg,#007bff,#0056b3);
    color:#fff;
    font-weight:600;
    text-decoration:none;
    transition:0.3s;
    box-shadow:0 8px 20px rgba(0,0,0,0.1);
}

.announcement-card:hover{
    transform:translateY(-5px);
    box-shadow:0 12px 25px rgba(0,0,0,0.2);
    color:#fff;
}

.no-announcement{
    background:#ff4d4d;
    color:#fff;
    padding:20px;
    border-radius:15px;
    text-align:center;
    font-weight:600;
}
/* ================= FEATURE CARDS ================= */

.feature-card-pro {
    min-width: 300px;
    padding: 30px;
    border-radius: 18px;
    background: linear-gradient(135deg, #28a745, #1e7e34);
    color: #fff;
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
    transition: 0.3s;
}

.feature-card-pro:hover {
    transform: translateY(-10px);
}

/* ================= MOBILE ================= */

@media (max-width: 768px) {

    .announcement-card-pro,
    .feature-card-pro {
        min-width: 240px;
        padding: 20px;
    }

    .section-title {
        font-size: 22px;
    }

}

/* ================= ANNOUNCEMENT RED THEME ================= */

.announcement-section {
    background: #fff5f5;
}

.announcement-title {
    color: #d32f2f;
    font-weight: 700;
}

.announcement-card {
    min-width: 280px;
    background: linear-gradient(135deg,#ff4d4d,#d32f2f);
    color: white;
    padding: 20px;
    border-radius: 15px;
    font-weight: 500;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    transition: 0.3s;
}

.announcement-card:hover {
    transform: translateY(-8px);
}

/* ================= FEATURES GREEN THEME ================= */

.feature-card {
    min-width: 280px;
    background: linear-gradient(135deg,#28a745,#1e7e34);
    color: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    transition: 0.3s;
}

.feature-card:hover {
    transform: translateY(-8px);
}

/* Mobile */
@media (max-width: 768px) {

    .announcement-card,
    .feature-card {
        min-width: 220px;
    }

}
/* ================= ULTRA PREMIUM SPLIT ================= */

.ultra-split-section {
    padding: 80px 0;
    background: linear-gradient(135deg,#eef2f7,#f8f9fc);
}

.ultra-container {
    width: 90%;
    margin: auto;
    display: flex;
    gap: 40px;
}

/* GLASS BOX */
.ultra-box {
    width: 50%;
    padding: 35px;
    border-radius: 25px;
    backdrop-filter: blur(15px);
    background: rgba(255,255,255,0.6);
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.4);
}

/* Animated Glow Border */
.ultra-box::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 25px;
    padding: 2px;
    background: linear-gradient(90deg,#ff4d4d,#28a745,#ff4d4d);
    background-size: 300% 300%;
    animation: glowBorder 6s linear infinite;
    -webkit-mask:
      linear-gradient(#fff 0 0) content-box,
      linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

@keyframes glowBorder {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

.ultra-title {
    text-align: center;
    font-weight: 700;
    font-size: 26px;
    margin-bottom: 30px;
}

.red-title { color: #d32f2f; }
.green-title { color: #1e7e34; }

/* SCROLL AREA */
.ultra-scroll {
    height: 320px;
    overflow: hidden;
    position: relative;
}

/* Fade Top & Bottom */
.ultra-scroll::before,
.ultra-scroll::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 60px;
    z-index: 2;
}

.ultra-scroll::before {
    top: 0;
    background: linear-gradient(to bottom, #fff, transparent);
}

.ultra-scroll::after {
    bottom: 0;
    background: linear-gradient(to top, #fff, transparent);
}

.ultra-track {
    display: flex;
    flex-direction: column;
    gap: 20px;
    animation: ultraScroll 25s linear infinite;
}

.ultra-scroll:hover .ultra-track {
    animation-play-state: paused;
}

@keyframes ultraScroll {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}

/* CARDS */
.ultra-card {
    padding: 20px;
    border-radius: 18px;
    color: #fff;
    transition: 0.4s;
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.ultra-card:hover {
    transform: translateY(-8px) scale(1.02);
}

/* Red */
.red-card {
    background: linear-gradient(135deg,#ff4d4d,#d32f2f);
}

/* Green */
.green-card {
    background: linear-gradient(135deg,#28a745,#1e7e34);
}

/* MOBILE */
@media (max-width: 992px) {

    .ultra-container {
        flex-direction: column;
    }

    .ultra-box {
        width: 100%;
    }

}
/* FEATURE IMAGE STYLE */

.feature-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    transition: 0.4s;
}

.ultra-card:hover .feature-img {
    transform: scale(1.1) rotate(5deg);
}
/* ================= PREMIUM LOGIN DESIGN ================= */

.login-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4e73df);
    background-size: 300% 300%;
    animation: gradientMove 8s ease infinite;
    padding: 40px 15px;
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.login-card {
    width: 100%;
    max-width: 420px;
    border-radius: 20px;
    backdrop-filter: blur(15px);
    background: rgba(255,255,255,0.15);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
    padding: 35px;
    color: #fff;
    transition: 0.3s;
}

.login-card:hover {
    transform: translateY(-5px);
}

.login-card h4 {
    font-weight: 600;
    margin-bottom: 25px;
}

.login-card .form-control {
    border-radius: 10px;
    border: none;
    padding: 12px;
}

.login-btn {
    border-radius: 30px;
    padding: 10px;
    font-weight: 600;
    background: linear-gradient(45deg,#ff9800,#ffc107);
    border: none;
    transition: 0.3s;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.role-badge {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    margin-bottom: 15px;
    font-weight: 600;
}

.role-admin { background:#ff5252; }
.role-teacher { background:#4caf50; }
.role-student { background:#2196f3; }

.login-card a {
    color: #fff;
    text-decoration: underline;
}
/* ===== HERO IMAGE VISIBILITY FIX ONLY ===== */

.hero-content {
    z-index: 5 !important;
}

/* FEATURE IMAGE CARD */
.feature-card{
    position:relative;
    min-height:250px;
    background-size:cover;
    background-position:center;
    border-radius:15px;
    overflow:hidden;
    margin-bottom:20px;
    box-shadow:0 12px 30px rgba(0,0,0,0.2);
}

.feature-overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,0.55);
    color:#fff;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    padding:20px;
    text-align:center;
    transition:0.3s;
}

.feature-card:hover .feature-overlay{
    background:rgba(0,0,0,0.75);
}

.feature-overlay h4{
    font-weight:600;
    margin-bottom:10px;
}

.feature-overlay p{
    font-size:14px;
}
/* ================= FEATURE BACKGROUND CARD ================= */

.feature-card-bg{
    position: relative;
    height: 260px;
    border-radius: 18px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    margin-bottom: 25px;
    transition: 0.4s ease;
    display: flex;
    align-items: center;
}

.feature-card-bg:hover{
    transform: translateY(-8px);
}

/* Dark Overlay */
.feature-overlay{
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.75), rgba(0,0,0,0.3));
    color: #fff;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border-radius: 18px;
}

/* Title */
.feature-overlay h3{
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
}

/* Description */
.feature-overlay p{
    font-size: 14px;
    margin: 0;
    opacity: 0.95;
}

/* Responsive */
@media (max-width:768px){
    .feature-card-bg{
        height: 220px;
    }
}
.feature-card-bg{
    position: relative;
    height: 250px;
    border-radius: 18px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    margin-bottom: 25px;
    display: flex;
    align-items: flex-end;
}

.feature-overlay{
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.75), rgba(0,0,0,0.2));
    color: #fff;
}
/* PREMIUM HEADER */
.premium-header{
    background: linear-gradient(135deg,#0f2027,#203a43,#2c5364);
    color:#fff;
    padding:35px;
    border-radius:20px;
    margin-bottom:30px;
}

.premium-header h2{
    margin:0;
    font-size:28px;
}

.premium-header p{
    margin-top:8px;
    opacity:0.9;
}

/* CARD */
.premium-card{
    background:#fff;
    padding:30px;
    border-radius:20px;
    box-shadow:0 15px 40px rgba(0,0,0,0.05);
    margin-bottom:30px;
}

/* FORM */
.premium-form .form-row{
    display:flex;
    gap:20px;
    margin-bottom:20px;
}

.premium-form .form-row.full{
    flex-direction:column;
}

.form-col{
    flex:1;
    display:flex;
    flex-direction:column;
}

.premium-form label{
    font-weight:600;
    margin-bottom:6px;
}

.premium-form input,
.premium-form textarea{
    padding:12px;
    border-radius:10px;
    border:1px solid #ddd;
    transition:0.3s;
}

.premium-form input:focus,
.premium-form textarea:focus{
    border-color:#2c5364;
    outline:none;
}

/* BUTTON */
.btn-premium{
    background:linear-gradient(135deg,#11998e,#38ef7d);
    color:#fff;
    padding:12px 30px;
    border:none;
    border-radius:30px;
    cursor:pointer;
    font-weight:600;
    transition:0.3s;
}

.btn-premium:hover{
    transform:translateY(-2px);
}

/* TABLE */
.premium-table{
    width:100%;
    border-collapse:collapse;
}

.premium-table thead{
    background:#2c5364;
    color:#fff;
}

.premium-table th,
.premium-table td{
    padding:15px;
    border-bottom:1px solid #eee;
}

.title-cell{
    font-weight:600;
}

.feature-preview{
    width:120px;
    border-radius:12px;
}

/* BADGES */
.badge-active{
    background:#e6f9f0;
    color:#11998e;
    padding:6px 14px;
    border-radius:20px;
    font-weight:600;
}

.badge-inactive{
    background:#fdecea;
    color:#dc3545;
    padding:6px 14px;
    border-radius:20px;
    font-weight:600;
}

/* ACTION BUTTONS */
.btn-toggle{
    background:#ffc107;
    color:#000;
    padding:7px 16px;
    border-radius:20px;
    text-decoration:none;
    margin-right:8px;
}

.btn-delete{
    background:#dc3545;
    color:#fff;
    padding:7px 16px;
    border-radius:20px;
    text-decoration:none;
}
@media (max-width:768px){
    
}

/* ===== HERO BACKGROUND WITH TEXT OVERLAY ===== */


.hero-btn:hover{
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}
/* Announcement Card */
.announcement-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    margin-bottom: 12px;
    border-radius: 10px;
    background: linear-gradient(135deg, #ffffff, #f3f6ff);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    font-weight: 500;
    transition: 0.3s ease;
}

/* Clickable Version */
.announcement-link {
    text-decoration: none;
    color: #222;
}

.announcement-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
    background: linear-gradient(135deg, #e8f0ff, #ffffff);
}

/* Title */
.announcement-title {
    font-size: 15px;
}

/* Icon */
.announcement-icon {
    font-size: 14px;
    color: #4e73df;
}
/* ===== FEATURE IMAGE CARD ===== */

.feature-image-card {
    height: 220px;
    border-radius: 18px;
    background-size: cover;
    background-position: top center;
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
    transition: 0.4s ease;
}

/* Dark overlay */
.feature-dark-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
    display: flex;
    flex-direction: column;
    justify-content: center;     /* Vertical center */
    align-items: center;         /* Horizontal center */
    text-align: center;
    padding: 20px;
    color: #fff;
    transition: 0.4s ease;
}

/* Stylish Title */
.feature-dark-overlay h4 {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 8px;
    text-transform: uppercase;
}

/* Stylish Description */
.feature-dark-overlay p {
    font-size: 14px;
    font-weight: 500;
    opacity: 0.9;
}

/* Hover effect */
.feature-image-card:hover {
    transform: translateY(-8px);
}

.feature-image-card:hover .feature-dark-overlay {
    background: rgba(0,0,0,0.65);
}
.video-section {
    padding: 70px 0;
    background: #f4f7fb;
}

.video-container {
    width: 90%;
    margin: auto;
}

.video-title {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 40px;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.video-card iframe {
    width: 100%;
    height: 220px;
    border-radius: 12px;
}

.video-card h4 {
    margin-top: 10px;
    font-weight: 600;
    text-align: center;
}

@media(max-width:900px){
    .video-grid{
        grid-template-columns: 1fr;
    }
}
/* ================= HOMEPAGE 5 VIDEO ROW ================= */

.homepage-video-section{
    padding:80px 0;
    background:#f8f9fc;
}

.video-container{
    width:95%;
    margin:auto;
    text-align:center;
}

.video-section-title{
    font-size:32px;
    font-weight:700;
    margin-bottom:50px;
    color:#1f3c88;
}

.homepage-video-row{
    display:flex;
    justify-content:center;
    gap:25px;
    flex-wrap:wrap;
}

.video-thumb-card{
    width:18%;
    min-width:220px;
}

.video-thumb{
    height:160px;
    background-size:cover;
    background-position:center;
    border-radius:15px;
    position:relative;
    overflow:hidden;
    transition:0.4s;
}

.video-thumb::after{
    content:"";
    position:absolute;
    inset:0;
    background:rgba(0,0,0,0.35);
    transition:0.4s;
}

.video-thumb:hover::after{
    background:rgba(0,0,0,0.15);
}

.play-btn{
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    background:#ff0000;
    width:55px;
    height:55px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    font-size:20px;
    z-index:2;
    transition:0.3s;
}

.video-thumb:hover .play-btn{
    transform:translate(-50%,-50%) scale(1.15);
}

.video-thumb-card h4{
    margin-top:15px;
    font-weight:600;
    font-size:15px;
}
/* ================= VIDEO MODAL ================= */

.video-thumb{
    cursor:pointer;
}

.video-modal{
    display:none;
    position:fixed;
    inset:0;
    background:rgba(0,0,0,0.8);
    justify-content:center;
    align-items:center;
    z-index:9999;
}

.video-modal-content{
    width:80%;
    max-width:900px;
    position:relative;
}

.video-modal iframe{
    width:100%;
    height:500px;
    border-radius:15px;
}

.close-video{
    position:absolute;
    top:-40px;
    right:0;
    font-size:35px;
    color:#fff;
    cursor:pointer;
}
/* ===== YOUTUBE PLAY BUTTON (NO FONT AWESOME) ===== */

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 50px;
    background: #ff0000;
    border-radius: 12px;
    z-index: 3;
    transition: 0.3s ease;
}

/* White Triangle */
.play-btn::before {
    content: "";
    position: absolute;
    left: 28px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 18px solid white;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
}

.video-thumb:hover .play-btn {
    transform: translate(-50%, -50%) scale(1.15);
    background: #e60000;
}
.homepage-gallery{
    padding:60px 0;
}

.homepage-gallery-grid{
    display:grid;
    grid-template-columns: repeat(4,1fr);
    gap:20px;
}

.gallery-thumb img{
    width:100%;
    height:220px;
    object-fit:cover;
    border-radius:15px;
    transition:0.3s;
}

.gallery-thumb img:hover{
    transform:scale(1.05);
}

@media(max-width:992px){
    .homepage-gallery-grid{
        grid-template-columns: repeat(2,1fr);
    }
}
/* ================= NOTICE BAR ================= */

.notice-bar-section{
padding:6px 0;
}

.notice-wrapper{
display:flex;
align-items:center;
gap:10px;
padding:0 10px;
}

.notice-label{
background:#000;
color:#fff;
padding:4px 12px;
border-radius:20px;
font-weight:600;
font-size:14px;
}

.notice-container{
overflow:hidden;
flex:1;
}

.notice-track{
display:flex;
align-items:center;
gap:25px;
white-space:nowrap;
animation:scrollNotice 30s linear infinite;
}

.notice-item{
font-weight:500;
font-size:15px;
}

.notice-separator{
opacity:0.6;
}

.notice-link{
color:#0d6efd;
text-decoration:none;
font-weight:600;
}

.notice-link:hover{
text-decoration:underline;
}

@keyframes scrollNotice{

0%{
transform:translateX(100%);
}

100%{
transform:translateX(-100%);
}

}
/* ================= GALLERY IMPROVEMENT ================= */

.homepage-gallery{
    padding:80px 0;
    background:#ffffff;
}

.homepage-gallery .section-title{
    text-align:center;
    font-size:32px;
    font-weight:700;
    margin-bottom:50px;
}

.gallery-thumb{
    overflow:hidden;
    border-radius:15px;
}

.gallery-thumb img{
    width:100%;
    height:220px;
    object-fit:cover;
    border-radius:15px;
    transition:0.4s ease;
}

.gallery-thumb:hover img{
    transform:scale(1.08);
}
/* ================= PROFESSIONAL GALLERY ================= */

.homepage-gallery{
    padding:80px 0;
    background:#ffffff;
}

.gallery-container{
    width:90%;
    max-width:1200px;
    margin:auto;
}

.gallery-title{
    text-align:center;
    font-size:32px;
    font-weight:700;
    margin-bottom:50px;
    color:#1e3c72;
}

/* GRID */

.homepage-gallery-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:25px;
}

/* CARD */

.gallery-card{
    overflow:hidden;
    border-radius:15px;
    box-shadow:0 10px 25px rgba(0,0,0,0.12);
    cursor:pointer;
    transition:0.4s ease;
}

.gallery-card:hover{
    transform:translateY(-6px);
}

/* IMAGE */

.gallery-img{
    width:100%;
    height:220px;
    object-fit:cover;
    transition:0.5s;
}

.gallery-card:hover .gallery-img{
    transform:scale(1.1);
}

/* MODAL */

.gallery-modal{
    display:none;
    position:fixed;
    inset:0;
    background:rgba(0,0,0,0.9);
    justify-content:center;
    align-items:center;
    z-index:9999;
}

.gallery-modal-img{
    max-width:90%;
    max-height:80%;
    border-radius:12px;
}

.gallery-close{
    position:absolute;
    top:30px;
    right:40px;
    font-size:40px;
    color:#fff;
    cursor:pointer;
}

.gallery-empty{
    grid-column:1/-1;
    text-align:center;
}

/* ================= FOOTER ALIGN FIX ================= */

.footer-wrapper{
    padding-top:40px;
    padding-bottom:20px;
}

.footer-row{
    align-items:flex-start;
}

.footer-col{
    padding-left:25px;
    padding-right:25px;
}

.footer-text{
    line-height:1.7;
    margin-top:10px;
}

.footer-links{
    list-style:none;
    padding-left:0;
}

.footer-links li{
    margin-bottom:8px;
}

.footer-links a{
    color:#fff;
    text-decoration:none;
    transition:0.3s;
}

.footer-links a:hover{
    text-decoration:underline;
}

.footer-contact{
    margin-bottom:8px;
}

.footer-divider{
    margin-top:20px;
    margin-bottom:15px;
}
.notice-wrapper{
display:flex;
align-items:center;
gap:20px;
}

.notice-label{
background:#000;
color:#fff;
padding:6px 16px;
border-radius:20px;
font-weight:600;
white-space:nowrap;
}

.notice-container{
overflow:hidden;
flex:1;
}

.notice-track{
display:flex;
gap:40px;
animation:scrollNotice 30s linear infinite;
}

.notice-item{
font-weight:500;
white-space:nowrap;
}

.notice-link{
color:#0d6efd;
font-weight:600;
text-decoration:none;
}

.notice-link:hover{
text-decoration:underline;
}

@keyframes scrollNotice{

0%{
transform:translateX(100%);
}

100%{
transform:translateX(-100%);
}

}
/* Pause scrolling when mouse is over notice bar */

.notice-container:hover .notice-track{
animation-play-state: paused;
cursor: pointer;
}
body{
user-select:none;
-webkit-user-select:none;
-moz-user-select:none;
-ms-user-select:none;
}
.login-btn{
background:linear-gradient(135deg,#f59e0b,#f97316);
color:white;
padding:10px 20px;
border-radius:30px;
font-weight:600;
text-decoration:none;
display:inline-flex;
align-items:center;
gap:8px;
box-shadow:0 4px 12px rgba(0,0,0,0.2);
transition:all 0.3s ease;
}

.login-btn:hover{
background:linear-gradient(135deg,#ea580c,#dc2626);
transform:translateY(-2px);
box-shadow:0 6px 18px rgba(0,0,0,0.25);
}


/* 🔥 MAIN CENTER CONTENT */

.hero-btn {
    background: #f39c12;
    padding: 10px 25px;
    border-radius: 25px;
    color: #000;
    text-decoration: none;
    font-weight: bold;
}


/* NAV BUTTON STYLE */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0,0,0,0.4);
    border-radius: 50%;
    padding: 15px;
}
/* REMOVE GREY STRIP */
.carousel-caption,
.carousel-indicators{
    display:none !important;
}

/* REMOVE BOOTSTRAP STRIP */
.carousel-caption,
.carousel-indicators{
    display:none !important;
}

/* REMOVE GAP */
.carousel{
    margin-bottom:0 !important;
}
.hero-slide{
    position:relative;
    width:100%;
    height:100%;

    display:flex;
    align-items:center;
    justify-content:center;
}

/* ===== HERO WITH BLUR BACKGROUND ===== */

.hero-section{
    width:100%;
    height:500px;
    position:relative;
    overflow:hidden;
}

/* Main content */
.hero-overlay{
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    z-index:3;
    text-align:center;
    color:#fff;
}

/* ===== ULTRA PREMIUM HERO ===== */

.hero-section{
    width:100%;
    height:520px;
    position:relative;
    overflow:hidden;
}

/* MAIN TEXT */
.hero-overlay{
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    z-index:4;
    text-align:center;
    color:#fff;
    animation:fadeUp 1.2s ease;
}

/* BUTTON */

.hero-btn:hover{
    transform:translateY(-3px);
    box-shadow:0 10px 30px rgba(0,0,0,0.4);
}

/* REMOVE BOOTSTRAP STRIP */
.carousel-caption,
.carousel-indicators{
    display:none !important;
}

/* ===== ANIMATIONS ===== */

@keyframes zoomBg{
    0%{ transform:scale(1.3); }
    100%{ transform:scale(1.5); }
}

@keyframes zoomImg{
    0%{ transform:scale(1); }
    100%{ transform:scale(1.05); }
}

@keyframes fadeUp{
    from{
        opacity:0;
        transform:translate(-50%,-40%);
    }
    to{
        opacity:1;
        transform:translate(-50%,-50%);
    }
}
/* ===== FINAL CLEAN HERO ===== */

.hero-section{
    width:100%;
    height:520px;
    position:relative;
    overflow:hidden;
}

/* Carousel full size */
.carousel,
.carousel-inner,
.carousel-item{
    height:100%;
}
.carousel-item{
    display:flex;
    align-items:flex-start;
}
.carousel-item{
    background:#000; /* grey हटेगा */
}
/* Image FULL WIDTH CENTER */
.hero-img{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position: top center;
}

/* CENTER TEXT */
.hero-overlay{
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    text-align:center;
    color:#fff;
    z-index:2;
}

/* DARK OVERLAY */
.hero-section::after{
    content:"";
    position:absolute;
    inset:0;
    background:rgba(0,0,0,0.4);
    z-index:1;
}

/* TITLE */
.hero-title{
    font-size:42px;
    font-weight:700;
}

/* SUBTITLE */
.hero-subtitle{
    font-size:18px;
}

/* BUTTON */
.hero-btn{
    background:#f39c12;
    padding:12px 28px;
    border-radius:30px;
    color:#000;
    font-weight:600;
    text-decoration:none;
}

/* SLIDE TITLE */
.slide-title{
    position:absolute;
    bottom:20px;
    left:50%;
    transform:translateX(-50%);
    background:rgba(0,0,0,0.6);
    color:#fff;
    padding:8px 20px;
    border-radius:20px;
}