@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    /* HSL Tailored Colors */
    --primary-hsl: 219, 72%, 21%;
    --primary: hsl(var(--primary-hsl));             /* Navy Blue */
    --primary-light: hsl(219, 65%, 32%);
    --gold-hsl: 40, 50%, 56%;
    --gold: hsl(var(--gold-hsl));                   /* Premium Metallic Gold */
    --gold-light: hsl(40, 60%, 70%);
    --gold-hover: hsl(40, 55%, 48%);
    --accent: #db2777;                              /* Premium Deep Pink */
    
    /* Light Theme Variables */
    --bg-primary: #f4f6f9;
    --bg-card: rgba(255, 255, 255, 0.85);
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --border: rgba(15, 43, 92, 0.08);
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(255, 255, 255, 0.6);
    --white: #ffffff;
    
    /* Radii and Shadows */
    --shadow: 0 10px 30px -5px rgba(15, 43, 92, 0.08), 0 4px 12px -2px rgba(15, 43, 92, 0.03);
    --shadow-lg: 0 20px 40px -10px rgba(15, 43, 92, 0.15), 0 10px 20px -5px rgba(197, 160, 89, 0.1);
    --border-radius: 16px;
    --border-radius-sm: 8px;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.dark-theme {
    /* Dark Theme Variables */
    --bg-primary: #070b13;
    --bg-card: rgba(15, 23, 42, 0.8);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --border: rgba(197, 160, 89, 0.15);
    --glass-bg: rgba(15, 23, 42, 0.7);
    --glass-border: rgba(255, 255, 255, 0.05);
    --white: #0f172a;
    --accent: #f472b6;                              /* Soft Pink */
    --shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 25px 60px rgba(0, 0, 0, 0.5), 0 0 30px rgba(197, 160, 89, 0.05);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 75px; /* Offset to prevent sticky navbar overlap */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    transition: var(--transition);
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--gold-hover);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--primary);
    transition: var(--transition);
}

.dark-theme h1, .dark-theme h2, .dark-theme h3, .dark-theme h4, .dark-theme h5, .dark-theme h6 {
    color: var(--text-primary);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Text Gradients */
.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.dark-theme .gradient-text {
    background: linear-gradient(135deg, #ffffff, var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: rgba(255,255,255,0.1);
    transition: var(--transition);
    z-index: -1;
}

.btn:hover::before {
    width: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(15, 43, 92, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 25px rgba(15, 43, 92, 0.35);
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold), var(--gold-hover));
    color: #0c1322 !important;
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.2);
}

.btn-gold:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 25px rgba(197, 160, 89, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: #ffffff !important;
    transform: translateY(-3px);
}

.dark-theme .btn-outline {
    border-color: var(--gold);
    color: var(--gold);
}

.dark-theme .btn-outline:hover {
    background: var(--gold);
    color: #0c1322 !important;
}

/* COLLEGE STYLE HEADER UTILITY & BRAND HEADERS */
.top-bar {
    background-color: var(--primary);
    color: #ffffff;
    padding: 8px 0;
    font-size: 0.82rem;
    font-weight: 500;
    border-bottom: 2px solid var(--gold);
    z-index: 1001;
    position: relative;
}

.top-bar-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left, .top-bar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.top-bar-left span, .top-bar-right a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.9);
}

.top-bar-left span a:hover, .top-bar-right a:hover {
    color: var(--gold-light);
}

.top-bar-divider {
    color: rgba(255, 255, 255, 0.2);
}

.brand-header {
    background: var(--white);
    padding: 0;
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.brand-container {
    max-width: 1920px;
    width: 100%;
    margin: 0 auto;
    padding: 0;
}

.brand-logo-section {
    display: block;
    width: 100%;
    text-decoration: none;
}

.brand-logo-section img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0;
}

.brand-right-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(15, 43, 92, 0.04);
    border: 1px solid var(--border);
    border-radius: var(--border-radius-sm);
    padding: 10px 15px;
    transition: var(--transition);
}

.dark-theme .brand-right-badge {
    background: rgba(255, 255, 255, 0.04);
}

.brand-right-badge i {
    font-size: 1.8rem;
    color: var(--gold);
}

