/*
 * Vision College Najibabad
 * Ultra Premium Theme
 * ===========================
 */

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;500;600;700;800&family=Playfair+Display:wght@400;500;600;700;800&display=swap');

:root {
    /* Ultra Premium Color Palette */
    --primary: #0c2d48;
    --primary-light: #145374;
    --primary-dark: #061a2e;
    --secondary: #e8b923;
    --secondary-light: #f5d45a;
    --secondary-dark: #c99a1d;
    --accent: #00d4aa;
    --accent-light: #5fffdb;
    --accent-dark: #00a88a;
    
    /* Glass Colors */
    --glass-white: rgba(255, 255, 255, 0.1);
    --glass-dark: rgba(0, 0, 0, 0.2);
    
    /* Neutral Colors */
    --dark: #0a1628;
    --dark-soft: #1a2d4a;
    --gray-900: #1e293b;
    --gray-700: #475569;
    --gray-500: #64748b;
    --gray-300: #cbd5e1;
    --gray-100: #f1f5f9;
    --white: #ffffff;
    
    /* Premium Gradients */
    --gradient-primary: linear-gradient(135deg, #0c2d48 0%, #145374 50%, #0c2d48 100%);
    --gradient-gold: linear-gradient(135deg, #e8b923 0%, #f5d45a 50%, #e8b923 100%);
    --gradient-accent: linear-gradient(135deg, #00d4aa 0%, #00a88a 100%);
    --gradient-dark: linear-gradient(135deg, #0a1628 0%, #1a2d4a 100%);
    --gradient-hero: linear-gradient(135deg, rgba(12, 45, 72, 0.92) 0%, rgba(6, 26, 46, 0.88) 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    --gradient-mesh: radial-gradient(at 40% 20%, rgba(0, 212, 170, 0.15) 0px, transparent 50%),
                     radial-gradient(at 80% 0%, rgba(232, 185, 35, 0.1) 0px, transparent 50%),
                     radial-gradient(at 0% 50%, rgba(20, 83, 116, 0.15) 0px, transparent 50%);
    
    /* Typography */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Sora', -apple-system, sans-serif;
    
    /* Effects */
    --shadow-sm: 0 2px 10px rgba(12, 45, 72, 0.08);
    --shadow: 0 8px 30px rgba(12, 45, 72, 0.12);
    --shadow-lg: 0 20px 60px rgba(12, 45, 72, 0.18);
    --shadow-gold: 0 10px 40px rgba(232, 185, 35, 0.35);
    --shadow-glow: 0 0 60px rgba(0, 212, 170, 0.3);
    
    /* Transitions */
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.25s ease;
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--gray-700);
    background: var(--white);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark);
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2.2rem); }

p { margin-bottom: 1rem; }

a {
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition-fast);
}

a:hover { color: var(--secondary); }

img { max-width: 100%; height: auto; }

::selection {
    background: var(--secondary);
    color: var(--dark);
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--gray-100); }
::-webkit-scrollbar-thumb { 
    background: linear-gradient(180deg, var(--primary), var(--primary-light));
    border-radius: 4px;
}

/* ============================================
   PREMIUM BUTTONS
   ============================================ */
.btn-primary-custom {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    padding: 18px 40px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    border-radius: 60px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: var(--transition);
    box-shadow: 0 6px 20px rgba(12, 45, 72, 0.35);
}

.btn-primary-custom::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-gold);
    z-index: -1;
    opacity: 0;
    transition: var(--transition);
}

.btn-primary-custom::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: rotate(45deg) translateX(-100%);
    transition: var(--transition-slow);
}

.btn-primary-custom:hover {
    color: var(--dark);
    transform: translateY(-4px);
    box-shadow: var(--shadow-gold);
}

.btn-primary-custom:hover::before { opacity: 1; }
.btn-primary-custom:hover::after { transform: rotate(45deg) translateX(100%); }

.btn-secondary-custom {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--glass-white);
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.3);
    padding: 16px 40px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 60px;
    backdrop-filter: blur(20px);
    transition: var(--transition);
}

.btn-secondary-custom:hover {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
    transform: translateY(-4px);
}

.btn-gold {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--gradient-gold);
    color: var(--dark);
    border: none;
    padding: 18px 40px;
    font-weight: 700;
    border-radius: 60px;
    transition: var(--transition);
    box-shadow: var(--shadow-gold);
    position: relative;
    overflow: hidden;
}

.btn-gold::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: var(--transition-slow);
}

.btn-gold:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 50px rgba(232, 185, 35, 0.5);
    color: var(--dark);
}

.btn-gold:hover::after { left: 100%; }

/* ============================================
   ANNOUNCEMENT BAR
   ============================================ */
.announcement-bar {
    background: var(--gradient-gold);
    padding: 10px 0;
    position: relative;
    overflow: hidden;
}

.announcement-bar::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.announcement-content {
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
}

.announcement-badge {
    background: var(--dark);
    color: var(--white);
    padding: 6px 18px;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
    animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.announcement-text {
    flex: 1;
    color: var(--dark);
    font-weight: 600;
    font-size: 0.9rem;
}

/* ============================================
   TOP BAR
   ============================================ */
.top-bar {
    background: var(--dark);
    color: rgba(255,255,255,0.85);
    padding: 12px 0;
    font-size: 0.875rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    position: relative;
}

.top-bar::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-mesh);
    opacity: 0.5;
}

.top-bar .container { position: relative; }

.top-bar a {
    color: rgba(255,255,255,0.85);
    transition: var(--transition-fast);
}

.top-bar a:hover { color: var(--secondary); }

.top-bar i {
    color: var(--secondary);
    margin-right: 8px;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.main-header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    margin-bottom: 0 !important;
    padding-bottom: 0;
    margin-top: 0;
}

.main-header.scrolled {
    box-shadow: var(--shadow);
}

.navbar { 
    padding: 0; 
    margin: 0;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
}

.navbar > .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

.main-header > .container {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

header.main-header {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.navbar-brand {
    padding: 6px 0;
    display: flex !important;
    align-items: center;
    gap: 10px;
    text-decoration: none !important;
    visibility: visible !important;
    min-width: 0;
    flex-shrink: 1;
}

.navbar-brand:hover {
    text-decoration: none !important;
}

.navbar-brand img {
    height: 50px;
    width: auto;
    flex-shrink: 0;
    transition: var(--transition);
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
    display: block !important;
    visibility: visible !important;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text {
    display: flex !important;
    flex-direction: column;
    visibility: visible !important;
    min-width: 0;
}

.logo-text .college-name {
    font-family: var(--font-heading);
    font-size: clamp(0.85rem, 2.2vw, 1.3rem);
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    display: block !important;
    visibility: visible !important;
    white-space: nowrap;
    overflow: visible;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    white-space: nowrap;
}

.logo-text .tagline {
    font-size: clamp(0.5rem, 0.9vw, 0.65rem);
    color: var(--secondary-dark);
    font-weight: 600;
    letter-spacing: clamp(0.5px, 0.2vw, 1.5px);
    text-transform: uppercase;
    display: block !important;
    visibility: visible !important;
    white-space: nowrap;
    overflow: visible;
    white-space: nowrap;
}

.navbar-nav {
    margin-left: auto;
}

.navbar-nav .nav-link {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.85rem;
    color: var(--gray-700);
    padding: 14px 16px !important;
    position: relative;
    transition: var(--transition);
    white-space: nowrap;
}

.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 18px;
    width: 0;
    height: 2.5px;
    background: var(--gradient-gold);
    border-radius: 2px;
    transition: var(--transition);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active { color: var(--primary); }

.navbar-nav .nav-link:hover::before,
.navbar-nav .nav-link.active::before { width: calc(100% - 36px); }

/* VCAIT Special Nav Link */
.vcait-nav-link {
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.1), rgba(0, 212, 170, 0.1));
    border-radius: 8px !important;
    margin: 0 5px;
    color: #8a2be2 !important;
    font-weight: 600 !important;
}

.vcait-nav-link:hover {
    background: linear-gradient(135deg, #8a2be2, #00d4aa);
    color: #fff !important;
}

.vcait-nav-link i {
    font-size: 0.9rem;
}

.navbar-nav .dropdown-menu {
    border: none;
    border-radius: 16px;
    padding: 15px 0;
    margin-top: 0;
    box-shadow: var(--shadow-lg);
    border-top: 4px solid var(--secondary);
    animation: dropdownFade 0.3s ease;
    background: var(--white);
}

@keyframes dropdownFade {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

.navbar-nav .dropdown-item {
    padding: 14px 28px;
    font-weight: 500;
    transition: var(--transition);
}

.navbar-nav .dropdown-item:hover {
    background: linear-gradient(90deg, var(--gray-100) 0%, transparent 100%);
    color: var(--primary);
    padding-left: 35px;
}

.header-cta { margin-left: 25px; }

/* ============================================
   HERO SLIDER - ULTRA PREMIUM
   ============================================ */
.hero-slider {
    position: relative;
    overflow: hidden;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding: 0 !important;
}

header.main-header + .hero-slider,
header.main-header + section.hero-slider {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.hero-slide {
    height: 92vh;
    min-height: 700px;
    position: relative;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
}

.hero-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
}

.hero-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-mesh);
    opacity: 0.8;
    pointer-events: none;
}

/* Animated Particles */
.hero-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-shape {
    position: absolute;
    opacity: 0.15;
}

.hero-shape.shape-1 {
    top: 5%;
    right: 5%;
    width: 500px;
    height: 500px;
    border: 60px solid var(--secondary);
    border-radius: 50%;
    animation: floatRotate 15s ease-in-out infinite;
}

.hero-shape.shape-2 {
    bottom: 10%;
    right: 20%;
    width: 250px;
    height: 250px;
    background: var(--accent);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    animation: floatRotate 20s ease-in-out infinite reverse;
}

@keyframes floatRotate {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-30px) rotate(5deg); }
    50% { transform: translateY(0) rotate(0deg); }
    75% { transform: translateY(30px) rotate(-5deg); }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(232, 185, 35, 0.15);
    border: 2px solid var(--secondary);
    color: var(--secondary);
    padding: 12px 28px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 30px;
    border-radius: 60px;
    backdrop-filter: blur(10px);
    animation: fadeSlideDown 0.8s ease;
}

