﻿/* =========================================
   VEMS HEADER - PROFESSIONAL DESIGN
   Centered Logo & School Name | Animated Admission Button
   ========================================= */

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', 'Roboto', sans-serif;
    background: #f8f9fa;
    padding-top: 0;
}

/* ===== FULL WIDTH CONTAINER ===== */
.container-fluid {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 5%;
}

@media (min-width: 1400px) {
    .container-fluid {
        max-width: 1400px;
        margin: 0 auto;
        padding: 0 20px;
    }
}

/* ===== HEADER STYLES ===== */
.vedanta-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    background: white;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

/* ===== TOP BAR ===== */
.top-bar {
    background: linear-gradient(135deg, #0a2f44 0%, #1a3e5c 100%);
    color: white;
    padding: 8px 0;
    font-size: 0.8rem;
    border-bottom: 2px solid #ffd966;
}

    .top-bar .container-fluid {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        gap: 15px;
    }

.trust-info {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

    .trust-info i {
        color: #ffd966;
        font-size: 0.9rem;
    }

.top-contact {
    display: flex;
    gap: 25px;
}

    .top-contact a {
        color: white;
        text-decoration: none;
        transition: color 0.3s;
        display: inline-flex;
        align-items: center;
        gap: 8px;
    }

        .top-contact a:hover {
            color: #ffd966;
        }

    .top-contact i {
        color: #ffd966;
    }

/* ===== MAIN HEADER - CENTERED LOGO ===== */
.main-header {
    background: white;
    padding: 20px 0;
    border-bottom: 1px solid #e9ecef;
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    position: relative;
}

.logo-section {
    flex: 1;
    text-align: center;
}

.logo-link {
    text-decoration: none;
    display: inline-block;
}

.logo-container {
    display: inline-block;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.logo-image {
    flex-shrink: 0;
}

.school-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffd966, #ffb347);
    padding: 8px;
    transition: transform 0.3s ease;
}

.logo-link:hover .school-logo {
    transform: scale(1.05);
}

.school-info {
    text-align: left;
}

.school-name {
    font-size: 1.6rem;
    font-weight: 800;
    color: #0a2f44;
    font-family: 'Montserrat', 'Inter', sans-serif;
    letter-spacing: -0.5px;
    margin: 0;
    line-height: 1.2;
}

.school-location {
    color: #6c757d;
    font-size: 0.8rem;
    margin-top: 5px;
}

.school-affiliation {
    color: #adb5bd;
    font-size: 0.7rem;
    margin-top: 3px;
}

/* ===== ANIMATED ADMISSION NOW BUTTON ===== */
.admission-button {
    flex-shrink: 0;
    text-align: right;
}

.admission-now-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #e67e22, #f39c4b);
    color: white;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(230, 126, 34, 0.3);
}

    .admission-now-btn .btn-text {
        display: flex;
        align-items: center;
        gap: 8px;
        position: relative;
        z-index: 2;
    }

        .admission-now-btn .btn-text i {
            font-size: 1.1rem;
        }

    .admission-now-btn .btn-icon {
        display: flex;
        align-items: center;
        transition: transform 0.3s ease;
        position: relative;
        z-index: 2;
    }

    .admission-now-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(230, 126, 34, 0.4);
        background: linear-gradient(135deg, #f39c4b, #e67e22);
    }

        .admission-now-btn:hover .btn-icon {
            transform: translateX(5px);
        }

/* Pulse Animation */
.btn-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    transform: translate(-50%, -50%) scale(0);
    animation: pulse 2s infinite;
    pointer-events: none;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0.5;
    }

    70% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0;
    }

    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0;
    }
}

.admission-tagline {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    margin-top: 8px;
    font-size: 0.7rem;
    color: #e67e22;
    font-weight: 600;
}

    .admission-tagline i {
        font-size: 0.65rem;
    }

/* ===== NAVIGATION BAR ===== */
.nav-bar {
    background: linear-gradient(135deg, #0a2f44 0%, #1a3e5c 100%);
    width: 100%;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: space-between;
    width: 100%;
}

.nav-item {
    position: relative;
    flex: 1;
    text-align: center;
}

.nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 10px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s;
    font-family: 'Montserrat', 'Inter', sans-serif;
    border-bottom: 3px solid transparent;
}

    .nav-link i {
        font-size: 1rem;
    }

    .nav-link:hover {
        background: rgba(255, 255, 255, 0.1);
        border-bottom-color: #ffd966;
    }

    .nav-link.active {
        border-bottom-color: #ffd966;
        background: rgba(255, 255, 255, 0.05);
    }

.contact-link {
    background: #ffb347;
    color: #0a2f44 !important;
}

    .contact-link:hover {
        background: #ffd966 !important;
        border-bottom-color: #0a2f44 !important;
    }

/* ===== MOBILE TOGGLE BUTTON ===== */
.mobile-toggle {
    display: none;
    background: linear-gradient(135deg, #ffd966, #ffb347);
    border: none;
    padding: 10px 16px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    align-items: center;
    gap: 8px;
}

    .mobile-toggle:hover {
        transform: scale(1.05);
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    }

.toggle-icon {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.toggle-line {
    width: 22px;
    height: 2px;
    background: #0a2f44;
    transition: all 0.3s;
}

.toggle-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: #0a2f44;
}

/* ===== MOBILE NAVIGATION MENU ===== */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background: white;
    z-index: 2000;
    overflow-y: auto;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.15);
}

    .mobile-nav.show {
        right: 0;
    }

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: linear-gradient(135deg, #0a2f44, #1a3e5c);
    color: white;
}

