/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    line-height: 1.6;
}

/* Brand Colors */
:root {
    --navy: #0A1D4D;
    --gold: #C8A74E;
    --silver: #E0E0E0;
    --white: #FFFFFF;
}

/* Navigation */
.navbar {
    background-color: var(--white) !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.navbar-brand {
    color: var(--navy) !important;
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-link {
    color: var(--navy) !important;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--gold) !important;
}

.nav-link.active {
    color: var(--gold) !important;
    border-bottom: 2px solid var(--gold);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--navy) 0%, #1e3a8a 100%);
    position: relative;
    overflow: hidden;
}

.hero h1 {
    font-size: 3rem;
    font-weight: bold;
    animation: fadeInUp 0.8s ease;
}

.hero p {
    font-size: 1.2rem;
    animation: fadeInUp 0.8s ease 0.2s both;
}

/* Buttons */
.btn-primary {
    background-color: var(--navy);
    border-color: var(--navy);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #0c2a6b;
    border-color: #0c2a6b;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn-warning {
    background-color: var(--gold);
    border-color: var(--gold);
    color: var(--navy);
    font-weight: bold;
}

.btn-warning:hover {
    background-color: #b8963a;
    border-color: #b8963a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Cards */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.card-img-top {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

/* Course Cards */
.course-card {
    border-radius: 10px;
    overflow: hidden;
}

.course-card .card-body {
    padding: 1.5rem;
}

/* Testimonials */
.testimonial-card {
    border-left: 4px solid var(--gold);
    background-color: #f8f9fa;
    padding: 20px;
    margin-bottom: 20px;
}

/* Forms */
.form-control:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 0.2rem rgba(200, 167, 78, 0.25);
}

/* Footer */
footer {
    background-color: var(--navy) !important;
    color: var(--white);
    margin-top: 50px;
}

footer a {
    color: var(--gold);
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--white);
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: white;
    border-radius: 50px;
    padding: 12px 18px;
    font-size: 28px;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #128C7E;
    color: white;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .navbar-brand {
        font-size: 1.2rem;
    }
}

/* Utility Classes */
.text-gold {
    color: var(--gold);
}

.bg-gold {
    background-color: var(--gold);
}

.border-gold {
    border-color: var(--gold) !important;
}

/* Loading Spinner */
.spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid var(--gold);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Table Styles */
.table-primary {
    background-color: var(--navy) !important;
    color: white;
}

/* Alert Styles */
.alert-success {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

.alert-danger {
    background-color: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}