.brand-right-badge .badge-info {
    display: flex;
    flex-direction: column;
}

.brand-right-badge .badge-info strong {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 800;
}

.dark-theme .brand-right-badge .badge-info strong {
    color: var(--text-primary);
}

.brand-right-badge .badge-info span {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* STICKY GLASS NAVBAR */
header {
    background: var(--primary);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
    border-bottom: 2px solid var(--gold);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 52px;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 24px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    font-weight: 700;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    padding: 8px 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--gold-light);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(to right, var(--gold), var(--gold-light));
    transition: var(--transition);
    transform: translateX(-50%);
    border-radius: 2px;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.theme-toggle-btn {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.25rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--gold);
}

.nav-apply-btn {
    font-size: 0.8rem !important;
    padding: 8px 18px !important;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
}

.hamburger span {
    width: 24px;
    height: 3px;
    background-color: #ffffff;
    border-radius: 3px;
    transition: var(--transition);
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #ffffff;
    font-weight: 800;
    font-size: 1.15rem;
}

.logo-section img {
    height: 40px;
    border-radius: 0;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.15));
}

/* LATEST NOTICE ANNOUNCEMENT TICKER */
.announcement-ticker {
    display: flex;
    align-items: center;
    background-color: var(--accent);
    color: #ffffff;
    height: 40px;
    border-bottom: 2px solid var(--gold);
    overflow: hidden;
    position: relative;
}

.ticker-label {
    background-color: var(--primary);
    color: var(--gold);
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: 1px;
    padding: 0 20px;
    height: 100%;
    display: flex;
    align-items: center;
    z-index: 10;
    box-shadow: 5px 0 15px rgba(0,0,0,0.15);
}

.ticker-marquee {
    flex: 1;
    overflow: hidden;
    font-weight: 600;
    font-size: 0.9rem;
}

.ticker-marquee marquee {
    padding-top: 2px;
}

/* HERO BANNER SECTION */
.hero-section {
    position: relative;
    padding: 100px 0;
    display: flex;
    align-items: center;
    color: #ffffff;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-tag {
    background: rgba(197, 160, 89, 0.15);
    color: var(--gold-light);
    display: inline-block;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
    border: 1px solid rgba(197, 160, 89, 0.25);
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.15;
    color: #ffffff;
    margin-bottom: 20px;
    font-weight: 800;
}

.hero-title span {
    color: var(--gold);
}

.hero-desc {
    font-size: 1.15rem;
    color: rgba(248, 250, 252, 0.85);
    margin-bottom: 35px;
    max-width: 600px;
}

.hero-ctas {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-badge-container {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hero-badge-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.hero-badge-icon {
    font-size: 2rem;
    color: var(--gold);
}

.hero-badge-info h4 {
    color: #ffffff;
    font-size: 1.1rem;
}

.hero-badge-info p {
    color: rgba(248, 250, 252, 0.7);
    font-size: 0.8rem;
}

/* STUDENT PORTAL QUICK LINKS GRID */
.quick-links-grid {
    margin-top: 10px;
}

.quick-link-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--border-radius);
    padding: 24px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.quick-link-card i {
    font-size: 2.2rem;
    color: var(--accent);
    margin-bottom: 12px;
    transition: var(--transition);
}

.quick-link-card span {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary);
}

.quick-link-card:hover {
    transform: translateY(-8px);
    border-color: var(--gold);
    box-shadow: var(--shadow-lg);
}

.quick-link-card:hover i {
    color: var(--gold);
}

/* SECTION AND WRAPPER ELEMENTS */
.section {
    padding: 80px 0;
}

.section-bg {
    background-color: var(--bg-card);
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px auto;
}

.section-subtitle {
    color: var(--gold);
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 3px;
    margin-bottom: 10px;
    display: inline-block;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: 800;
}

.section-desc {
    color: var(--text-secondary);
}

/* COLLEGE LAYOUT GRID: WELCOME vs NOTICES */
.college-layout-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 50px;
    align-items: start;
}

.welcome-panel {
    padding-right: 20px;
}

.chairman-profile {
    display: block;
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow);
    margin: 25px 0;
}

