/* ===== RESET AND BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Ensure proper viewport handling */
html, body {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background-color: #ffffff;
    overflow-x: hidden;
    min-height: 100vh;
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Scale down all main content (excluding header) to ~80% */
.content-scale {
    zoom: 0.8; /* Chrome/Edge/Safari */
}
/* Firefox fallback */
@-moz-document url-prefix() {
    .content-scale {
        transform: scale(0.8);
        transform-origin: top center;
        width: 125%; /* 1 / 0.8 */
        margin-left: -12.5%; /* center after widening */
    }
}

/* Ensure hero slideshow visually fills the viewport after 0.8 scaling */
.content-scale .hero {
    height: 125vh;
    min-height: 125vh;
}

/* ===== LOADING SCREEN ===== */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    /* Fallback: hide after 5 seconds even if JS fails */
    animation: hideLoadingScreen 5s forwards;
}

@keyframes hideLoadingScreen {
    0%, 80% {
        opacity: 1;
        visibility: visible;
    }
    100% {
        opacity: 0;
        visibility: hidden;
    }
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-content {
    text-align: center;
    color: white;
}

.loading-logo {
    margin-bottom: 2rem;
    position: relative;
}

.logo-circle {
    width: 80px;
    height: 80px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

.college-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 50%;
    margin: 0 auto 1rem;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.loading-bar {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    margin: 0 auto 1rem;
    overflow: hidden;
}

.loading-progress {
    height: 100%;
    background: white;
    border-radius: 2px;
    animation: loading 2s ease-in-out infinite;
}

.loading-text {
    font-size: 0.9rem;
    opacity: 0.8;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes loading {
    0% { width: 0%; }
    50% { width: 70%; }
    100% { width: 100%; }
}

/* ===== CONTAINER ===== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
    width: 100%;
    box-sizing: border-box;
}

/* ===== LANDSCAPE LAYOUT OPTIMIZATIONS ===== */
@media (orientation: landscape) and (min-width: 1024px) {
    .container {
        max-width: 1600px;
        padding: 0;
    }
    
    .about-content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
        align-items: center;
    }
    
    .programs-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
    
    .campus-item {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
        align-items: center;
    }
    
    .contact-content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
        align-items: start;
    }
    
    .footer-content {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 3rem;
    }
    
    /* Additional landscape optimizations */
    .hero-title {
        font-size: 4.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.4rem;
    }
    
    .section-title {
        font-size: 3.5rem;
    }
    
    .section-subtitle {
        font-size: 1.4rem;
    }
    
    .nav-content {
        gap: 3rem;
    }
    
    .navigation {
        gap: 2.5rem;
    }
    
    .hero-stats {
        gap: 3rem;
    }
    
    .stat-number {
        font-size: 3rem;
    }
    
    .stat-label {
        font-size: 1rem;
    }
    
    .about-features {
        gap: 3rem;
    }
    
    .testimonials-container {
        gap: 3rem;
    }
    
    .testimonial-card {
        min-width: 400px;
    }
}

/* ===== MOBILE LANDSCAPE OPTIMIZATIONS ===== */
@media (orientation: landscape) and (max-width: 1023px) {
    .hero {
        min-height: 100vh;
        padding: 1rem 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.1;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .hero-stats {
        flex-direction: row;
        gap: 1.5rem;
        margin-top: 1.5rem;
        justify-content: center;
    }
    
    .stat-card {
        flex: none;
        min-width: auto;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
    }
    
    .programs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
    
    .about-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .campus-item {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .testimonials-container {
        gap: 1.5rem;
    }
    
    .testimonial-card {
        min-width: 300px;
    }
    
    /* Optimize header for mobile landscape */
    .contact-bar {
        background: rgba(0, 0, 0, 0.8) !important;
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.75rem;
        padding: 0.15rem 0;
        width: 100%;
    }
    
    .main-nav {
        padding: 0.75rem 0;
    }
    
    .logo-circle {
        width: 40px;
        height: 40px;
    }
    
    .primary-name {
        font-size: 0.9rem;
    }
    
    .secondary-name {
        font-size: 0.7rem;
    }
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(15px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    min-height: 60px;
    padding: 0 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.header.hidden {
    transform: translateY(-100%);
}

.header.hidden .navigation {
    display: none !important;
    opacity: 0;
}

.contact-bar {
    background: rgba(0, 0, 0, 0.8) !important;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    padding: 0.15rem 0;
    width: 100%;
}

.contact-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    width: 100%;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.contact-item i {
    width: 13px;
    height: 13px;
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: white;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.social-links a:hover {
    opacity: 1;
}

.main-nav {
    padding: 0.5rem 0;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 1rem;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: 1.5rem;
}

.logo-container {
    position: relative;
}

.logo-circle {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.logo-circle:hover {
    transform: scale(1.1);
}

.logo-container .college-logo {
    width: 52px;
    height: 52px;
    object-fit: contain;
    border-radius: 50%;
    transition: transform 0.3s ease;
    background: white;
    padding: 2px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin: 0;
}

.logo-container .college-logo:hover {
    transform: scale(1.1);
}

.academy-name {
    color: #1a1a1a;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.primary-name {
    font-weight: 700;
    font-size: 1.15rem;
    line-height: 1.1;
    color: #1a1a1a;
    text-shadow: 0 2px 4px rgba(255, 255, 255, 1), 0 1px 2px rgba(0, 0, 0, 0.3);
}

.secondary-name {
    font-size: 1rem;
    opacity: 0.9;
    margin-top: 0.15rem;
    color: #667eea;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(255, 255, 255, 1), 0 1px 2px rgba(0, 0, 0, 0.3);
}

.navigation {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.nav-link {
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 700;
    position: relative;
    transition: color 0.3s ease;
    font-size: 1rem;
    text-shadow: 0 2px 4px rgba(255, 255, 255, 1), 0 1px 2px rgba(0, 0, 0, 0.3);
    padding: 0.25rem 0.5rem;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: #667eea;
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-left: 1.5rem;
    margin-right: 0;
}

.search-btn, .mobile-menu-btn {
    background: rgba(255, 255, 255, 0.25);
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: #1a1a1a;
    cursor: pointer;
    padding: 0.3rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    width: 32px;
    height: 32px;
}

.search-btn:hover, .mobile-menu-btn:hover {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
}

.hamburger {
    width: 24px;
    height: 18px;
    position: relative;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: #1a1a1a;
    position: absolute;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(255, 255, 255, 1), 0 1px 2px rgba(0, 0, 0, 0.3);
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 8px; }
.hamburger span:nth-child(3) { top: 16px; }

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 8px;
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg);
    top: 8px;
}

.student-enrollment-btn, .enrollment-btn {
    background: linear-gradient(135deg, #facc15 0%, #eab308 100%);
    color: #1a1a1a;
    border: 2px solid rgba(255, 255, 255, 0.5);
    padding: 0.25rem 0.7rem;
    border-radius: 22px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-right: 0.5rem;
    box-shadow: 0 4px 20px rgba(250, 204, 21, 0.4), 0 2px 8px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    min-height: 28px;
    height: 28px;
}

.student-enrollment-btn:hover, .enrollment-btn:hover {
    background: linear-gradient(135deg, #eab308 0%, #ca8a04 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(250, 204, 21, 0.4);
}

.student-enrollment-btn i, .enrollment-btn i {
    width: 16px;
    height: 16px;
    font-size: 1rem;
}

.search-btn {
    background: rgba(255, 255, 255, 0.25);
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: #1a1a1a;
    cursor: pointer;
    padding: 0.15rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    width: 26px;
    height: 26px;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-btn:hover {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
}

/* ===== SEARCH OVERLAY ===== */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-container {
    width: 90%;
    max-width: 600px;
    background: white;
    border-radius: 20px;
    padding: 2rem;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.search-overlay.active .search-container {
    transform: translateY(0);
}

.search-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.close-search {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
    transition: color 0.3s ease;
}

.close-search:hover {
    color: #1a1a1a;
}

.search-input-container {
    position: relative;
    margin-bottom: 1.5rem;
}

.search-input-container i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
}

#searchInput {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: 2px solid #eee;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

#searchInput:focus {
    outline: none;
    border-color: #667eea;
}

.suggestion-category h4 {
    margin-bottom: 1rem;
    color: #666;
}

.suggestion-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background: #f5f5f5;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tag:hover {
    background: #667eea;
    color: white;
}

/* ===== ADMISSION TAB ===== */
.admission-tab {
    position: fixed;
    right: -80px;
    top: 50%;
    transform: translateY(-50%) rotate(90deg);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0 0 10px 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.admission-tab:hover {
    right: -50px;
    transform: translateY(-50%) rotate(90deg) scale(1.05);
}

/* ===== HERO SECTION ===== */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
    min-height: 100vh;
}

/* Slideshow background for hero section */
.slideshow-background {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background-size: cover;
  background-position: center;
  transition: background-image 1s ease-in-out;
}
.hero {
  position: relative;
  overflow: hidden;
}
.hero > *:not(.slideshow-background) {
  position: relative;
  z-index: 1;
}

/* HERO SECTION CUSTOM BACKGROUND */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 600px;
    z-index: 1;
    background: url('images/1.png') center center/cover no-repeat;
    /* fallback color if image fails */
    background-color: #e0e7ff;
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, rgba(102,126,234,0.45) 0%, rgba(250,204,21,0.25) 100%);
    z-index: 2;
}
.hero-content {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    height: 100%;
    width: 100%;
    text-align: left;
    padding-right: 0;
    padding-left: 6vw;
}
.hero-text {
    background: none;
    box-shadow: none;
    border-radius: 0;
    padding: 2.5rem 0 2rem 0;
    margin-left: 0;
    margin-right: auto;
    text-align: left;
    color: inherit;
}
@media (max-width: 900px) {
  .hero-content {
    align-items: flex-start;
    text-align: left;
    padding-left: 2vw;
    padding-right: 0;
  }
  .hero-text {
    margin-left: 0;
    margin-right: auto;
    text-align: left;
    padding: 1.5rem 0;
    color: inherit;
  }
}
.hero-title, .hero-subtitle, .hero-actions, .hero-text .highlight {
    color: inherit !important;
    text-shadow: none;
    text-align: left;
}
.hero-title .highlight {
    color: inherit !important;
    background: none !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: initial !important;
    background-clip: initial !important;
    text-align: left;
}

/* ===== LANDSCAPE ORIENTATION OPTIMIZATION ===== */
@media (orientation: landscape) {
    .hero {
        height: 100vh;
        min-height: 100vh;
    }
    
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        max-width: 1400px;
        margin: 0 auto;
        padding: 0 2rem;
    }
    
    .hero-text {
        max-width: 600px;
        margin-bottom: 3rem;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-stats {
        justify-content: center;
        margin-left: auto;
        margin-right: auto;
    }
}

/* .hero-slideshow, .hero-slide, .hero-slide.active { display: none !important; } */
.hero-slideshow { display: none !important; }
.hero-slide { display: none !important; }
.hero-slide.active { display: none !important; }

.hero-video-container {
    width: 100%;
    height: 100%;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.title-line {
    display: block;
    text-align: center;
    font-size: 1.1rem !important;
    margin: 0.2rem 0 !important;
    line-height: 1.1 !important;
    font-weight: 600;
}

.title-line:nth-child(2) {
    animation-delay: 0.2s;
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease 0.4s forwards;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease 0.6s forwards;
}

.primary-btn, .secondary-btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.primary-btn {
    background: linear-gradient(135deg, #facc15 0%, #fbbf24 100%);
    color: #1a1a1a;
    border: none;
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(250, 204, 21, 0.4);
}

.secondary-btn {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.secondary-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.secondary-btn:hover {
    background: rgba(255, 255, 255, 0.95);
    color: #1a1a1a;
    border-color: white;
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

.secondary-btn:hover::before {
    left: 100%;
}

/* Enhanced Virtual Tour Button */
#virtualTourBtn {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.9), rgba(118, 75, 162, 0.9));
    border: 2px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    animation: virtualTourPulse 2s infinite, virtualTourFloat 3s ease-in-out infinite;
    position: relative;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    font-weight: 700;
    letter-spacing: 0.5px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transform-style: preserve-3d;
    perspective: 1000px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

#virtualTourBtn::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: left 0.6s ease;
    z-index: 1;
}

#virtualTourBtn:hover::before {
    left: 100%;
}

#virtualTourBtn span {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

#virtualTourBtn i {
    transition: transform 0.3s ease;
}

#virtualTourBtn:hover i {
    transform: scale(1.2) rotate(10deg);
}

#virtualTourBtn::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #667eea, #764ba2, #facc15, #667eea);
    border-radius: 50px;
    z-index: -1;
    animation: borderRotate 3s linear infinite;
    opacity: 0.7;
}

#virtualTourBtn:hover {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-color: white;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.6);
    transform: translateY(-3px);
    animation: none;
}

#virtualTourBtn:hover::after {
    opacity: 1;
}

@keyframes virtualTourPulse {
    0%, 100% {
        box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    }
    50% {
        box-shadow: 0 6px 25px rgba(102, 126, 234, 0.7);
    }
}

@keyframes virtualTourFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-5px);
    }
}