.hero-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--secondary);
    border-radius: 50%;
    animation: blink 1.5s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

@keyframes fadeSlideDown {
    from { opacity: 0; transform: translateY(-40px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-title {
    font-size: clamp(2.8rem, 5.5vw, 5rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 30px;
    line-height: 1.05;
    animation: fadeSlideUp 0.8s ease 0.2s backwards;
    text-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.hero-title span {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.hero-text {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 45px;
    max-width: 600px;
    line-height: 1.8;
    animation: fadeSlideUp 0.8s ease 0.4s backwards;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    animation: fadeSlideUp 0.8s ease 0.6s backwards;
}

@keyframes fadeSlideUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
    width: 65px;
    height: 65px;
    background: var(--glass-white);
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 20px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    backdrop-filter: blur(15px);
    transition: var(--transition);
}

.hero-slider:hover .carousel-control-prev,
.hero-slider:hover .carousel-control-next { opacity: 1; }

.carousel-control-prev { left: 40px; }
.carousel-control-next { right: 40px; }

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: var(--secondary);
    border-color: var(--secondary);
    transform: translateY(-50%) scale(1.1);
}

.carousel-indicators {
    bottom: 50px;
}

.carousel-indicators button {
    width: 50px;
    height: 5px;
    border-radius: 3px;
    margin: 0 8px;
    background: rgba(255,255,255,0.3);
    border: none;
    transition: var(--transition);
}

.carousel-indicators button.active {
    background: var(--secondary);
    width: 80px;
}

/* ============================================
   SECTION STYLES
   ============================================ */
section {
    padding: 120px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-subtitle {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    color: var(--secondary-dark);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.section-subtitle::before,
.section-subtitle::after {
    content: '';
    width: 40px;
    height: 2px;
    background: var(--gradient-gold);
}

.section-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 20px;
}

.section-title span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-desc {
    max-width: 650px;
    margin: 0 auto;
    color: var(--gray-500);
    font-size: 1.15rem;
    line-height: 1.8;
}

.bg-light-cream {
    background: linear-gradient(180deg, var(--gray-100) 0%, var(--white) 100%);
}

/* ============================================
   STATS SECTION - GLASSMORPHISM
   ============================================ */
.stats-section {
    background: var(--gradient-primary);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-mesh);
}

.stats-section::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: var(--secondary);
    border-radius: 50%;
    opacity: 0.05;
    animation: pulse-slow 8s ease-in-out infinite;
}

@keyframes pulse-slow {
    0%, 100% { transform: scale(1); opacity: 0.05; }
    50% { transform: scale(1.2); opacity: 0.08; }
}

.stat-item {
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 30px 20px;
    background: var(--glass-white);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 24px;
    backdrop-filter: blur(20px);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-10px);
    background: rgba(255,255,255,0.15);
    border-color: var(--secondary);
}

.stat-icon {
    width: 90px;
    height: 90px;
    background: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: var(--transition);
}

.stat-item:hover .stat-icon {
    background: var(--secondary);
    border-color: var(--secondary);
    transform: rotate(10deg) scale(1.1);
}

.stat-icon i {
    font-size: 2.2rem;
    color: var(--secondary);
    transition: var(--transition);
}

.stat-item:hover .stat-icon i { color: var(--dark); }

.stat-number {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    margin-bottom: 10px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.stat-label {
    color: rgba(255,255,255,0.85);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-section {
    position: relative;
    overflow: hidden;
    background: #ffffff;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 45%;
    height: 100%;
    background: linear-gradient(135deg, rgba(12, 45, 72, 0.02) 0%, rgba(232, 185, 35, 0.01) 100%);
    opacity: 1;
    z-index: 0;
}

.about-section .row {
    position: relative;
    z-index: 1;
}

.about-section .row > .col-lg-6:first-child {
    padding-right: 40px;
}

.about-section .row > .col-lg-6:last-child {
    padding-left: 40px;
}

.about-image-wrapper {
    position: relative;
    width: 100%;
    padding: 0;
}

.about-main-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 2;
    display: block;
    object-fit: cover;
}

.about-small-image {
    position: absolute;
    bottom: -25px;
    right: -25px;
    width: 200px;
    height: 200px;
    border: 6px solid #ffffff;
    border-radius: 18px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    z-index: 3;
    object-fit: cover;
}

.about-experience-badge {
    position: absolute;
    top: 25px;
    right: 25px;
    background: linear-gradient(135deg, rgba(232, 185, 35, 0.95) 0%, rgba(212, 168, 83, 0.95) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #0a1628;
    padding: 14px 22px;
    text-align: center;
    border-radius: 14px;
    z-index: 4;
    box-shadow: 0 8px 25px rgba(232, 185, 35, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.about-experience-badge .number {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    display: inline-flex;
}

.about-experience-badge .text {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    line-height: 1.3;
    white-space: nowrap;
}

.about-content {
    padding-left: 0;
    padding-top: 20px;
    position: relative;
}

.about-content .section-subtitle {
    justify-content: flex-start;
    margin-bottom: 15px;
}

.about-content .section-subtitle::before { display: none; }

.about-content .section-title { 
    text-align: left; 
    margin-bottom: 25px;
}

.about-text {
    font-size: 1.05rem;
    color: var(--gray-600);
    margin-bottom: 20px;
    line-height: 1.85;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin: 35px 0;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 16px 20px;
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: 16px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.about-feature:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateX(8px);
    box-shadow: var(--shadow);
}

.about-feature:hover span { color: var(--white); }

.about-feature:hover i {
    background: var(--secondary);
    color: var(--dark);
}

.about-feature i {
    width: 45px;
    height: 45px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.1rem;
    flex-shrink: 0;
    transition: var(--transition);
}

.about-feature span {
    font-weight: 600;
    color: var(--dark);
    transition: var(--transition);
}

/* ============================================
   COURSE CARDS - ULTRA PREMIUM
   ============================================ */
.course-card {
    background: var(--white);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    border: 1px solid rgba(0,0,0,0.03);
    position: relative;
}

.course-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-gold);
    opacity: 0;
    transition: var(--transition);
}

.course-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-lg);
}

.course-card:hover::before { opacity: 1; }

.course-image {
    position: relative;
    overflow: hidden;
    height: 230px;
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.course-card:hover .course-image img {
    transform: scale(1.15);
}

.course-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--gradient-gold);
    color: var(--dark);
    padding: 10px 22px;
    font-size: 0.85rem;
    font-weight: 800;
    border-radius: 50px;
    box-shadow: var(--shadow-gold);
}

.course-content {
    padding: 32px;
}

.course-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 18px;
    color: var(--dark);
}

.course-title a { color: inherit; }
.course-title a:hover { color: var(--primary); }

.course-desc {
    color: var(--gray-500);
    margin-bottom: 22px;
    font-size: 0.95rem;
    line-height: 1.8;
}

.course-meta {
    display: flex;
    gap: 25px;
    padding-top: 22px;
    border-top: 2px solid var(--gray-100);
}

.course-meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--gray-500);
    font-weight: 500;
}

.course-meta-item i {
    color: var(--secondary);
    font-size: 1.1rem;
}

