/* ========== GLOBAL COLORFUL & PROFESSIONAL THEME ========== */
:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --accent-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gold-gradient: linear-gradient(135deg, #f6d365 0%, #fda085 100%);
    --dark-gradient: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    --shadow-lg: 0 20px 35px -10px rgba(0,0,0,0.15);
    --shadow-sm: 0 5px 15px rgba(0,0,0,0.08);
    --transition-smooth: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --primary-color: #667eea;
    --secondary-color: #764ba2;
}

html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    background: #f8f9ff;
    padding-top: 164px;
}

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Poppins:wght@400;500;600;700;800&display=swap');

/* ========== HORIZONTAL MARQUEE BAR (Top of Nav) ========== */
.top-marquee-bar {
    background: var(--primary-gradient);
    color: white;
    padding: 10px 0;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1001;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    white-space: nowrap;
    overflow: hidden;
    max-width: 100vw;
}

.marquee-content {
    display: inline-block;
    animation: marquee 25s linear infinite;
    padding-left: 100%;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.marquee-content i {
    margin: 0 15px;
    color: #ffd700;
}

/* ========== VERTICAL MARQUEE (Messages Section) ========== */
.vertical-marquee-section {
    background: linear-gradient(135deg, #1a2a3a 0%, #0f2027 100%);
    padding: 30px 0;
    overflow: hidden;
    position: relative;
}

.vertical-marquee-container {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.vertical-marquee {
    animation: verticalScroll 15s linear infinite;
}

@keyframes verticalScroll {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}

.message-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 15px;
    padding: 15px 20px;
    margin: 10px 0;
    color: white;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: var(--transition-smooth);
}

.message-card:hover {
    background: rgba(255,255,255,0.2);
    transform: translateX(5px);
}

.message-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ========== HERO SECTION ========== */
.hero-section {
    position: relative;
    overflow: hidden;
    margin-top: 50px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(120deg, #a1c4fd 0%, #c2e9fb 50%, #d4fcff 100%);
    z-index: -2;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(102,126,234,0.15) 0%, rgba(118,75,162,0.1) 100%);
    z-index: -1;
}

/* ========== PAGE BANNER ========== */
.page-banner {
    background: var(--primary-gradient);
    padding: 80px 0 50px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.1)" fill-opacity="1" d="M0,96L48,112C96,128,192,160,288,186.7C384,213,480,235,576,213.3C672,192,768,128,864,128C960,128,1056,192,1152,208C1248,224,1344,192,1392,176L1440,160L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.3;
}

.page-banner h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.page-banner .breadcrumb {
    background: transparent;
    margin-bottom: 0;
}

.page-banner .breadcrumb-item a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    font-weight: 500;
}

.page-banner .breadcrumb-item.active {
    color: white;
    font-weight: 600;
}

.page-banner .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255,255,255,0.7);
}

/* ========== ADMISSION INFO SECTION (PROFESSIONAL UPGRADE) ========== */
.admission-info-section {
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.admission-info-section h2 {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
    margin-bottom: 20px;
    position: relative;
}

.admission-info-section h2 span {
    background: var(--secondary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.admission-info-section h2::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--secondary-gradient);
    border-radius: 5px;
}

.admission-info-section h4 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1.2rem;
    line-height: 1.5;
}

.admission-info-section p {
    color: #555;
    line-height: 1.8;
    font-size: 1rem;
}

