/* ==========================================================================
   CSS Variables & Typography
   ========================================================================== */
   :root {
    /* Colors */
    --primary: #0F172A; /* Deep Navy Blue */
    --secondary: #2563EB; /* Royal Blue */
    --accent: #F59E0B; /* Gold */
    --bg-white: #FFFFFF;
    --bg-light: #F8FAFC;
    --text-main: #334155;
    --text-light: #64748B;
    --white: #FFFFFF;
    
    /* Fonts */
    --font-primary: 'Inter', sans-serif;
    --font-heading: 'Poppins', sans-serif;
    
    /* Effects */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-hover: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    
    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    
    /* Transitions */
    --transition: all 0.3s ease;
}

/* ==========================================================================
   Base Styles
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

.section-padding {
    padding: 80px 0;
}

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

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

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.mt-4 {
    margin-top: 2rem;
}

/* Typography Utilities */
.marathi-title {
    font-family: 'Poppins', sans-serif; /* Best fallback for Devnagari */
    font-weight: 600;
}

/* ==========================================================================
   Loader
   ========================================================================== */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-white);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid var(--bg-light);
    border-top: 5px solid var(--secondary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* ==========================================================================
   Scroll to Top
   ========================================================================== */
#scrollToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background-color: var(--secondary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
}

#scrollToTop.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#scrollToTop:hover {
    background-color: var(--primary);
    transform: translateY(-5px);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 30px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--secondary);
    color: var(--white);
    box-shadow: 0 4px 14px 0 rgba(37, 99, 235, 0.39);
}

.btn-primary:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.23);
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary);
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

.full-width {
    width: 100%;
}

/* ==========================================================================
   Navigation & 3-Tier Header
   ========================================================================== */
.top-bar {
    background-color: #1fb4d2;
    color: var(--white);
    padding: 6px 0;
    font-size: 0.85rem;
}
.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}
.top-contact span { margin-right: 20px; }
.top-contact span i { margin-right: 5px; }
.top-links a {
    color: var(--white);
    margin: 0 8px;
    text-decoration: none;
    transition: var(--transition);
}
.top-links a:hover { color: #f0f0f0; }

.main-header {
    background-color: var(--white);
    padding: 20px 0;
}
.main-header-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}
.logo-circle {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    border: 3px solid #000080;
    outline: 3px solid #1fb4d2;
    outline-offset: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff;
    padding: 10px;
    margin: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.header-content {
    flex: 0 1 auto;
    padding: 0;
}
.trust-name {
    font-size: 1.1rem;
    color: #1fb4d2;
    margin-bottom: 5px;
    text-transform: uppercase;
}
.college-title {
    font-size: 1.8rem;
    color: #000080;
    margin-bottom: 5px;
    letter-spacing: 0.5px;
}
.accreditation {
    font-size: 0.85rem;
    color: #333;
    margin-bottom: 2px;
}
.iso-cert {
    font-size: 0.8rem;
    color: #555;
}

.bottom-nav {
    background-color: #1fb4d2;
    border-top: 1px solid rgba(255,255,255,0.2);
    border-bottom: 1px solid rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}
.bottom-nav.scrolled {
    background-color: #1fb4d2;
    box-shadow: var(--shadow-md);
}
.bottom-navbar {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: center;
}
.nav-links {
    display: flex;
    gap: 35px;
    list-style: none;
}
.nav-links li a {
    color: #ffffff !important;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 0.95rem;
    position: relative;
    padding: 15px 0;
    display: block;
    text-decoration: none;
}
.nav-links li a:hover, .nav-links li a.active {
    color: #000080 !important;
}
.menu-toggle {
    display: none;
    cursor: pointer;
    padding: 15px 0;
}
.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: #000;
}

