/* Custom styles for Bright Wings Academy - Tech Entrepreneurship */

/* Color Palette from Logo */
:root {
    --navy: #153756;        /* R:21, G:55, B:86 - Primary brand color */
    --gold: #ebb04d;        /* R:235, G:176, B:77 - Accent color */
    --cream: #fcf9f3;       /* R:252, G:249, B:243 - Light background */
    --white: #ffffff;
    --dark: #2c3e50;
    --muted: #6c757d;
    --light-gray: #f8f9fa;
    --border: #e9ecef;
    
    /* Override Bootstrap primary colors */
    --bs-primary: #153756;
    --bs-primary-rgb: 21, 55, 86;
    --bs-secondary: #ebb04d;
    --bs-secondary-rgb: 235, 176, 77;
}

/* General styles */
body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--dark);
    line-height: 1.6;
    background-color: var(--white);
}

/* Header styles */
.navbar {
    background-color: var(--white) !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 1rem 0;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--navy) !important;
}

.nav-link {
    font-weight: 500;
    color: var(--dark) !important;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem !important;
}

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

/* Hero section */
.hero-section {
    background: linear-gradient(135deg, var(--cream) 0%, var(--white) 100%);
    border-radius: 0.5rem;
    padding: 4rem 2rem;
    margin-bottom: 3rem;
}

.hero-title {
    color: var(--navy);
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    color: var(--dark);
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

/* Buttons */
.btn-primary {
    background-color: var(--navy) !important;
    border-color: var(--navy) !important;
    color: white !important;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
    background-color: #0f2640 !important;
    border-color: #0f2640 !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(21, 55, 86, 0.3);
}

.btn-outline-primary {
    border: 2px solid var(--gold) !important;
    color: var(--gold) !important;
    background: transparent !important;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover, .btn-outline-primary:focus, .btn-outline-primary:active {
    background-color: var(--gold) !important;
    border-color: var(--gold) !important;
    color: var(--navy) !important;
    transform: translateY(-2px);
}

/* Override any remaining Bootstrap primary styles */
.text-primary {
    color: var(--navy) !important;
}

.bg-primary {
    background-color: var(--navy) !important;
}

.border-primary {
    border-color: var(--navy) !important;
}

.btn-check:checked + .btn-outline-primary,
.btn-outline-primary:active,
.btn-outline-primary.active,
.show > .btn-outline-primary.dropdown-toggle {
    background-color: var(--gold) !important;
    border-color: var(--gold) !important;
    color: var(--navy) !important;
}

.btn-outline-primary:focus {
    box-shadow: 0 0 0 0.25rem rgba(235, 176, 77, 0.5) !important;
}

.btn-primary:focus {
    box-shadow: 0 0 0 0.25rem rgba(21, 55, 86, 0.5) !important;
}

/* Cards */
.card {
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    background: var(--white);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.feature-card {
    padding: 2rem;
    text-align: center;
    height: 100%;
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    background: var(--white);
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: var(--gold);
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(235, 176, 77, 0.2);
}

.feature-icon {
    color: var(--gold);
    margin-bottom: 1rem;
}

/* Stats */
.stat-card {
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    padding: 2rem;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.stat-number {
    color: var(--navy);
    font-weight: 800;
}

.stat-icon {
    color: var(--gold);
}

/* Sections */
.section-accent {
    background: linear-gradient(135deg, var(--cream) 0%, var(--white) 100%);
    border-radius: 0.75rem;
    padding: 3rem;
    margin: 3rem 0;
}

.cta-section {
    background: var(--navy);
    color: white;
    border-radius: 0.75rem;
    padding: 3rem;
    text-align: center;
}

.cta-section h2 {
    color: white;
}

.cta-section .btn-outline-primary {
    border-color: var(--gold);
    color: var(--gold);
}

.cta-section .btn-outline-primary:hover {
    background-color: var(--gold);
    color: var(--navy);
}

/* Program cards */
.program-card {
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    overflow: hidden;
    transition: all 0.3s ease;
    background: var(--white);
}

.program-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-color: var(--gold);
}

.program-header {
    background: var(--navy);
    color: white;
    padding: 1.5rem;
}

.program-level {
    background: var(--gold);
    color: var(--navy);
    font-weight: 600;
}

/* Success stories */
.success-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    padding: 2rem;
    transition: all 0.3s ease;
    height: 100%;
}

.success-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-color: var(--gold);
}

.metric-value {
    color: var(--navy);
    font-weight: 700;
}

.company-logo {
    background: var(--gold);
    color: var(--navy);
}

/* Team cards */
.team-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-color: var(--gold);
}