.chairman-avatar-home {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--gold);
    float: left;
    margin-right: 20px;
}

/* NOTICE BOARD COLUMN */
.notice-board-panel {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.notice-board-header {
    background-color: var(--primary);
    color: #ffffff;
    padding: 20px 25px;
    border-bottom: 4px solid var(--gold);
}

.notice-board-header h3 {
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 800;
}

.notice-board-header span {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.7);
    font-weight: 500;
    text-transform: uppercase;
}

.notice-board-content {
    display: flex;
    flex-direction: column;
    padding: 20px 25px;
}

.notice-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding: 10px;
    border-bottom: 1px dashed var(--border);
    cursor: pointer;
    border-radius: var(--border-radius-sm);
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.notice-item:hover {
    background-color: var(--bg-primary);
    transform: translateX(4px);
}

.notice-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.notice-date {
    width: 55px;
    height: 55px;
    background-color: var(--accent);
    color: #ffffff;
    border-radius: var(--border-radius-sm);
    font-size: 1.15rem;
    font-weight: 800;
    text-align: center;
    line-height: 1.1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.notice-date span {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}

.notice-text h4 {
    font-size: 0.95rem;
    color: var(--text-primary);
    margin-bottom: 5px;
    transition: color 0.2s ease;
}

.notice-item:hover .notice-text h4 {
    color: var(--gold);
}

.notice-text p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* PROGRAMS Grid & Why Choose Us */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.program-card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.program-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold);
}

.program-img {
    height: 220px;
    background-size: cover;
    background-position: center;
}

.program-body {
    padding: 30px;
}

.program-tag {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.program-title {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.program-body p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

/* WHY CHOOSE US */
.why-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 50px;
    align-items: center;
}

.why-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.why-card {
    background: var(--bg-card);
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.why-icon {
    font-size: 2.2rem;
    margin-bottom: 15px;
    display: inline-block;
}

.why-card h4 {
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.why-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* TESTIMONIALS & HIGHLIGHTS */
.testimonial-slider-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial-slide {
    min-width: 100%;
    padding: 10px;
    text-align: center;
}

.testimonial-card {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px auto;
    border: 3px solid var(--gold);
}

.testimonial-text {
    font-size: 1.15rem;
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--border);
    cursor: pointer;
}

.dot.active {
    background-color: var(--gold);
    width: 25px;
    border-radius: 10px;
}

/* STATS */
.highlights-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.stat-card {
    background: var(--bg-card);
    padding: 35px 25px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.stat-icon {
    font-size: 2.2rem;
    margin-bottom: 12px;
    display: inline-block;
}

.stat-number {
    font-size: 2.2rem;
    color: var(--primary);
    font-weight: 800;
    margin-bottom: 5px;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 600;
}

/* FLOATING WIDGETS & AI BOT */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #ffffff;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
}

.chatbot-toggle {
    position: fixed;
    bottom: 100px;
    right: 30px;
    background-color: var(--primary);
    border: 2px solid var(--gold);
    color: #ffffff;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    cursor: pointer;
}

.chatbot-container {
    position: fixed;
    bottom: 170px;
    right: 30px;
    width: 350px;
    height: 480px;
    background: var(--bg-card);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--border);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    z-index: 999;
    display: none;
    flex-direction: column;
    overflow: hidden;
}

.chatbot-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #ffffff;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--gold);
}

.chatbot-messages {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 0.85rem;
}

.chat-msg {
    padding: 10px 14px;
    border-radius: var(--border-radius);
    max-width: 80%;
}

.chat-msg.bot {
    background-color: var(--border);
    align-self: flex-start;
}

.chat-msg.user {
    background-color: var(--primary);
    color: #ffffff;
    align-self: flex-end;
}

.chatbot-input-area {
    display: flex;
    padding: 10px;
    border-top: 1px solid var(--border);
    gap: 8px;
    background: var(--bg-card);
}

.chatbot-input {
    flex: 1;
    border: 1px solid var(--border);
    padding: 8px 15px;
    border-radius: 20px;
    outline: none;
    font-size: 0.85rem;
    background-color: var(--bg-primary);
    color: var(--text-primary);
}

.chatbot-send {
    background: var(--primary);
    color: #ffffff;
    border: none;
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 700;
}