.admission-status .badge {
    font-weight: 500;
    letter-spacing: 0.5px;
    padding: 10px 18px !important;
    border-radius: 50px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.admission-status .badge:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.admission-steps {
    margin-top: 2rem;
}

.admission-steps .step {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    align-items: flex-start;
    background: #f8f9ff;
    padding: 20px;
    border-radius: 16px;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
}

.admission-steps .step:hover {
    background: white;
    border-color: rgba(102, 126, 234, 0.2);
    box-shadow: var(--shadow-sm);
    transform: translateX(10px);
}

.step-number {
    width: 45px;
    height: 45px;
    background: var(--primary-gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: 0 8px 15px rgba(102, 126, 234, 0.3);
}

.admission-steps .step h5 {
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 5px;
}

.admission-steps .step p {
    color: #666;
    margin-bottom: 0;
    font-size: 0.95rem;
}

.admission-info-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.admission-info-image img {
    transition: transform 0.6s ease;
    width: 100%;
}

.admission-info-image:hover img {
    transform: scale(1.05);
}

.admission-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(0deg, rgba(20, 102, 184, 0.9), transparent);
    padding: 30px;
    color: white;
    backdrop-filter: blur(5px);
}

.admission-overlay h3 {
    font-weight: 800;
    font-size: 1.8rem;
    margin-bottom: 5px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.admission-overlay p {
    font-size: 1.1rem;
    margin-bottom: 0;
    opacity: 0.95;
}

/* ========== ADMISSION FORM SECTION ========== */
.admission-form-section {
    background: #f4f6fc;
    position: relative;
    z-index: 1;
}

.admission-form-section .section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
    margin-bottom: 10px;
}

.admission-form-section .section-header h2 span {
    background: var(--secondary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.admission-form-section .section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--secondary-gradient);
    border-radius: 5px;
}

.admission-form-section .section-header p {
    color: #666;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.admission-form-wrapper {
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.form-image-header {
    overflow: hidden;
    max-height: 200px;
}

.form-image-header img {
    object-fit: cover;
    height: 200px;
    transition: transform 0.6s ease;
}

.admission-form-wrapper:hover .form-image-header img {
    transform: scale(1.05);
}

.admission-form {
    padding: 40px;
}

.admission-form .form-label {
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.admission-form .form-control,
.admission-form .form-select {
    border-radius: 12px;
    padding: 12px 15px;
    border: 2px solid #eef0f5;
    transition: var(--transition-smooth);
    background: #f9fafc;
    font-weight: 500;
}

.admission-form .form-control:focus,
.admission-form .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(102, 126, 234, 0.15);
    background: white;
}

.admission-form textarea.form-control {
    border-radius: 12px;
}

.admission-form .btn {
    background: var(--primary-gradient);
    border: none;
    padding: 14px 40px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.4);
    transition: var(--transition-smooth);
    color: white;
}

.admission-form .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(102, 126, 234, 0.5);
}

/* ========== QUICK FEES SECTION ========== */
.fees-quick-section {
    background: white;
    position: relative;
}

.fees-quick-section .section-header h3 {
    font-size: 2rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.fees-quick-section .section-header h3 span {
    background: var(--secondary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.table {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    width: 100%;
    background: white;
}

.table-dark {
    background: var(--dark-gradient) !important;
}

.table-dark th {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
    border-bottom: none;
    padding: 16px;
}

.table tbody td {
    vertical-align: middle;
    padding: 16px;
    font-weight: 500;
    color: #444;
    border-color: #f1f3f9;
}

.table-hover tbody tr:hover {
    background: rgba(102, 126, 234, 0.05);
    transition: var(--transition-smooth);
}

.table .fw-bold {
    color: var(--primary-color);
}

.fees-quick-section .btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 50px;
    transition: var(--transition-smooth);
    background: transparent;
}

.fees-quick-section .btn-outline-primary:hover {
    background: var(--primary-gradient);
    color: white;
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

/* ========== ABOUT SECTION ========== */
.about-section {
    background: white;
    position: relative;
}

.about-section .rounded-3 {
    border-radius: 20px !important;
}

.about-section .shadow {
    box-shadow: var(--shadow-lg) !important;
}

.about-section h2 {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
    margin-bottom: 20px;
}

.about-section h2 span {
    background: var(--secondary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.about-section .lead {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 25px;
}

.about-section p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
}

.about-section h4 {
    font-weight: 700;
    color: #2c3e50;
    transition: var(--transition-smooth);
}

.about-section h4:hover {
    transform: translateX(10px);
    color: var(--primary-color);
}

.about-section h4 i {
    font-size: 1.2rem;
}

/* ========== ABOUT CARDS ========== */
.about-card {
    background: white;
    border-radius: 20px;
    padding: 35px 25px;
    height: 100%;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(102, 126, 234, 0.2);
}

.about-card:hover::before {
    transform: scaleX(1);
}

.about-card i {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 20px;
    display: inline-block;
}

.about-card h4 {
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
}

.about-card p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 0;
}

/* ========== MODERN NAVBAR ========== */
.site-header {
    background: var(--primary-gradient) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 30px rgba(0,0,0,0.08);
    transition: var(--transition-smooth);
    position: fixed;
    top: 44px;
    left: 0;
    right: 0;
    z-index: 1000;
    width: 100%;
    max-width: 100vw;
    overflow: visible; /* Changed from hidden to visible to allow dropdown */
}

/* Sidebar Overlay */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Sidebar Menu */
.sidebar-menu {
    position: fixed;
    top: 0;
    left: -300px;
    width: 280px;
    height: 100%;
    background: white;
    box-shadow: 2px 0 20px rgba(0,0,0,0.1);
    z-index: 1002;
    transition: left 0.3s ease;
    overflow-y: auto;
    padding: 20px 0;
}

.sidebar-menu.open {
    left: 0;
}

.sidebar-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
    text-align: center;
}

.sidebar-header .site-name {
    font-size: 1.3rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-top: 10px;
}

.sidebar-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-nav li {
    margin: 0;
}

.sidebar-nav li a {
    display: flex;
    align-items: center;
    padding: 14px 24px;
    color: #2c3e50;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-smooth);
    gap: 12px;
}

.sidebar-nav li a i {
    width: 24px;
    font-size: 1.1rem;
}

.sidebar-nav li a:hover,
.sidebar-nav li.active a {
    background: linear-gradient(90deg, rgba(102,126,234,0.1) 0%, rgba(118,75,162,0.05) 100%);
    color: #667eea;
    padding-left: 30px;
}

.sidebar-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    z-index: 10;
}

/* Mobile Toggle Button */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: #fff;
    cursor: pointer;
    padding: 8px;
    z-index: 1003;
    white-space: nowrap;
}

