/* RESET & BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Roboto', 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #333;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* HEADER & NAVIGATION */
header {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-size: 1.5rem;
}

.navbar-nav {
    margin-left: auto;
}

.nav-link {
    transition: color 0.3s ease;
    position: relative;
    border-radius: 5px;
    margin: 0 2px;
    padding: 10px 15px;
}

.nav-link:hover {
    color: #e9ecef !important;
}

.nav-link.active {
    background-color: rgba(255,255,255,0.1);
    font-weight: 500;
}

/* Mobile Toggle */
.navbar-toggler {
    border: none !important;
    padding: 8px 12px;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .navbar-nav {
        padding: 10px 0;
        margin-left: 0;
        text-align: center;
    }
    
    .nav-link {
        padding: 12px 15px !important;
        margin: 2px 0;
        display: block;
    }
}
/* HERO SECTION */
.hero {
    background: linear-gradient(135deg, #003366 0%, #0055a4 100%);
    position: relative;
    overflow: hidden;
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/hero-pattern.png') repeat;
    opacity: 0.1;
}

.hero h1 {
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* SECTIONS */
section {
    padding: 80px 0;
}

section.bg-light {
    background-color: #f8f9fa;
}

.section-title {
    position: relative;
    margin-bottom: 3rem;
    text-align: center;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #003366;
}

/* CARDS */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15) !important;
}

.card-img-top {
    transition: transform 0.3s ease;
}

.card:hover .card-img-top {
    transform: scale(1.05);
}

/* BUTTONS */
.btn {
    border-radius: 30px;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #003366;
    border: none;
}

.btn-primary:hover {
    background: #002244;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,51,102,0.3);
}

.btn-light {
    background: white;
    color: #003366;
}

.btn-light:hover {
    background: #f8f9fa;
    color: #002244;
}

/* FORMS */
.form-control {
    border-radius: 8px;
    border: 2px solid #e9ecef;
    padding: 12px 15px;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: #003366;
    box-shadow: 0 0 0 0.25rem rgba(0,51,102,0.25);
}

/* FOOTER */
footer {
    background: #001a33;
}

footer a {
    transition: color 0.3s ease;
}

footer a:hover {
    color: #66b3ff !important;
}

footer h5 {
    color: #66b3ff;
    margin-bottom: 20px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    nav {
        flex-wrap: wrap;
    }
    
    nav a {
        margin: 5px 10px;
        font-size: 0.9rem;
    }
    
    .card {
        margin-bottom: 20px;
    }
}

@media (max-width: 576px) {
    section {
        padding: 40px 0;
    }
    
    .hero {
        padding: 40px 0;
    }
    
    .hero h1 {
        font-size: 1.75rem;
    }
    
    .lead {
        font-size: 1rem;
    }
}

/* UTILITIES */
.text-primary {
    color: #003366 !important;
}

.bg-primary {
    background-color: #003366 !important;
}

.shadow-sm {
    box-shadow: 0 2px 10px rgba(0,0,0,0.08) !important;
}

.shadow {
    box-shadow: 0 4px 20px rgba(0,0,0,0.1) !important;
}

/* ANIMATIONS */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* ALERTS */
.alert {
    border-radius: 8px;
    border: none;
}

.alert-success {
    background: #d4edda;
    color: #155724;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5 {
    font-weight: 700;
    color: #003366;
    line-height: 1.3;
}

.display-4 {
    font-weight: 800;
}

.lead {
    font-size: 1.25rem;
    font-weight: 400;
}

/* CARD SPECIFICS */
.card-title {
    color: #003366;
    margin-bottom: 15px;
}

.card-text {
    color: #666;
    font-size: 0.95rem;
}

/* ICONS */
.fa-2x {
    font-size: 2em;
}

/* CONTAINER */
.container {
    max-width: 1200px;
}

/* GRID GUTTERS */
.g-4 {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 1.5rem;
}

/* MOBILE MENU STYLES */
.navbar-toggler {
    background: transparent;
    padding: 0;
    outline: none;
    box-shadow: none;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* Mobile Menu Collapse */
#mobileMenu {
    background: #003366;
    border-radius: 8px;
    margin-top: 10px;
    padding: 15px;
}

#mobileMenu a {
    padding: 10px 15px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

#mobileMenu a:hover {
    background-color: rgba(255,255,255,0.1);
}

#mobileMenu a.active {
    background-color: rgba(255,255,255,0.2);
    font-weight: 600;
}

/* Desktop Menu - Hide on mobile */
@media (max-width: 991.98px) {
    .d-lg-flex {
        display: none !important;
    }
}

@media (min-width: 992px) {
    .d-lg-none {
        display: none !important;
    }
    .navbar-collapse {
        display: none !important;
    }
}

/* Mobile Menu Animation */
.collapse:not(.show) {
    display: none;
}

.collapsing {
    height: 0;
    overflow: hidden;
    transition: height 0.35s ease;
}

/* Mobile Menu Spacing */
@media (max-width: 991.98px) {
    header .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    #mobileMenu {
        margin-left: -15px;
        margin-right: -15px;
        margin-bottom: -15px;
    }
}

/* Mobile Menu Icons */
#mobileMenu .fas {
    width: 20px;
    text-align: center;
}

.dropdown-item.active {
    background-color: #0d6efd;
    color: white;
}