/* ========== Global Styles ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #2196F3;
    --secondary: #FF9800;
    --danger: #f44336;
    --success: #4CAF50;
    --warning: #FFC107;
    --light: #f5f5f5;
    --dark: #333;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========== Navigation ========== */
.navbar {
    background: linear-gradient(135deg, var(--primary) 0%, #1976D2 100%);
    color: white;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: bold;
}

.logo i {
    font-size: 28px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s;
}

.nav-menu a:hover,
.nav-menu a.active {
    opacity: 0.8;
    border-bottom: 2px solid white;
    padding-bottom: 5px;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 5px 0;
    transition: 0.3s;
}

/* ========== Hero Banner ========== */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, #1565C0 100%);
    color: white;
    padding: 0;
    text-align: center;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero:not(.hero-slider) {
    padding: 120px 20px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="1200" height="600" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: slideInDown 0.8s ease-out;
}

.hero-content h1 {
    font-size: 56px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.4);
    font-weight: 700;
    letter-spacing: 1px;
}

.hero-content p {
    font-size: 26px;
    margin-bottom: 40px;
    font-weight: 300;
    letter-spacing: 0.5px;
}

/* ========== Image Slider ========== */
.hero-slider,
.gallery-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
}

.slide {
    display: none;
    width: 100%;
    height: 100%;
    position: relative;
    animation: fadeIn 0.8s ease-in-out;
}

.slide.active {
    display: block;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 20px;
}

.slide-content h2 {
    font-size: 36px;
    margin-bottom: 15px;
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

.slide-content p {
    font-size: 18px;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}

.slide-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(33, 150, 243, 0.8);
    color: white;
    border: none;
    font-size: 24px;
    padding: 12px 16px;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
}

.slide-control:hover {
    background: rgba(33, 150, 243, 1);
    transform: translateY(-50%) scale(1.1);
}

.slide-prev {
    left: 15px;
}

.slide-next {
    right: 15px;
}

.slide-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.dot.active,
.dot:hover {
    background: var(--secondary);
    width: 28px;
    border-radius: 6px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ========== Animations ========== */
@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* ========== Buttons ========== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    font-size: 16px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #1976D2 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(33, 150, 243, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary) 0%, #F57C00 100%);
    color: white;
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 152, 0, 0.4);
}

.btn-danger {
    background: linear-gradient(135deg, var(--danger) 0%, #E53935 100%);
    color: white;
}

.btn-danger:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(244, 67, 54, 0.4);
}

.btn-warning {
    background: var(--warning);
    color: #333;
}

.btn-info {
    background: linear-gradient(135deg, #17A2B8 0%, #138496 100%);
    color: white;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 14px;
}

.btn-block {
    width: 100%;
    text-align: center;
}

/* ========== Sections ========== */
.welcome {
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.05) 0%, rgba(25, 118, 210, 0.05) 100%);
    padding: 80px 0;
    text-align: center;
    border-top: 3px solid var(--primary);
}

.welcome-content h2 {
    font-size: 40px;
    margin-bottom: 25px;
    color: var(--dark);
    font-weight: 700;
    animation: fadeInUp 0.6s ease-out;
}

.welcome-content p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
    color: #666;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* ========== Courses Section ========== */
.courses-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    position: relative;
}

.courses-section h2 {
    text-align: center;
    font-size: 42px;
    margin-bottom: 60px;
    color: var(--dark);
    font-weight: 700;
    animation: fadeInUp 0.6s ease-out;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
}

.course-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.course-card:nth-child(1) { animation-delay: 0.1s; }
.course-card:nth-child(2) { animation-delay: 0.2s; }
.course-card:nth-child(3) { animation-delay: 0.3s; }

.course-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 40px rgba(33, 150, 243, 0.3);
}