@keyframes borderRotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes modalSlideIn {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(50px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes modalFadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes tourImageZoom {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
    justify-content: center;
    flex-wrap: wrap;
}

.stat-card {
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease 0.8s forwards;
}

.stat-card:nth-child(2) {
    animation-delay: 1s;
}

.stat-card:nth-child(3) {
    animation-delay: 1.2s;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    text-align: center;
    opacity: 0;
    animation: fadeIn 1s ease 1.5s forwards;
}

.scroll-arrow {
    width: 2px;
    height: 30px;
    background: white;
    margin: 0 auto 0.5rem;
    position: relative;
    animation: scrollBounce 2s infinite;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -3px;
    width: 8px;
    height: 8px;
    border-right: 2px solid white;
    border-bottom: 2px solid white;
    transform: rotate(45deg);
}

@keyframes scrollBounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* ===== SECTIONS ===== */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.25rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== ABOUT SECTION ===== */
.about-section {
    background: #f8fafc;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.about-highlight {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.highlight-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.highlight-text h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.highlight-text p {
    color: #666;
    line-height: 1.6;
}

.about-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 2rem;
}

.about-features {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.feature-item i {
    color: #667eea;
}

.learn-more-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.learn-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.about-visual {
    position: relative;
}

.image-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 1rem;
    height: 400px;
}

.image-item {
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease;
}

.image-item:hover {
    transform: scale(1.05);
}

.image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main-image {
    grid-row: 1 / 3;
}

/* ===== PROGRAMS SECTION ===== */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.program-card {
    background: white;
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.program-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.program-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: 1.5rem;
}

.program-card h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.program-card p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.program-features {
    list-style: none;
    margin-bottom: 2rem;
}

.program-features li {
    padding: 0.5rem 0;
    color: #444;
    position: relative;
    padding-left: 1.5rem;
    font-size: 1rem;
}

.program-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
}