.live-notification {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: var(--bg-card);
    border-left: 4px solid var(--gold);
    box-shadow: var(--shadow-lg);
    border-radius: var(--border-radius);
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 1000;
    transform: translateY(150px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    max-width: 320px;
}

.live-notification.show {
    transform: translateY(0);
    opacity: 1;
}

/* FOOTER */
footer {
    background: #091122;
    color: rgba(248, 250, 252, 0.7);
    padding: 70px 0 25px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.6fr 0.8fr 1.2fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col h4 {
    color: #ffffff;
    margin-bottom: 25px;
    font-size: 1.1rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--gold);
}

.footer-col p {
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.footer-socials {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.footer-social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition);
}

.footer-social-btn:hover {
    background-color: var(--gold);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(197, 160, 89, 0.25);
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a:hover {
    color: var(--gold);
    padding-left: 5px;
}

.footer-contact-item {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.footer-contact-icon {
    color: var(--gold);
    margin-top: 3px;
}

.footer-map-container {
    height: 120px;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.footer-map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Newsletter form in footer */
.newsletter-form {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.newsletter-input {
    flex: 1;
    padding: 9px 14px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.07);
    color: #f8fafc;
    font-size: 0.88rem;
    font-family: var(--font-main, 'Inter', sans-serif);
    outline: none;
    transition: border-color 0.2s;
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.newsletter-input:focus {
    border-color: var(--gold);
    background: rgba(255, 255, 255, 0.12);
}

.newsletter-btn {
    padding: 9px 18px;
    border-radius: var(--border-radius);
    border: none;
    background: var(--gold, #c5a059);
    color: #0d1b2a;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: 0.03em;
    transition: background 0.2s, transform 0.15s;
    white-space: nowrap;
}

.newsletter-btn:hover {
    background: #e0b96a;
    transform: translateY(-1px);
}

.footer-bottom {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 0.85rem;
}

/* STUDENT DASHBOARD GRID LAYOUT */
.dashboard-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
}

.dashboard-sidebar {
    background-color: var(--bg-card);
    border-radius: var(--border-radius);
    border: 1px solid var(--border);
    padding: 30px 20px;
}

.student-card {
    text-align: center;
    border-bottom: 1px solid var(--border);
    padding-bottom: 25px;
    margin-bottom: 25px;
}

.student-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--gold);
}

.db-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.db-nav-link {
    padding: 10px 15px;
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    text-align: left;
    transition: var(--transition);
}

.db-nav-link:hover, .db-nav-link.active {
    background-color: var(--primary);
    color: #ffffff;
}

.dark-theme .db-nav-link:hover, .dark-theme .db-nav-link.active {
    background-color: var(--gold);
    color: #0c1322;
}

.dashboard-panel {
    background-color: var(--bg-card);
    border-radius: var(--border-radius);
    border: 1px solid var(--border);
    padding: 40px;
}

.db-title {
    font-size: 1.75rem;
    margin-bottom: 25px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 15px;
}

.fees-container {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #ffffff;
    border-radius: var(--border-radius);
    padding: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-left: 6px solid var(--gold);
}

.fees-container h3 {
    color: #ffffff;
    font-size: 2rem;
    margin-top: 5px;
}

.cert-card {
    border: 1px solid var(--border);
    padding: 20px;
    border-radius: var(--border-radius);
    background-color: var(--bg-primary);
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* MODALS */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(6, 10, 18, 0.6);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.show {
    display: flex;
}

.modal-content {
    background-color: var(--bg-card);
    border-radius: 20px;
    padding: 40px;
    max-width: 600px;
    width: 100%;
    position: relative;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    animation: modalIn 0.3s ease-out;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 10px 15px;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--border);
    outline: none;
    font-size: 0.9rem;
    background-color: var(--bg-primary);
    color: var(--text-primary);
}

.form-control:focus {
    border-color: var(--gold);
}

/* RESPONSIVE LAYOUTS */
@media (max-width: 992px) {
    .college-layout-grid, .why-grid, .dashboard-grid {
        grid-template-columns: 1fr;
    }
    .quick-links-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .programs-grid, .highlights-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero-grid {
        grid-template-columns: 1fr;
    }
    .hero-badge-container {
        display: none;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 52px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 52px);
        background-color: var(--primary);
        flex-direction: column;
        justify-content: center;
        transition: var(--transition);
        z-index: 998;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        gap: 20px;
    }
    .nav-menu.show {
        left: 0;
    }
    .hamburger {
        display: flex;
    }
    .nav-link {
        color: #ffffff;
        font-size: 1.1rem;
    }
    .brand-right-badge {
        display: none;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .quick-links-grid, .programs-grid, .highlights-grid, .footer-grid {
        grid-template-columns: 1fr;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .mobile-sticky-bar {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background-color: var(--bg-card);
        border-top: 1px solid var(--border);
        box-shadow: 0 -4px 15px rgba(0,0,0,0.08);
        display: flex;
        z-index: 990;
    }
    .mobile-sticky-btn {
        flex: 1;
        text-align: center;
        padding: 12px;
        font-size: 0.85rem;
        font-weight: 700;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4px;
        color: var(--text-primary);
        border-right: 1px solid var(--border);
    }
    .mobile-sticky-btn:last-child {
        border-right: none;
    }
    body {
        padding-bottom: 70px;
    }
    .nav-apply-btn {
        display: none;
    }
}

.mobile-sticky-bar {
    display: none;
}

/* ABOUT PAGE STYLING */
.about-story {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 60px;
}

.mission-vision-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 50px;
}

.mv-card {
    background: var(--bg-card);
    padding: 40px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.mv-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
    box-shadow: var(--shadow-lg);
}

.mv-card h3 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 10px;
}

.dark-theme .mv-card h3 {
    color: var(--text-primary);
}

.mv-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(to right, var(--accent), var(--gold));
    border-radius: 2px;
}

.chairman-section {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 50px;
    align-items: center;
}

.chairman-img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: var(--border-radius);
    border: 4px solid var(--gold);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.team-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--border-radius);
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-8px);
    border-color: var(--gold);
    box-shadow: var(--shadow-lg);
}