.mobile-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-logo-img img {
    width: 45px;
    height: 45px;
    object-fit: contain;
    border-radius: 12px;
    background: white;
    padding: 5px;
}

.mobile-logo h3 {
    font-size: 1rem;
    margin: 0;
}

.mobile-logo p {
    font-size: 0.7rem;
    margin: 0;
    opacity: 0.8;
}

.mobile-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s;
}

    .mobile-close:hover {
        background: rgba(255, 255, 255, 0.3);
        transform: rotate(90deg);
    }

.mobile-nav-content {
    padding: 20px 0;
}

.mobile-nav-list {
    list-style: none;
}

.mobile-nav-item {
    border-bottom: 1px solid #e9ecef;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    color: #2c3e50;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

    .mobile-nav-link i {
        width: 24px;
        color: #ffb347;
        font-size: 1.1rem;
    }

    .mobile-nav-link:hover {
        background: #f8f9fa;
        padding-left: 25px;
        color: #ffb347;
    }

    .mobile-nav-link.active {
        background: rgba(230, 126, 34, 0.1);
        color: #e67e22;
        border-left: 3px solid #e67e22;
    }

.contact-mobile {
    background: linear-gradient(135deg, #ffd966, #ffb347);
    color: #0a2f44 !important;
    margin-top: 10px;
}

    .contact-mobile:hover {
        background: linear-gradient(135deg, #ffb347, #ffd966);
        color: #0a2f44 !important;
    }

.mobile-contact-info {
    background: #f8f9fa;
    padding: 20px;
    margin: 10px;
    border-radius: 16px;
}

.mobile-contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid #e9ecef;
}

    .mobile-contact-item:last-child {
        border-bottom: none;
    }

    .mobile-contact-item i {
        width: 35px;
        height: 35px;
        background: #ffd966;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #0a2f44;
    }

    .mobile-contact-item div {
        flex: 1;
    }

    .mobile-contact-item span {
        font-size: 0.7rem;
        color: #6c757d;
        display: block;
    }

    .mobile-contact-item a,
    .mobile-contact-item p {
        font-size: 0.85rem;
        color: #2c3e50;
        text-decoration: none;
        font-weight: 500;
    }

.mobile-admission {
    padding: 20px;
}

.mobile-admission-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #e67e22, #f39c4b);
    color: white;
    text-decoration: none;
    padding: 15px;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s;
    animation: mobilePulse 1.5s infinite;
}

    .mobile-admission-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(230, 126, 34, 0.4);
    }

@keyframes mobilePulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(230, 126, 34, 0.4);
    }

    50% {
        box-shadow: 0 0 0 10px rgba(230, 126, 34, 0);
    }
}

.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1999;
    display: none;
    backdrop-filter: blur(3px);
}

    .mobile-overlay.show {
        display: block;
    }

/* ===== RESPONSIVE DESIGN ===== */
@media screen and (min-width: 1200px) {
    .nav-link {
        padding: 14px 15px;
        font-size: 0.95rem;
    }
}

@media screen and (max-width: 1024px) {
    .nav-link {
        padding: 12px 8px;
        font-size: 0.8rem;
        gap: 5px;
    }

    .school-name {
        font-size: 1.3rem;
    }
}

@media screen and (max-width: 900px) {
    .top-contact {
        gap: 15px;
    }

    .nav-link span {
        display: none;
    }

    .nav-link i {
        font-size: 1.2rem;
    }

    .school-name {
        font-size: 1.1rem;
    }

    .school-location {
        font-size: 0.7rem;
    }
}

@media screen and (max-width: 768px) {
    body {
        padding-top: 70px;
    }

    .top-bar {
        display: none;
    }

    .nav-bar {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .logo-wrapper {
        gap: 12px;
    }

    .school-logo {
        width: 50px;
        height: 50px;
    }

    .school-name {
        font-size: 0.9rem;
    }

    .school-location {
        font-size: 0.6rem;
    }

    .school-affiliation {
        font-size: 0.55rem;
    }

    .main-header {
        padding: 12px 0;
    }

    .admission-button {
        display: none;
    }

    .header-wrapper {
        justify-content: space-between;
    }

    .logo-section {
        text-align: left;
        flex: 1;
    }

    .logo-wrapper {
        justify-content: flex-start;
    }
}

@media screen and (max-width: 480px) {
    .school-logo {
        width: 40px;
        height: 40px;
    }

    .school-name {
        font-size: 0.75rem;
    }

    .school-location {
        font-size: 0.55rem;
    }

    .school-affiliation {
        font-size: 0.5rem;
    }

    .mobile-nav {
        max-width: 100%;
    }
}

/* ===== SCROLL EFFECT ===== */
.vedanta-header.scrolled {
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
}

    .vedanta-header.scrolled .main-header {
        padding: 12px 0;
    }

    .vedanta-header.scrolled .school-logo {
        width: 60px;
        height: 60px;
    }

    .vedanta-header.scrolled .school-name {
        font-size: 1.2rem;
    }

/* ===== ANIMATIONS ===== */
@keyframes slideIn {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(0);
    }
}

.mobile-nav.show {
    animation: slideIn 0.4s ease-out;
}

/* Shine Effect on Admission Button */
.admission-now-btn {
    position: relative;
    overflow: hidden;
}

    .admission-now-btn::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -60%;
        width: 200%;
        height: 200%;
        background: linear-gradient(115deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%);
        transform: rotate(25deg);
        animation: shine 3s infinite;
        pointer-events: none;
    }

@keyframes shine {
    0% {
        transform: rotate(25deg) translateX(-100%);
    }

    20% {
        transform: rotate(25deg) translateX(100%);
    }

    100% {
        transform: rotate(25deg) translateX(100%);
    }
}