.team-role {
    color: var(--gold);
    font-weight: 600;
}

/* Forms */
.form-control, .form-select {
    border: 2px solid var(--border);
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
    background: var(--white);
}

/* Footer */
footer {
    background: var(--navy);
    color: white;
    padding: 3rem 0 2rem;
    margin-top: 4rem;
}

footer h5, footer h6 {
    color: white;
}

footer .text-muted {
    color: rgba(255, 255, 255, 0.7) !important;
}

footer a {
    color: var(--gold);
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: white;
}

/* Override Bootstrap link colors */
a {
    color: var(--gold);
    text-decoration: none;
}

a:hover {
    color: var(--navy);
}

.link-primary {
    color: var(--navy) !important;
}

.link-primary:hover {
    color: var(--gold) !important;
}

/* Alert overrides */
.alert-primary {
    background-color: rgba(21, 55, 86, 0.1) !important;
    border-color: var(--navy) !important;
    color: var(--navy) !important;
}

/* Form control focus states */
.form-control:focus, .form-select:focus {
    border-color: var(--gold) !important;
    box-shadow: 0 0 0 0.2rem rgba(235, 176, 77, 0.25) !important;
}

/* Utility classes */
.text-navy {
    color: var(--navy) !important;
}

.text-gold {
    color: var(--gold) !important;
}

.bg-cream {
    background-color: var(--cream) !important;
}

.border-gold {
    border-color: var(--gold) !important;
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Responsive design */
@media (max-width: 768px) {
    .hero-section {
        padding: 2rem 1rem;
        text-align: center;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .section-accent {
        padding: 2rem;
        margin: 2rem 0;
    }
    
    .cta-section {
        padding: 2rem;
    }
}

@media (max-width: 576px) {
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    .hero-section {
        padding: 1.5rem 1rem;
    }
}

/* Accessibility */
.btn:focus, .form-control:focus, .form-select:focus {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .card, .feature-card, .stat-card {
        border-width: 2px;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Service Category Cards - Founder-Friendly Design */
.service-category-card {
    border: 2px solid var(--border);
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    background: var(--white);
    overflow: hidden;
}

.service-category-card:hover {
    border-color: var(--gold);
    box-shadow: 0 8px 30px rgba(235, 176, 77, 0.2);
    transform: translateY(-4px);
}

.service-header {
    background: linear-gradient(135deg, var(--cream) 0%, var(--white) 100%);
    border-bottom: 1px solid var(--border);
}

/* Journey Stage Cards */
.journey-stage {
    transition: all 0.2s ease;
}

.journey-stage:hover {
    background-color: var(--cream) !important;
    transform: translateX(4px);
}

/* Collapsible Tech Details */
.collapse a[data-bs-toggle="collapse"] {
    transition: color 0.2s ease;
}

.collapse a[data-bs-toggle="collapse"]:hover {
    color: var(--navy) !important;
}

.collapse a[data-bs-toggle="collapse"] .fa-chevron-right {
    transition: transform 0.3s ease;
}

.collapse.show + a .fa-chevron-right,
a[aria-expanded="true"] .fa-chevron-right {
    transform: rotate(90deg);
}

/* Pricing Cards Enhancement */
.card-header.bg-navy {
    background-color: var(--navy) !important;
}

/* Service Features Badges */
.service-category-card .badge {
    font-weight: 500;
    padding: 0.4rem 0.75rem;
}

/* Responsive adjustments for service cards */
@media (max-width: 991px) {
    .service-category-card {
        margin-bottom: 1.5rem;
    }
    
    .journey-stage {
        padding: 0.75rem !important;
    }
}

@media (max-width: 576px) {
    .service-header {
        padding: 1.5rem !important;
    }
    
    .service-category-card .card-body {
        padding: 1.5rem !important;
    }
}

/* ============================================================================
   Contact Submissions Dashboard
   ============================================================================ */

/* Status Badge Colors */
.badge.bg-new-color {
    background-color: #0d6efd !important;  /* Bootstrap primary blue */
}

.badge.bg-contacted-color {
    background-color: #0dcaf0 !important;  /* Bootstrap info cyan */
}

.badge.bg-qualified-color {
    background-color: #ffc107 !important;  /* Bootstrap warning yellow */
    color: #000 !important;  /* Dark text for yellow background */
}

.badge.bg-converted-color {
    background-color: #198754 !important;  /* Bootstrap success green */
}

.badge.bg-closed-color {
    background-color: #6c757d !important;  /* Bootstrap secondary gray */
}

/* Table Enhancements */
.table-hover tbody tr:hover {
    background-color: var(--cream);
}