.team-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px auto;
    border: 3px solid var(--gold);
}

.team-card h4 {
    font-size: 1.15rem;
    color: var(--primary);
    margin-bottom: 5px;
}

.dark-theme .team-card h4 {
    color: var(--text-primary);
}

.team-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    aspect-ratio: 4/3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(9, 17, 34, 0.9), transparent);
    color: #ffffff;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
    transform: translateY(0);
}

.gallery-overlay h4 {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.gallery-overlay p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
}

/* COURSES PAGE STYLING */
.courses-filter-wrapper {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.9rem;
    border: 2px solid var(--border);
    background: var(--bg-card);
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.dark-theme .filter-btn:hover, .dark-theme .filter-btn.active {
    background-color: var(--gold);
    border-color: var(--gold);
    color: #0c1322 !important;
}

.course-card {
    display: grid;
    grid-template-columns: 1.4fr 0.6fr;
    gap: 30px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--border-radius);
    padding: 35px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    align-items: center;
}

.course-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
    box-shadow: var(--shadow-lg);
}

.course-details {
    padding-right: 20px;
}

.course-sidebar {
    border-left: 1px solid var(--border);
    padding-left: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.course-meta-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 0.9rem;
    border-bottom: 1px dashed var(--border);
    padding-bottom: 8px;
}

.course-meta-item strong {
    color: var(--text-secondary);
}

.course-meta-item span {
    font-weight: 700;
    color: var(--text-primary);
}

/* CONTACT PAGE STYLING */
.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 50px;
    align-items: start;
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-info-cards .contact-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--border-radius);
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.contact-info-cards .contact-card:hover {
    transform: translateY(-3px);
    border-color: var(--gold);
    box-shadow: var(--shadow-lg);
}

.contact-card-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(197, 160, 89, 0.12);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-info-cards .contact-card h4 {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 5px;
}

.dark-theme .contact-info-cards .contact-card h4 {
    color: var(--text-primary);
}