.course-header {
    background: linear-gradient(135deg, var(--primary) 0%, #1976D2 100%);
    color: white;
    padding: 30px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.course-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200px;
    height: 200px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    animation: float 3s ease-in-out infinite;
}

.course-header i {
    font-size: 42px;
    margin-bottom: 12px;
    display: block;
    position: relative;
    z-index: 1;
}

.course-header h3 {
    font-size: 22px;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.course-body {
    padding: 30px;
}

.course-card p {
    margin-bottom: 12px;
    color: #555;
    line-height: 1.6;
    font-size: 15px;
}

.course-card .btn {
    margin-top: 15px;
    width: 100%;
    text-align: center;
}

/* ========== News Section ========== */
.news-section {
    background: white;
    padding: 80px 0;
    position: relative;
}

.news-section h2 {
    text-align: center;
    font-size: 42px;
    margin-bottom: 60px;
    color: var(--dark);
    font-weight: 700;
    animation: fadeInUp 0.6s ease-out;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
}

.news-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 5px solid var(--primary);
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
    position: relative;
    overflow: hidden;
}

.news-card:nth-child(1) { animation-delay: 0.1s; }
.news-card:nth-child(2) { animation-delay: 0.2s; }
.news-card:nth-child(3) { animation-delay: 0.3s; }

.news-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary) 0%, var(--secondary) 100%);
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(33, 150, 243, 0.2);
}

.news-card .badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--secondary) 0%, #F57C00 100%);
    color: white;
    padding: 6px 16px;
    border-radius: 25px;
    font-size: 12px;
    margin-bottom: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-card .date {
    color: #999;
    font-size: 13px;
    margin-left: 12px;
    font-weight: 500;
}

.news-card h3 {
    font-size: 20px;
    margin: 15px 0;
    color: var(--dark);
    font-weight: 600;
    line-height: 1.4;
}

.news-card p {
    color: #666;
    line-height: 1.7;
    font-size: 15px;
}

/* ========== Footer ========== */
.footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    padding: 70px 0 20px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(33, 150, 243, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 50px;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.footer-section h4 {
    margin-bottom: 20px;
    color: white;
    font-size: 18px;
    font-weight: 700;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
}

.footer-section p {
    margin-bottom: 12px;
    font-size: 15px;
    line-height: 1.8;
    color: #ccc;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section a {
    color: #aaa;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: inline-block;
}

.footer-section a::before {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    transition: width 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary);
}

.footer-section a:hover::before {
    width: 100%;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary) 0%, #1976D2 100%);
    border-radius: 50%;
    color: white;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.social-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1976D2 0%, var(--secondary) 100%);
    transition: left 0.3s ease;
    border-radius: 50%;
    z-index: -1;
}

.social-links a:hover::before {
    left: 0;
}

.social-links a:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(33, 150, 243, 0.4);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    font-size: 15px;
    color: #aaa;
    position: relative;
    z-index: 1;
}

.footer-bottom p {
    margin: 0;
}

/* ========== Page Header ========== */
.page-header {
    background: linear-gradient(135deg, var(--primary) 0%, #1976D2 100%);
    color: white;
    padding: 70px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(255,255,255,0.1) 0%, transparent 50%);
    pointer-events: none;
}

.page-header h1 {
    font-size: 48px;
    font-weight: 700;
    position: relative;
    z-index: 1;
    animation: slideInDown 0.8s ease-out;
}

.page-header p {
    color: rgba(255,255,255,0.9);
    font-size: 18px;
    margin-top: 15px;
    animation: fadeInUp 0.8s ease-out;
    animation-delay: 0.2s;
    animation-fill-mode: both;
}

/* ========== About Section ========== */
.about-content {
    padding: 80px 0;
}

.about-section {
    margin-bottom: 60px;
}

.about-section h2 {
    font-size: 36px;
    margin-bottom: 25px;
    color: var(--dark);
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

.about-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
}

.about-section p {
    font-size: 16px;
    line-height: 1.9;
    color: #666;
    animation: fadeInUp 0.6s ease-out;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
    margin-bottom: 60px;
}

.about-box {
    background: linear-gradient(135deg, #f5f7fa 0%, #e9ecef 100%);
    padding: 35px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
    border-top: 4px solid var(--primary);
}

.about-box:nth-child(1) { animation-delay: 0.1s; }
.about-box:nth-child(2) { animation-delay: 0.2s; }
.about-box:nth-child(3) { animation-delay: 0.3s; }

.about-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.about-box h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--dark);
    font-weight: 700;
}
    transition: transform 0.3s;
}

