/**
 * CampusCare - Custom Stylesheet
 * 
 * Project: CampusCare – Campus Complaint, Safety & Student Support System (SY BCA)
 * Technologies: HTML5, CSS3, Bootstrap 5, Vanilla JS, PHP
 * 
 * Design Principles:
 * - Professional college aesthetic
 * - Clean layout, readable typography, and high contrast
 * - Subtle shadows and natural hover states without excessive animation
 */

/* ==========================================================================
   CSS Custom Properties (Variables)
   ========================================================================== */
:root {
    --primary-color: #0d6efd;
    --primary-hover: #0b5ed7;
    --secondary-color: #475569;
    --dark-surface: #0f172a;
    --light-bg: #f8fafc;
    --card-border: #e2e8f0;
    --text-primary: #1e293b;
    --text-muted: #64748b;
    --box-shadow-subtle: 0 4px 12px rgba(15, 23, 42, 0.05);
    --box-shadow-hover: 0 10px 24px rgba(15, 23, 42, 0.08);
    --transition-standard: all 0.25s ease-in-out;
}

/* ==========================================================================
   Base & Typography
   ========================================================================== */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-primary);
    background-color: #ffffff;
    line-height: 1.6;
    scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
    color: #0f172a;
    font-weight: 700;
    letter-spacing: -0.015em;
}

/* ==========================================================================
   Navigation Bar
   ========================================================================== */
.navbar {
    border-bottom: 1px solid #eef2f6;
    transition: var(--transition-standard);
}

.navbar-brand {
    font-size: 1.35rem;
    letter-spacing: -0.02em;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--secondary-color) !important;
    transition: var(--transition-standard);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color) !important;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    padding: 5rem 0 4.5rem;
    background-color: var(--light-bg);
    border-bottom: 1px solid #eef2f6;
}

.hero-heading {
    font-size: 2.75rem;
    line-height: 1.2;
    margin-bottom: 1.25rem;
}

@media (max-width: 768px) {
    .hero-section {
        padding: 3.5rem 0 3rem;
    }
    .hero-heading {
        font-size: 2rem;
    }
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 650px;
    margin-bottom: 2rem;
}

.badge-item {
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.45rem 0.85rem;
    border-radius: 50rem;
    background-color: #e0f2fe;
    color: #0369a1;
    border: 1px solid #bae6fd;
}

/* ==========================================================================
   Section Spacing & Utilities
   ========================================================================== */
.section-padding {
    padding: 4.5rem 0;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================================================
   Problem Section
   ========================================================================== */
.problem-card {
    background-color: #ffffff;
    border: 1px solid var(--card-border);
    border-radius: 0.75rem;
    padding: 1.75rem;
    box-shadow: var(--box-shadow-subtle);
    height: 100%;
}

.problem-icon-wrapper {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    background-color: #fee2e2;
    color: #dc2626;
    font-size: 1.35rem;
}

/* ==========================================================================
   Service Cards
   ========================================================================== */
.service-card {
    background: #ffffff;
    border: 1px solid var(--card-border);
    border-radius: 0.75rem;
    padding: 2rem;
    height: 100%;
    box-shadow: var(--box-shadow-subtle);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--box-shadow-hover);
    border-color: #cbd5e1;
}

.service-icon-box {
    width: 52px;
    height: 52px;
    border-radius: 0.65rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
}

/* Subtle distinct tones for service card icons */
.icon-blue   { background-color: #eff6ff; color: #2563eb; }
.icon-teal   { background-color: #ecfdf5; color: #059669; }
.icon-purple { background-color: #faf5ff; color: #7c3aed; }
.icon-amber  { background-color: #fffbeb; color: #d97706; }

/* ==========================================================================
   How It Works (Steps)
   ========================================================================== */
.step-card {
    background-color: #ffffff;
    border: 1px solid var(--card-border);
    border-radius: 0.75rem;
    padding: 2rem 1.5rem;
    text-align: center;
    height: 100%;
    box-shadow: var(--box-shadow-subtle);
    position: relative;
}

.step-number {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
}

/* ==========================================================================
   Contact / Help CTA Section
   ========================================================================== */
.contact-card {
    background-color: var(--light-bg);
    border: 1px solid var(--card-border);
    border-radius: 0.85rem;
    padding: 2.5rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background-color: var(--dark-surface);
}

.footer-link {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: #ffffff;
}

.tracking-wide {
    letter-spacing: 0.05em;
    font-size: 0.85rem;
}
