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

:root {
    --primary-base: #0f172a;
    --accent-blue: #2563eb;
    --accent-hover: #1d4ed8;
    --text-main: #334155;
    --text-muted: #64748b;
    --bg-light: #f8fafc;
    --white: #ffffff;
    
    --gradient-hero: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    --gradient-accent: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-premium: 0 10px 30px -10px rgba(15, 23, 42, 0.08);
    --shadow-hover: 0 20px 40px -10px rgba(15, 23, 42, 0.12);
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-light);
    color: var(--text-main);
    font-family: 'Outfit', system-ui, Roboto, Helvetica, Arial, sans-serif;
    overflow-x: hidden;
}

/* Headers & Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--primary-base);
}

.section-title {
    border-left: 5px solid var(--accent-blue);
    padding-left: 1rem;
    margin-bottom: 2.5rem;
    font-size: 2.25rem;
}

/* Navbar Customization */
.navbar {
    background-color: var(--primary-base) !important;
    padding: 1rem 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: -0.5px;
}

.nav-link {
    color: rgba(255,255,255,0.8) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    position: relative;
    transition: all 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    color: #fff !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent-blue);
    transition: width 0.3s ease;
}

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

/* SIS Button Override */
.nav-item .btn-sis {
    background: var(--gradient-accent);
    border: none;
    color: #fff !important;
    font-weight: 600;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
    transition: all 0.3s ease;
}

.nav-item .btn-sis:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}
.nav-item .btn-sis::after {
    display: none; /* no underline */
}

/* Page View Panels */
.page-view-panel {
    scroll-margin-top: 90px;
    margin-bottom: 2rem;
}

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

/* Hero Section */
.hero-section {
    background: var(--gradient-hero);
    color: var(--white);
    padding: 6rem 0;
    border-radius: 0 0 40px 40px;
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, transparent 60%);
    z-index: 1;
}

.hero-section * {
    z-index: 2;
    position: relative;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.8);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Cards & Interactions */
.card-premium {
    background: var(--white);
    border: none;
    border-radius: 16px;
    box-shadow: var(--shadow-premium);
    transition: all 0.3s ease;
    height: 100%;
    overflow: hidden;
}

.card-premium:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.card-icon-wrapper {
    width: 60px;
    height: 60px;
    background: var(--bg-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: var(--accent-blue);
    transition: all 0.3s ease;
}

.card-premium:hover .card-icon-wrapper {
    background: var(--accent-blue);
    color: #fff;
}

.btn-primary-custom {
    background: var(--accent-blue);
    border: none;
    border-radius: 8px;
    padding: 0.6rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    color: white;
}

.btn-primary-custom:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(29, 78, 216, 0.3);
    color: white;
}

/* Form Styling */
.form-control, .form-select {
    border-radius: 8px;
    padding: 0.75rem 1rem;
    border: 1px solid #e2e8f0;
    background-color: var(--bg-light);
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    background-color: #fff;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

label {
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

/* Staff Avatars */
.staff-avatar {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--white);
    box-shadow: var(--shadow-premium);
    margin: 0 auto 1.5rem auto;
    display: block;
    transition: all 0.3s ease;
}

.card-premium:hover .staff-avatar {
    transform: scale(1.05);
}

/* Footer */
.footer {
    background-color: var(--primary-base);
    color: rgba(255,255,255,0.7);
    padding: 2rem 0;
    text-align: center;
    margin-top: 4rem;
}

/* Map Card */
.map-container {
    height: 300px;
    background-color: var(--bg-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-weight: 500;
}