/* Floating Social Media */
.floating-social {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
}
.floating-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--white);
    font-size: 1.2rem;
    transition: var(--transition);
    text-decoration: none;
}
.floating-social .fb { background: #3b5998; }
.floating-social .in { background: #007bb5; }
.floating-social .tw { background: #000000; }
.floating-social .ig { background: #e4405f; }
.floating-social .yt { background: #cd201f; }
.floating-social a:hover { width: 50px; margin-left: -10px; }

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 0;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 10;
    color: var(--white);
    max-width: 800px;
    padding: 0 20px;
}
.hero-title {
    font-size: 4rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    animation: fadeUp 0.8s ease forwards;
}
.hero-subtitle {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 10px;
    animation: fadeUp 0.8s ease forwards 0.2s;
}
.hero-tagline {
    font-size: 1.2rem;
    margin-bottom: 30px;
    font-weight: 300;
    animation: fadeUp 0.8s ease forwards 0.4s;
}
.hero-buttons {
    display: flex; gap: 15px; justify-content: center;
    animation: fadeUp 0.8s ease forwards 0.6s;
}
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

/* Info Grid */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

/* ==========================================================================
   Page Header (Inner Pages)

   ========================================================================== */
.page-header {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(37, 99, 235, 0.8) 100%), url('https://images.unsplash.com/photo-1541339907198-e08756dedf3f?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover;
    padding: 160px 0 60px;
    text-align: center;
    color: var(--white);
    margin-bottom: 0;
    position: relative;
}

.page-header h1 {
    color: var(--white);
    font-size: 3.5rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    animation: fadeUp 0.8s ease forwards;
}

.page-breadcrumbs {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    animation: fadeUp 0.8s ease forwards 0.2s;
}

.page-breadcrumbs span {
    color: var(--accent);
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about {
    padding-top: 80px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image {
    position: relative;
}

.rounded-image {
    border-radius: 20px;
    width: 100%;
}

.shadow {
    box-shadow: var(--shadow-lg);
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--primary);
    color: var(--white);
    padding: 20px 30px;
    border-radius: 10px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.2rem;
    border: 3px solid var(--white);
    box-shadow: var(--shadow-md);
}

.about-content p {
    margin-bottom: 25px;
    font-size: 1.05rem;
}

.mission-vision {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mv-card {
    display: flex;
    gap: 20px;
    background: var(--white);
    padding: 20px;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-left: 4px solid var(--secondary);
}

.mv-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(10px);
}

.mv-icon {
    font-size: 2rem;
    color: var(--accent);
    flex-shrink: 0;
}

.mv-card h4 {
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.mv-card p {
    margin-bottom: 0;
    font-size: 0.95rem;
    color: var(--text-light);
}

/* ==========================================================================
   Courses Section
   ========================================================================== */
.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.course-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.course-header {
    padding: 30px 20px;
    text-align: center;
    color: var(--white);
    position: relative;
}

.ba-bg {
    background: linear-gradient(135deg, var(--secondary) 0%, #1e40af 100%);
}

.ma-bg {
    background: linear-gradient(135deg, var(--primary) 0%, #1e293b 100%);
}

.course-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    color: var(--accent);
}

.course-header h3 {
    color: var(--white);
    font-size: 1.8rem;
    margin: 0;
}

.course-body {
    padding: 30px;
}

.course-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e2e8f0;
    font-weight: 600;
    color: var(--primary);
}

.course-info span i {
    color: var(--secondary);
    margin-right: 5px;
}

.course-desc {
    color: var(--text-light);
    margin-bottom: 20px;
}

.subjects h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.subjects ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 25px;
}

.subjects li {
    font-size: 0.95rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
}

.subjects li i {
    color: var(--accent);
    margin-right: 8px;
    font-size: 0.8rem;
}

/* ==========================================================================
   Faculty Section
   ========================================================================== */
.faculty-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.faculty-card {
    background: var(--white);
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.faculty-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.faculty-img {
    width: 150px;
    height: 150px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--bg-light);
    box-shadow: var(--shadow-md);
}

.faculty-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.faculty-card:hover .faculty-img img {
    transform: scale(1.1);
}

.faculty-info h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.qualification {
    color: var(--secondary);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.designation {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ==========================================================================
   Facilities Section
   ========================================================================== */
.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.facility-card {
    background: var(--white);
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid #f1f5f9;
}

.facility-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
    border-color: var(--secondary);
}

.facility-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--secondary);
    transition: var(--transition);
}

.facility-card:hover .facility-icon {
    background: var(--secondary);
    color: var(--white);
}

.facility-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.facility-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ==========================================================================
   Row Flex layout (Notice & Gallery)
   ========================================================================== */
.row-flex {
    display: flex;
    gap: 40px;
}

.notice-section {
    flex: 1;
    min-width: 300px;
}

.gallery-section {
    flex: 2;
}

/* Notice Board */
.notice-panel {
    background: var(--white);
    border-radius: 15px;
    padding: 20px;
    box-shadow: var(--shadow-md);
    max-height: 500px;
    overflow-y: auto;
}

.notice-panel::-webkit-scrollbar {
    width: 6px;
}

.notice-panel::-webkit-scrollbar-track {
    background: var(--bg-light);
}

.notice-panel::-webkit-scrollbar-thumb {
    background-color: var(--text-light);
    border-radius: 10px;
}

.notice-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    border-bottom: 1px solid #e2e8f0;
    transition: var(--transition);
}

.notice-item:hover {
    background-color: var(--bg-light);
    border-radius: 8px;
}

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

.notice-item.new {
    position: relative;
}

.notice-item.new::after {
    content: 'NEW';
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--accent);
    color: var(--white);
    font-size: 0.6rem;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: bold;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.notice-date {
    background: var(--primary);
    color: var(--white);
    min-width: 60px;
    height: 60px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.notice-date .day {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1;
}

.notice-date .month {
    font-size: 0.8rem;
    text-transform: uppercase;
}

.notice-content h4 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.notice-content p {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 10px;
}

.notice-link {
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* Gallery Masonry */
.masonry-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(37, 99, 235, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-overlay i {
    color: var(--white);
    font-size: 2rem;
    transform: scale(0);
    transition: transform 0.3s ease 0.1s;
}

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

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-overlay i {
    transform: scale(1);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80vh;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    animation: zoomIn 0.3s;
}

@keyframes zoomIn {
    from {transform:scale(0)} 
    to {transform:scale(1)}
}

.close-lightbox {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.close-lightbox:hover,
.close-lightbox:focus {
    color: #bbb;
    text-decoration: none;
}

/* ==========================================================================
   Admission Process Timeline
   ========================================================================== */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--bg-light);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-dot {
    width: 40px;
    height: 40px;
    background-color: var(--secondary);
    color: var(--white);
    border: 4px solid var(--bg-white);
    position: absolute;
    border-radius: 50%;
    top: 15px;
    right: -20px;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: var(--shadow-sm);
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -20px;
}

.timeline-content {
    padding: 20px 30px;
    background-color: var(--white);
    position: relative;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.timeline-content:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.timeline-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.timeline-content p {
    font-size: 0.95rem;
    color: var(--text-light);
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonial-slider-container {
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
    padding: 20px 0;
}

.testimonial-slider {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-slide {
    min-width: 100%;
    padding: 0 15px;
}

.testimonial-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    text-align: center;
    position: relative;
}

.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 20px;
    left: 30px;
    font-size: 6rem;
    color: var(--bg-light);
    font-family: serif;
    line-height: 1;
    z-index: 0;
}

.stars {
    color: var(--accent);
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.feedback {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
    color: var(--text-main);
}

.student-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.student-info img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid var(--secondary);
}

.student-info h4 {
    margin: 0;
    font-size: 1.1rem;
}

.student-info span {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.info-card {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.info-card .icon-box {
    width: 50px;
    height: 50px;
    background: var(--bg-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--secondary);
    flex-shrink: 0;
}

.info-card h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.info-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.map-container {
    margin-top: 30px;
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
}

.contact-form h3 {
    margin-bottom: 25px;
    font-size: 1.5rem;
}

.form-group {
    position: relative;
    margin-bottom: 25px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    background: transparent;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group label {
    position: absolute;
    left: 15px;
    top: 15px;
    color: var(--text-light);
    transition: var(--transition);
    pointer-events: none;
    background: var(--white);
    padding: 0 5px;
}

.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
    top: -10px;
    left: 10px;
    font-size: 0.85rem;
    color: var(--secondary);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background-color: var(--primary);
    color: #e2e8f0;
    padding-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer h3, .footer h4 {
    color: var(--white);
    margin-bottom: 20px;
}

.footer-about p {
    margin-bottom: 20px;
    font-size: 0.95rem;
    color: #cbd5e1;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: var(--white);
    transition: var(--transition);
}

.social-icons a:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}

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

.footer-links a {
    color: #cbd5e1;
    font-size: 0.95rem;
}

.footer-links a i {
    font-size: 0.8rem;
    margin-right: 8px;
    color: var(--accent);
}

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

.footer-contact ul li {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.95rem;
    color: #cbd5e1;
}

.footer-contact ul li i {
    color: var(--accent);
    margin-top: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 25px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: #94a3b8;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media screen and (max-width: 1024px) {
    .hero-title { font-size: 3rem; }
    .hero-subtitle { font-size: 1.5rem; }
    .stats-container { flex-wrap: wrap; }
    .stat-card.glass { min-width: 45%; }
    .about { padding-top: 150px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media screen and (max-width: 768px) {
    .menu-toggle { display: block; }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--white);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: 0.5s ease;
        gap: 30px;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li a {
        color: var(--primary);
        font-size: 1.2rem;
    }

    .menu-toggle.active .bar:nth-child(2) { opacity: 0; }
    .menu-toggle.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .menu-toggle.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    .logo-text .large { font-size: 1rem; }
    
    .hero-title { font-size: 2.2rem; }
    .hero-subtitle { font-size: 1.2rem; }
    
    .about-grid { grid-template-columns: 1fr; }
    .experience-badge { bottom: -10px; right: 10px; padding: 15px 20px; font-size: 1rem; }
    
    .row-flex { flex-direction: column; }
    
    .timeline::after { left: 31px; }
    .timeline-item { width: 100%; padding-left: 70px; padding-right: 25px; }
    .timeline-item:nth-child(even) { left: 0; }
    .timeline-dot { left: 11px !important; }
    
    .contact-grid { grid-template-columns: 1fr; }
    
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-contact ul li { justify-content: center; }
    .social-icons { justify-content: center; }
    .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
}

@media screen and (max-width: 480px) {
    .stat-card.glass { min-width: 100%; }
    .about { padding-top: 350px; }
    .course-grid, .faculty-grid, .facilities-grid { grid-template-columns: 1fr; }
    .hero-buttons { flex-direction: column; width: 100%; }
    .hero-buttons .btn { width: 100%; }
}

.testimonial-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    position: relative;
    padding-bottom: 20px;
    height: 380px;
    display: flex;
    flex-direction: column;
}
.testimonial-card.orange { border-top: 80px solid #e67e22; }
.testimonial-card.blue { border-top: 80px solid #00acc1; }
.testimonial-card.olive { border-top: 80px solid #afb42b; }
.testimonial-card.red { border-top: 80px solid #c62828; }

.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 4px solid #fff;
    margin: -40px auto 10px;
    position: relative;
    background: #fff;
    z-index: 10;
}
.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}
.testimonial-card h4 {
    color: #1976d2;
    margin-bottom: 0;
    font-size: 1.1rem;
    text-align: center;
}
.testimonial-card span.batch {
    display: block;
    text-align: center;
    font-size: 0.8rem;
    color: #555;
    margin-bottom: 10px;
}
.testimonial-card .stars {
    color: #ffa000;
    text-align: center;
    margin-bottom: 15px;
}
.testimonial-card .feedback {
    font-size: 0.85rem;
    color: #333;
    padding: 0 20px;
    text-align: justify;
    line-height: 1.6;
    flex-grow: 1;
    overflow-y: auto;
}
.testimonial-card .linkedin {
    text-align: center;
    margin-top: 10px;
    color: #0077b5;
    font-size: 1.2rem;
}

/* Hero Slider CSS */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 400%;
    height: 100%;
    display: flex;
    animation: slideRightToLeft 16s infinite cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 0;
}
.hero-slider .slide {
    flex: 1 0 25%;
    height: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}
@keyframes slideRightToLeft {
    0% { transform: translateX(0); }
    20% { transform: translateX(0); }
    33% { transform: translateX(-25%); }
    53% { transform: translateX(-25%); }
    66% { transform: translateX(-50%); }
    86% { transform: translateX(-50%); }
    100% { transform: translateX(-75%); }
}
.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.5) 0%, rgba(37, 99, 235, 0.2) 100%);
    z-index: 1;
}


/* Core Values Grid */
.core-values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; margin-top: 40px; margin-bottom: 50px; }
.value-card { background: #ffffff; padding: 40px 20px; border-radius: 15px; text-align: center; box-shadow: 0 10px 30px rgba(0,0,0,0.05); transition: transform 0.3s ease, box-shadow 0.3s ease; position: relative; overflow: hidden; }
.value-card::before { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 4px; background: #1fb4d2; transform: scaleX(0); transition: transform 0.3s ease; transform-origin: left; }
.value-card:hover::before { transform: scaleX(1); }
.value-card:hover { transform: translateY(-10px); box-shadow: 0 15px 35px rgba(0,0,0,0.1); }
.value-icon { width: 80px; height: 80px; margin: 0 auto 25px; background: rgba(31, 180, 210, 0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: background 0.3s ease; }
.value-card:hover .value-icon { background: #1fb4d2; }
.value-icon i { font-size: 2.2rem; color: #1fb4d2; transition: color 0.3s ease; }
.value-card:hover .value-icon i { color: #ffffff; }
.value-card h3 { font-size: 1.4rem; color: #000080; margin-bottom: 15px; font-weight: 700; }
.value-card p { color: #555; font-size: 1rem; line-height: 1.6; }
/* Home Cards Styling */
.home-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 20px;
}
.home-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.home-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}
.card-blue { border-top: 4px solid #001f3f; }
.card-cyan { border-top: 4px solid #1fb4d2; }
.card-orange { border-top: 4px solid #ff9800; }

.card-header {
    display: flex;
    align-items: center;
    padding: 25px 25px 15px;
    border-bottom: 1px solid #eee;
}
.card-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid #eee;
}
.card-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.card-header h3 {
    font-size: 1.1rem;
    color: #001f3f;
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
}

.card-body {
    padding: 20px 25px;
    flex-grow: 1;
}
.card-body p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
}

.card-footer {
    padding: 15px 25px;
    background: #fff;
}
.card-footer a {
    color: #1fb4d2;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: color 0.3s;
}
.card-footer a:hover {
    color: #001f3f;
}

/* News Items */
.news-body {
    padding: 15px 25px;
    max-height: 300px;
    overflow-y: auto;
}
.news-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #eee;
}
.news-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}
.news-date {
    background: #001f3f;
    color: #fff;
    text-align: center;
    padding: 8px 10px;
    border-radius: 5px;
    margin-right: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    flex-shrink: 0;
    min-width: 45px;
}
.news-date span {
    font-size: 1.1rem;
}
.news-text {
    font-size: 0.9rem;
    color: #444;
    line-height: 1.5;
}