.about-box:hover {
    transform: translateY(-5px);
}

.about-box i {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 15px;
}

.principal-section {
    background: var(--light);
    padding: 30px;
    border-radius: 8px;
}

.principal-info {
    display: flex;
    gap: 30px;
    align-items: center;
}

.principal-image i {
    font-size: 100px;
    color: var(--primary);
}

.principal-details h3 {
    font-size: 24px;
    margin-bottom: 5px;
}

/* ========== Courses List ========== */
.courses-list {
    padding: 60px 0;
}

.courses-detail {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.course-detail-card {
    background: white;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.course-detail-card:hover {
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    transform: translateY(-5px);
}

.course-detail-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.course-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.course-detail-card:hover .course-detail-image img {
    transform: scale(1.08);
}

.course-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 3px solid var(--primary);
    padding: 25px 30px 15px;
    margin-bottom: 0;
}

.course-detail-header h2 {
    font-size: 28px;
}

.course-code {
    background: var(--secondary);
    color: white;
    padding: 5px 15px;
    border-radius: 5px;
    font-size: 12px;
}

.course-detail-body {
    padding: 30px;
}

.course-detail-body h3 {
    font-size: 18px;
    color: var(--dark);
    margin-top: 20px;
    margin-bottom: 12px;
    font-weight: 700;
}

.course-detail-body p {
    line-height: 1.8;
    color: #666;
    margin-bottom: 15px;
}

.course-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 20px 0;
    padding: 20px;
    background: var(--light);
    border-radius: 5px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.meta-item i {
    color: var(--primary);
    font-size: 20px;
}

/* ========== Faculty Section ========== */
.faculty-section {
    padding: 80px 0;
    background: #f9f9f9;
    position: relative;
}

.faculty-section > h2 {
    text-align: center;
    font-size: 42px;
    margin-bottom: 60px;
    color: var(--dark);
    font-weight: 700;
    animation: fadeInUp 0.6s ease-out;
}

.faculty-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.faculty-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
    position: relative;
}

.faculty-card:nth-child(1) { animation-delay: 0.1s; }
.faculty-card:nth-child(2) { animation-delay: 0.2s; }
.faculty-card:nth-child(3) { animation-delay: 0.3s; }
.faculty-card:nth-child(4) { animation-delay: 0.4s; }

.faculty-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faculty-card:hover::after {
    transform: scaleX(1);
}

.faculty-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(33, 150, 243, 0.2);
}

.faculty-image {
    background: linear-gradient(135deg, var(--primary) 0%, #1976D2 100%);
    height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.faculty-image::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
}

.faculty-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 1;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faculty-image i {
    font-size: 100px;
    position: relative;
    z-index: 1;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faculty-card:hover .faculty-image i,
.faculty-card:hover .faculty-image img {
    transform: scale(1.1);
}

.faculty-info {
    padding: 28px;
}

.faculty-info h3 {
    font-size: 22px;
    margin-bottom: 8px;
    color: var(--dark);
    font-weight: 700;
}

.designation {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.qualification {
    color: #666;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 500;
}

.specialization {
    font-size: 14px;
    margin-bottom: 12px;
    color: #888;
}

.bio {
    font-size: 15px;
    margin-bottom: 15px;
    line-height: 1.7;
    color: #666;
}

.contact-info {
    border-top: 1px solid #eee;
    padding-top: 15px;
    font-size: 14px;
}

.contact-info {
    border-top: 1px solid #ddd;
    padding-top: 10px;
    font-size: 14px;
}

.contact-info p {
    margin-bottom: 8px;
}

/* ========== Admission Form ========== */
.admissions-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    position: relative;
}

.admissions-section > h2 {
    text-align: center;
    font-size: 42px;
    margin-bottom: 60px;
    color: var(--dark);
    font-weight: 700;
    animation: fadeInUp 0.6s ease-out;
}

.form-container {
    background: white;
    border-radius: 12px;
    padding: 50px;
    max-width: 650px;
    margin: 0 auto;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    animation: fadeInUp 0.6s ease-out;
    border-top: 5px solid var(--primary);
    position: relative;
}

.form-container::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 12px 12px 0 0;
}

.admission-form {
    margin-top: 30px;
}

.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--dark);
    font-size: 15px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-family: inherit;
    font-size: 15px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #f9f9f9;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.1);
    transform: translateY(-2px);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

