:root {
    /* Modern Organic Palette */
    --primary-forest: #1f3a34;
    /* Deep Forest Green */
    --primary-leaf: #2D6A4F;
    /* Rich Green */
    --accent-lime: #40916C;
    /* Vibrant Green */
    --accent-sage: #B7E4C7;
    /* Soft Sage */
    --accent-mint: #D8F3DC;
    /* Pale Mint */
    --accent-gold: #D9ED92;
    /* Green-Gold Highlight */

    --bg-light: #F7F9F7;
    /* Off-white */
    --white: #FFFFFF;
    --bg-white: #FFFFFF;
    --text-dark: #081C15;
    /* Almost Black */
    --text-body: #4A5568;
    /* Slate Gray */

    /* Gradients */
    --gradient-hero: linear-gradient(135deg, rgba(31, 58, 52, 0.95), rgba(31, 58, 52, 0.8));
    --gradient-card: linear-gradient(145deg, #ffffff, #f0f7f4);

    /* Shadows - Soft & Modern */
    --shadow-sm: 0 4px 6px -1px rgba(27, 67, 50, 0.1), 0 2px 4px -1px rgba(27, 67, 50, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(27, 67, 50, 0.1), 0 4px 6px -2px rgba(27, 67, 50, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(27, 67, 50, 0.1), 0 10px 10px -5px rgba(27, 67, 50, 0.04);
    --shadow-green: 0 10px 20px -5px rgba(64, 145, 108, 0.4);

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing & Radius */
    --container-width: 1200px;
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 32px;
    --spacing-section: 6rem;
}

/* Reset & Base */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-light);
    color: var(--text-body);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    line-height: 1.1;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamped(3rem, 5vw, 4.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.5rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

p {
    margin-bottom: 1.5rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.text-gradient {
    background: linear-gradient(90deg, var(--primary-forest), var(--accent-lime));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--primary-forest);
    color: var(--white);
    box-shadow: var(--shadow-green);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -5px rgba(64, 145, 108, 0.5);
    background: var(--primary-leaf);
    color: var(--white);
}

.section-padding {
    padding: var(--spacing-section) 0;
    position: relative;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 1.5rem 0;
}

header.scrolled {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1rem 0;
    box-shadow: var(--shadow-sm);
}

header.scrolled .logo,
header.scrolled nav a:not(.btn) {
    color: var(--primary-forest);
}

header.scrolled nav a.btn {
    color: var(--white);
    box-shadow: none;
    /* Optional: remove shadow if it looks too heavy on white */
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    font-size: 1.25rem;
    color: var(--white);
}

.logo img {
    height: 48px;
    width: auto;
}

nav ul {
    display: flex;
    gap: 2.5rem;
}

nav a {
    font-weight: 500;
    font-size: 0.95rem;
    font-size: 0.95rem;
    color: var(--white);
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-lime);
    transition: width 0.3s ease;
}

nav a:hover {
    color: var(--primary-leaf);
}

nav a:hover::after {
    width: 100%;
}

/* Hero - Padel Club Reference Style */
.hero {
    height: 100vh;
    min-height: 700px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    overflow: hidden;
    text-align: center;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-forest);
    /* No image, just solid professional color */
    z-index: -2;
    /* transform: scale(1.1); */
    /* animation: slowZoom 20s infinite alternate; */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Dark gradient + Grid Overlay */
    /* Subtle grid overlay for texture */
    background:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -1;
}

.hero-content {
    max-width: 1200px;
    position: relative;
    z-index: 2;
    margin-top: -60px;
}

.hero h1 {
    color: var(--white);
    margin-bottom: 0.5rem;
    font-size: clamp(4rem, 9vw, 8rem);
    font-weight: 800;
    line-height: 0.9;
    text-transform: uppercase;
    letter-spacing: -0.04em;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.hero p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.95);
    margin: 1.5rem auto 2.5rem;
    max-width: 500px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 4rem;
}

/* Reference Button Style */
.btn-pill {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: var(--white);
    color: var(--primary-forest);
    padding: 0.5rem 0.5rem 0.5rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-family: var(--font-heading);
    transition: all 0.3s ease;
    text-transform: capitalize;
}

.btn-pill .icon-circle {
    width: 48px;
    height: 48px;
    background: #A3E635;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.btn-pill:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.btn-pill:hover .icon-circle {
    transform: rotate(45deg);
}

/* Bottom Actions Bar */
.hero-bottom-bar {
    position: absolute;
    bottom: 50px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 4rem;
    z-index: 10;
}