/* Navbar Brand */
.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-info {
    display: flex;
    flex-direction: column;
}

.site-title {
    font-weight: 800;
    font-size: 1.5rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.site-tagline {
    font-size: 0.7rem;
    opacity: 0.8;
    margin-top: -4px;
    color: #ffffff;
}

/* Desktop Navigation */
.desktop-nav {
    display: flex;
    align-items: center;
}

/* Menu Boxes Style */
.nav-box {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 12px;
    padding: 8px 16px;
    margin: 0 4px;
    transition: var(--transition-smooth);
    font-weight: 600;
    color: #ffffff !important;
    text-decoration: none;
    display: inline-block;
}

.nav-box:hover {
    background: var(--primary-gradient);
    color: white !important;
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
    border-color: transparent;
}

.nav-box i {
    margin-right: 4px;
}

/* Desktop Header Layout */
.header-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 10px 0;
    max-width: 100%;
    overflow: hidden;
}

.header-logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-grow: 1;
    min-width: 0;
}

/* ========== PROFESSIONAL CONTACT INFO ========== */
.header-contact-info {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.9rem;
    color: #ffffff;
    white-space: nowrap;
    flex-shrink: 0;
    max-width: 100%;
    overflow: hidden;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    background: rgba(102, 126, 234, 0.08);
    border-radius: 50px;
    border: 1px solid rgba(102, 126, 234, 0.15);
    transition: var(--transition-smooth);
    max-width: 280px;
    overflow: hidden;
    flex-shrink: 0;
}

.contact-info-item:hover {
    background: rgba(102, 126, 234, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.2);
}

.contact-icon-circle {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 50%;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.contact-details {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.contact-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.7;
    font-weight: 600;
}

.contact-value {
    font-weight: 700;
    font-size: 0.85rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.header-menu-row {
    width: 100%;
    text-align: center;
    padding: 8px 0 12px;
    border-top: 1px solid rgba(0,0,0,0.05);
    overflow: visible; /* Changed from hidden to visible */
    position: relative; /* Added for proper dropdown positioning */
}

/* Mobile Left Container */
.mobile-left-container {
    display: none;
    align-items: center;
    width: 100%;
    max-width: 100%;
}

/* ========== DESKTOP NAV DROPDOWN STYLES - FIXED ========== */
.nav-dropdown {
    position: relative;
    display: inline-block;
    z-index: 100;
}

.nav-dropdown-toggle {
    cursor: pointer !important;
}

.nav-dropdown-toggle .fa-chevron-down {
    font-size: 0.65rem;
    transition: transform 0.3s ease;
    margin-left: 4px;
    margin-right: 0;
}

.nav-dropdown.active .nav-dropdown-toggle .fa-chevron-down {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: white;
    border-radius: 16px;
    padding: 8px;
    min-width: 280px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15), 0 5px 15px rgba(102, 126, 234, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 1000;
    pointer-events: none;
    display: block !important; /* Force display block */
}

.nav-dropdown.active .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: all;
}

.nav-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid white;
    filter: drop-shadow(0 -3px 3px rgba(0,0,0,0.05));
}