.contact-info-cards .contact-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* RESPONSIVE LAYOUT ADDITIONS */
@media (max-width: 992px) {
    .about-story, .chairman-section, .contact-grid {
        grid-template-columns: 1fr;
    }
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .course-card {
        grid-template-columns: 1fr;
    }
    .course-sidebar {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid var(--border);
        padding-top: 25px;
    }
    .team-grid, .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   MULTI-STEP ADMISSION FORM STYLES & PRINT MEDIA QUERY ADJUSTMENTS
   ========================================================================== */

.steps-progress-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    margin: 30px auto 50px;
    max-width: 900px;
    padding: 0 10px;
}

.steps-progress-track {
    position: absolute;
    top: 20px;
    left: 40px;
    right: 40px;
    height: 4px;
    background-color: var(--border);
    z-index: 1;
}

.steps-progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--gold), var(--accent));
    transition: width 0.4s ease;
}

.step-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    cursor: default;
    width: 80px;
}

.step-node-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--bg-primary);
    border: 2px solid var(--border);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition);
}

.step-node-label {
    margin-top: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-align: center;
    white-space: nowrap;
    transition: var(--transition);
}

.step-node.active .step-node-number {
    border-color: var(--gold);
    background-color: var(--primary);
    color: #ffffff;
    box-shadow: 0 0 15px rgba(197, 160, 89, 0.4);
}

.step-node.active .step-node-label {
    color: var(--primary);
    font-weight: 700;
}

.dark-theme .step-node.active .step-node-label {
    color: var(--text-primary);
}

.step-node.completed .step-node-number {
    border-color: var(--gold);
    background-color: var(--gold);
    color: #000000;
}

.step-node.completed .step-node-label {
    color: var(--gold);
}