/* ========== Gallery Section ========== */
.gallery-section {
    padding: 80px 0;
    background: white;
    position: relative;
}

.gallery-section > h2 {
    text-align: center;
    font-size: 42px;
    margin-bottom: 60px;
    color: var(--dark);
    font-weight: 700;
    animation: fadeInUp 0.6s ease-out;
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.gallery-box {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    height: 280px;
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
    cursor: pointer;
}

.gallery-box:nth-child(1) { animation-delay: 0.1s; }
.gallery-box:nth-child(2) { animation-delay: 0.2s; }
.gallery-box:nth-child(3) { animation-delay: 0.3s; }
.gallery-box:nth-child(4) { animation-delay: 0.4s; }
.gallery-box:nth-child(5) { animation-delay: 0.5s; }
.gallery-box:nth-child(6) { animation-delay: 0.6s; }

.gallery-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.8) 0%, rgba(255, 152, 0, 0.8) 100%);
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
}

.gallery-box:hover::before {
    opacity: 0;
}

.gallery-box:hover img {
    transform: scale(1.12);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.95) 100%);
    color: white;
    padding: 25px;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 3;
}

.gallery-box:hover .gallery-caption {
    transform: translateY(0);
}

.gallery-caption h3 {
    font-size: 18px;
    margin-bottom: 8px;
    font-weight: 700;
}

.gallery-caption p {
    font-size: 14px;
    line-height: 1.6;
    color: #ddd;
}

/* ========== Contact Section ========== */
.contact-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    position: relative;
}

.contact-section > h2 {
    text-align: center;
    font-size: 42px;
    margin-bottom: 60px;
    color: var(--dark);
    font-weight: 700;
    animation: fadeInUp 0.6s ease-out;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.contact-info-box,
.contact-form-box {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
    position: relative;
    border-top: 4px solid var(--primary);
}

.contact-info-box {
    animation-delay: 0.1s;
}

.contact-form-box {
    animation-delay: 0.2s;
}

.contact-info-box h2,
.contact-form-box h2 {
    font-size: 28px;
    margin-bottom: 30px;
    color: var(--dark);
    font-weight: 700;
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    align-items: flex-start;
}

.info-item i {
    font-size: 28px;
    color: var(--primary);
    min-width: 28px;
    background: rgba(33, 150, 243, 0.1);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.info-item h3 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--dark);
    font-weight: 600;
}

.info-item p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.contact-form {
    margin-top: 20px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 14px 16px;
    margin-bottom: 16px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #f9f9f9;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.1);
    transform: translateY(-2px);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form button {
    width: 100%;
    margin-top: 10px;
}

/* ========== Alerts ========== */
.alert {
    padding: 18px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid;
    animation: slideInDown 0.5s ease-out;
    display: flex;
    align-items: center;
    gap: 12px;
}

.alert-success {
    background: #D4EDDA;
    color: #155724;
    border-left-color: #4CAF50;
}

.alert-danger {
    background: #F8D7DA;
    color: #721C24;
    border-left-color: #f44336;
}

.alert-warning {
    background: #FFF3CD;
    color: #856404;
    border-left-color: var(--warning);
}

/* ========== Responsive ========== */
@media (max-width: 768px) {
    .nav-menu {
        gap: 15px;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    
    .hero-content p {
        font-size: 18px;
    }
    
    .hamburger {
        display: flex;
    }
    
    .courses-grid,
    .news-grid,
    .faculty-grid,
    .gallery-container {
        grid-template-columns: 1fr;
    }
    
    .principal-info {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 24px;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 10px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}