.dropdown-item-custom {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    color: #2c3e50;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.25s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    white-space: nowrap; /* Prevent text wrapping */
}

.dropdown-item-custom::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background: var(--primary-gradient);
    border-radius: 0 3px 3px 0;
    transition: height 0.3s ease;
}

.dropdown-item-custom:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.08) 100%);
    padding-left: 24px;
}

.dropdown-item-custom:hover::before {
    height: 60%;
}

.dropdown-item-custom i {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: var(--primary-gradient);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.9rem;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.dropdown-item-custom:hover i {
    transform: scale(1.1) rotate(-5deg);
}

.dropdown-item-custom div {
    display: flex;
    flex-direction: column;
}

.dropdown-item-custom strong {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 2px;
    line-height: 1.3;
}

.dropdown-item-custom small {
    font-size: 0.75rem;
    color: #888;
    font-weight: 400;
    line-height: 1.2;
}

/* Active state for current page in dropdown */
.nav-dropdown.active .nav-dropdown-toggle.nav-box {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
}

/* ========== SIDEBAR DROPDOWN STYLES (Mobile) - FIXED ========== */
.sidebar-dropdown .sidebar-dropdown-toggle {
    display: flex;
    align-items: center;
    padding: 14px 24px;
    color: #2c3e50;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-smooth);
    gap: 12px;
    cursor: pointer !important;
}

.sidebar-dropdown .sidebar-dropdown-toggle:hover {
    background: linear-gradient(90deg, rgba(102,126,234,0.1) 0%, rgba(118,75,162,0.05) 100%);
    color: #667eea;
    padding-left: 30px;
}

.sidebar-dropdown .sidebar-dropdown-toggle .fa-chevron-down {
    transition: transform 0.3s ease;
    font-size: 0.7rem;
}

.sidebar-dropdown.active .sidebar-dropdown-toggle .fa-chevron-down {
    transform: rotate(180deg);
}

.sidebar-dropdown .sidebar-dropdown-toggle i:first-child {
    width: 24px;
    font-size: 1.1rem;
}

.sidebar-submenu {
    list-style: none;
    padding: 0;
    margin: 0;
    background: #f8f9ff;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.sidebar-dropdown.active .sidebar-submenu {
    max-height: 300px;
    padding: 8px 0;
}

.sidebar-submenu li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px 12px 52px;
    color: #555;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.25s ease;
    border-left: 3px solid transparent;
}

.sidebar-submenu li a:hover {
    background: rgba(102, 126, 234, 0.08);
    color: #667eea;
    border-left-color: #667eea;
    padding-left: 56px;
}

.sidebar-submenu li a i {
    width: 20px;
    font-size: 0.85rem;
    color: #667eea;
}

/* ========== CAROUSEL ========== */
.hero-section .carousel {
    max-height: 70vh;
    overflow: hidden;
}

.hero-section .carousel-item img {
    height: 70vh !important;
    object-fit: cover;
    object-position: center 30%;
}

.carousel-caption {
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(8px);
    border-radius: 20px;
    padding: 20px 25px;
    animation: fadeInUp 1s ease;
    bottom: 15%;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 600px;
}

.carousel-control-prev,
.carousel-control-next {
    width: 8%;
    opacity: 0.7;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px) translateX(-50%);
    }
    to {
        opacity: 1;
        transform: translateY(0) translateX(-50%);
    }
}

/* ========== STUDENT CARD ========== */
.student-card {
    transition: var(--transition-smooth);
}

.student-card .card {
    border: none;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    background: white;
}

