
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
    color: #333;
    background: #fff;
}

nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    z-index: 1000;
    padding: 1rem 0;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: #000;
    font-family: 'Arial Black', 'Arial Bold', sans-serif;
    letter-spacing: -0.5px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: all 0.3s;
}

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

.page-hero {
    margin-top: 80px;
    height: 60vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: moveBackground 20s linear infinite;
}

@keyframes moveBackground {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.page-hero-content {
    text-align: center;
    color: white;
    z-index: 1;
    animation: fadeInUp 1s ease;
}

.page-hero h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.page-hero p {
    font-size: 1.3rem;
    opacity: 0.9;
}

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

.intro-section {
    padding: 5rem 2rem 3rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.intro-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #333;
    font-weight: 800;
}

.intro-section p {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 3rem auto 0;
}

.stat-box {
    background: linear-gradient(135deg, #f8f9ff 0%, #e8ebff 100%);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s;
}

.stat-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: #666;
    font-weight: 600;
}

.principal-section {
    background: linear-gradient(135deg, #f8f9ff 0%, #e8ebff 100%);
    padding: 5rem 2rem;
}

.principal-container {
    max-width: 1000px;
    margin: 0 auto;
}

.principal-card {
    background: white;
    border-radius: 30px;
    padding: 4rem;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    display: flex;
    gap: 3rem;
    align-items: center;
    transition: all 0.4s;
    opacity: 0;
    animation: fadeInScale 1s ease forwards;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.principal-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 70px rgba(102, 126, 234, 0.3);
}

.principal-image {
    flex-shrink: 0;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: white;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.4);
}

.principal-info {
    flex: 1;
}

.principal-badge {
    display: inline-block;
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.principal-name {
    font-size: 2.5rem;
    font-weight: 800;
    color: #333;
    margin-bottom: 0.5rem;
}

.principal-qualification {
    font-size: 1.1rem;
    color: #667eea;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.principal-designation {
    font-size: 1.3rem;
    color: #666;
    font-weight: 600;
    margin-top: 1rem;
}

.faculty-section {
    padding: 6rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #333;
    font-weight: 800;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 4rem;
}

.faculty-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2.5rem;
}

.faculty-card {
    background: white;
    border-radius: 25px;
    padding: 0;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    transition: all 0.4s;
    overflow: hidden;
    opacity: 0;
    animation: slideInUp 0.8s ease forwards;
}

.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:nth-child(5) { animation-delay: 0.5s; }
.faculty-card:nth-child(6) { animation-delay: 0.6s; }
.faculty-card:nth-child(7) { animation-delay: 0.7s; }
.faculty-card:nth-child(8) { animation-delay: 0.8s; }
.faculty-card:nth-child(9) { animation-delay: 0.9s; }
.faculty-card:nth-child(10) { animation-delay: 1s; }
.faculty-card:nth-child(11) { animation-delay: 1.1s; }

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

.faculty-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.3);
}

.faculty-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 3rem 2rem 4rem;
    position: relative;
}

.faculty-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 4px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    margin: 0 auto 1rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.faculty-number {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.faculty-body {
    padding: 2rem;
    background: white;
}

.faculty-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.8rem;
    text-align: center;
}

.faculty-qualification {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.2rem;
    text-align: center;
    min-height: 60px;
}

.faculty-designation {
    background: linear-gradient(135deg, #f8f9ff 0%, #e8ebff 100%);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    text-align: center;
    font-weight: 700;
    color: #667eea;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.specialization-badge {
    display: inline-block;
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 1rem;
    text-transform: uppercase;
}

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

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: white;
    color: #667eea;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

footer {
    background: #1a1a2e;
    color: white;
    padding: 4rem 2rem 2rem;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

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

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #667eea;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* ========== HAMBURGER MENU STYLES ========== */

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
    position: relative;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: all 0.3s;
    border-radius: 3px;
}

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

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

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 998;
    pointer-events: none;
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

body.menu-open {
    overflow: hidden;
}

    /* ========== MOBILE RESPONSIVE (SINGLE COMBINED SECTION) ========== */

@media (max-width: 768px) {
    /* Hamburger Menu */
    .hamburger {
        display: flex;
    }

    /* Mobile Navigation */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 75%;
        max-width: 320px;
        background: white;
        flex-direction: column;
        padding: 5rem 2rem 2rem;
        gap: 0;
        box-shadow: -5px 0 25px rgba(0,0,0,0.2);
        transition: right 0.4s ease-in-out;
        z-index: 999;
        overflow-y: auto;
    }

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

    .nav-links li {
        list-style: none;
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
    }

    .nav-links li:last-child {
        border-bottom: none;
    }

    .nav-links a {
        font-size: 1.1rem;
        padding: 1rem 0.5rem;
        display: block;
        color: #333;
        text-decoration: none;
        transition: all 0.3s ease;
    }

    .nav-links a:hover {
        color: #667eea;
        padding-left: 1rem;
        background: #f8f9ff;
    }

    /* Logo adjustments */
    .logo {
        font-size: 1rem;
    }

    .logo-img {
        height: 40px;
    }

    .logo span {
        font-size: 0.9rem;
    }