.program-btn {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.program-btn:hover {
    background: #667eea;
    color: white;
}

/* ===== CAMPUS SECTION ===== */
.campus-section {
    background: #f8fafc;
}

.campus-showcase {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.campus-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto 4rem auto;
}

.campus-item.reverse {
    direction: rtl;
}

.campus-item.reverse .campus-content {
    direction: ltr;
    padding-left: 60px;
}

.campus-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.campus-image:hover {
    transform: scale(1.02);
}

.campus-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.campus-content h3 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.campus-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
}

/* ===== ADMISSIONS SECTION ===== */
.admissions-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.admissions-content {
    max-width: 1200px;
    margin: 0 auto;
}

.admissions-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.admission-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.admission-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.admission-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.admission-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: 1.5rem;
}

.admission-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.admission-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.admission-features {
    list-style: none;
    margin: 0;
    padding: 0;
}

.admission-features li {
    padding: 0.5rem 0;
    color: #444;
    position: relative;
    padding-left: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.admission-features li i {
    color: #667eea;
    flex-shrink: 0;
}

.admissions-actions {
    text-align: center;
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.action-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.action-buttons .primary-btn,
.action-buttons .secondary-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.action-buttons .primary-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
}

.action-buttons .primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    color: white;
}

.action-buttons .secondary-btn {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
}