.student-card:hover .card {
    transform: translateY(-15px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.student-card .card-img-top {
    height: 280px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.student-card:hover .card-img-top {
    transform: scale(1.08);
}

.achievement {
    background: var(--gold-gradient);
    display: inline-block;
    padding: 6px 15px;
    border-radius: 50px;
    color: #fff;
    font-weight: 600;
    font-size: 0.85rem;
}

/* ========== GALLERY ========== */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    cursor: pointer;
}

.gallery-item img {
    transition: transform 0.6s ease;
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 20px;
    max-width: 100%;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item .overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    right: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.5) 100%);
    color: white;
    padding: 20px;
    transition: bottom 0.4s ease;
    border-radius: 0 0 20px 20px;
}

.gallery-item:hover .overlay {
    bottom: 0;
}

/* ========== CONTACT FORM ========== */
.contact-section .form-control {
    border-radius: 50px;
    padding: 12px 20px;
    border: 2px solid #e9ecef;
    transition: var(--transition-smooth);
}

.contact-section .form-control:focus {
    border-color: #764ba2;
    box-shadow: 0 0 0 0.25rem rgba(118,75,162,0.25);
}

/* ========== BUTTONS ========== */
.btn-primary {
    background: var(--primary-gradient);
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    transition: var(--transition-smooth);
    box-shadow: 0 5px 15px rgba(102,126,234,0.4);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(102,126,234,0.5);
    color: white;
}

/* ========== FOOTER ========== */
.footer {
    background: linear-gradient(135deg, #1a2a3a 0%, #0f2027 100%) !important;
    color: #ffffff !important;
    padding-top: 50px;
    position: relative;
}

.footer a {
    color: #ffd700;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer a:hover {
    color: white;
    padding-left: 5px;
}

.social-icons a {
    display: inline-block;
    transition: var(--transition-smooth);
}

.social-icons a:hover {
    transform: translateY(-5px) scale(1.1);
}

/* ========== ANIMATIONS ========== */
.float-animation {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* ========== SECTION TITLES ========== */
section h2 {
    font-size: 2.8rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
    padding-bottom: 10px;
    position: relative;
}

section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 25%;
    width: 50%;
    height: 4px;
    background: var(--secondary-gradient);
    border-radius: 5px;
}

/* ========== OWL CAROUSEL CUSTOM ========== */
.owl-nav button {
    background: var(--primary-gradient) !important;
    border-radius: 50% !important;
    width: 45px;
    height: 45px;
    color: white !important;
    font-size: 24px !important;
    transition: var(--transition-smooth);
}

.owl-nav button:hover {
    transform: scale(1.1);
}

/* ========== SCROLLBAR ========== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 10px;
}

/* ========== UTILITY FIXES ========== */
body.sidebar-open {
    overflow: hidden;
}

.navbar .container {
    max-width: 100%;
}

.row {
    margin-right: 0;
    margin-left: 0;
}

.container {
    padding-right: 15px;
    padding-left: 15px;
}

.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
}

.video-wrapper iframe {
    max-width: 100%;
}