/* Form panels visibility */
.form-step-panel {
    display: none;
    animation: formFadeIn 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.form-step-panel.active-panel {
    display: block;
}

@keyframes formFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.admission-form-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.form-section-title {
    margin-bottom: 25px;
    font-size: 1.3rem;
    border-bottom: 1.5px solid var(--gold);
    padding-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.form-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.category-radio-group {
    display: flex;
    gap: 15px;
    align-items: center;
    height: 48px;
    padding: 0 10px;
}

.category-radio-group label {
    cursor: pointer;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.course-info-panel {
    background-color: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--border-radius-sm);
    padding: 15px 20px;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Qualifications Table Inputs */
.qualifications-table th {
    font-weight: 600;
    color: var(--primary);
}
.dark-theme .qualifications-table th {
    color: var(--text-primary);
}

.qualifications-table th, .qualifications-table td {
    padding: 10px;
    border-bottom: 1px solid var(--border);
}

.form-control-sm {
    height: 38px;
    padding: 6px 12px;
    font-size: 0.85rem;
}

/* Form navigation controls wrapper */
.form-navigation-wrapper {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    border-top: 1px solid var(--border);
    padding-top: 25px;
}

/* Responsive tweaks for Admission Form */
@media (max-width: 900px) {
    .steps-progress-container {
        overflow-x: auto;
        padding-bottom: 10px;
        justify-content: flex-start;
        gap: 20px;
    }
    .steps-progress-track {
        display: none;
    }
    .form-grid-3, .form-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .form-grid-2, .form-grid-3, .form-grid-4 {
        grid-template-columns: 1fr;
    }
    .admission-form-box {
        padding: 20px;
    }
}

/* PRINT LAYOUT ADJUSTMENTS */
body.print-active {
    background: #ffffff !important;
    color: #000000 !important;
}

body.print-active .top-bar,
body.print-active .brand-header,
body.print-active header,
body.print-active .announcement-ticker,
body.print-active footer,
body.print-active section:not(.section),
body.print-active #prevBtn,
body.print-active #nextBtn,
body.print-active #saveDraftBtn,
body.print-active #printDraftBtn,
body.print-active #submitBtn,
body.print-active .steps-progress-container,
body.print-active .form-navigation-wrapper,
body.print-active .no-print,
body.print-active .modal-close,
body.print-active #closeDetailsModal,
body.print-active #closeDetailsBtn,
body.print-active #printDetailsBtn,
body.print-active #detAdminActions {
    display: none !important;
}

@media print {
    body {
        background: #ffffff !important;
        color: #000000 !important;
    }
    
    .top-bar, .brand-header, header, .announcement-ticker, footer,
    section:not(.section), #prevBtn, #nextBtn, #saveDraftBtn, #printDraftBtn, #submitBtn,
    .steps-progress-container, .form-navigation-wrapper, .no-print,
    .modal-close, #closeDetailsModal, #closeDetailsBtn, #printDetailsBtn, #detAdminActions {
        display: none !important;
    }

    .section {
        padding: 0 !important;
        margin: 0 !important;
    }

    .container {
        max-width: 100% !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .admission-form-box, .modal-content {
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
        margin: 0 !important;
        backdrop-filter: none !important;
    }

    .print-header {
        display: block !important;
    }

    .print-footer {
        display: flex !important;
    }

    /* Print styling rules for fields */
    .form-control, input, select, textarea {
        border: none !important;
        border-bottom: 1.5px dotted #000000 !important;
        background: transparent !important;
        padding: 2px !important;
        height: auto !important;
        color: #000000 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }
    
    .form-step-panel {
        display: block !important; /* Print all steps sequentially */
        page-break-after: always;
    }

    .form-step-panel:last-child {
        page-break-after: avoid;
    }
    
    hr {
        border-top: 1px solid #000000 !important;
        margin: 20px 0 !important;
    }

    /* Keep detail modal static and cover full viewport during print */
    #detailsModal {
        position: absolute !important;
        left: 0 !important;
        top: 0 !important;
        display: block !important;
        width: 100% !important;
        height: auto !important;
        background: #ffffff !important;
        z-index: 99999 !important;
        box-shadow: none !important;
        overflow: visible !important;
    }

    #detailsModal .modal-content {
        width: 100% !important;
        max-height: none !important;
        overflow: visible !important;
        border: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }
}

/* ==========================================================================
   COMPREHENSIVE MOBILE RESPONSIVE FIXES
   ========================================================================== */

/* ---------- 768px Tablet / Mobile ---------- */
@media (max-width: 768px) {

    /* TOP BAR */
    .top-bar-left { display: none; }
    .top-bar-right { width: 100%; justify-content: center; gap: 18px; }

    /* BRAND HEADER */
    .brand-right-badge {
        display: none;
    }

    /* HERO */
    .hero-section { padding: 50px 0 60px; min-height: auto !important; }
    .hero-title { font-size: 2rem; line-height: 1.2; }
    .hero-desc { font-size: 0.95rem; }
    .hero-ctas { flex-direction: column; gap: 12px; }
    .hero-ctas .btn { width: 100%; justify-content: center; }

    /* SECTIONS */
    .section { padding: 50px 0; }
    .section-header { margin-bottom: 35px; }
    .section-title { font-size: 1.7rem; }

    /* GRIDS */
    .quick-links-grid { display: grid !important; grid-template-columns: repeat(2, 1fr) !important; gap: 15px; }
    .programs-grid { grid-template-columns: 1fr !important; }
    .highlights-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .why-grid { grid-template-columns: 1fr; }
    .why-features { grid-template-columns: 1fr 1fr; gap: 15px; }
    .college-layout-grid { grid-template-columns: 1fr; gap: 30px; }
    .welcome-panel { padding-right: 0; }
    .mission-vision-container { grid-template-columns: 1fr; gap: 20px; }
    .team-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
    .contact-grid { grid-template-columns: 1fr; gap: 30px; }
    .about-story { grid-template-columns: 1fr; gap: 30px; }
    .chairman-section { grid-template-columns: 1fr; gap: 25px; }
    .chairman-img { max-height: 280px; width: 100%; }
    .dashboard-grid { grid-template-columns: 1fr; }

    /* STAT CARDS */
    .stat-card { padding: 25px 15px; }
    .stat-number { font-size: 1.8rem; }

    /* TESTIMONIAL */
    .testimonial-card { padding: 25px 20px; }
    .testimonial-text { font-size: 0.95rem; }

    /* COURSES */
    .course-card { grid-template-columns: 1fr; padding: 22px; }
    .course-details { padding-right: 0; }
    .course-sidebar { border-left: none; padding-left: 0; border-top: 1px solid var(--border); padding-top: 20px; }

    /* ADMISSION FORM */
    .admission-form-box { padding: 22px 16px; }
    .form-grid-2, .form-grid-3, .form-grid-4 { grid-template-columns: 1fr; }
    .category-radio-group { flex-wrap: wrap; height: auto; gap: 10px; padding: 10px 0; }
    .qualifications-table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; white-space: nowrap; }
    .form-navigation-wrapper { flex-direction: column; gap: 12px; align-items: stretch; }
    .form-navigation-wrapper .btn { width: 100%; justify-content: center; }

    /* DASHBOARD NAV */
    .dashboard-sidebar { padding: 20px 16px; }
    .db-nav { flex-direction: row; flex-wrap: wrap; gap: 8px; }
    .db-nav-link { padding: 8px 12px; font-size: 0.82rem; }

    /* MODALS */
    .modal { padding: 12px; align-items: flex-end; }
    .modal-content { padding: 25px 18px; border-radius: 16px 16px 0 0; max-height: 92vh; overflow-y: auto; }

    /* FLOATING WIDGETS - clear mobile sticky bar */
    .floating-whatsapp { bottom: 80px; right: 18px; width: 48px; height: 48px; font-size: 1.5rem; }
    .chatbot-toggle { bottom: 140px; right: 18px; width: 48px; height: 48px; font-size: 1.5rem; }
    .chatbot-container { bottom: 195px; right: 10px; left: 10px; width: auto; height: 400px; }
    .live-notification { left: 10px; right: 10px; bottom: 80px; max-width: none; font-size: 0.85rem; }

    /* FOOTER */
    .footer-grid { grid-template-columns: 1fr !important; gap: 30px; }
    footer { padding: 50px 0 20px; padding-bottom: calc(20px + 70px); }
    .footer-map-container { height: 160px; }
    .footer-bottom { font-size: 0.78rem; line-height: 1.6; }

    /* ANNOUNCEMENT TICKER */
    .announcement-ticker { height: 34px; }
    .ticker-label { font-size: 0.7rem; padding: 0 12px; }
    .ticker-marquee { font-size: 0.8rem; }

    /* Body padding for mobile sticky bar */
    body { padding-bottom: 70px; }
}

