/* Modern Professional Styles - Inspired by Lux4Health */
html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #333333;
    background-color: #ffffff;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

/* Navigation Bar Styling */
.navbar {
    background-color: #ffffff;
    padding-top: 1rem;
    padding-bottom: 1rem;
    transition: all 0.3s ease;
    z-index: 1030;
    position: fixed;
    width: 100%;
    top: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled {
    background-color: #ffffff !important;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.15);
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

/* Make sure navbar doesn't cover content */
body {
    padding-top: 70px;
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
    color: #2563eb !important;
}

.navbar-brand img {
    height: 40px;
    width: auto;
    transition: all 0.3s ease;
}

.navbar.scrolled .navbar-brand img {
    height: 35px;
}

.navbar-nav .nav-link {
    color: #374151 !important;
    margin-left: 0.75rem;
    margin-right: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #2563eb !important;
}

/* Hero Section Styling */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    position: relative;
    overflow: hidden;
    padding-top: 80px;
    color: white;
}

.hero-section::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23ffffff' fill-opacity='0.1' d='M0,160L48,181.3C96,203,192,245,288,261.3C384,277,480,267,576,240C672,213,768,171,864,165.3C960,160,1056,192,1152,197.3C1248,203,1344,181,1392,170.7L1440,160L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0.5;
    z-index: 0;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 300;
    color: #e0e7ff;
    max-width: 600px;
    margin-bottom: 2rem;
}

.hero-btn-tryout {
    background-color: transparent;
    border: 2px solid #ffffff;
    color: #ffffff;
    border-radius: 50px;
    padding: 1rem 2.5rem;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.hero-btn-tryout:hover {
    background-color: #ffffff;
    color: #1e40af;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
    text-decoration: none;
}

/* Section Styling */
section {
    padding: 5rem 0;
}

.bg-gradient {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

/* Divider */
.divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    margin: 0 auto 3rem auto;
    border-radius: 2px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    margin-bottom: 1.25rem;
    font-weight: 700;
    color: #1f2937;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.75rem;
    margin-bottom: 2rem;
    color: #2563eb;
}

h5 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #1f2937;
}

p {
    margin-bottom: 1.25rem;
    color: #6b7280;
    font-size: 1rem;
    line-height: 1.7;
}

.text-primary {
    color: #2563eb !important;
}

/* Card Styling */
.card {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    margin-bottom: 2rem;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: #2563eb;
}

.card-body {
    padding: 2rem;
}

.card h4,
.card h5 {
    color: #1f2937;
    font-weight: 600;
    margin-bottom: 1rem;
}

.card p {
    color: #6b7280;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Icon Circles */
.icon-circle {
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    color: #ffffff;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

/* Buttons */
.btn-outline-primary {
    color: #2563eb;
    border-color: #2563eb;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-outline-primary:hover {
    background-color: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    border: none;
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
    text-decoration: none;
    color: white;
}

/* Lists */
.list-unstyled li {
    margin-bottom: 0.75rem;
    color: #6b7280;
    line-height: 1.6;
}

.list-unstyled li b {
    color: #1f2937;
    font-weight: 600;
}

/* Contact Form Styling */
#contact {
    background-color: #f8fafc;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #374151;
}

.form-control {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #ffffff;
    color: #333333 !important;
}

.form-control:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    outline: none;
}

.form-check {
    margin-bottom: 1rem;
}

.form-check-label {
    font-weight: 400;
    color: #374151;
    margin-left: 0.5rem;
}

.btn-block {
    width: 100%;
}

/* Force visibility and text color for all select fields */
select.form-control,
select.form-control * {
    color: #222 !important;
    background-color: #fff !important;
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 1 !important;
    text-shadow: none !important;
    filter: none !important;
}

/* Remove unwanted text-shadow or filter that may hide text */
select.form-control {
    text-shadow: none !important;
    filter: none !important;
}

/* ROLLBACK: Remove robust select styling and revert to previous style for select.form-control */
select.form-control {
    background-color: #fff !important;
    color: #222 !important;
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 1 !important;
    text-shadow: none !important;
    filter: none !important;
    /* Remove border, radius, padding, appearance, etc. overrides */
}

select.form-control option {
    color: #222 !important;
    background: #fff !important;
}

/* Force select.form-control to inherit the same color and background as input fields, and ensure options are visible */
select.form-control {
    background-color: #ffffff !important;
    color: #333333 !important;
    border: 2px solid #e5e7eb !important;
    border-radius: 8px !important;
    font-size: 1rem !important;
    padding: 1rem !important;
    width: 100% !important;
    transition: all 0.3s ease !important;
    appearance: menulist !important;
    -webkit-appearance: menulist !important;
    -moz-appearance: menulist !important;
    -ms-appearance: menulist !important;
    text-shadow: none !important;
    filter: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 1 !important;
}

select.form-control option {
    color: #333333 !important;
    background: #fff !important;
}

/* Use the exact select styling from styles copy.css for maximum compatibility */
select.form-control {
    color: #212529 !important;
    background-color: #fff !important;
    border: 1px solid #ced4da !important;
    border-radius: 5px !important;
    height: 38px !important;
    padding: 6px 12px !important;
    appearance: auto !important;
    -webkit-appearance: auto !important;
    -moz-appearance: auto !important;
    -ms-appearance: auto !important;
}

select.form-control option {
    color: #212529 !important;
    background: #fff !important;
}

select.form-control:focus {
    border-color: #80bdff !important;
    outline: 0 !important;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, .25) !important;
}

/* Footer */
footer {
    background-color: #1f2937;
    color: #9ca3af;
    text-align: center;
    padding: 2rem 0;
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .navbar-nav {
        text-align: center;
        background-color: rgba(255, 255, 255, 0.98);
        padding-top: 1rem;
        padding-bottom: 1rem;
        border-radius: 0.5rem;
        margin-top: 0.5rem;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }

    .navbar-nav .nav-item {
        margin-bottom: 0.5rem;
    }

    .hero-section {
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-btn-tryout {
        padding: 0.8rem 2rem;
        font-size: 0.9rem;
    }

    h2 {
        font-size: 2rem;
    }

    .card-body {
        padding: 1.5rem;
    }
}

@media (max-width: 576px) {
    section {
        padding: 3rem 0;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .card-body {
        padding: 1.25rem;
    }
}