/* Notification Bar */
.notification-bar {
    background: linear-gradient(90deg, #ff6b6b, #feca57, #48dbfb, #ff9ff3);
    background-size: 300% 300%;
    animation: gradientShift 4s ease infinite;
    border: none;
    border-radius: 0;
    color: white;
    font-weight: 600;
    position: relative;
    z-index: 999;
    width: 100%;
    max-width: 100vw;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ========== DROPDOWN FIXES ========== */
/* Fix for sidebar chevron rotation */
.fa-rotate-180 {
    transform: rotate(180deg);
}

/* Ensure dropdown menu appears above other elements */
.nav-dropdown {
    position: relative;
    z-index: 100;
}

/* Ensure nav-dropdown-menu is clickable */
.nav-dropdown-menu {
    pointer-events: none;
    display: block !important; /* Override any display:none */
}

.nav-dropdown.active .nav-dropdown-menu {
    pointer-events: all;
    display: block !important; /* Ensure it stays visible when active */
}

/* Fix for dropdown toggle cursor */
.nav-dropdown-toggle {
    cursor: pointer !important;
}

.sidebar-dropdown-toggle {
    cursor: pointer !important;
}

/* Additional fix for Safari and older browsers */
.nav-dropdown-menu {
    -webkit-transform: translateX(-50%) translateY(10px);
    -ms-transform: translateX(-50%) translateY(10px);
}

.nav-dropdown.active .nav-dropdown-menu {
    -webkit-transform: translateX(-50%) translateY(0);
    -ms-transform: translateX(-50%) translateY(0);
}

/* ========== RESPONSIVE STYLES ========== */
@media (max-width: 991px) {
    body {
        padding-top: 114px;
    }
    
    .hero-section {
        margin-top: 0px;
    }
    
    /* Hide desktop specific elements on mobile */
    .header-top-row,
    .header-menu-row,
    .header-contact-info {
        display: none !important;
    }
    
    /* Show mobile elements */
    .mobile-left-container {
        display: flex;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    /* Hide desktop dropdown on mobile */
    .nav-dropdown {
        display: none !important;
    }
    
    /* Adjust navbar brand for mobile layout */
    .navbar-brand {
        order: 1;
        max-width: calc(100% - 50px);
    }
    
    /* Make navbar container flex column on mobile */
    .navbar {
        padding: 10px 0;
    }
    
    .navbar .container {
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100%;
    }
    
    /* Logo info display block on mobile */
    .logo-info {
        display: flex;
        flex-direction: column;
        line-height: 1.2;
    }
    
    /* Smaller site title on mobile */
    .site-title {
        font-size: 1.1rem;
    }
    
    /* Smaller tagline on mobile */
    .site-tagline {
        font-size: 0.6rem;
        display: block;
    }
    
    /* Smaller logo on mobile */
    .navbar-brand img {
        height: 40px;
    }
    
    .top-marquee-bar {
        font-size: 0.7rem;
        padding: 6px 0;
    }
    
    .site-header {
        top: 28px;
    }
    
    .page-banner h1 {
        font-size: 2.2rem;
    }
    
    .admission-info-section h2,
    .admission-form-section .section-header h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    section h2 {
        font-size: 1.8rem;
    }
    
    /* Carousel mobile */
    .hero-section .carousel {
        max-height: 45vh;
    }
    
    .hero-section .carousel-item img {
        height: 45vh !important;
        object-position: center 40%;
    }
    
    .carousel-caption {
        padding: 12px 18px;
        bottom: 8%;
        border-radius: 15px;
    }
    
    .carousel-caption h2 {
        font-size: 1rem !important;
        margin-bottom: 5px;
    }
    
    .carousel-caption p {
        font-size: 0.7rem !important;
        margin-bottom: 8px;
    }
    
    .carousel-caption .btn {
        font-size: 0.7rem;
        padding: 6px 15px;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 12%;
    }
    
    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 25px;
        height: 25px;
    }
    
    .carousel-indicators {
        bottom: 3px;
        margin-bottom: 0;
    }
    
    .carousel-indicators button {
        width: 8px !important;
        height: 8px !important;
        margin: 0 3px !important;
    }
    
    /* About section mobile */
    .about-section h2 {
        font-size: 1.8rem;
    }
    
    .about-card {
        margin-bottom: 20px;
    }
    
    .admission-form {
        padding: 25px;
    }
    
    .admission-steps .step {
        padding: 15px;
        gap: 15px;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .contact-info-item {
        max-width: 200px;
        padding: 8px 12px;
    }
    
    .contact-icon-circle {
        width: 30px;
        height: 30px;
        min-width: 30px;
        font-size: 0.7rem;
    }
    
    .contact-value {
        font-size: 0.7rem;
    }
    
    .nav-box {
        padding: 6px 10px;
        font-size: 0.8rem;
        margin: 0 2px;
    }
    
    .hero-section .carousel {
        max-height: 38vh;
    }
    
    .hero-section .carousel-item img {
        height: 38vh !important;
    }
    
    .carousel-caption {
        padding: 8px 12px;
        bottom: 5%;
    }
    
    .carousel-caption h2 {
        font-size: 0.8rem !important;
    }
    
    .carousel-caption p {
        font-size: 0.6rem !important;
        display: none;
    }
    
    .carousel-caption .btn {
        font-size: 0.6rem;
        padding: 4px 10px;
    }
    
    .page-banner {
        padding: 60px 0 40px;
    }
    
    .page-banner h1 {
        font-size: 1.8rem;
    }
    
    /* Sidebar adjustments */
    .sidebar-menu {
        width: 260px;
        left: -260px;
    }
    
    .sidebar-submenu li a {
        padding: 10px 20px 10px 44px;
        font-size: 0.85rem;
    }
}

/* Additional responsive fix for dropdown menu on smaller screens */
@media (min-width: 992px) and (max-width: 1200px) {
    .nav-dropdown-menu {
        min-width: 250px;
    }
    
    .dropdown-item-custom {
        padding: 12px 14px;
        gap: 10px;
    }
    
    .dropdown-item-custom i {
        width: 35px;
        height: 35px;
        min-width: 35px;
        font-size: 0.8rem;
    }
    
    .dropdown-item-custom strong {
        font-size: 0.85rem;
    }
    
    .dropdown-item-custom small {
        font-size: 0.7rem;
    }
}




/*notice board */


        /* Notice Board Professional Styles */
        .notice-board-wrapper {
            background: #ffffff;
            border-radius: 24px;
            box-shadow: 0 20px 35px -10px rgba(0,0,0,0.1);
            overflow: hidden;
            margin: 40px 0;
            border: 1px solid rgba(102, 126, 234, 0.1);
        }
        
        .notice-header {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            padding: 20px 30px;
            display: flex;
            align-items: center;
            gap: 15px;
            flex-wrap: wrap;
        }
        
        .notice-icon-box {
            background: rgba(255,255,255,0.2);
            backdrop-filter: blur(5px);
            width: 50px;
            height: 50px;
            border-radius: 15px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            color: white;
            flex-shrink: 0;
        }
        
        .notice-title {
            color: white;
            font-weight: 700;
            font-size: 1.8rem;
            letter-spacing: -0.5px;
        }
        
        .notice-date {
            margin-left: auto;
            background: rgba(255,255,255,0.2);
            padding: 8px 20px;
            border-radius: 50px;
            color: white;
            font-weight: 600;
            font-size: 0.9rem;
        }
        
        .notice-body {
            padding: 30px;
        }
        
        .notice-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
        }
        
        .notice-list {
            display: flex;
            flex-direction: column;
            gap: 15px;
        }
        
        .notice-item {
            display: flex;
            align-items: flex-start;
            gap: 15px;
            padding: 15px;
            background: #f8f9ff;
            border-radius: 16px;
            transition: all 0.3s ease;
            border-left: 4px solid #667eea;
        }
        
        .notice-item:hover {
            background: white;
            box-shadow: 0 10px 25px rgba(102, 126, 234, 0.15);
            transform: translateX(5px);
        }
        
        .notice-bullet {
            width: 40px;
            height: 40px;
            min-width: 40px;
            background: linear-gradient(135deg, #667eea, #764ba2);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 16px;
        }
        
        .notice-content h5 {
            font-weight: 700;
            margin-bottom: 4px;
            color: #2c3e50;
            font-size: 1rem;
        }
        
        .notice-content p {
            margin: 0;
            font-size: 0.85rem;
            color: #666;
            line-height: 1.5;
        }
        
        .notice-slider-col {
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 15px 30px rgba(0,0,0,0.1);
        }
        
        .swiper-notice {
            width: 100%;
            height: 100%;
            min-height: 320px;
            border-radius: 20px;
        }
        
        .swiper-notice .swiper-slide img {
            display: block;
            width: 80%;
            height: 80%;
            object-fit: cover;
            border-radius: 20px;
        }
        
        .swiper-notice .swiper-pagination-bullet-active {
            background: #667eea;
        }
        
        .swiper-notice .swiper-button-next,
        .swiper-notice .swiper-button-prev {
            color: white;
            background: rgba(102, 126, 234, 0.7);
            width: 35px;
            height: 35px;
            border-radius: 50%;
        }
        
        .swiper-notice .swiper-button-next:after,
        .swiper-notice .swiper-button-prev:after {
            font-size: 14px;
            font-weight: bold;
        }
        
        @media (max-width: 991px) {
            .notice-grid {
                grid-template-columns: 1fr;
            }
            .notice-slider-col {
                order: -1;
            }
            .swiper-notice {
                min-height: 250px;
            }
            .notice-title {
                font-size: 1.4rem;
            }
            .notice-date {
                margin-left: 0;
            }
        }
        
        @media (max-width: 480px) {
            .notice-header {
                padding: 15px 20px;
            }
            .notice-body {
                padding: 20px;
            }
            .notice-item {
                padding: 12px;
            }
        }