.bar-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.circle-icon {
    width: 50px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.bar-text {
    text-align: left;
    color: var(--white);
    text-transform: uppercase;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.2;
}

.scroll-center {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    font-weight: 600;
    color: var(--white);
}

.scroll-circle {
    width: 40px;
    height: 60px;
    border: 2px solid var(--white);
    border-radius: 30px;
    display: flex;
    justify-content: center;
    padding-top: 10px;
}

.scroll-dot {
    width: 6px;
    height: 6px;
    background: var(--white);
    border-radius: 50%;
    animation: scrollDrop 2s infinite;
}

@keyframes scrollDrop {
    0% {
        transform: translateY(0);
        opacity: 1;
    }

    100% {
        transform: translateY(20px);
        opacity: 0;
    }
}

@keyframes slowZoom {
    from {
        transform: scale(1.1);
    }

    to {
        transform: scale(1.15);
    }
}

@media (max-width: 900px) {
    .hero-bottom-bar {
        flex-direction: column;
        gap: 2rem;
        bottom: 20px;
        padding: 0 2rem;
    }

    .scroll-center {
        display: none;
    }

    .hero h1 {
        font-size: 3.5rem;
    }
}

.btn-glass {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-glass:hover {
    background: var(--white);
    color: var(--primary-forest);
    transform: translateY(-2px);
}

/* Animations */
@keyframes slowZoom {
    from {
        transform: scale(1.1);
    }

    to {
        transform: scale(1.15);
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    opacity: 0.8;
    z-index: 10;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translate(-50%, 0);
    }

    40% {
        transform: translate(-50%, -10px);
    }

    60% {
        transform: translate(-50%, -5px);
    }
}

/* Floating Stats Badge */
.hero-badge {
    position: absolute;
    right: 10%;
    bottom: 20%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 250px;
    text-align: left;
    transform: rotate(-2deg);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: rotate(-2deg) translateY(0);
    }

    50% {
        transform: rotate(-2deg) translateY(-10px);
    }
}

.hero-badge i {
    color: var(--primary-forest);
    width: 40px;
    height: 40px;
}

.hero-badge div h4 {
    margin: 0;
    color: var(--primary-forest);
    font-size: 1.5rem;
}

.hero-badge div span {
    font-size: 0.9rem;
    color: var(--text-body);
}

@media (max-width: 900px) {
    .hero-badge {
        display: none;
    }
}

/* Glass Card Effect */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-md);
    padding: 2.5rem;
}

/* Services Grid */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: var(--radius-md);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}



.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}



.icon-box {
    width: 64px;
    height: 64px;
    background: var(--accent-mint);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--primary-forest);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.service-card:hover .icon-box {
    background: var(--primary-forest);
    color: var(--white);
    transform: rotate(5deg);
}

/* Section Dividers */
.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.wave-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 150px;
}

.wave-divider.top {
    bottom: auto;
    top: 0;
    transform: rotate(180deg);
}

/* Expertise / About Asymmetric */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.image-wrapper:hover img {
    transform: scale(1.03);
}

/* Footer */
footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 5rem 0 2rem;
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-brand p {
    color: var(--text-body);
    opacity: 0.7;
    margin-top: 1rem;
}

.footer-col h4 {
    color: var(--white);
    font-family: var(--font-body);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.6);
}

.footer-col a:hover {
    color: var(--accent-sage);
    padding-left: 5px;
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
}

/* Mobile */
@media (max-width: 900px) {
    .split-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    #desktop-nav {
        display: none;
    }

    /* TODO: Mobile Menu */
    .grid-3 {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.logo-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 3rem;
}

.logo-grid img {
    height: 40px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.logo-grid img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

.client-logos img {
    height: 50px;
    /* Slightly larger for main clients */
}

.text-logo {
    font-weight: 700;
    opacity: 0.6;
    font-size: 1.2rem;
    color: var(--text-dark);
    text-transform: uppercase;
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.team-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.team-image {
    width: 100%;
    height: 320px;
    background-color: var(--accent-sage);
    position: relative;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-card:hover .team-image img {
    transform: scale(1.05);
}

.team-info {
    padding: 1.5rem;
    text-align: center;
}

.team-info h3 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
    color: var(--primary-forest);
}

.team-role {
    color: var(--accent-lime);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.team-socials {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-body);
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--primary-forest);
    color: var(--white);
}

/* Mobile Navigation */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    cursor: pointer;
    z-index: 1001;
}

header.scrolled .mobile-menu-btn {
    color: var(--primary-forest);
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(31, 58, 52, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    text-align: center;
}

.mobile-menu-content ul {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.mobile-menu-content a {
    font-size: 2rem;
    color: var(--white);
    font-weight: 700;
    font-family: var(--font-heading);
}

.mobile-menu-content a:hover {
    color: var(--accent-lime);
}

@media (max-width: 900px) {
    nav {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }
}