/* ============================================
   FACILITY CARDS - GLASSMORPHISM
   ============================================ */
.facility-card {
    text-align: center;
    padding: 45px 35px;
    background: var(--white);
    border-radius: 28px;
    transition: var(--transition);
    height: 100%;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--gray-100);
}

.facility-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.facility-card::after {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -50%;
    width: 200px;
    height: 200px;
    background: var(--gradient-mesh);
    border-radius: 50%;
    opacity: 0;
    transition: var(--transition);
}

.facility-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.facility-card:hover::before { transform: scaleX(1); }
.facility-card:hover::after { opacity: 1; }

.facility-icon {
    width: 72px;
    height: 72px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(148, 163, 184, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 22px;
    transition: var(--transition);
    position: relative;
    z-index: 1;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.15);
}

.facility-icon::after {
    content: '';
    position: absolute;
    inset: 8px;
    border-radius: 18px;
    border: 1px dashed rgba(148, 163, 184, 0.5);
}

.facility-icon i {
    font-size: 1.9rem;
    color: var(--primary);
    transition: var(--transition);
}

.facility-card:hover .facility-icon {
    background: linear-gradient(135deg, #0c2d48, #145374);
    border-color: transparent;
    transform: translateY(-4px);
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.35);
}

.facility-card:hover .facility-icon::after {
    border-color: rgba(226, 232, 240, 0.8);
}

.facility-card:hover .facility-icon i { 
    color: #ffffff;
}

.facility-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 18px;
    color: var(--dark);
    position: relative;
    z-index: 1;
}

.facility-desc {
    color: var(--gray-500);
    font-size: 0.95rem;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-mesh);
}

.cta-section::after {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: var(--secondary);
    opacity: 0.08;
    border-radius: 50%;
    animation: pulse-slow 6s ease-in-out infinite;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: clamp(2rem, 3.5vw, 3rem);
    color: var(--white);
    margin-bottom: 18px;
    font-weight: 800;
}

.cta-title span {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-text {
    color: rgba(255,255,255,0.85);
    font-size: 1.15rem;
    line-height: 1.8;
}

/* ============================================
   GALLERY - MODERN DESIGN
   ============================================ */
.gallery-section {
    position: relative;
}

.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: #f8fafc;
    height: 100%;
    min-height: 320px;
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
    display: block;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-large {
    min-height: 450px;
}

.gallery-large img {
    min-height: 450px;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(12, 45, 72, 0.95) 0%,
        rgba(12, 45, 72, 0.7) 50%,
        transparent 100%
    );
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    opacity: 0;
    transition: all 0.4s ease;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.gallery-item:hover .gallery-overlay { 
    opacity: 1; 
}

.gallery-overlay i {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 15px;
    transform: scale(0.8) translateY(20px);
    transition: all 0.4s ease 0.1s;
    opacity: 0;
}

.gallery-item:hover .gallery-overlay i {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.gallery-overlay h5 {
    color: var(--white);
    margin: 0 0 8px 0;
    font-size: 1.4rem;
    font-weight: 700;
    transform: translateY(20px);
    transition: all 0.4s ease 0.15s;
    opacity: 0;
    text-align: center;
}

.gallery-item:hover .gallery-overlay h5 { 
    transform: translateY(0);
    opacity: 1;
}

.gallery-overlay span {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    transform: translateY(20px);
    transition: all 0.4s ease 0.2s;
    opacity: 0;
    text-align: center;
}

.gallery-item:hover .gallery-overlay span {
    transform: translateY(0);
    opacity: 1;
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    border-radius: 20px;
}

.gallery-placeholder i {
    font-size: 3.5rem;
    margin-bottom: 15px;
    opacity: 0.9;
}

.gallery-placeholder span {
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--dark);
    color: rgba(255,255,255,0.75);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-mesh);
    opacity: 0.3;
}

.footer-main {
    padding: 100px 0 60px;
    position: relative;
}

.footer-logo img {
    height: 80px;
    margin-bottom: 25px;
    filter: brightness(0) invert(1);
}

.footer-about {
    margin-bottom: 30px;
    line-height: 1.9;
    font-size: 0.95rem;
}

.footer-social {
    display: flex;
    gap: 14px;
}

.footer-social a {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--secondary);
    border-color: var(--secondary);
    color: var(--dark);
    transform: translateY(-6px) rotate(5deg);
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 30px;
    font-weight: 700;
    position: relative;
    padding-bottom: 18px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--gradient-gold);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li { margin-bottom: 16px; }

.footer-links a {
    color: rgba(255,255,255,0.75);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.footer-links a::before {
    content: '→';
    opacity: 0;
    transform: translateX(-10px);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary);
    padding-left: 15px;
}

.footer-links a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.footer-contact-item {
    display: flex;
    gap: 18px;
    margin-bottom: 25px;
}

.footer-contact-item i {
    width: 55px;
    height: 55px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    flex-shrink: 0;
    font-size: 1.2rem;
    transition: var(--transition);
}

.footer-contact-item:hover i {
    background: var(--secondary);
    color: var(--dark);
}

.footer-contact-item .info h6 {
    color: var(--white);
    font-size: 1.05rem;
    margin-bottom: 6px;
    font-weight: 600;
}

.footer-contact-item .info p {
    margin: 0;
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-bottom {
    background: rgba(0,0,0,0.3);
    padding: 25px 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    position: relative;
}

.footer-bottom p {
    margin: 0;
    color: rgba(255,255,255,0.5);
}

.footer-bottom-links {
    display: flex;
    gap: 30px;
    justify-content: flex-end;
}

.footer-bottom-links a {
    color: rgba(255,255,255,0.5);
    font-weight: 500;
}

.footer-bottom-links a:hover { color: var(--secondary); }

/* ============================================
   PAGE BANNER
   ============================================ */
.page-banner {
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    position: relative;
}

.page-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
}

.page-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-mesh);
    opacity: 0.6;
}

.page-banner-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.page-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    color: var(--white);
    margin-bottom: 25px;
    font-weight: 800;
    text-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
    justify-content: center;
}

.breadcrumb-item { color: rgba(255,255,255,0.75); }
.breadcrumb-item a { color: var(--secondary); }
.breadcrumb-item.active { color: rgba(255,255,255,0.5); }
.breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.3); }

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-info-card {
    background: var(--white);
    padding: 45px;
    border-radius: 28px;
    box-shadow: var(--shadow);
    text-align: center;
    height: 100%;
    transition: var(--transition);
    border: 1px solid var(--gray-100);
    position: relative;
    overflow: hidden;
}

.contact-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-gold);
    transform: scaleX(0);
    transition: var(--transition);
}

.contact-info-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
}

.contact-info-card:hover::before { transform: scaleX(1); }

.contact-info-icon {
    width: 100px;
    height: 100px;
    background: var(--gradient-primary);
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 28px;
    transition: var(--transition);
}

.contact-info-card:hover .contact-info-icon {
    background: var(--gradient-gold);
    transform: rotate(10deg) scale(1.1);
}

.contact-info-icon i {
    font-size: 2.2rem;
    color: var(--white);
    transition: var(--transition);
}

.contact-info-card:hover .contact-info-icon i { color: var(--dark); }

.contact-info-card h4 {
    margin-bottom: 18px;
    color: var(--dark);
    font-weight: 700;
    font-size: 1.4rem;
}

.contact-info-card p {
    color: var(--gray-500);
    margin: 0;
    line-height: 1.9;
}

.contact-form {
    background: var(--white);
    padding: 55px;
    border-radius: 28px;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-100);
}

.form-control {
    border: 2px solid var(--gray-100);
    border-radius: 14px;
    padding: 16px 22px;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--gray-100);
}

.form-control:focus {
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 5px rgba(12, 45, 72, 0.1);
}

.form-label {
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 12px;
}

/* ============================================
   BACK TO TOP & WHATSAPP
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 35px;
    right: 35px;
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--gradient-gold);
    color: var(--dark);
    transform: translateY(-8px);
}

/* ============================================
   UTILITIES
   ============================================ */
.lead {
    font-size: 1.2rem;
    color: var(--gray-600);
    line-height: 2;
}

.text-primary { color: var(--primary) !important; }
.bg-primary { background: var(--primary) !important; }

/* ============================================
   RESPONSIVE - FULL MOBILE OPTIMIZATION
   ============================================ */

/* Large Desktops */
@media (max-width: 1399px) {
    .container { max-width: 1140px; }
    .navbar-brand img { height: 45px; }
    .navbar-nav .nav-link { padding: 12px 14px !important; }
}

