/* CSS Variables */
:root {
    --primary-color: #002147;
    /* Police Blue */
    --secondary-color: #280071;
    /* SBI Blue */
    --accent-color: #FFC72C;
    /* SBI Yellow */
    --text-dark: #1a1a1a;
    --text-light: #f4f4f4;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.text-center {
    text-align: center;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.2;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.subheading {
    display: block;
    font-size: 1rem;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.highlight {
    color: var(--secondary-color);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--primary-color);
    border: 2px solid var(--accent-color);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-secondary {
    background-color: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    margin-left: 15px;
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

.full-width {
    display: block;
    width: 100%;
    text-align: center;
}

/* Header */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    height: 80px;
    display: flex;
    align-items: center;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    position: relative;
}

.logo img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

/* 
.logo .ksp-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    text-transform: uppercase;
} 
*/

/* Navigation Menu */
.nav-menu ul {
    display: flex;
    align-items: center;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-link {
    font-weight: 500;
    color: var(--primary-color);
    font-size: 1rem;
    position: relative;
    padding: 10px 0;
}

.nav-link:hover {
    color: var(--secondary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 5px;
    left: 0;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.btn-register-nav {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-register-nav:hover {
    background-color: var(--secondary-color);
    color: var(--white);
}

/* Dropdown Styles */
.dropdown {
    position: relative;
}

.nav-menu .dropdown-menu {
    display: block;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background-color: var(--white);
    min-width: 220px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1001;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu li {
    display: block;
    width: 100%;
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: var(--primary-color);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    white-space: nowrap;
}

.dropdown-menu a:hover {
    background-color: var(--bg-light);
    color: var(--secondary-color);
    padding-left: 25px;
}

.dropdown-toggle i {
    font-size: 0.8rem;
    margin-left: 5px;
    transition: var(--transition);
}

.dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    cursor: pointer;
    z-index: 1002;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--primary-color);
    transition: var(--transition);
}

/* Hero Section */
#hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
    margin-top: 80px;
    /* Offset fixed header */
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -2;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 33, 71, 0.8), rgba(0, 33, 71, 0.6));
    z-index: -1;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-content .date,
.hero-content .location {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.hero-content i {
    color: var(--accent-color);
    margin-right: 10px;
}

/* Countdown */
.countdown-container {
    margin: 3rem 0;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 1.5rem;
}

.time-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    padding: 20px 30px;
    border-radius: 12px;
    min-width: 140px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(0, 33, 71, 0.37);
}

.time-box span {
    display: block;
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
    color: var(--accent-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.time-box small {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    margin-top: 5px;
    display: block;
}

/* Hero Buttons */
.hero-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    margin-left: 0;
}

/* Mission Section */
.mission-content {
    max-width: 800px;
    margin: 0 auto;
}

.mission-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hashtag {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-color);
    background: var(--primary-color);
    display: inline-block;
    padding: 10px 30px;
    border-radius: 50px;
    transform: skew(-10deg);
}

/* Race Categories */
.bg-light {
    background-color: var(--bg-light);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    align-items: flex-start;
}

.race-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.race-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.card-header {
    background: var(--primary-color);
    color: var(--white);
    padding: 30px;
    text-align: center;
    position: relative;
}

/* Specific styling for the 5K card if needed */
.race-card.featured .card-header {
    background: var(--secondary-color);
}

.card-header h3 {
    font-size: 2rem;
    margin-bottom: 5px;
}

.card-header .subtitle {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 10px;
}

.card-header .distance {
    display: inline-block;
    background: var(--accent-color);
    color: var(--primary-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 1.2rem;
}

.card-body {
    padding: 30px;
}

.card-body .description {
    margin-bottom: 20px;
    color: #666;
    min-height: 80px;
}

.features {
    text-align: left;
    margin-bottom: 25px;
}

.features li {
    margin-bottom: 10px;
    color: var(--text-dark);
}

.features i {
    color: var(--primary-color);
    /* Green check or similar */
    margin-right: 10px;
    width: 20px;
}

.pricing {
    margin-bottom: 20px;
    text-align: center;
}

.pricing .price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
}

.pricing .original-price {
    text-decoration: line-through;
    color: #999;
}

/* Logistics */
.layout-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.info-item {
    display: flex;
    margin-bottom: 30px;
    align-items: flex-start;
}

.icon-box {
    width: 60px;
    height: 60px;
    background: rgba(0, 33, 71, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.icon-box i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.info-item h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.info-item p {
    color: #666;
}

.info-item a {
    color: var(--secondary-color);
    font-weight: 600;
}

.map-container {
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Partners */
.partners-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.partner-item {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    min-width: 250px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.partner-item h3 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

.partner-item .role {
    color: #888;
    font-size: 0.9rem;
    text-transform: uppercase;
}

/* Footer */
footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
    gap: 30px;
}

.footer-logo {
    flex: 1;
    min-width: 250px;
}

.footer-logo img {
    max-width: 200px;
    height: auto;
    margin-bottom: 15px;
    display: block;
    background: rgba(255, 255, 255, 0.9);
    padding: 10px;
    border-radius: 8px;
}

/* 
.footer-logo h2 {
    font-size: 2rem;
    margin-bottom: 10px;
} 
*/

/* Quick Links inside Footer Logo Column */
.footer-quick-links {
    margin-top: 20px;
}

.footer-quick-links h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--accent-color);
}

.footer-quick-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-quick-links a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.footer-quick-links a:hover {
    color: var(--accent-color);
}

/* Middle Column: Address Info */
.footer-contact-info {
    flex: 1.5;
    min-width: 250px;
}

.footer-contact-info h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.footer-contact-info p {
    font-size: 0.9rem;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact-info a {
    color: var(--accent-color);
    font-weight: 500;
}

.footer-contact-info a:hover {
    text-decoration: underline;
}

/* Third Column: Email Queries */
.footer-email-queries {
    flex: 2;
    min-width: 300px;
}

.footer-email-queries h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.footer-email-queries p {
    font-size: 0.9rem;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-email-queries strong {
    color: var(--white);
    font-weight: 600;
}

.footer-email-queries a {
    color: var(--accent-color);
}

.footer-email-queries a:hover {
    text-decoration: underline;
}

.mt-2 {
    margin-top: 1rem;
}

.issue-link {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 15px;
    border-radius: 4px;
    transition: var(--transition);
}

.issue-link:hover {
    background: var(--accent-color) !important;
    color: var(--primary-color) !important;
    text-decoration: none !important;
}

.copyright {
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Animations */
.animate-fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s forwards;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.3s;
}

.delay-300 {
    animation-delay: 0.5s;
}

/* Responsive */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        height: calc(100vh - 80px);
        text-align: left;
        transition: 0.4s ease;
        box-shadow: none;
        overflow-y: auto;
        padding: 20px;
        border-top: 1px solid rgba(0, 0, 0, 0.05);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu ul {
        flex-direction: column;
        align-items: flex-start;
        padding: 0;
        width: 100%;
        gap: 0;
    }

    .nav-menu ul li {
        width: 100%;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .nav-link {
        display: block;
        padding: 15px 0;
        width: 100%;
        font-size: 1.1rem;
    }

    .nav-link::after {
        display: none;
    }

    .nav-menu .dropdown-menu {
        transition: none;
        position: static;
        left: auto;
        transform: none !important;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background-color: transparent;
        width: 100%;
        padding: 0;
        display: none;
    }

    .nav-menu .dropdown.active .dropdown-menu {
        display: block;
    }

    .nav-menu .dropdown-menu a {
        padding-left: 30px;
        font-size: 1rem;
    }

    .dropdown-toggle {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    /* Mobile Countdown Grid */
    .countdown {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

    .time-box {
        min-width: auto;
        padding: 15px;
    }

    .time-box span {
        font-size: 2.5rem;
    }

    .time-box small {
        font-size: 0.9rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .btn-register-nav {
        display: block;
        text-align: center;
        margin-top: 20px;
        width: 100%;
    }

    .layout-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        text-align: center;
        gap: 30px;
    }

    .footer-logo,
    .footer-contact-info,
    .footer-email-queries {
        width: 100%;
        min-width: auto;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}