.action-buttons .secondary-btn:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.admission-note {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-section {
    background: white;
}

.testimonials-carousel {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.testimonials-container {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 1rem 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.testimonials-container::-webkit-scrollbar {
    display: none;
}

.testimonial-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    min-width: 350px;
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.quote-icon {
    color: #667eea;
    margin-bottom: 1rem;
}

.testimonial-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #444;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.25rem;
}

.author-info span {
    font-size: 0.9rem;
    color: #666;
}

.rating {
    display: flex;
    gap: 0.25rem;
}

.star {
    color: #ddd;
    width: 16px;
    height: 16px;
}

.star.filled {
    color: #facc15;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.carousel-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #667eea;
    background: white;
    color: #667eea;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: #667eea;
    color: white;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
}

.contact-info h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.contact-info p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-item i {
    width: 20px;
    height: 20px;
    margin-top: 0.25rem;
    opacity: 0.8;
}

.contact-item h4 {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-item p {
    opacity: 0.8;
    line-height: 1.6;
}

.contact-form {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    color: #1a1a1a;
}

.contact-form h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #eee;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
}

.submit-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    justify-content: center;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

/* ===== FOOTER ===== */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 3rem 0 1rem;
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.footer-logo {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-college-logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: 50%;
    background: white;
    padding: 2px;
}

.footer-brand h4 {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    font-size: 0.9rem;
    opacity: 0.7;
}

.footer-description {
    line-height: 1.6;
    margin-bottom: 1.5rem;
    opacity: 0.8;
    margin-top: 1rem;
}

.footer-section h4 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
    font-size: 1.1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.footer-section a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-section a:hover {
    opacity: 1;
    color: #facc15;
    transition: color 0.3s ease;
}

.footer-section .contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-section .contact-info p {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.footer-section .contact-info i {
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.footer-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.footer-links {
    display: flex;
    gap: 1rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    padding: 0.25rem 0;
}

.footer-links a:hover {
    opacity: 1;
}

/* ===== SCROLL TO TOP ===== */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
}

/* ===== RESPONSIVE DESIGN ===== */

/* ===== TABLET AND MOBILE OPTIMIZATION ===== */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
        max-width: 100%;
    }
    
    /* Header optimizations */
    .contact-bar {
        display: none;
    }
    
    .contact-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .nav-content {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .navigation {
        display: none !important;
        flex-direction: column;
        width: 100%;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        padding: 1rem;
        border-radius: 8px;
        margin-top: 1rem;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        opacity: 0;
        transform: translateY(-10px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }
    
    .navigation.show {
        display: flex !important;
        opacity: 1;
        transform: translateY(0);
    }
    
    .nav-link {
        padding: 0.75rem 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        text-align: center;
    }
    
    .nav-link:last-child {
        border-bottom: none;
    }
    
    /* Hero section mobile optimization */
    .hero {
        height: 100vh;
        min-height: 600px;
        padding: 2rem 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 1.5rem;
    }
    
    .hero-stats {
        flex-direction: row;
        gap: 1rem;
        justify-content: space-around;
        margin-top: 2rem;
    }
    
    .stat-card {
        flex: 1;
        text-align: center;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
        margin-top: 2rem;
    }
    
    .primary-btn, .secondary-btn {
        width: 100%;
        justify-content: center;
        padding: 1rem;
    }
    
    /* Enhanced Virtual Tour Button for Mobile */
    #virtualTourBtn {
        background: linear-gradient(135deg, #667eea, #764ba2);
        border: 2px solid white;
        box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
        font-size: 1.1rem;
        padding: 1.2rem 2rem;
    }
    
    #virtualTourBtn::after {
        display: none; /* Disable rotating border on mobile for better performance */
    }
    
    #virtualTourBtn:hover {
        background: linear-gradient(135deg, #5a67d8, #6b46c1);
        transform: translateY(-2px);
    }
    
    /* Section spacing */
    section {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .section-subtitle {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    /* About section mobile */
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .image-grid {
        height: 300px;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1fr;
    }
    
    /* Programs grid mobile */
    .programs-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    /* Campus section mobile */
    .campus-item {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 3rem;
    }
    
    .campus-item.reverse {
        direction: ltr;
    }
    
    /* Admissions section mobile */
    .admissions-info {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .admission-card {
        padding: 1.5rem;
    }
    
    .admissions-actions {
        padding: 2rem 1.5rem;
    }
    
    .action-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .action-buttons .primary-btn,
    .action-buttons .secondary-btn {
        width: 100%;
        justify-content: center;
    }
    
    /* Testimonials mobile */
    .testimonials-container {
        gap: 1rem;
    }
    
    .testimonial-card {
        min-width: 280px;
        padding: 1.5rem;
    }
    
    /* Contact section mobile */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    /* Footer mobile */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-section {
        text-align: center;
        align-items: center;
    }
    
    .footer-logo {
        justify-content: center;
        flex-direction: column;
        text-align: center;
    }
    
    .footer-section .contact-info p {
        justify-content: center;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .social-links {
        justify-content: center;
        margin-top: 0.5rem;
    }
}

/* ===== SMALL MOBILE SCREENS ===== */
@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }
    
    /* Header adjustments for small screens */
    .contact-bar {
        padding: 0.25rem 0;
        font-size: 0.8rem;
    }
    
    .contact-info {
        gap: 0.25rem;
    }
    
    .contact-item {
        font-size: 0.8rem;
    }
    
    .social-links {
        gap: 0.5rem;
    }
    
    .logo-section {
        flex-direction: row;
        text-align: left;
        gap: 0.75rem;
        align-items: center;
    }
    
    .logo-circle {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .logo-container .college-logo {
        width: 40px;
        height: 40px;
    }
    
    .academy-name {
        text-align: left;
        margin-left: 0.5rem;
    }
    
    .primary-name {
        font-size: 1rem;
        line-height: 1.1;
        font-weight: 600;
    }
    
    .secondary-name {
        font-size: 0.7rem;
        margin-top: 0.1rem;
        opacity: 0.9;
    }
    
    .nav-content {
        gap: 0.75rem;
    }
    
    .enrollment-btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
    }
    
    .enrollment-btn span {
        display: none;
    }
    
    /* Hero section for small screens */
    .hero {
        min-height: 500px;
        padding: 1.5rem 0;
    }
    
    .hero-title {
        font-size: 1.75rem;
        line-height: 1.1;
        margin-bottom: 0.75rem;
    }
    
    .hero-subtitle {
        font-size: 0.85rem;
        line-height: 1.4;
        margin-bottom: 1.25rem;
    }
    
    .hero-actions {
        gap: 0.75rem;
        margin-top: 1.5rem;
    }
    
    .primary-btn, .secondary-btn {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .hero-stats {
        gap: 0.5rem;
        margin-top: 1.5rem;
        flex-wrap: wrap;
    }
    
    .stat-card {
        padding: 0.75rem;
        min-width: 80px;
    }
    
    .stat-number {
        font-size: 1.25rem;
    }
    
    .stat-label {
        font-size: 0.7rem;
    }
    
    /* Section adjustments */
    section {
        padding: 2.5rem 0;
    }
    
    .section-title {
        font-size: 1.75rem;
        line-height: 1.2;
        margin-bottom: 0.75rem;
    }
    
    .section-subtitle {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    /* About section small screens */
    .about-features {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .about-highlight {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .highlight-icon {
        width: 40px;
        height: 40px;
    }
    
    .highlight-text h3 {
        font-size: 1rem;
    }
    
    .highlight-text p {
        font-size: 0.85rem;
    }
    
    .image-grid {
        height: 250px;
        grid-template-columns: 1fr;
        grid-template-rows: 2fr 1fr 1fr;
    }
    
    /* Programs section small screens */
    .program-card {
        padding: 1rem;
    }
    
    .program-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 1rem;
    }
    
    .program-card h3 {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }
    
    .program-card p {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    /* Campus section small screens */
    .campus-item {
        gap: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .campus-content h3 {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }
    
    .campus-content p {
        font-size: 0.9rem;
    }
    
    .campus-image img {
        height: 200px;
    }
    
    /* Testimonials small screens */
    .testimonial-card {
        min-width: 250px;
        padding: 1.25rem;
    }
    
    .testimonial-content p {
        font-size: 0.9rem;
    }
    
    .testimonial-author img {
        width: 40px;
        height: 40px;
    }
    
    .author-info h4 {
        font-size: 0.9rem;
    }
    
    .author-info span {
        font-size: 0.8rem;
    }
    
    /* Contact section small screens */
    .contact-form {
        padding: 1.25rem;
    }
    
    .contact-form h3 {
        font-size: 1.25rem;
        margin-bottom: 1.25rem;
    }
    
    .form-group {
        margin-bottom: 1.25rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
    
    .contact-info h2 {
        font-size: 2rem;
    }
    
    .contact-info p {
        font-size: 0.9rem;
    }
    
    .contact-item h4 {
        font-size: 0.9rem;
    }
    
    .contact-item p {
        font-size: 0.85rem;
    }
    
    /* Footer small screens */
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .footer-section h4 {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }
    
    .footer-section ul li {
        margin-bottom: 0.25rem;
    }
    
    .footer-section a {
        font-size: 0.85rem;
    }
    
    .footer-description {
        font-size: 0.85rem;
    }
}



/* ===== EXTRA SMALL SCREENS ===== */
@media (max-width: 360px) {
    .container {
        padding: 0 0.5rem;
    }
    
    /* Header ultra-compact */
    .contact-bar {
        display: none; /* Hide contact bar on very small screens */
    }
    
    .logo-section {
        gap: 0.5rem;
    }
    
    .logo-circle {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .logo-container .college-logo {
        width: 35px;
        height: 35px;
    }
    
    .primary-name {
        font-size: 0.85rem;
        line-height: 1;
        font-weight: 600;
    }
    
    .secondary-name {
        font-size: 0.65rem;
        margin-top: 0;
        opacity: 0.9;
    }
    
    .nav-actions {
        gap: 0.25rem;
    }
    
    .enrollment-btn {
        padding: 0.4rem 0.6rem;
        font-size: 0.75rem;
        min-width: auto;
    }
    
    .search-btn, .mobile-menu-btn {
        padding: 0.4rem;
    }
    
    /* Hero ultra-compact */
    .hero {
        min-height: 450px;
        padding: 1rem 0;
    }
    
    .hero-title {
        font-size: 1.5rem;
        line-height: 1;
        margin-bottom: 0.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.8rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }
    
    .hero-actions {
        gap: 0.5rem;
        margin-top: 1rem;
    }
    
    .primary-btn, .secondary-btn {
        padding: 0.6rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .hero-stats {
        gap: 0.25rem;
        margin-top: 1rem;
    }
    
    .stat-card {
        padding: 0.5rem;
        min-width: 70px;
    }
    
    .stat-number {
        font-size: 1rem;
    }
    
    .stat-label {
        font-size: 0.65rem;
    }
    
    /* Sections ultra-compact */
    section {
        padding: 2rem 0;
    }
    
    .section-title {
        font-size: 1.4rem;
        line-height: 1.1;
        margin-bottom: 0.5rem;
    }
    
    .section-subtitle {
        font-size: 0.8rem;
        line-height: 1.3;
    }
    
    /* About section ultra-compact */
    .about-highlight {
        padding: 0.75rem;
        margin-bottom: 1rem;
    }
    
    .highlight-icon {
        width: 35px;
        height: 35px;
    }
    
    .highlight-text h3 {
        font-size: 0.9rem;
        margin-bottom: 0.25rem;
    }
    
    .highlight-text p {
        font-size: 0.8rem;
    }
    
    .image-grid {
        height: 200px;
        gap: 0.5rem;
    }
    
    /* Programs ultra-compact */
    .program-card {
        padding: 0.875rem;
    }
    
    .program-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 0.75rem;
    }
    
    .program-card h3 {
        font-size: 1.3rem;
        margin-bottom: 0.5rem;
    }
    
    .program-card p {
        font-size: 0.95rem;
        margin-bottom: 0.75rem;
    }
    
    .program-features li {
        padding: 0.25rem 0;
        font-size: 0.8rem;
    }
    
    /* Campus ultra-compact */
    .campus-item {
        gap: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .campus-content h3 {
        font-size: 1.3rem;
        margin-bottom: 0.5rem;
    }
    
    .campus-content p {
        font-size: 0.85rem;
    }
    
    .campus-image img {
        height: 180px;
    }
    
    /* Testimonials ultra-compact */
    .testimonial-card {
        min-width: 220px;
        padding: 1rem;
    }
    
    .testimonial-content p {
        font-size: 0.85rem;
    }
    
    .testimonial-author img {
        width: 35px;
        height: 35px;
    }
    
    .author-info h4 {
        font-size: 0.85rem;
    }
    
    .author-info span {
        font-size: 0.75rem;
    }
    
    /* Contact ultra-compact */
    .contact-form {
        padding: 1rem;
    }
    
    .contact-form h3 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .form-group {
        margin-bottom: 1rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.6rem;
        font-size: 0.85rem;
    }
    
    .contact-info h2 {
        font-size: 1.75rem;
    }
    
    .contact-info p {
        font-size: 0.85rem;
    }
    
    .contact-item {
        gap: 0.5rem;
    }
    
    .contact-item h4 {
        font-size: 0.85rem;
        margin-bottom: 0.25rem;
    }
    
    .contact-item p {
        font-size: 0.8rem;
    }
    
    /* Footer ultra-compact */
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-section h4 {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    .footer-section a,
    .footer-description {
        font-size: 0.8rem;
    }
    
    .footer-logo {
        gap: 0.5rem;
    }
    
    /* Search overlay ultra-compact */
    .search-container {
        padding: 1rem;
        margin: 1rem;
    }
    
    .search-input-container input {
        padding: 0.75rem 0.75rem 0.75rem 2.5rem;
        font-size: 0.9rem;
    }
    
    /* Carousel controls */
    .carousel-btn {
        width: 40px;
        height: 40px;
    }
    
    /* Scroll to top button */
    .scroll-to-top {
        width: 45px;
        height: 45px;
        bottom: 1rem;
        right: 1rem;
    }
}

/* ===== MEDIUM MOBILE SCREENS ===== */
@media (max-width: 420px) and (min-width: 361px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    .hero-title {
        font-size: 1.6rem;
    }
    
    .hero-subtitle {
        font-size: 0.85rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
    }
    
    .stat-number {
        font-size: 1.1rem;
    }
    
    .stat-label {
        font-size: 0.7rem;
    }
    
    .enrollment-btn {
        padding: 0.45rem 0.7rem;
        font-size: 0.8rem;
    }
    
    .primary-btn, .secondary-btn {
        padding: 0.7rem 0.9rem;
        font-size: 0.85rem;
    }
    
    .testimonial-card {
        min-width: 240px;
        padding: 1.1rem;
    }
    
    .program-card {
        padding: 1.1rem;
    }
    
    .contact-form {
        padding: 1.1rem;
    }
    
    .hero-stats {
        gap: 0.4rem;
    }
    
    .stat-card {
        padding: 0.6rem;
        min-width: 75px;
    }
}

/* ===== ADDITIONAL RESPONSIVE BREAKPOINTS ===== */
@media (max-width: 1024px) {
    .container {
        max-width: 100%;
        padding: 0 2rem;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .programs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.75rem;
    }
    
    .campus-item {
        gap: 3rem;
    }
    
    .facilities-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px) {
    .container {
        padding: 0 1.25rem;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .programs-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .nav-actions {
        gap: 0.75rem;
    }
    
    .enrollment-btn {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
    
    .enrollment-btn span {
        display: none;
    }
    
    .enrollment-btn i {
        margin-left: 0;
    }
}

/* ===== UTILITY CLASSES ===== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.hidden { display: none; }
.visible { display: block; }

/* ===== PRINT STYLES ===== */
@media print {
    .header,
    .admission-tab,
    .scroll-to-top,
    .carousel-btn,
    .loading-screen {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .hero {
        height: auto;
        padding: 2rem 0;
    }
    
    .hero-background {
        display: none;
    }
    
    .hero-content {
        color: black;
    }
}

/* ===== WAVE DIVIDERS ===== */
.wave-divider {
  width: 100%;
  line-height: 0;
  position: relative;
  z-index: 2;
  margin-top: -2px;
}
.wave-divider svg {
  display: block;
  width: 100%;
  height: 60px;
}
.wave-divider-flip svg {
  transform: scaleY(-1);
}

/* ===== FLOATING SHAPES ===== */
.floating-shape {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  animation: floatShape 6s ease-in-out infinite alternate;
}
.floating-shape-1 { top: 10%; left: 5%; animation-delay: 0s; }
.floating-shape-2 { top: 60%; left: 80%; animation-delay: 2s; }
.floating-shape-3 { top: 30%; right: 10%; animation-delay: 1s; }
@keyframes floatShape {
  0% { transform: translateY(0) scale(1); }
  100% { transform: translateY(-30px) scale(1.08); }
}

/* ===== BUTTON PULSE/RIPPLE ===== */
.button-pulse {
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.3s, background 0.3s, color 0.3s, transform 0.2s;
}
.button-pulse:active {
  transform: scale(0.97);
}
.button-pulse::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  background: rgba(102,126,234,0.15);
  border-radius: 100%;
  transform: translate(-50%, -50%);
  opacity: 0;
  pointer-events: none;
  transition: width 0.4s, height 0.4s, opacity 0.4s;
}
.button-pulse:active::after {
  width: 120px;
  height: 120px;
  opacity: 1;
  transition: 0s;
}
.button-pulse:hover {
  box-shadow: 0 0 0 8px rgba(102,126,234,0.10);
  animation: pulse 0.6s;
}
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

/* ===== ADVANCED CARD & IMAGE ANIMATIONS ===== */
.program-card, .testimonial-card, .alumni-card, .campus-item, .about-highlight {
  transition: box-shadow 0.4s, transform 0.4s, background 0.4s, filter 0.4s;
}
.program-card:hover, .testimonial-card:hover, .alumni-card:hover, .campus-item:hover, .about-highlight:hover {
  box-shadow: 0 16px 40px rgba(102,126,234,0.18), 0 2px 8px rgba(0,0,0,0.08);
  transform: translateY(-8px) scale(1.03) rotate(-1deg);
  filter: brightness(1.04) saturate(1.1);
}
.image-item img, .campus-image img {
  transition: transform 0.7s cubic-bezier(.23,1.02,.32,1), filter 0.5s;
}
.image-item:hover img, .campus-image:hover img {
  transform: scale(1.08) rotate(1deg);
  filter: brightness(1.08) saturate(1.2);
}

/* ===== GLASSMORPHISM EFFECTS ===== */
.program-card, .about-highlight, .contact-form, .testimonial-card {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px) saturate(1.2);
  border: 1.5px solid rgba(102,126,234,0.08);
}

/* ===== SECTION BACKGROUND ANIMATIONS ===== */
.hero, .about-section, .programs-section, .campus-section, .testimonials-section, .contact-section {
  transition: background 1.2s cubic-bezier(.23,1.02,.32,1);
}
.hero {
  background: linear-gradient(120deg, #667eea 0%, #facc15 100%);
  background-size: 200% 200%;
  animation: bgMove 12s ease-in-out infinite alternate;
}
@keyframes bgMove {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

/* ===== NAVIGATION UNDERLINE ANIMATION ===== */
.nav-link::after {
  background: linear-gradient(135deg, #facc15 0%, #764ba2 100%);
  height: 3px;
  border-radius: 2px;
}

/* ===== SCROLL PROGRESS BAR ===== */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #667eea 0%, #facc15 100%);
  z-index: 9999;
  width: 0;
  transition: width 0.2s;
}

/* ===== PAGE-SPECIFIC STYLES ===== */

/* Breadcrumb */
.breadcrumb-section {
  padding: 6rem 0 2rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: white;
  font-size: 0.9rem;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb a:hover {
  color: white;
}

.breadcrumb i {
  width: 16px;
  height: 16px;
  opacity: 0.6;
}

.breadcrumb span {
  color: white;
  font-weight: 500;
}

/* Page Header */
.page-header {
  padding: 4rem 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  text-align: center;
}

.page-header-content {
  max-width: 800px;
  margin: 0 auto;
}

.header-icon {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  backdrop-filter: blur(10px);
}

.header-icon i {
  width: 40px;
  height: 40px;
  color: white;
}

.page-title {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.page-subtitle {
  font-size: 1.25rem;
  opacity: 0.9;
  line-height: 1.6;
}

/* Program Overview */
.program-overview {
  padding: 5rem 0;
  background: #f8fafc;
}

.overview-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.overview-text h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #1a1a1a;
}

.lead {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #444;
  margin-bottom: 2rem;
}

.highlight-points {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.point {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.point-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.point-content h4 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #1a1a1a;
}

.point-content p {
  color: #666;
  line-height: 1.6;
}

.overview-image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.overview-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

/* Curriculum Section */
.curriculum-section {
  padding: 5rem 0;
  background: white;
}

.curriculum-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.curriculum-card {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border-top: 4px solid #667eea;
}

.curriculum-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.card-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin-bottom: 1.5rem;
}

.curriculum-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #1a1a1a;
}

.curriculum-card ul {
  list-style: none;
  padding: 0;
}

.curriculum-card li {
  padding: 0.5rem 0;
  color: #666;
  position: relative;
  padding-left: 1.5rem;
}

.curriculum-card li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #667eea;
  font-weight: bold;
}

/* Learning Approach / Board Prep */
.learning-approach, .board-prep-section {
  padding: 5rem 0;
  background: #f8fafc;
}

.approach-content, .board-prep-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.approach-text h2, .prep-info h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #1a1a1a;
}

.approach-features, .prep-features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.feature {
  background: white;
  padding: 1.5rem;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.feature h4 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #1a1a1a;
}

.feature p {
  color: #666;
  line-height: 1.6;
}

.approach-stats, .results-showcase {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.approach-stats h3, .results-showcase h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 2rem;
  text-align: center;
  color: #1a1a1a;
}

.stat-item, .result-stat {
  text-align: center;
  margin-bottom: 1.5rem;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: #667eea;
  display: block;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: #666;
  font-weight: 500;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

/* Prep Features */
.prep-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin: 3rem 0;
}

.prep-feature {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.prep-feature .feature-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin: 0 auto 1rem;
}

.prep-feature h4 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #1a1a1a;
}

.prep-feature p {
  color: #666;
  line-height: 1.6;
}

.success-stats {
  margin-top: 3rem;
  text-align: center;
}

.success-stats h3 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 2rem;
  color: #1a1a1a;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

/* Streams Section */
.streams-section {
  padding: 5rem 0;
  background: white;
}

.streams-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  justify-items: center;
  max-width: 500px;
  margin: 0 auto;
}

.stream-card {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.stream-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
}

.stream-card.science::before {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.stream-card.commerce::before {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.stream-card.arts::before {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.stream-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.stream-header {
  text-align: center;
  margin-bottom: 2rem;
}

.stream-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin: 0 auto 1rem;
}

.stream-card.science .stream-icon {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.stream-card.commerce .stream-icon {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.stream-card.arts .stream-icon {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.stream-header h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #1a1a1a;
}

.stream-header p {
  color: #666;
  font-size: 0.9rem;
}

.stream-subjects, .career-paths, .entrance-exams {
  margin-bottom: 1.5rem;
}

.stream-subjects h4, .career-paths h4, .entrance-exams h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #1a1a1a;
}

.stream-subjects ul {
  list-style: none;
  padding: 0;
}

.stream-subjects li {
  padding: 0.25rem 0;
  color: #666;
  position: relative;
  padding-left: 1rem;
}

.stream-subjects li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #667eea;
  font-weight: bold;
}

.career-tags, .exam-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.career-tags span, .exam-tags span {
  background: #f1f5f9;
  color: #475569;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* Exam Prep Section */
.exam-prep-section {
  padding: 5rem 0;
  background: #f8fafc;
}

.prep-header {
  text-align: center;
  margin-bottom: 3rem;
}

.prep-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #1a1a1a;
}

/* Facilities Section */
.facilities-section {
  padding: 5rem 0;
  background: #f8f9fa;
}

.facilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.facility-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.10);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.facility-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.facility-image {
  width: 100%;
  height: 280px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e9ecef;
}

.facility-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.facility-card:hover .facility-image img {
  transform: scale(1.05);
}

.facility-content {
  padding: 1.5rem;
  text-align: center;
}

.facility-content h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: #1a1a1a;
}
.facility-content h4 {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
  color: #495057;
}
.facility-content p {
  color: #666;
  line-height: 1.6;
  font-size: 0.97rem;
}

@media (max-width: 1200px) {
  .facilities-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 900px) {
  .facilities-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .facilities-grid {
    grid-template-columns: 1fr;
  }
  .facility-image {
    height: 200px;
  }
}

/* CTA Section */
.cta-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  text-align: center;
}

.cta-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Responsive Design for New Pages */
@media (max-width: 768px) {
  .breadcrumb-section {
    padding: 5rem 0 1rem;
  }
  
  .page-header {
    padding: 3rem 0;
  }
  
  .page-title {
    font-size: 2.5rem;
  }
  
  .page-subtitle {
    font-size: 1rem;
  }
  
  .header-icon {
    width: 60px;
    height: 60px;
  }
  
  .header-icon i {
    width: 30px;
    height: 30px;
  }
  
  .overview-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .approach-content, .board-prep-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .overview-text h2, .prep-info h2 {
    font-size: 2rem;
  }
  
  .curriculum-grid {
    grid-template-columns: 1fr;
  }
  
  .streams-grid {
    grid-template-columns: 1fr;
  }
  
  .prep-features-grid {
    grid-template-columns: 1fr;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .results-grid {
    grid-template-columns: 1fr;
  }
  
  .facilities-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .cta-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .breadcrumb {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .page-title {
    font-size: 2rem;
  }
  
  .page-subtitle {
    font-size: 0.9rem;
  }
  
  .overview-text h2 {
    font-size: 1.75rem;
  }
  
  .lead {
    font-size: 1rem;
  }
  
  .highlight-points {
    gap: 1rem;
  }
  
  .point {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }
  
  .curriculum-card, .stream-card, .facility-card {
    padding: 1.5rem;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .stat-number {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
    .logo-container .college-logo {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 360px) {
    .logo-container .college-logo {
        width: 35px;
        height: 35px;
    }
}

.hero-title, .hero-subtitle, .hero-actions, .hero-text .highlight {
    color: #f3f4f6 !important;
    text-shadow: 0 2px 8px rgba(0,0,0,0.18);
}
.hero-title .highlight {
    color: #ffe066 !important;
    background: none !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: initial !important;
    background-clip: initial !important;
}

/* Leadership Section Styles */
.leadership-section {
  padding: 5rem 0;
  background: #f8f9fa;
}

.leadership-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
}

.leadership-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.10);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.leadership-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.leadership-image {
  width: 100%;
  height: 350px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e9ecef;
}

.leadership-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.leadership-card:hover .leadership-image img {
  transform: scale(1.05);
}

.leadership-content {
  padding: 1.5rem;
  text-align: center;
}

.leadership-content h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: #1a1a1a;
}
.leadership-content h4 {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
  color: #495057;
}
.leadership-content p {
  color: #666;
  line-height: 1.6;
  font-size: 0.97rem;
}

@media (max-width: 1200px) {
  .leadership-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 900px) {
  .leadership-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .leadership-grid {
    grid-template-columns: 1fr;
  }
  .leadership-image {
    height: 160px;
  }
}

/* Faculty Section Styles */
.faculty-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.faculty-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.faculty-department {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.faculty-department:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.faculty-department h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.8rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #e2e8f0;
}

.faculty-department h3 i {
    color: #3b82f6;
    width: 24px;
    height: 24px;
}

.faculty-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faculty-member {
    padding: 0.75rem 1rem;
    background: #f8fafc;
    border-radius: 8px;
    font-size: 1.3rem;
    color: #475569;
    border-left: 3px solid #3b82f6;
    transition: all 0.2s ease;
}

.faculty-member:hover {
    background: #e0f2fe;
    color: #0c4a6e;
    transform: translateX(5px);
}

.support-staff-section {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.support-staff-section h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 2rem;
    text-align: center;
}

.staff-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.staff-category {
    text-align: center;
}

.staff-category h4 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1.4rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 1rem;
}

.staff-category h4 i {
    color: #10b981;
    width: 20px;
    height: 20px;
}

.staff-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.staff-member {
    padding: 0.5rem 1rem;
    background: #f3f4f6;
    border-radius: 6px;
    font-size: 1rem;
    color: #6b7280;
    transition: all 0.2s ease;
}

.staff-member:hover {
    background: #d1fae5;
    color: #065f46;
}

@media (max-width: 768px) {
    .faculty-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .faculty-department {
        padding: 1.5rem;
    }
    
    .faculty-department h3 {
        font-size: 1.3rem;
    }
    
    .support-staff-section {
        padding: 2rem 1.5rem;
    }
    
    .staff-categories {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .faculty-department {
        padding: 1.25rem;
    }
    
    .faculty-department h3 {
        font-size: 1.2rem;
        gap: 0.5rem;
    }
    
    .faculty-department h3 i {
        width: 20px;
        height: 20px;
    }
    
    .faculty-member {
        padding: 0.5rem 0.75rem;
        font-size: 1rem;
    }
    
    .support-staff-section {
        padding: 1.5rem 1rem;
    }
    
    .support-staff-section h3 {
        font-size: 1.25rem;
    }
    
    .staff-category h4 {
        font-size: 1rem;
    }
    
    .staff-member {
        padding: 0.4rem 0.75rem;
        font-size: 0.95rem;
    }
}

h1[style*="font-size"] {
    text-align: center !important;
    font-size: 1.3rem !important;
    margin-top: 2px !important;
    margin-bottom: 2px !important;
    font-weight: 600;
}