/* Desktops */
@media (max-width: 1199px) {
    .container { max-width: 960px; }
    .about-content { padding-left: 0; margin-top: 80px; }
    .about-small-image { right: 0; }
    .navbar-brand { 
        display: flex !important;
        visibility: visible !important;
    }
    .navbar-brand img { 
        height: 42px;
        display: block !important;
        visibility: visible !important;
    }
    .logo-text {
        display: flex !important;
        visibility: visible !important;
    }
    .logo-text .college-name,
    .logo-text .tagline {
        display: block !important;
        visibility: visible !important;
    }
    .navbar-nav .nav-link { padding: 10px 12px !important; font-size: 0.8rem; }
    h1 { font-size: clamp(2rem, 4vw, 3.5rem); }
    h2 { font-size: clamp(1.75rem, 3.5vw, 2.8rem); }
}

/* Tablets */
@media (max-width: 991px) {
    section { padding: 70px 0; }
    
    /* Header & Navigation */
    .main-header { padding: 5px 0; }
    .navbar-brand { 
        padding: 5px 0; 
        gap: 8px;
        display: flex !important;
        visibility: visible !important;
    }
    .navbar-brand img { 
        height: 40px;
        display: block !important;
        visibility: visible !important;
    }
    .logo-text {
        display: flex !important;
        visibility: visible !important;
    }
    .logo-text .college-name { 
        font-size: 1.1rem; 
        line-height: 1.2;
        display: block !important;
        visibility: visible !important;
    }
    .logo-text .tagline { 
        font-size: 0.6rem; 
        letter-spacing: 1px;
        display: block !important;
        visibility: visible !important;
    }
    
    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        padding: 20px;
        box-shadow: 0 20px 40px rgba(0,0,0,0.1);
        border-radius: 0 0 20px 20px;
        z-index: 1000;
    }
    
    .navbar-nav { flex-direction: column; }
    .navbar-nav .nav-link { 
        padding: 15px 0 !important; 
        border-bottom: 1px solid #f1f5f9;
    }
    .navbar-nav .nav-link::before { display: none; }
    .navbar-nav .dropdown-menu {
        position: static !important;
        box-shadow: none;
        padding-left: 20px;
        background: #f8fafc;
        border-radius: 12px;
        margin: 10px 0;
    }
    
    .header-cta { 
        margin: 20px 0 0; 
        width: 100%;
    }
    .header-cta .btn-primary-custom { width: 100%; justify-content: center; }
    
    /* Navbar Toggler */
    .navbar-toggler {
        border: none;
        padding: 10px;
        background: #f1f5f9;
        border-radius: 10px;
    }
    .navbar-toggler:focus { box-shadow: none; }
    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%230c2d48' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }
    
    /* Hero */
    .hero-slide { 
        height: auto; 
        min-height: 80vh;
        padding: 120px 0 80px;
    }
    .hero-title { font-size: 2.5rem; }
    .hero-text { font-size: 1rem; }
    .hero-buttons { flex-wrap: wrap; gap: 15px; }
    .hero-buttons .btn { padding: 14px 28px; font-size: 0.9rem; }
    .hero-stats { flex-wrap: wrap; gap: 25px; }
    .hero-stat-item .stat-num { font-size: 2rem; }
    .hero-course-badges { justify-content: flex-start; }
    .hero-shapes { display: none; }
    .hero-scroll-indicator { display: none; }
    
    /* Stats */
    .stat-number { font-size: 2.8rem; }
    .stat-item { padding: 25px 20px; }
    
    /* About */
    .about-section .row > .col-lg-6:first-child {
        padding-right: 15px;
        margin-bottom: 40px;
    }
    .about-section .row > .col-lg-6:last-child {
        padding-left: 15px;
    }
    .about-image-wrapper { 
        margin-bottom: 50px; 
    }
    .about-small-image { 
        width: 150px; 
        height: 150px;
        right: 10px; 
        bottom: -20px;
    }
    .about-experience-badge {
        top: 15px;
        right: 15px;
        padding: 10px 16px;
    }
    .about-experience-badge .number {
        font-size: 1.2rem;
    }
    .about-experience-badge .text {
        font-size: 0.65rem;
    }
    .about-content {
        padding-top: 0;
    }
    
    /* Courses */
    .course-card { margin-bottom: 20px; }
    
    /* Facilities */
    .facility-card { padding: 30px 20px; }
    
    /* Footer */
    .footer-main .row > div { margin-bottom: 30px; }
}

/* Tablets Portrait & Large Phones */
@media (max-width: 767px) {
    section { padding: 50px 0; }
    
    /* Typography */
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.4rem; }
    .section-title { margin-bottom: 30px; }
    .section-subtitle { font-size: 0.75rem; letter-spacing: 2px; }
    
    /* Announcement Bar */
    .announcement-bar { 
        padding: 6px 0;
        display: block !important;
        visibility: visible !important;
    }
    .announcement-badge { display: none; }
    .announcement-text { 
        font-size: 0.8rem;
        display: block !important;
        visibility: visible !important;
    }
    
    /* Top Bar */
    .top-bar { display: none; }
    
    /* Header */
    .main-header { padding: 8px 0; }
    .navbar-brand { 
        gap: 8px;
        display: flex !important;
        visibility: visible !important;
    }
    .navbar-brand img { 
        height: 40px;
        display: block !important;
        visibility: visible !important;
    }
    .logo-text {
        display: flex !important;
        visibility: visible !important;
    }
    .logo-text .college-name { 
        font-size: 1rem;
        display: block !important;
        visibility: visible !important;
    }
    .logo-text .tagline { 
        font-size: 0.55rem; 
        letter-spacing: 0.5px;
        display: block !important;
        visibility: visible !important;
    }
    
    /* Hero */
    .hero-slide {
        min-height: auto;
        padding: 100px 0 70px;
    }
    .hero-title { font-size: 1.8rem; line-height: 1.3; }
    .hero-title span { display: inline; }
    .hero-text { font-size: 0.95rem; margin-bottom: 25px; }
    .hero-badge { font-size: 0.75rem; padding: 8px 18px; }
    .hero-icon-badge { width: 65px; height: 65px; }
    .hero-icon-badge i { font-size: 1.8rem; }
    .hero-buttons { flex-direction: column; width: 100%; }
    .hero-buttons .btn { width: 100%; justify-content: center; }
    .hero-stats { 
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
        margin-top: 30px;
        padding-top: 25px;
    }
    .hero-stat-item { min-width: 80px; }
    .hero-stat-item .stat-num { font-size: 1.6rem; }
    .hero-stat-item .stat-text { font-size: 0.7rem; }
    .hero-course-badges { justify-content: center; gap: 8px; }
    .course-badge-item { padding: 8px 16px; font-size: 0.75rem; }
    .hero-contact-strip { flex-direction: column; gap: 12px; }
    
    /* Stats Section */
    .stats-section { padding: 40px 0; }
    .stat-item { padding: 20px 15px; margin-bottom: 15px; }
    .stat-number { font-size: 2.2rem; }
    .stat-label { font-size: 0.8rem; }
    
    /* About Section */
    .about-section { padding: 50px 0; }
    .about-section .row > .col-lg-6:first-child {
        padding-right: 15px;
        margin-bottom: 30px;
    }
    .about-section .row > .col-lg-6:last-child {
        padding-left: 15px;
    }
    .about-main-image { 
        border-radius: 16px; 
    }
    .about-small-image { 
        display: none;
    }
    .about-experience-badge {
        top: 15px;
        right: 15px;
        padding: 10px 14px;
    }
    .about-experience-badge .number {
        font-size: 1.1rem;
    }
    .about-experience-badge .text {
        font-size: 0.6rem;
        white-space: normal;
    }
    .about-content { 
        padding-top: 0;
    }
    .about-text {
        font-size: 0.95rem;
        margin-bottom: 18px;
    }
    
    .about-experience-badge .number {
        width: 28px;
        height: 28px;
        font-size: 1rem;
    }
    
    .about-experience-badge .text {
        font-size: 0.65rem;
    }
    .about-content { margin-top: 40px; }
    .about-text { font-size: 0.95rem; }
    
    /* Courses Section */
    .courses-section .row { margin: 0 -10px; }
    .course-card { border-radius: 16px; }
    .course-image { height: 180px; }
    .course-content { padding: 20px; }
    .course-title { font-size: 1.1rem; }
    
    /* Facilities */
    .facility-card { 
        padding: 25px 20px; 
        border-radius: 16px;
        margin-bottom: 15px;
    }
    .facility-icon { width: 60px; height: 60px; }
    .facility-icon i { font-size: 1.5rem; }
    .facility-title { font-size: 1rem; }
    
    /* Why Choose */
    .why-card { padding: 30px 20px; border-radius: 16px; }
    .why-icon { width: 80px; height: 80px; }
    .why-icon i { font-size: 2rem; }
    .why-number { width: 30px; height: 30px; font-size: 0.7rem; }
    
    /* News Section */
    .news-card { border-radius: 16px; }
    .news-image { height: 160px; }
    .news-content { padding: 20px; }
    .news-title { font-size: 1.1rem; }
    
    /* Gallery */
    .gallery-item { 
        border-radius: 16px; 
        min-height: 250px; 
    }
    .gallery-item img {
        min-height: 250px;
    }
    .gallery-large { 
        min-height: 300px; 
    }
    .gallery-large img {
        min-height: 300px;
    }
    .gallery-overlay {
        padding: 20px;
    }
    .gallery-overlay i {
        font-size: 2rem;
        margin-bottom: 10px;
    }
    .gallery-overlay h5 {
        font-size: 1.2rem;
    }
    .gallery-overlay span {
        font-size: 0.85rem;
    }
    
    /* Testimonials */
    .testimonial-card { padding: 25px; border-radius: 16px; }
    .testimonial-text { font-size: 0.95rem; }
    .author-avatar { width: 45px; height: 45px; }
    .author-info h5 { font-size: 1rem; }
    
    /* Partners Marquee */
    .partners-section { padding: 50px 0; }
    .partner-item { padding: 20px 25px; min-width: 150px; }
    .partner-logo { width: 55px; height: 55px; }
    .partner-logo i { font-size: 1.4rem; }
    .partner-item span { font-size: 0.85rem; }
    
    /* Affiliations */
    .affiliation-item { padding: 20px 15px; }
    .affiliation-icon { width: 60px; height: 60px; }
    .affiliation-icon i { font-size: 1.5rem; }
    .affiliation-item h5 { font-size: 0.95rem; }
    
    /* CTA Section */
    .cta-section-premium { padding: 60px 0; }
    .cta-premium-title { font-size: 1.8rem; }
    .cta-premium-title span { display: inline; }
    .cta-premium-text { font-size: 1rem; }
    .cta-buttons { flex-direction: column; }
    .cta-buttons .btn { width: 100%; justify-content: center; }
    .cta-contact-info { flex-direction: column; gap: 10px; }
    .cta-contact-info .divider { display: none; }
    
    /* Footer */
    .footer-main { padding: 50px 0 30px; }
    .footer-brand img { height: 50px; }
    .footer-section { margin-bottom: 30px; }
    .footer-bottom { padding: 20px 0; flex-direction: column; text-align: center; gap: 15px; }
    .footer-bottom-links { justify-content: center; margin-top: 15px; }
    
    /* Buttons */
    .btn-primary-custom, .btn-secondary-custom, .btn-gold {
        padding: 14px 28px;
        font-size: 0.9rem;
    }
    
    /* WhatsApp Button */
    .whatsapp-float { 
        bottom: 20px; 
        right: 15px; 
        width: 55px; 
        height: 55px;
    }
    .whatsapp-float i { font-size: 1.6rem; }
    .whatsapp-text { display: none; }
    
    /* Back to Top */
    #backToTop { 
        bottom: 85px; 
        right: 15px; 
        width: 45px; 
        height: 45px;
    }
    
    /* Contact Form */
    .contact-form { padding: 30px 20px; }
    
    /* About Features */
    .about-features { grid-template-columns: 1fr; }
}

