:root {
    --primary-blue: #002244;
    /* Dark Navy Blue */
    --primary-pink: #FF334B;
    /* Vibrant Red/Pink for Buttons */
    /* Actually Red now */
    --dark-bg: #0f172a;
    --light-bg: #ffffff;
    /* Pure white bg for clean look */
    --text-main: #1e293b;
    --text-light: #64748b;
    --white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --gradient-main: linear-gradient(135deg, #FF334B 0%, #E62020 100%);
    /* Red Gradient for Buttons */
    --gradient-text: #FF334B;
    /* Red Text */
    /* Solid Navy Blue */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --radius: 1rem;
    --btn-radius: 2rem;
    --font-family: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--light-bg);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.text-gradient {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark-bg);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--btn-radius);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient-main);
    color: var(--white);
    box-shadow: 0 4px 14px 0 rgba(255, 51, 75, 0.39);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 51, 75, 0.23);
    background: linear-gradient(135deg, #ff4d61 0%, #f02e2e 100%);
}

.btn-secondary {
    background: #0f172a;
    /* Dark button for "View Courses" on hero for visibility */
    color: var(--white);
    border: 1px solid #0f172a;
    font-weight: 600;
}

.btn-secondary:hover {
    background: #1e293b;
    color: var(--white);
    border-color: #1e293b;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-block {
    display: block;
    width: 100%;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    padding: 0.75rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--white);
    /* White on hero */
    font-weight: 700;
    font-size: 1.25rem;
    transition: color 0.3s;
    color: var(--text-main);
    /* Dark visible text */
}

.navbar.scrolled .logo {
    color: var(--text-main);
    /* Dark on scroll */
}

.logo img {
    height: 40px;
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    /* Dark visible text */
    /* White on hero */
    font-weight: 600;
    /* Bolder for better visibility */
    transition: color 0.3s;
}



.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-pink);
    /* Pink for better visibility on both */
}

.nav-links a.btn-primary {
    color: white;
    padding: 0.5rem 1.5rem;
    /* Specific adjustments for Nav Button */
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-main);
    /* White on hero */
    margin: 5px 0;
    transition: 0.3s;
}

.navbar.scrolled .bar {
    background-color: var(--text-main);
    /* Dark on scroll */
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: var(--white);
    padding-top: 80px;
    overflow: hidden;
}

.hero-bg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Darker overlay to ensure text readability on bright background - Swapped direction for theme */
    background: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 300;
    /* Thin font */
    color: #334155;
    /* Slight lesser of black (Slate 700) */
    text-shadow: none;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
    color: #475569;
    /* Lighter than main text (Slate 600) */
    font-weight: 400;
    opacity: 1;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    margin-bottom: 4rem;
}

.stats-row {
    display: flex;
    gap: 4rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: fit-content;
}

.stat-item {
    text-align: center;
}

.stat-item span {
    font-size: 2.5rem;
    font-weight: 300;
    /* color: var(--primary-blue); */
    /* Keeping it white for better contrast on hero */
    color: var(--primary-blue);
}

.stat-item p {
    font-size: 0.875rem;
    margin-bottom: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border-color: rgba(255, 51, 75, 0.2);
    /* Red tint on hover */
}

.service-card .card-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(14, 165, 233, 0.1);
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
}

.service-card:hover .card-icon {
    transform: rotateY(180deg) scale(1.1);
    background: var(--gradient-main);
    color: white;
}



.card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark-bg);
}

.card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.card-link {
    color: var(--primary-pink);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.2s;
}

.card-link:hover {
    gap: 0.75rem;
}

/* Coaching Specifics */
.bg-light {
    background-color: #f0f9ff;
    /* Very slight blue tint */
}

.coaching-card {
    text-align: center;
}

.coaching-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary-pink);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.feature-list {
    list-style: none;
    text-align: left;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
}

.feature-list li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-main);
    font-size: 0.95rem;
}

.feature-list i {
    color: var(--primary-pink);
}

/* About Section */
#about {
    position: relative;
    background-image: url('assets/about_team.png');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: white;
    /* Make text white */
    overflow: hidden;
    /* Ensure overlay doesn't spill */
}

/* Dark overlay for readability */
#about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.7);
    /* Dark blue/slate tint */
    z-index: 1;
}

/* Ensure content is above overlay */
.about-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

#about .section-title {
    color: white;
    /* Override default dark title */
}

