/* --- General & Typography --- */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #ffffff;
    color: #333; /* A softer dark gray for main body text */
    scroll-padding-top: 80px; /* Adjusted for larger navbar */
    scroll-behavior: smooth;
}

/* --- New Color Palette --- */
:root {
    --navy-blue: #0A2463;
    --bright-orange: #FF6700;
    --darker-orange: #e05a00; /* For hover effects */
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: var(--navy-blue); /* Navy Blue for all headings */
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--bright-orange); /* Orange accent line */
}

.btn-primary {
    background-color: var(--bright-orange);
    border-color: var(--bright-orange);
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--darker-orange);
    border-color: var(--darker-orange);
    transform: translateY(-2px);
}

.bg-light {
    background-color: #f8f9fa !important;
}


/* --- Navigation Bar --- */
/* LOGO SIZE INCREASED */
.logo-img {
    height: 65px; 
    width: auto;
}

.navbar {
    padding-top: 10px;
    padding-bottom: 10px;
}

.nav-link {
    font-weight: 500;
    color: #495057;
    transition: color 0.3s;
}

.nav-link:hover, .nav-link.active {
    color: var(--bright-orange) !important; /* Orange for hover/active links */
}


/* --- Hero Carousel Section --- */
#heroCarousel .carousel-item {
    height: 90vh;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#heroCarousel .carousel-caption {
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(10, 36, 99, 0.6); /* Semi-transparent Navy overlay */
    padding: 20px;
    color: #fff;
    text-align: center;
}

#heroCarousel h1 {
    font-weight: 700;
    color: #fff;
}

#heroCarousel .lead {
    font-weight: 300;
    font-size: 1.25rem;
}


/* --- About Section --- */
.about-card {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    border-left: 5px solid var(--bright-orange); /* Orange accent border */
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.about-card h3 {
    margin-bottom: 15px;
    color: var(--navy-blue);
}

/* --- Our Sports Gallery --- */
.sport-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.sport-card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}
.sport-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.sport-card:hover img {
    transform: scale(1.1);
}
.sport-name {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: #fff;
    padding: 20px;
    font-size: 1.5rem;
    font-weight: 600;
}


/* --- Services Section --- */
.service-card {
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    height: 100%;
    border: 1px solid #e9ecef;
    transition: background-color 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    border-color: var(--bright-orange);
    box-shadow: 0 5px 15px rgba(255, 103, 0, 0.1);
}

.service-card h4 {
    margin-bottom: 20px;
    font-size: 1.5rem;
}

/* --- Upcoming Events Section --- */
.event-card {
    display: flex;
    align-items: center;
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    flex-wrap: wrap;
    gap: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.07);
}
.event-date {
    background-color: var(--navy-blue); /* Navy blue for date box */
    color: #fff;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    font-weight: 700;
    min-width: 100px;
}
.event-date span {
    display: block;
}
.event-date span:first-child {
    font-size: 2.5rem;
    line-height: 1;
}
.event-date span:last-child {
    font-size: 1rem;
}
.event-details {
    flex-grow: 1;
}
.event-details h3 {
    margin-bottom: 5px;
}
.event-action {
    margin-left: auto;
}

@media (max-width: 768px) {
    .event-card {
        flex-direction: column;
        text-align: center;
    }
    .event-action {
        margin-left: 0;
        width: 100%;
    }
    .btn-primary {
        width: 100%;
    }
}


/* --- Contact Section --- */
#contact a {
    color: var(--bright-orange); /* Orange for contact link */
    text-decoration: none;
    font-weight: 500;
}
.form-control {
    background-color: #f8f9fa;
    border: 1px solid #ced4da;
    color: #212529;
    padding: 12px;
}
.form-control:focus {
    background-color: #fff;
    border-color: var(--bright-orange);
    box-shadow: 0 0 0 0.25rem rgba(255, 103, 0, 0.25);
    color: #212529;
}
.form-label {
    margin-bottom: .5rem;
    color: #495057;
}

/* --- Footer --- */
footer {
    background-color: var(--navy-blue); /* Navy Blue footer */
    color: #f8f9fa;
    margin-top: auto; /* Pushes footer to bottom */
}


/* --- New Styles for Sub-Pages --- */
.page-header {
    padding: 100px 0 60px 0;
    background-color: var(--navy-blue);
    color: #fff;
    text-align: center;
    margin-top: 88px; /* Offset for the fixed navbar height */
}

.page-header h1 {
    color: #fff;
    font-size: 3.5rem;
    font-weight: 700;
}

.page-content {
    padding: 60px 0;
    flex-grow: 1; /* Ensures content pushes footer down */
}

/* Making body a flex column to push footer down on short pages */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}


.btn-outline-primary {
    border-color: var(--bright-orange);
    color: var(--bright-orange);
    font-weight: 600;
}

.btn-outline-primary:hover {
    background-color: var(--bright-orange);
    color: #fff;
}