/* Small Phones */
@media (max-width: 575px) {
    section { padding: 40px 0; }
    
    /* Typography */
    h1 { font-size: 1.6rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.2rem; }
    
    /* Container */
    .container { padding-left: 15px; padding-right: 15px; }
    
    /* Announcement */
    .announcement-bar { 
        display: block !important;
        visibility: visible !important;
    }
    
    /* Header */
    .navbar-brand { gap: 6px; }
    .navbar-brand img { height: 35px; }
    .logo-text .college-name { font-size: 0.85rem; }
    .logo-text .tagline { display: none; }
    
    /* Hero */
    .hero-slide { padding: 80px 0 60px; }
    .hero-icon-badge { width: 55px; height: 55px; margin-bottom: 15px; }
    .hero-icon-badge i { font-size: 1.5rem; }
    .hero-badge { font-size: 0.7rem; padding: 6px 14px; margin-bottom: 12px; }
    .hero-title { font-size: 1.5rem; margin-bottom: 15px; }
    .hero-text { font-size: 0.9rem; margin-bottom: 20px; }
    .hero-buttons .btn { padding: 12px 24px; font-size: 0.85rem; }
    .hero-stats { gap: 15px; padding-top: 20px; margin-top: 25px; }
    .hero-stat-item .stat-num { font-size: 1.4rem; }
    .hero-stat-item .stat-text { font-size: 0.65rem; letter-spacing: 1px; }
    .course-badge-item { padding: 6px 12px; font-size: 0.7rem; gap: 5px; }
    
    /* Stats */
    .stat-item { margin-bottom: 12px; }
    .stat-icon { width: 50px; height: 50px; }
    .stat-icon i { font-size: 1.3rem; }
    .stat-number { font-size: 1.8rem; }
    .stat-label { font-size: 0.75rem; }
    
    /* Section Headers */
    .section-header { margin-bottom: 30px; }
    .section-subtitle { margin-bottom: 8px; }
    .section-subtitle::before, .section-subtitle::after { display: none; }
    
    /* Cards */
    .course-card, .facility-card, .why-card, .news-card, .testimonial-card {
        border-radius: 12px;
    }
    
    /* Tables */
    .table td, .table th { 
        padding: 8px 5px; 
        font-size: 0.85rem; 
    }
    
    /* Buttons */
    .btn-primary-custom, .btn-secondary-custom, .btn-gold {
        padding: 12px 24px;
        font-size: 0.85rem;
        width: 100%;
        justify-content: center;
    }
    
    /* CTA */
    .cta-premium-title { font-size: 1.5rem; }
    .cta-label { font-size: 0.75rem; padding: 8px 18px; }
    
    /* Gallery */
    .gallery-item { 
        min-height: 220px; 
    }
    .gallery-item img {
        min-height: 220px;
    }
    .gallery-large {
        min-height: 250px;
    }
    .gallery-large img {
        min-height: 250px;
    }
    .gallery-overlay {
        padding: 15px;
    }
    .gallery-overlay i {
        font-size: 1.8rem;
        margin-bottom: 8px;
    }
    .gallery-overlay h5 {
        font-size: 1.1rem;
    }
    .gallery-placeholder {
        min-height: 220px;
    }
    .gallery-placeholder i {
        font-size: 2.5rem;
    }
    .gallery-placeholder span {
        font-size: 0.9rem;
    }
    
    /* Partners */
    .marquee-content { gap: 30px; }
    .partner-item { padding: 15px 20px; min-width: 130px; }
    .partner-logo { width: 45px; height: 45px; }
    .partner-item span { font-size: 0.8rem; }
    
    /* Footer */
    .footer-section h5 { font-size: 1.1rem; }
    .footer-section ul li { margin-bottom: 8px; }
    .footer-section ul li a { font-size: 0.9rem; }
    .footer-socials a { width: 40px; height: 40px; }
}

/* Extra Small Phones */
@media (max-width: 375px) {
    h1 { font-size: 1.4rem; }
    h2 { font-size: 1.3rem; }
    
    .hero-title { font-size: 1.3rem; }
    .hero-stat-item .stat-num { font-size: 1.2rem; }
    
    .navbar-brand { gap: 5px; }
    .navbar-brand img { height: 32px; }
    .logo-text .college-name { font-size: 0.75rem; }
    
    .stat-number { font-size: 1.6rem; }
}

/* Very Small Phones */
@media (max-width: 320px) {
    .navbar-brand img { height: 28px; }
    .logo-text .college-name { font-size: 0.65rem; }
}

/* ============================================
   ULTRA PREMIUM ENHANCEMENTS 2.0
   ============================================ */

/* Premium Button Gold */
.btn-gold {
    background: linear-gradient(135deg, #e8b923 0%, #f5d45a 50%, #e8b923 100%);
    color: #0a1628;
    font-weight: 700;
    padding: 18px 45px;
    border-radius: 60px;
    border: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 10px 40px rgba(232, 185, 35, 0.4);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    position: relative;
    overflow: hidden;
}

.btn-gold::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: 0.6s;
}

.btn-gold:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 50px rgba(232, 185, 35, 0.5);
    color: #0a1628;
}

.btn-gold:hover::before {
    left: 100%;
}

/* Enhanced Card Hover Effects */
.card-premium {
    position: relative;
    overflow: hidden;
}

.card-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(232, 185, 35, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: var(--transition);
    z-index: 0;
}

.card-premium:hover::before {
    opacity: 1;
}

/* Glassmorphism Card */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 24px;
    padding: 40px;
    transition: var(--transition);
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

/* Animated Gradient Border */
.gradient-border {
    position: relative;
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
}