/* ---------- 480px Small Phones ---------- */
@media (max-width: 480px) {

    .container { padding: 0 16px; }



    /* Hero */
    .hero-section { padding: 40px 0 50px; }
    .hero-title { font-size: 1.65rem; }
    .hero-tag { font-size: 0.72rem; letter-spacing: 1px; }
    .hero-desc { font-size: 0.88rem; }

    /* Sections */
    .section { padding: 40px 0; }
    .section-title { font-size: 1.45rem; }
    .section-subtitle { font-size: 0.72rem; letter-spacing: 2px; }

    /* Grids */
    .quick-links-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 12px; }
    .highlights-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 12px; }
    .why-features { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .gallery-grid { grid-template-columns: 1fr; }

    /* Cards */
    .quick-link-card { padding: 18px 10px; }
    .quick-link-card i { font-size: 1.7rem; }
    .quick-link-card span { font-size: 0.8rem; }
    .stat-card { padding: 20px 10px; }
    .stat-number { font-size: 1.5rem; }
    .program-img { height: 170px; }
    .program-body { padding: 18px; }
    .team-img { width: 80px; height: 80px; }

    /* Courses filter */
    .courses-filter-wrapper { gap: 8px; }
    .filter-btn { padding: 8px 16px; font-size: 0.82rem; }

    /* Admission form */
    .form-section-title { font-size: 1.05rem; }

    /* Buttons */
    .btn { font-size: 0.88rem; padding: 10px 20px; }

    /* Modal */
    .modal-content { padding: 20px 14px; max-height: 95vh; }

    /* Chatbot */
    .chatbot-container { height: 360px; }

    /* Footer newsletter stacks vertically on tiny screens */
    .newsletter-form { flex-direction: column; gap: 10px; }
    .newsletter-btn { width: 100%; text-align: center; }
    footer { padding-top: 40px; }
    .footer-col h4 { margin-bottom: 14px; }

    /* Notice board */
    .notice-date { width: 45px; height: 45px; font-size: 1rem; }
}
