/* Accessibility Skip Link */
.skip-link:focus {
    position: fixed !important;
    left: 10px !important;
    top: 10px !important;
    width: auto !important;
    height: auto !important;
    overflow: visible !important;
    z-index: 999999 !important;
}

/* ==========================================================================
   HEADER & FOOTER STYLES — Prabhavati / Navdisha Public Site
   ========================================================================== */

/* Header Wrapper */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.12);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 1.5rem;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

/* Logo */
.logo {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--secondary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    z-index: 1001;
}

.logo-img {
    height: 40px;
    width: auto;
    vertical-align: middle;
    object-fit: contain;
}

.logo span {
    color: var(--primary-color);
}

/* Notification Badge in Header */
.notification-badge {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: var(--danger-color);
    border-radius: 50%;
    margin-left: 4px;
    position: relative;
    top: -8px;
    border: 1px solid var(--white);
}

.nav-link i.fa-bell {
    margin-left: 5px;
    color: var(--accent-color);
}

/* Mobile Hamburger */
.hamburger {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 2001;
    padding: 0.5rem;
    background: transparent;
    border: none;
}

.hamburger span {
    width: 26px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 2px;
    transition: var(--transition);
}

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

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

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

/* Navigation Menu */
.nav-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 80px 0 2rem;
    gap: 0;
    z-index: 2000;
    transition: left 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    list-style: none;
}

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

.nav-menu li {
    width: 100%;
    text-align: center;
}

.nav-link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 0.9rem 1rem;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    background: rgba(255, 122, 0, 0.05);
}

/* Dropdown Menu (Accordion Mobile) */
.dropdown {
    position: relative;
    width: 100%;
}

.dropdown-menu {
    display: none;
    background: rgba(255, 122, 0, 0.04);
    width: 100%;
    list-style: none;
    padding: 0;
    margin: 0;
}

.dropdown.active .dropdown-menu {
    display: block;
    animation: slideDown 0.3s ease;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 2rem;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid rgba(255, 122, 0, 0.08);
    font-size: 0.95rem;
}

.dropdown-menu a:hover {
    color: var(--primary-color);
    background: rgba(255, 122, 0, 0.08);
}

/* Desktop Header (min-width: 992px) */
@media (min-width: 992px) {
    .navbar {
        padding: 0.9rem 2rem;
    }

    .logo {
        font-size: 1.6rem;
    }

    .hamburger {
        display: none;
    }

    .nav-menu {
        position: static;
        width: auto;
        height: auto;
        flex-direction: row;
        background: transparent;
        padding: 0;
        gap: 1.25rem;
        box-shadow: none;
        overflow-y: visible;
        transition: none;
    }

    .nav-menu li {
        width: auto;
        text-align: left;
    }

    .nav-link {
        padding: 0.5rem;
        font-size: 0.95rem;
        border-bottom: none;
        position: relative;
        background: transparent;
    }

    .nav-link::after {
        content: '';
        position: absolute;
        bottom: -2px;
        left: 50%;
        width: 0;
        height: 2px;
        background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
        transition: var(--transition);
        transform: translateX(-50%);
    }

    .nav-link:hover::after,
    .nav-link.active::after {
        width: 80%;
    }

    /* Desktop Dropdown Hover */
    .dropdown-menu {
        position: absolute;
        top: 100%;
        left: 0;
        background: var(--white);
        min-width: 230px;
        box-shadow: var(--box-shadow-hover);
        border-radius: var(--border-radius);
        padding: 0.5rem 0;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: var(--transition);
        display: block;
        border: 1px solid var(--border-color);
    }

    .dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .dropdown-menu a {
        padding: 0.75rem 1.5rem;
        border-bottom: none;
        border-left: 3px solid transparent;
        transition: var(--transition);
    }

    .dropdown-menu a:hover {
        border-left-color: var(--primary-color);
        background: rgba(255, 122, 0, 0.05);
    }
}

/* ==========================================================================
   FOOTER STYLES
   ========================================================================== */
.footer {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-dark) 100%);
    color: var(--white);
    padding: 3.5rem 0 0;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.footer-section h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 1.2rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: 0.85rem;
    justify-content: flex-start;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 122, 0, 0.4);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a,
.footer-links li {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.92rem;
}

.footer-links a:hover {
    color: var(--primary-color);
    transform: translateX(4px);
}

.footer-links i {
    width: 16px;
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 2.5rem;
    padding: 1.5rem 1rem;
    text-align: center;
    background: rgba(0, 0, 0, 0.25);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.75);
    margin: 0.4rem 0;
    font-size: 0.9rem;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: var(--transition);
}

.footer-bottom a:hover {
    color: var(--primary-color);
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 2.5rem;
    }
}

main {
    margin-top: 70px;
}

@media (min-width: 992px) {
    main {
        margin-top: 80px;
    }
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}