.gradient-border::before {
    content: '';
    position: absolute;
    inset: -3px;
    background: linear-gradient(45deg, #e8b923, #00d4aa, #145374, #e8b923);
    border-radius: 22px;
    z-index: -1;
    animation: rotate-gradient 4s linear infinite;
    background-size: 300% 300%;
}

@keyframes rotate-gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Neon Glow Text */
.neon-text {
    text-shadow: 
        0 0 5px rgba(232, 185, 35, 0.8),
        0 0 10px rgba(232, 185, 35, 0.6),
        0 0 20px rgba(232, 185, 35, 0.4),
        0 0 40px rgba(232, 185, 35, 0.2);
}

/* Floating Animation */
.float-animation {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Pulse Animation */
.pulse-animation {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Shimmer Effect */
.shimmer {
    position: relative;
    overflow: hidden;
}

.shimmer::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 200%; }
}

/* Reveal on Scroll */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger Animation */
.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }
.stagger-5 { animation-delay: 0.5s; }

/* 3D Card Hover */
.card-3d {
    transform-style: preserve-3d;
    perspective: 1000px;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.card-3d:hover {
    transform: rotateY(10deg) rotateX(5deg);
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, #e8b923 0%, #00d4aa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Underline Animation */
.underline-animation {
    position: relative;
    display: inline-block;
}

.underline-animation::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: -5px;
    left: 0;
    background: linear-gradient(90deg, #e8b923, #00d4aa);
    transition: width 0.4s ease;
}

.underline-animation:hover::after {
    width: 100%;
}

/* Icon Box Animation */
.icon-box-animated {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: linear-gradient(135deg, #e8b923 0%, #f5d45a 100%);
    transition: var(--transition);
}

.icon-box-animated::before {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 24px;
    background: linear-gradient(135deg, #e8b923, #00d4aa);
    opacity: 0;
    z-index: -1;
    filter: blur(10px);
    transition: opacity 0.3s;
}

.icon-box-animated:hover::before {
    opacity: 1;
}

.icon-box-animated:hover {
    transform: translateY(-10px) rotate(5deg);
}

/* Counter Animation */
.counter-box {
    text-align: center;
    padding: 40px 30px;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.counter-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #e8b923, #00d4aa);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.counter-box:hover::before {
    transform: scaleX(1);
}

.counter-box:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-lg);
}

/* Split Text Effect */
.split-text span {
    display: inline-block;
    animation: fadeInUp 0.5s ease backwards;
}

/* Typewriter Effect */
.typewriter {
    overflow: hidden;
    border-right: 3px solid #e8b923;
    white-space: nowrap;
    animation: typing 3s steps(30, end), blink 0.75s step-end infinite;
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink {
    from, to { border-color: transparent; }
    50% { border-color: #e8b923; }
}

/* Magnetic Button Effect */
.btn-magnetic {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-magnetic:hover {
    transform: scale(1.05);
}

/* Blob Animation Background */
.blob-bg {
    position: absolute;
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, rgba(232, 185, 35, 0.2), rgba(0, 212, 170, 0.2));
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    animation: blob-morph 8s ease-in-out infinite;
    filter: blur(40px);
    z-index: -1;
}

@keyframes blob-morph {
    0%, 100% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
    25% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
    50% { border-radius: 30% 70% 60% 40% / 50% 60% 40% 50%; }
    75% { border-radius: 70% 30% 40% 60% / 40% 70% 50% 60%; }
}

/* Parallax Scroll Effect Classes */
.parallax-slow { transform: translateY(0); transition: transform 0.1s; }
.parallax-medium { transform: translateY(0); transition: transform 0.15s; }
.parallax-fast { transform: translateY(0); transition: transform 0.2s; }

/* Premium Image Hover */
.image-hover-zoom {
    overflow: hidden;
    border-radius: 20px;
}

.image-hover-zoom img {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.image-hover-zoom:hover img {
    transform: scale(1.1);
}

/* Animated Badge */
.animated-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: linear-gradient(135deg, rgba(232, 185, 35, 0.15) 0%, rgba(0, 212, 170, 0.1) 100%);
    border: 1px solid rgba(232, 185, 35, 0.3);
    border-radius: 50px;
    color: #e8b923;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: badge-glow 2s ease-in-out infinite;
}

@keyframes badge-glow {
    0%, 100% { box-shadow: 0 0 10px rgba(232, 185, 35, 0.2); }
    50% { box-shadow: 0 0 25px rgba(232, 185, 35, 0.4); }
}

/* Enhanced Focus States */
:focus-visible {
    outline: 3px solid rgba(232, 185, 35, 0.5);
    outline-offset: 3px;
}

/* Selection Styling */
::selection {
    background: rgba(232, 185, 35, 0.3);
    color: #0a1628;
}

/* Smooth Image Loading */
img {
    opacity: 1;
    transition: opacity 0.3s ease;
}

img[data-src] {
    opacity: 0;
}

img.loaded {
    opacity: 1;
}

/* ============================================
   ULTRA PREMIUM EFFECTS 3.0
   ============================================ */

/* Spotlight Effect on Hover */
.spotlight-effect {
    position: relative;
    overflow: hidden;
}

.spotlight-effect::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transform: skewX(-25deg);
    transition: left 0.75s ease;
}

.spotlight-effect:hover::before {
    left: 150%;
}

/* Glow Border Effect */
.glow-border {
    position: relative;
    background: #fff;
    border-radius: 20px;
}

.glow-border::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(45deg, #e8b923, #00d4aa, #145374, #e8b923);
    border-radius: 22px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
    background-size: 300% 300%;
    animation: gradient-rotate 4s linear infinite;
}

.glow-border:hover::before {
    opacity: 1;
}

@keyframes gradient-rotate {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Text Reveal Animation */
.text-reveal {
    position: relative;
    overflow: hidden;
}

.text-reveal::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, #fff, #fff);
    transform: translateX(-100%);
    animation: text-reveal 1.5s ease forwards;
}

@keyframes text-reveal {
    to { transform: translateX(100%); }
}

/* Hover Lift Effect */
.hover-lift {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-lift:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(12, 45, 72, 0.2);
}

/* Scale Pulse Animation */
.scale-pulse {
    animation: scale-pulse 3s ease-in-out infinite;
}

@keyframes scale-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

/* Rotate on Hover */
.rotate-hover {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.rotate-hover:hover {
    transform: rotate(360deg);
}

/* Bounce Effect */
.bounce-effect:hover {
    animation: bounce 0.5s ease;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    25% { transform: translateY(-10px); }
    50% { transform: translateY(0); }
    75% { transform: translateY(-5px); }
}

/* Gradient Background Animation */
.animated-gradient-bg {
    background: linear-gradient(-45deg, #0c2d48, #145374, #0d6b54, #e8b923);
    background-size: 400% 400%;
    animation: gradient-bg 15s ease infinite;
}

@keyframes gradient-bg {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Glitch Effect (for special elements) */
.glitch-effect {
    position: relative;
}

.glitch-effect::before,
.glitch-effect::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
}

.glitch-effect:hover::before {
    animation: glitch-1 0.3s ease infinite;
    color: #00d4aa;
    opacity: 0.8;
}

.glitch-effect:hover::after {
    animation: glitch-2 0.3s ease infinite;
    color: #e8b923;
    opacity: 0.8;
}

@keyframes glitch-1 {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(-3px, 3px); }
    40% { transform: translate(-3px, -3px); }
    60% { transform: translate(3px, 3px); }
    80% { transform: translate(3px, -3px); }
}

@keyframes glitch-2 {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(3px, -3px); }
    40% { transform: translate(3px, 3px); }
    60% { transform: translate(-3px, -3px); }
    80% { transform: translate(-3px, 3px); }
}

/* Morphing Border Radius */
.morph-border {
    animation: morph-border 8s ease-in-out infinite;
}

@keyframes morph-border {
    0%, 100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
    25% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
    50% { border-radius: 50% 50% 50% 50% / 50% 50% 50% 50%; }
    75% { border-radius: 40% 60% 30% 70% / 40% 30% 60% 50%; }
}

/* Ripple Effect */
.ripple-effect {
    position: relative;
    overflow: hidden;
}

.ripple-effect::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(232, 185, 35, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.ripple-effect:hover::after {
    width: 300%;
    height: 300%;
}

/* Neon Box Shadow */
.neon-shadow {
    box-shadow: 
        0 0 5px rgba(232, 185, 35, 0.5),
        0 0 10px rgba(232, 185, 35, 0.3),
        0 0 20px rgba(232, 185, 35, 0.2),
        0 0 40px rgba(232, 185, 35, 0.1);
}

/* Stacked Cards Effect */
.stacked-cards {
    position: relative;
}

.stacked-cards::before,
.stacked-cards::after {
    content: '';
    position: absolute;
    inset: 0;
    background: inherit;
    border-radius: inherit;
    z-index: -1;
    transition: transform 0.4s ease;
}

.stacked-cards::before {
    transform: rotate(-3deg) translateY(10px);
    opacity: 0.5;
}

.stacked-cards::after {
    transform: rotate(3deg) translateY(20px);
    opacity: 0.25;
}

.stacked-cards:hover::before {
    transform: rotate(-6deg) translateY(15px);
}

.stacked-cards:hover::after {
    transform: rotate(6deg) translateY(30px);
}

/* Flip Card */
.flip-card {
    perspective: 1000px;
}

.flip-card-inner {
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    backface-visibility: hidden;
}

.flip-card-back {
    transform: rotateY(180deg);
}

/* Progress Bar Animation */
.progress-animated {
    position: relative;
    height: 6px;
    background: rgba(12, 45, 72, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.progress-animated::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: var(--progress, 0%);
    background: linear-gradient(90deg, #e8b923, #00d4aa);
    border-radius: 10px;
    animation: progress-fill 2s ease forwards;
}

@keyframes progress-fill {
    from { width: 0; }
    to { width: var(--progress, 100%); }
}

/* Tooltip Arrow */
.tooltip-custom {
    position: relative;
}

.tooltip-custom::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    padding: 8px 16px;
    background: #0a1628;
    color: #fff;
    font-size: 0.85rem;
    border-radius: 8px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.tooltip-custom:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Loading Skeleton */
.skeleton {
    background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Accent Line */
.accent-line {
    position: relative;
    padding-left: 20px;
}

.accent-line::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #e8b923, #00d4aa);
    border-radius: 4px;
}

/* Card Tilt on Mouse Move (JS Required) */
.tilt-card {
    transform-style: preserve-3d;
    transition: transform 0.1s ease;
}

.tilt-card:hover {
    transform: perspective(1000px) rotateX(var(--rotateX, 0deg)) rotateY(var(--rotateY, 0deg));
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #0c2d48, #145374);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #145374, #0c2d48);
}

/* ============================================
   COMPREHENSIVE MOBILE RESPONSIVE STYLES
   ============================================ */

/* Page Banner Responsive */
.page-banner {
    min-height: 200px;
    padding: 120px 20px 40px;
}

.page-banner-content {
    text-align: center;
}

.page-title {
    font-size: clamp(1.8rem, 5vw, 3rem);
    margin-bottom: 15px;
}

.breadcrumb {
    justify-content: center;
    flex-wrap: wrap;
}

/* Contact Page Responsive */
.contact-info-card {
    padding: 25px 20px;
    text-align: center;
    margin-bottom: 20px;
}

.contact-info-card i {
    font-size: 2rem;
    margin-bottom: 15px;
}

/* Admission Form Responsive */
.admission-form-section .form-control,
.admission-form-section .form-select {
    font-size: 16px; /* Prevents zoom on iOS */
    padding: 12px 15px;
}

/* Facilities Page Responsive */
.facility-card {
    margin-bottom: 20px;
}

.facility-icon {
    width: 60px;
    height: 60px;
}

/* Faculty Page Responsive */
.faculty-card {
    margin-bottom: 20px;
}

.faculty-img {
    width: 120px;
    height: 120px;
}

/* Gallery Page Responsive */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 15px;
}

@media (max-width: 575px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

/* VCAIT Page Responsive */
.vcait-hero {
    padding: 80px 15px 60px;
    text-align: center;
}

/* Tablet Portrait */
@media (max-width: 991px) {
    /* Page Banner */
    .page-banner {
        min-height: 180px;
        padding: 100px 20px 30px;
    }
    
    /* Forms */
    .row.g-3 > [class*="col-"] {
        margin-bottom: 10px;
    }
    
    /* Stats */
    .stats-section .row {
        gap: 20px;
    }
    
    /* CTA Section */
    .cta-section .row {
        text-align: center;
    }
    
    .cta-section .text-lg-end {
        text-align: center !important;
        margin-top: 20px;
    }
    
    .cta-section .btn {
        margin-bottom: 10px;
    }
    
    /* About Section */
    .about-images {
        margin-bottom: 40px;
    }
    
    .about-small-image {
        display: none;
    }
    
    /* Footer */
    .footer-section {
        margin-bottom: 30px;
        text-align: center;
    }
    
    .footer-section ul {
        text-align: center;
    }
    
    .footer-section ul li::before {
        display: none;
    }
    
    .footer-socials {
        justify-content: center;
    }
}

/* Mobile Landscape */
@media (max-width: 767px) {
    /* Page Banner */
    .page-banner {
        min-height: 160px;
        padding: 90px 15px 25px;
    }
    
    .page-title {
        font-size: 1.6rem;
    }
    
    /* Navbar */
    .main-navbar {
        padding: 8px 0;
    }
    
    .navbar-collapse {
        background: linear-gradient(135deg, #0c2d48 0%, #061a2e 100%);
        padding: 20px;
        border-radius: 15px;
        margin-top: 15px;
        max-height: 70vh;
        overflow-y: auto;
    }
    
    .navbar-nav .nav-link {
        padding: 12px 15px !important;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .navbar-nav .nav-link:last-child {
        border-bottom: none;
    }
    
    /* Dropdowns in Mobile */
    .dropdown-menu {
        position: static !important;
        float: none;
        width: 100%;
        margin-top: 0 !important;
        background: rgba(0,0,0,0.2);
        border: none;
        box-shadow: none;
    }
    
    /* Section Padding */
    section {
        padding: 50px 0;
    }
    
    /* Cards Row Gap */
    .row.g-4 {
        --bs-gutter-y: 1.25rem;
    }
    
    /* Info Cards */
    .info-card-row {
        flex-direction: column;
    }
    
    .info-card {
        width: 100%;
        margin-bottom: 15px;
    }
    
    /* Tables */
    .table-responsive {
        font-size: 0.9rem;
    }
    
    /* Buttons */
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    /* Testimonials */
    .testimonial-card {
        padding: 25px 20px;
    }
    
    /* News Cards */
    .news-card-image {
        height: 180px;
    }
    
    /* Partners Marquee */
    .partner-item {
        min-width: 120px;
        padding: 12px 15px;
    }
}

/* Mobile Portrait */
@media (max-width: 575px) {
    /* Header Top Bar */
    .top-bar {
        padding: 8px 10px;
    }
    
    .top-bar-left {
        flex-direction: column;
        gap: 5px;
        font-size: 0.8rem;
    }
    
    .top-bar-left .divider {
        display: none;
    }
    
    /* Section Headers */
    .section-header {
        padding: 0 10px;
    }
    
    .section-subtitle {
        font-size: 0.75rem;
        padding: 8px 16px;
    }
    
    .section-desc {
        font-size: 0.9rem;
    }
    
    /* Forms */
    .form-group {
        margin-bottom: 15px;
    }
    
    .form-control,
    .form-select {
        font-size: 16px;
        padding: 12px 15px;
    }
    
    /* Info Cards Horizontal Scroll */
    .admission-info-cards {
        display: flex;
        overflow-x: auto;
        gap: 15px;
        padding-bottom: 15px;
        -webkit-overflow-scrolling: touch;
    }
    
    .admission-info-cards .col-lg-4 {
        min-width: 250px;
        flex: 0 0 auto;
    }
    
    /* WhatsApp Button */
    .whatsapp-float {
        bottom: 15px;
        right: 15px;
    }
    
    .whatsapp-float a {
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
    }
    
    /* Back to Top */
    .back-to-top {
        bottom: 80px;
        right: 15px;
        width: 40px;
        height: 40px;
    }
    
    /* Footer */
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .footer-bottom-links {
        justify-content: center;
    }
}

/* Extra Small Devices */
@media (max-width: 375px) {
    /* Typography */
    body {
        font-size: 0.9rem;
    }
    
    /* Container Padding */
    .container {
        padding-left: 12px;
        padding-right: 12px;
    }
    
    /* Cards */
    .card-body {
        padding: 15px;
    }
    
    /* Buttons */
    .btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
    
    /* Stats */
    .stat-number {
        font-size: 1.5rem;
    }
    
    /* Icons */
    .stat-icon {
        width: 45px;
        height: 45px;
    }
    
    .stat-icon i {
        font-size: 1.1rem;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    /* Remove hover effects that don't work on touch */
    .course-card:hover,
    .facility-card:hover,
    .news-card:hover,
    .testimonial-card:hover {
        transform: none;
    }
    
    /* Make tap targets bigger */
    .nav-link {
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    
    .btn {
        min-height: 44px;
    }
    
    /* Faster transitions */
    * {
        transition-duration: 0.2s !important;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .footer,
    .whatsapp-float,
    .back-to-top,
    .announcement-bar {
        display: none !important;
    }
    
    .page-banner {
        padding-top: 20px;
    }
    
    body {
        font-size: 12pt;
        color: #000;
    }
}

/* Landscape Orientation Fixes */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-slide {
        min-height: 100vh;
        padding: 60px 0 40px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-text {
        display: none;
    }
    
    .navbar-collapse {
        max-height: 60vh;
    }
}

/* ============================================
   COMPREHENSIVE RESPONSIVE FIXES
   ============================================ */

/* Announcement Bar - Full Responsive */
@media (max-width: 1199px) {
    .announcement-bar {
        padding: 8px 0;
    }
    .announcement-content {
        gap: 12px;
    }
    .announcement-badge {
        padding: 5px 12px;
        font-size: 0.75rem;
    }
    .announcement-text {
        font-size: 0.85rem;
    }
}

@media (max-width: 991px) {
    .announcement-bar {
        padding: 7px 0;
    }
    .announcement-content {
        gap: 10px;
    }
    .announcement-badge {
        padding: 4px 10px;
        font-size: 0.7rem;
    }
    .announcement-text {
        font-size: 0.8rem;
    }
}

@media (max-width: 767px) {
    .announcement-bar {
        padding: 6px 0;
    }
    .announcement-content {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }
    .announcement-badge {
        display: none;
    }
    .announcement-text {
        width: 100%;
        font-size: 0.75rem;
    }
    .announcement-text marquee {
        width: 100%;
        overflow: hidden;
    }
}

@media (max-width: 575px) {
    .announcement-bar {
        padding: 5px 0;
    }
    .announcement-text {
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .announcement-bar {
        padding: 4px 0;
    }
    .announcement-text {
        font-size: 0.65rem;
    }
}

/* Top Bar - Full Responsive */
@media (max-width: 1199px) {
    .top-bar {
        padding: 10px 0;
    }
    .top-bar-info {
        gap: 14px;
    }
    .top-bar-item {
        font-size: 0.78rem;
    }
    .top-bar-item span {
        font-size: 0.78rem;
    }
}

@media (max-width: 991px) {
    .top-bar {
        padding: 8px 0;
    }
    .top-bar-info {
        gap: 12px;
        flex-wrap: wrap;
    }
    .top-bar-item {
        font-size: 0.75rem;
    }
    .top-bar-item span {
        font-size: 0.75rem;
    }
    .top-bar-social {
        gap: 6px;
    }
}

@media (max-width: 767px) {
    .top-bar {
        padding: 6px 0;
    }
    .top-bar .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    .top-bar-info {
        gap: 8px;
        margin-bottom: 8px;
        flex-direction: column;
        align-items: flex-start;
    }
    .top-bar-item {
        font-size: 0.7rem;
    }
    .top-bar-item span {
        font-size: 0.7rem;
        display: inline-block;
        max-width: 200px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .top-bar-social {
        justify-content: flex-start;
        gap: 6px;
        width: 100%;
    }
    .top-bar-social a {
        width: 26px;
        height: 26px;
        font-size: 0.7rem;
    }
}

@media (max-width: 575px) {
    .top-bar {
        padding: 5px 0;
    }
    .top-bar-item span {
        max-width: 180px;
        font-size: 0.65rem;
    }
}

@media (max-width: 480px) {
    .top-bar {
        padding: 4px 0;
    }
    .top-bar-item span {
        max-width: 150px;
        font-size: 0.6rem;
    }
    .top-bar-social a {
        width: 24px;
        height: 24px;
        font-size: 0.65rem;
    }
}

/* Header Navigation - Full Responsive */
@media (max-width: 1199px) {
    .main-header {
        padding: 10px 0;
    }
    .navbar-brand {
        gap: 10px;
    }
    .navbar-brand img {
        height: 45px;
    }
    .logo-text .college-name {
        font-size: 1.15rem;
    }
    .logo-text .tagline {
        font-size: 0.65rem;
    }
    .navbar-nav .nav-link {
        padding: 12px 14px !important;
        font-size: 0.9rem;
    }
    .header-cta .btn-primary-custom {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
}

@media (max-width: 991px) {
    .main-header {
        padding: 8px 0;
    }
    .navbar-brand {
        gap: 8px;
    }
    .navbar-brand img {
        height: 42px;
    }
    .logo-text .college-name {
        font-size: 1.1rem;
        line-height: 1.2;
    }
    .logo-text .tagline {
        font-size: 0.6rem;
        letter-spacing: 0.5px;
    }
    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        padding: 20px;
        box-shadow: 0 20px 40px rgba(0,0,0,0.1);
        border-radius: 0 0 20px 20px;
        z-index: 1000;
        max-height: 80vh;
        overflow-y: auto;
    }
    .navbar-nav {
        flex-direction: column;
    }
    .navbar-nav .nav-link {
        padding: 15px 0 !important;
        border-bottom: 1px solid #f1f5f9;
        font-size: 0.95rem;
    }
    .navbar-nav .nav-link:last-child {
        border-bottom: none;
    }
    .navbar-nav .dropdown-menu {
        position: static !important;
        box-shadow: none;
        padding-left: 20px;
        background: #f8fafc;
        border-radius: 12px;
        margin: 10px 0;
        border: none;
    }
    .header-cta {
        margin: 20px 0 0;
        width: 100%;
    }
    .header-cta .btn-primary-custom {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
    }
    .navbar-toggler {
        border: none;
        padding: 8px;
        background: #f1f5f9;
        border-radius: 8px;
    }
}

@media (max-width: 767px) {
    .main-header {
        padding: 6px 0;
    }
    .navbar-brand {
        gap: 6px;
    }
    .navbar-brand img {
        height: 38px;
    }
    .logo-text .college-name {
        font-size: 1rem;
        line-height: 1.1;
    }
    .logo-text .tagline {
        font-size: 0.55rem;
        letter-spacing: 0.3px;
    }
    .navbar-collapse {
        padding: 15px;
        max-height: 70vh;
    }
    .navbar-nav .nav-link {
        padding: 12px 0 !important;
        font-size: 0.9rem;
    }
    .navbar-nav .dropdown-menu {
        padding-left: 15px;
        margin: 8px 0;
    }
    .header-cta .btn-primary-custom {
        padding: 10px 18px;
        font-size: 0.85rem;
    }
}

@media (max-width: 575px) {
    .main-header {
        padding: 5px 0;
    }
    .navbar-brand img {
        height: 35px;
    }
    .logo-text .college-name {
        font-size: 0.95rem;
    }
    .logo-text .tagline {
        font-size: 0.5rem;
    }
    .navbar-collapse {
        padding: 12px;
        max-height: 65vh;
    }
    .navbar-nav .nav-link {
        padding: 10px 0 !important;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .navbar-brand img {
        height: 32px;
    }
    .logo-text .college-name {
        font-size: 0.9rem;
    }
    .logo-text .tagline {
        font-size: 0.48rem;
    }
}

/* Container Responsive Padding */
@media (max-width: 767px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 575px) {
    .container {
        padding-left: 12px;
        padding-right: 12px;
    }
}

@media (max-width: 480px) {
    .container {
        padding-left: 10px;
        padding-right: 10px;
    }
}

/* Ensure all images are responsive */
img {
    max-width: 100%;
    height: auto;
}

/* Fix overflow issues */
body {
    overflow-x: hidden;
    width: 100%;
}

/* Ensure tables are responsive */
table {
    width: 100%;
    table-layout: auto;
}

@media (max-width: 767px) {
    table {
        font-size: 0.85rem;
    }
    table th,
    table td {
        padding: 8px 6px;
    }
}

/* Fix form elements on mobile */
@media (max-width: 767px) {
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="number"],
    input[type="date"],
    textarea,
    select {
        font-size: 16px !important; /* Prevents zoom on iOS */
    }
}

/* Fix dropdown menus on mobile */
@media (max-width: 991px) {
    .dropdown-menu {
        max-width: 100%;
        overflow-x: auto;
    }
}

/* Ensure all sections have proper spacing */
@media (max-width: 767px) {
    section {
        padding: 40px 0 !important;
    }
}

@media (max-width: 575px) {
    section {
        padding: 30px 0 !important;
    }
}

/* Fix card layouts */
@media (max-width: 767px) {
    .row.g-4,
    .row.g-3 {
        margin-left: -10px;
        margin-right: -10px;
    }
    .row.g-4 > *,
    .row.g-3 > * {
        padding-left: 10px;
        padding-right: 10px;
    }
}

/* Fix text overflow */
@media (max-width: 767px) {
    h1, h2, h3, h4, h5, h6 {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    p {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
}
