@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;700&display=swap');

:root {
    --coa-black: #1e272e;
    --coa-blue: #00B041;
    --coa-green: #00B041;
    --coa-primary: #00B041;
    --coa-secondary: #636e72;
    --coa-gray-light: #f1f2f6;
    --coa-text: #2d3436;
    --coa-white: #ffffff;
}

body {
    background-color: var(--coa-white);
    font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
    /* Keeping Montserrat as polish */
    color: var(--coa-text);
    line-height: 1.5;
}

/* Header */
.main-header {
    background-color: #f8f9fa;
    border-bottom: none;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.15);
    padding: 0;
    height: 80px;
    /* Slightly taller for the logos provided */
    display: flex;
    align-items: center;
}

.brand-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.brand-text {
    font-weight: 700;
    color: var(--coa-black);
    text-transform: uppercase;
    font-size: 1.2rem;
    letter-spacing: 0.5px;
    line-height: 1;
}

.brand-subtext {
    font-size: 0.7rem;
    color: #666;
    letter-spacing: 1px;
    display: block;
    font-weight: 400;
}

/* Page Title */
.page-title {
    color: var(--coa-black);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.page-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--coa-blue);
}

/* Form Styling - SQUARE & FLAT (Restored) */
.section-header {
    background-color: var(--coa-gray-light);
    color: var(--coa-black);
    padding: 0.75rem 1rem;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.95rem;
    border-left: 5px solid var(--coa-green);
    margin-bottom: 1.5rem;
}

.form-label {
    font-weight: 600;
    color: var(--coa-black);
    font-size: 0.9rem;
    text-transform: uppercase;
    margin-bottom: 0.3rem;
}

/* Square Inputs */
.form-control,
.form-select {
    border-radius: 0 !important;
    /* Force Square */
    border: 1px solid #ccc;
    height: 40px !important;
    /* Consistent Height */
    padding: 0.4rem 0.8rem;
    font-size: 0.95rem;
    color: #000;
    background-color: #fff;
    transition: all 0.2s;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--coa-primary);
    box-shadow: 0 0 0 0.2rem rgba(0, 176, 65, 0.25);
    background-color: #fff;
}

/* Validation */
.form-control.is-invalid {
    border-color: var(--coa-secondary);
    background-image: none;
}

.invalid-feedback {
    color: var(--coa-secondary);
    font-size: 0.8rem;
    font-weight: 600;
}

/* Hero Banner - Ultra Minimal */
.hero-section {
    background-color: #f8f9fa;
    position: relative;
    border: none !important;
    box-shadow: none !important;
}

.hero-brand-strip {
    display: none;
}

/* Removed ::after gradient pseudo-element */

.hero-athlete-img {
    display: none;
    /* Ensure image is hidden if present */
}

.ls-1 {
    letter-spacing: 1px;
}



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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-hero-text {
    opacity: 0;
    animation: fadeInUp 1s cubic-bezier(0.23, 1, 0.32, 1) forwards;
    animation-delay: 0.2s;
}

.hero-overlay h1 {
    font-size: 1.8rem;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
    letter-spacing: 1px;
    margin-bottom: 0.2rem;
}

.hero-overlay p {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.95;
    font-weight: 400;
}

/* Buttons - SQUARE (Restored) */
.btn {
    border-radius: 0 !important;
    /* Force Square */
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 1rem 3rem;
    transition: all 0.3s;
}

.btn-primary {
    background-color: var(--coa-green) !important;
    border: none !important;
    color: #fff !important;
}

.btn-primary:hover {
    background-color: #008f35 !important;
    color: #fff !important;
}

.btn-secondary {
    background-color: #ccc;
    border: none;
    color: #333;
}

.btn-secondary:hover {
    background-color: #aaa;
}