#about .feature h4,
#about .feature p,
#about p {
    color: #e2e8f0;
    /* Light text */
}

#about .feature i {
    color: var(--primary-pink);
    /* Contrast icon */
}



.features-grid {
    display: grid;
    gap: 2rem;
    margin-top: 3rem;
}

.feature {
    display: flex;
    gap: 1.5rem;
}

.feature i {
    font-size: 2rem;
    color: var(--primary-blue);
}

.feature h4 {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.about-image {
    position: relative;
    height: auto;
    /* Allow height to fit content */
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    box-shadow: none;
    background: none;
    /* No local background */
}

.about-img {
    display: none;
    /* Hide the image as it is now section background */
}

.glass-card {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.1);
    /* More transparent for glass feel on dark bg */
    backdrop-filter: blur(12px);
    padding: 1.5rem 2rem;
    /* Shorter height, wider horizontal padding */
    border-radius: var(--radius);
    max-width: 100%;
    /* Wide */
    width: 100%;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.glass-card h4,
.glass-card p,
.glass-card span {
    color: white;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-blue);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/* Contact Section */
.bg-dark {
    background-color: #f0f9ff;
    /* Light blueish white for daytime look */
    color: var(--text-main);
}

.text-white {
    color: var(--dark-bg);
    /* Change text to dark */
}

.text-muted {
    color: #94a3b8;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    background: white;
    /* Solid white background */
    padding: 3rem;
    border-radius: 2rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.icon-box {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(14, 165, 233, 0.1);
    /* Light blue bg for icons */
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    /* Blue icon color */
}

.contact-link {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

.contact-link:hover {
    color: var(--primary-blue);
    text-decoration: underline;
}

.contact-form {
    background: #f8fafc;
    /* Very light grey */
    padding: 2.5rem;
    border-radius: 1.5rem;
    color: var(--text-main);
    border: 1px solid #e2e8f0;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #cbd5e1;
    border-radius: 0.5rem;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

/* Footer */
.footer {
    background-color: #020617;
    color: #cbd5e1;
    padding: 4rem 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid #1e293b;
}

.footer-brand .logo {
    color: white;
    margin-bottom: 1rem;
}

.footer-brand .logo img {
    filter: brightness(0) invert(1);
    /* Make logo image white */
}

.footer h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer ul {
    list-style: none;
}

.footer ul li {
    margin-bottom: 0.75rem;
}

.footer ul a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s;
}

.footer ul a:hover {
    color: var(--primary-pink);
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.2s;
}

.social-icons a:hover {
    background: var(--primary-blue);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-bottom: 2rem;
    font-size: 0.9rem;
    color: #64748b;
}

/* Responsive */
@media (max-width: 900px) {
    .hero h1 {
        font-size: 3rem;
    }

    .about-container {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        transition: transform 0.3s ease-in-out;
        z-index: -1;
    }

    .nav-links.active {
        transform: translateY(0);
    }

    .mobile-menu-btn {
        display: block;
    }

    .mobile-menu-btn.active .bar:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .mobile-menu-btn.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* Ensure visibility of menu items on mobile dropdown */
    .nav-links a {
        color: var(--text-main);
        /* Always dark in mobile menu dropdown */
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-btns {
        flex-direction: column;
    }

    .btn {
        width: auto;
        min-width: 0;
        /* Remove fixed min-width to let padding dictate size */
        padding: 0.75rem 1.5rem;
        /* Smaller padding */
        text-align: center;
        margin: 0 auto;
        /* Center if needed */
    }

    .stats-row {
        flex-direction: row;
        /* Keep horizontal */
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.5rem;
        width: 100%;
        margin-top: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .about-image {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .cards-grid {
        grid-template-columns: 1fr;
        /* Force single column on small screens */
    }

    .stats-row {
        flex-direction: row;
        /* Force horizontal */
        flex-wrap: nowrap;
        /* Prevent wrapping if possible */
        justify-content: space-evenly;
        /* Spread evenly */
        gap: 0.25rem;
        /* Tight gap to fit all */
    }

    .stat-item h3 {
        font-size: 1.5rem;
        /* Smaller numbers */
    }

    .stat-item p {
        font-size: 0.7rem;
        /* Smaller label */
        letter-spacing: 0.5px;
    }

    .feature {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-icons {
        justify-content: center;
        /* Center icons */
        margin-top: 1rem;
    }

    .footer-brand {
        align-items: center;
        display: flex;
        flex-direction: column;
    }
}