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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

a {
    text-decoration: none;
    color: inherit;
}

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

/* Utility Classes */
.container-max {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

.section-padding {
    padding: 4rem 1rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    color: #0d0d0d;
    margin-bottom: 3rem;
}

.bg-white {
    background-color: #fff;
}

.bg-light-grey {
    background-color: #ffff;
}

.bg-blue-500 {
    background-color: #3b82f6;
}

.bg-green-500 {
    background-color: #10b981;
}

.bg-purple-500 {
    background-color: #8b5cf6;
}

.bg-orange-500 {
    background-color: #f97316;
}

.hidden {
    display: none !important;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
    padding: 0 1rem;
}

.language-switcher {
    position: relative;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #0d0d0d;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.2s;
}

.lang-btn:hover {
    color: #071461;
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 0.5rem;
    background-color: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
    min-width: 120px;
    display: none;
}

.lang-dropdown.show {
    display: block;
}

.lang-option {
    display: block;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    color: #0d0d0d;
    transition: background-color 0.2s;
}

.lang-option:hover {
    background-color: #f9fafb;
}

.lang-option.active {
    color: #071461;
    background-color: #f9fafb;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-images {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-img {
    height: 2.5rem;
    width: 2.5rem;
}

.logo-text {
    display: none;
}

.logo-title {
    font-size: 1rem;
    font-weight: 700;
    color: #0d0d0d;
}

.logo-subtitle {
    font-size: 0.75rem;
    color: #64748b;
}

.desktop-nav {
    display: none;
    align-items: center;
    gap: 1.5rem;
}

.nav-link {
    font-weight: 500;
    color: #0d0d0d;
    transition: color 0.2s;
    position: relative;
}

.nav-link:hover {
    color: #071461;
}

.nav-link.active {
    color: #071461;
    border-bottom: 2px solid #071461;
}

.alumni-dropdown {
    position: relative;
}

.alumni-btn {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    background: none;
    border: none;
    cursor: pointer;
}

.alumni-dropdown-menu {
    position: absolute;
    right: 0;
    top: 100%;
    margin-top: 0.5rem;
    background-color: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 0.5rem;
    width: 12rem;
    display: none;
}

.alumni-dropdown-menu.show {
    display: block;
}

.alumni-option {
    display: block;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 0.375rem;
    transition: all 0.2s;
}

.alumni-option:hover {
    color: #071461;
    text-decoration: underline;
}

.alumni-option.disabled {
    color: #9ca3af;
    background-color: #f3f4f6;
    cursor: not-allowed;
}

.mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    color: #0d0d0d;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.2s;
}

.mobile-menu-btn:hover {
    color: #071461;
}

.mobile-nav {
    background-color: #fff;
    border-top: 1px solid #e5e7eb;
    padding: 1rem 0;
}

.mobile-nav-link {
    display: block;
    padding: 0.5rem 1rem;
    font-weight: 500;
    color: #0d0d0d;
    transition: all 0.2s;
}

.mobile-nav-link:hover {
    background-color: #f9fafb;
}

.mobile-nav-link.active {
    color: #071461;
    background-color: #f9fafb;
}

.mobile-alumni-section {
    border-top: 1px solid #e5e7eb;
    padding-top: 0.5rem;
    margin-top: 0.5rem;
}

.alumni-mobile-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background: none;
    border: none;
    text-align: left;
}

.mobile-alumni-dropdown {
    padding-left: 1.5rem;
    margin-top: 0.5rem;
}

.mobile-alumni-option {
    display: block;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 0.375rem;
    margin-bottom: 0.5rem;
}

.mobile-alumni-option:hover {
    color: #071461;
    text-decoration: underline;
}

.mobile-alumni-option.disabled {
    color: #9ca3af;
    background-color: #f3f4f6;
    cursor: not-allowed;
}

/* Main Content */
.main-content {
    margin-top: 4rem;
    min-height: calc(100vh - 4rem);
}

/* Footer Styles */
.footer {
    background-color: #183153;
    color: #fff;
    padding: 2.5rem 1rem;
    border-top: 1px solid #e5e7eb;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: start;
}

.footer-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.footer-logo {
    height: 3.5rem;
    width: 3.5rem;
    object-fit: contain;
}

.footer-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-top: 0.75rem;
}

.footer-subtitle {
    font-size: 0.875rem;
    color: #d1d5db;
    margin-top: 0.25rem;
}

.footer-weather {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 0.5rem;
    gap: 0.25rem;
}

.weather-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.weather-loading,
.weather-unavailable {
    font-size: 0.875rem;
    color: #d1d5db;
}

.footer-date {
    font-size: 0.875rem;
    color: #d1d5db;
}

.footer-heading {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.footer-link {
    color: #fff;
    margin-bottom: 0.5rem;
    transition: color 0.2s;
}

.footer-link:hover {
    color: #5eead4;
}

.footer-contact {
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.footer-email {
    color: #fff;
    transition: color 0.2s;
}

.footer-email:hover {
    color: #5eead4;
}

.social-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 0.5rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    border-radius: 9999px;
    background-color: rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
}

.social-link:hover {
    background-color: #14b8a6;
}

.footer-bottom {
    text-align: center;
    font-size: 0.875rem;
    color: #d1d5db;
    margin-top: 2.5rem;
}

.footer-bottom p {
    margin-bottom: 0.25rem;
}

/* Page Header Styles */
.page-header {
    position: relative;
    
    color: #fff;
    padding: 4rem 1rem;
    overflow: hidden;
    margin-top: -80px;
}

.page-header-bg {
    position: absolute;
    inset: 0;
}

.page-header-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-header-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(13, 15, 14, 0.6);
}

.page-header-content {
    position: relative;
    z-index: 10;
    text-align: center;
}

.page-header-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.page-header-subtitle {
    font-size: 1.25rem;
    max-width: 48rem;
    margin: 0 auto;
    color: #f3f4f6;
}

/* Grid Layouts - Mobile First */
.stats-grid,
.quick-links-grid,
.messages-grid,
.faculty-grid,
.office-bearer-grid,
.gallery-albums-grid,
.vision-mission-grid,
.footer-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr;
}

/* Mobile: Single column static grid */
@media (max-width: 639px) {
    .stats-grid,
    .quick-links-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Responsive Design */
@media (min-width: 640px) {
    .logo-text {
        display: block;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .quick-links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .messages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .faculty-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .office-bearer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-albums-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .desktop-nav {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: none;
    }
    
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .quick-links-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .messages-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .vision-mission-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .faculty-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .office-bearer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .gallery-albums-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Additional page-specific styles in separate file */