/* Premium Footer - "WOW" Effect */
.custom-footer {
    background: linear-gradient(135deg, #1e272e 0%, #0a0e12 100%);
    margin-top: 2rem;
    position: relative;
    color: #eee;
    overflow: hidden;
}

.footer-main-content {
    padding: 5rem 0 3rem 0;
    position: relative;
    z-index: 1;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 3rem;
}

.footer-col h5 {
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    padding-left: 15px;
    border-left: 3px solid var(--coa-green);
    /* Vertical Left Bar */
}

.footer-col.logo-col {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    border-left: 3px solid var(--coa-green);
}

.footer-col.logo-col img {
    height: 80px;
    /* Adjusted height */
    width: auto;
    object-fit: contain;
    object-position: left;
    /* Align image content to the left */
    margin-left: -10px;
    /* Compensate for internal transparency of the PNG */
    transition: transform 0.3s ease;
}

.footer-col.logo-col img:hover {
    transform: scale(1.05);
}

.footer-tagline {
    font-size: 0.85rem;
    color: #aaa;
    line-height: 1.6;
    max-width: 250px;
}

.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-list li {
    margin-bottom: 0.8rem;
}

.footer-links-list a {
    color: #aaa;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.footer-links-list a:hover {
    color: var(--coa-green);
    padding-left: 5px;
}

.footer-col.address-col p,
.footer-col.contact-col p {
    font-size: 0.85rem;
    line-height: 1.8;
    color: #aaa;
    margin-bottom: 1rem;
}

.footer-col strong {
    color: #fff;
}

.footer-col i {
    color: var(--coa-green);
    margin-right: 10px;
    font-size: 1.1rem;
}

.footer-copyright-bar {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #888;
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.social-icons-premium {
    display: flex;
    gap: 15px;
    margin-top: 2rem;
}

.social-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-btn:hover {
    background: var(--coa-green);
    color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 176, 65, 0.3);
    border-color: var(--coa-green);
}

@media (max-width: 992px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-col h5::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-col.logo-col {
        align-items: center;
    }

    .social-icons-premium {
        justify-content: center;
    }
}

/* Utility */
.required-star {
    color: var(--coa-blue);
    margin-left: 2px;
}

/* Select2 Custom Styles - SQUARE & FLAT (MATCHED TO FORM-CONTROL) */
.select2-container--default .select2-selection--single {
    border-radius: 0 !important;
    border: 1px solid #ccc !important;
    height: 40px !important;
    /* Matched to form-control height */
    display: block !important;
    /* Block for reliable line-height */
    background-color: #fff !important;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out !important;
    padding: 0 !important;
    position: relative !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 38px !important;
    /* Vertical center for 40px height */
    color: #000 !important;
    padding-left: 0.8rem !important;
    padding-right: 45px !important;
    font-size: 0.95rem !important;
    /* Matched to form-control */
    display: block !important;
    height: 100% !important;
    width: 100% !important;
    font-family: 'Montserrat', sans-serif !important;
}

.select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #6c757d !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 38px !important;
    top: 0 !important;
    right: 5px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.select2-container--default .select2-selection--single .select2-selection__clear {
    position: absolute !important;
    right: 28px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    margin-right: 0 !important;
    padding: 0 !important;
    font-size: 1.2rem !important;
    z-index: 1 !important;
    color: #999 !important;
}

.select2-container--default.select2-container--focus .select2-selection--single,
.select2-container--default.select2-container--open .select2-selection--single {
    border-color: var(--coa-primary) !important;
    box-shadow: 0 0 0 0.25rem rgba(0, 176, 65, 0.25) !important;
    outline: 0 !important;
}

.select2-dropdown {
    border-radius: 0 !important;
    border: 1px solid var(--coa-primary) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
}

.select2-container--default .select2-results__option {
    padding: 0.5rem 0.8rem !important;
    font-size: 0.95rem !important;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: var(--coa-primary) !important;
}

.select2-container--default .select2-search--dropdown {
    padding: 10px !important;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    border-radius: 0 !important;
    border: 1px solid #ccc !important;
    padding: 0.6rem 0.8rem !important;
    font-size: 1rem !important;
}

.select2-container--default .select2-search--dropdown .select2-search__field:focus {
    border-color: var(--coa-primary) !important;
    outline: 0 !important;
    box-shadow: 0 0 0 0.2rem rgba(0, 176, 65, 0.15) !important;
}

/* Terms checkbox green */
.form-check-input:checked {
    background-color: #00B041 !important;
    border-color: #00B041 !important;
}

.form-check-input:focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 176, 65, 0.25) !important;
}