@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

:root {
    --primary: #1e3a8a; /* Deep Navy */
    --primary-light: #3b82f6;
    --primary-dark: #1e40af;
    --secondary: #d97706; /* Darker Amber/Gold for better contrast */
    --secondary-hover: #b45309;
    
    --bg-main: #f8fafc;
    --bg-card: #ffffff;
    --bg-dark: #0f172a;
    
    --text-main: #0f172a;
    --text-muted: #475569; /* Darkened text-muted */
    --text-light: #f8fafc;
    
    --border-color: #e2e8f0;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-glow: 0 0 20px rgba(59, 130, 246, 0.3);
    
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    font-family: 'Inter', sans-serif;
}

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

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    color: var(--primary);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: var(--primary-light);
    transition: var(--transition);
}
a:hover {
    color: var(--primary-dark);
}

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

/* Typography Utilities */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-muted { color: var(--text-muted); }

/* Layout & Containers */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--secondary);
    border-radius: 2px;
}
.section-title.center::after {
    left: 50%;
    transform: translateX(-50%);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 3rem;
}

/* Header & Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: var(--shadow-md);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}
.nav-logo img {
    height: 50px;
    border-radius: 8px;
}
.logo-text {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}
.nav-link {
    font-weight: 500;
    color: var(--text-main);
    font-size: 1rem;
    position: relative;
}
.nav-link::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: var(--transition);
}
.nav-link:hover::before,
.nav-link.active::before {
    width: 100%;
}
.nav-link:hover, .nav-link.active {
    color: var(--primary);
}

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}
.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--primary);
    transition: var(--transition);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    gap: 0.5rem;
}
.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: var(--shadow-md);
}
.btn-primary:hover {
    background: var(--primary-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}
.btn-secondary {
    background: var(--secondary);
    color: white;
}
.btn-secondary:hover {
    background: var(--secondary-hover);
    color: white;
    transform: translateY(-2px);
}
.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}
.btn-outline:hover {
    background: var(--primary);
    color: white;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 80px;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.9) 0%, rgba(15, 23, 42, 0.8) 100%);
    z-index: 1;
}
.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    object-fit: cover;
    z-index: 0;
}
.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 800px;
    padding: 2rem;
    margin: 0 auto;
    text-align: center;
}
.hero-title {
    font-size: 4rrem;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 0 4px 10px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease-out;
}
.hero-subtitle {
    font-size: 1.5rem;
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease-out 0.2s backwards;
}
.hero-description {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.4s backwards;
}
.hero .cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    animation: fadeInUp 1s ease-out 0.6s backwards;
}

/* Page Header (for inner pages) */
.page-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 10rem 0 5rem;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}
.page-header h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 1rem;
}
.page-header p {
    color: rgba(255,255,255,0.8);
    font-size: 1.2rem;
}

/* Cards & Grids */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    height: 100%;
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
    border-color: var(--primary-light);
}
.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}
.card:hover .card-icon {
    background: var(--primary);
    color: white;
}
.card-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

/* Features Grid (Numbered) */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}
.feature-item {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
}
.feature-item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}
.feature-number {
    position: absolute;
    top: -20px;
    right: 20px;
    font-size: 5rem;
    font-weight: 800;
    color: rgba(59, 130, 246, 0.05);
    line-height: 1;
    font-family: 'Outfit';
    transition: var(--transition);
}
.feature-item:hover .feature-number {
    color: rgba(59, 130, 246, 0.15);
}

/* Members Grid */
.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}
.member-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
}
.member-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}
.member-img-wrap {
    width: 120px;
    height: 120px;
    margin: 2rem auto 1rem;
    border-radius: 50%;
    padding: 5px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}
.member-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid white;
}
.member-info {
    padding: 0 1.5rem 2rem;
}
.member-name {
    font-size: 1.125rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}
.member-role {
    font-size: 0.875rem;
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.member-dept {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Lists and Groups */
.category-group {
    margin-bottom: 4rem;
}
.category-heading {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Tabs System */
.tabs-container {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}
.tabs-header {
    display: flex;
    overflow-x: auto;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
}
.tab-btn {
    padding: 1.25rem 2rem;
    border: none;
    background: transparent;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    position: relative;
    font-family: 'Outfit';
    font-size: 1.1rem;
}
.tab-btn:hover {
    color: var(--primary);
    background: rgba(0,0,0,0.02);
}
.tab-btn.active {
    color: var(--primary);
    background: white;
}
.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: var(--primary);
}
.tab-content {
    display: none;
    padding: 3rem 2rem;
    animation: fadeIn 0.4s ease-out;
}
.tab-content.active {
    display: block;
}

/* Document Links */
.doc-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    list-style: none;
}
.doc-item {
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: var(--transition);
}
.doc-item:hover {
    border-color: var(--primary-light);
    background: white;
    box-shadow: var(--shadow-sm);
    transform: translateX(5px);
}
.doc-icon {
    font-size: 1.5rem;
    color: #ef4444; /* PDF Red */
}
.doc-icon.word {
    color: #3b82f6; /* Word Blue */
}
.doc-link {
    color: var(--text-main);
    font-weight: 500;
    flex: 1;
}
.doc-item:hover .doc-link {
    color: var(--primary);
}

/* Carousel/Slider */
.carousel {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.carousel-inner {
    display: flex;
    transition: transform 0.5s ease-in-out;
}
.carousel-item {
    min-width: 100%;
    height: 400px;
}
.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.carousel-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 1rem;
}
.carousel-btn {
    background: rgba(255,255,255,0.7);
    border: none;
    width: 40px; height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--primary);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}
.carousel-btn:hover {
    background: white;
    box-shadow: var(--shadow-md);
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 5rem 0 0;
}
.footer-wrap {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    padding-bottom: 3rem;
}
.footer-col h4 {
    color: white;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}
.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 40px; height: 2px;
    background: var(--secondary);
}
.footer-links {
    list-style: none;
}
.footer-links li {
    margin-bottom: 0.75rem;
}
.footer-links a {
    color: #94a3b8;
    transition: var(--transition);
}
.footer-links a:hover {
    color: var(--secondary);
    padding-left: 5px;
}
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}
.social-links a {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
}
.social-links a:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}
.footer-bottom {
    text-align: center;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #94a3b8;
}

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Media Queries */
@media (max-width: 992px) {
    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        padding: 2rem;
        box-shadow: var(--shadow-md);
    }
    .nav-menu.active {
        display: flex;
    }
    .hamburger {
        display: flex;
    }
    .hero-title {
        font-size: 3rem;
    }
}
@media (max-width: 768px) {
    .section { padding: 3rem 0; }
    .page-header { padding: 8rem 0 3rem; }
    .page-header h1 { font-size: 2.2rem; }
}
