/* ==========================================================================
   TITAN FORGE FITNESS - STYLESHEET (REVISED SOFT UI)
   A portfolio project for aositeflow.agency
   ========================================================================== */

/* --- Custom Variables & Theme Tokens --- */
:root {
    --bg-color: #080808;
    --card-bg: rgba(16, 16, 16, 0.7);
    --card-border: rgba(255, 255, 255, 0.04);
    --text-primary: #FFFFFF;
    --text-secondary: #B0B0B0;
    --text-muted: #606060;
    
    /* Neon Accents */
    --neon-blue: #00E5FF;
    --neon-blue-glow: rgba(0, 229, 255, 0.35);
    --neon-red: #FF3366;
    --neon-red-glow: rgba(255, 51, 102, 0.35);
    
    /* Gradients */
    --grad-blue: linear-gradient(135deg, #00E5FF 0%, #008B9B 100%);
    --grad-red: linear-gradient(135deg, #FF3366 0%, #B3103F 100%);
    
    /* Layout */
    --header-height: 85px;
    --border-radius: 30px; /* Revised Soft UI ultra-rounded look */
    --transition-snappy: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-slow: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: 'Outfit', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Hide native cursor on desktop with hover devices */
@media (hover: hover) and (pointer: fine) {
    body, a, button, select, input, textarea {
        cursor: none !important;
    }
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-snappy);
}

ul {
    list-style: none;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #060606;
}
::-webkit-scrollbar-thumb {
    background: #181818;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--neon-red);
}

/* --- Custom Cursor Follower --- */
.custom-cursor {
    width: 8px;
    height: 8px;
    background-color: var(--neon-red);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 10000;
    transition: width 0.2s, height 0.2s, background-color 0.2s;
    box-shadow: 0 0 10px var(--neon-red);
}

.custom-cursor-glow {
    width: 36px;
    height: 36px;
    border: 1.5px solid var(--neon-blue);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    /* Custom physics smoothing transition in JS, but backup transition here */
    transition: transform 0.08s ease-out, width 0.3s, height 0.3s, border-color 0.3s, background-color 0.3s;
    box-shadow: 0 0 12px rgba(0, 229, 255, 0.15);
}

/* Active Glowing Cursor Expansion State */
.custom-cursor-glow.expanded {
    width: 60px;
    height: 60px;
    border-color: var(--neon-red);
    background-color: rgba(255, 51, 102, 0.04);
    box-shadow: 0 0 20px rgba(255, 51, 102, 0.25);
}

.custom-cursor.expanded {
    width: 4px;
    height: 4px;
    background-color: var(--text-primary);
    box-shadow: none;
}

/* Hide cursor elements on mobile */
@media (max-width: 768px) {
    .custom-cursor, .custom-cursor-glow {
        display: none !important;
    }
}

/* --- Layout Utilities --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-center {
    text-align: center;
}

section {
    padding: 120px 0;
    position: relative;
}

.section-header {
    margin-bottom: 60px;
}

.section-title {
    font-family: 'Oswald', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.title-bar, .title-bar-red {
    width: 80px;
    height: 4px;
    margin: 0 auto 20px auto;
    border-radius: 2px;
}
.title-bar { background: var(--neon-blue); box-shadow: 0 0 10px var(--neon-blue); }
.title-bar-red { background: var(--neon-red); box-shadow: 0 0 10px var(--neon-red); }

/* --- Neon Glows & Accents --- */
.neon-glow-red {
    color: var(--neon-red);
    text-shadow: 0 0 10px var(--neon-red-glow), 0 0 20px rgba(255, 51, 102, 0.2);
}

.neon-glow-blue {
    color: var(--neon-blue);
    text-shadow: 0 0 10px var(--neon-blue-glow), 0 0 20px rgba(0, 229, 255, 0.2);
}

.accent-text {
    color: var(--neon-red);
}

/* --- Buttons (Ultra Rounded Soft UI) --- */
.btn {
    display: inline-block;
    padding: 16px 36px;
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--border-radius); /* Soft UI border radius */
    cursor: pointer;
    transition: var(--transition-snappy);
    text-align: center;
    border: none;
    outline: none;
}

.btn-primary {
    background: var(--grad-red);
    color: var(--text-primary);
    box-shadow: 0 5px 20px rgba(255, 51, 102, 0.25);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--neon-red-glow);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid rgba(255, 255, 255, 0.15);
}

.btn-outline:hover {
    background: var(--text-primary);
    color: var(--bg-color);
    border-color: var(--text-primary);
    transform: translateY(-3px);
}

.btn-glow-blue {
    background: var(--grad-blue);
    box-shadow: 0 5px 20px rgba(0, 229, 255, 0.25);
}
.btn-glow-blue:hover {
    box-shadow: 0 8px 25px var(--neon-blue-glow);
}

.btn-glow-red {
    background: var(--grad-red);
    box-shadow: 0 5px 20px rgba(255, 51, 102, 0.25);
}
.btn-glow-red:hover {
    box-shadow: 0 8px 25px var(--neon-red-glow);
}

.btn-full {
    display: block;
    width: 100%;
}

/* --- Floating Navigation Header --- */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(8, 8, 8, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--card-border);
    z-index: 1000;
    transition: var(--transition-snappy);
}

.main-header.scrolled {
    background: rgba(5, 5, 5, 0.95);
    height: 75px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}

.header-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

#header-logo-img {
    height: 48px;
    width: auto;
    filter: drop-shadow(0 0 6px var(--neon-red-glow));
    transition: var(--transition-snappy);
}

.logo-text {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--text-primary);
}

.nav-menu {
    display: flex;
    gap: 36px;
    align-items: center;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
    position: relative;
    padding: 6px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2.5px;
    background: var(--neon-blue);
    box-shadow: 0 0 8px var(--neon-blue);
    transition: var(--transition-snappy);
    border-radius: 2px;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-primary);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn-join {
    padding: 12px 28px;
    font-size: 0.9rem;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: transparent;
    border: none;
    padding: 6px;
}

.mobile-menu-toggle .bar {
    width: 26px;
    height: 3px;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition-snappy);
}

.mobile-only-join {
    display: none;
}

/* --- Continuous Anti-Gravity Float Physics --- */
.float-loop-1 {
    animation: floatLoop1 5.5s ease-in-out infinite;
}

.float-loop-2 {
    animation: floatLoop2 7s ease-in-out infinite;
}

.float-loop-3 {
    animation: floatLoop3 6.2s ease-in-out infinite;
}

@keyframes floatLoop1 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

@keyframes floatLoop2 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes floatLoop3 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* --- Immersive Split Hero Section --- */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: calc(var(--header-height) + 40px);
    background: linear-gradient(180deg, rgba(8, 8, 8, 0.4) 0%, rgba(8, 8, 8, 0.75) 75%, var(--bg-color) 100%), 
                url('assets/hero_bg.png') center/cover no-repeat;
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 80% 20%, rgba(0, 229, 255, 0.08) 0%, transparent 60%),
                radial-gradient(circle at 15% 85%, rgba(255, 51, 102, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.hero-split {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
    width: 100%;
}

.hero-title {
    font-family: 'Oswald', sans-serif;
    font-size: 5.5rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 2px;
    margin-bottom: 24px;
    text-transform: uppercase;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 44px;
    font-weight: 300;
    max-width: 580px;
}

.hero-actions {
    display: flex;
    gap: 20px;
}

/* Hero Right: Athlete Floating Card */
.hero-media {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-athlete-card {
    width: 100%;
    max-width: 440px;
    height: 520px;
    border-radius: var(--border-radius); /* 30px */
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7),
                0 0 30px rgba(0, 229, 255, 0.05);
}

.hero-athlete-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.8) contrast(1.1);
    transition: var(--transition-slow);
}

.hero-athlete-card:hover .hero-athlete-img {
    transform: scale(1.04);
}

.hero-athlete-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(0deg, rgba(8, 8, 8, 0.95) 0%, rgba(8, 8, 8, 0.6) 60%, transparent 100%);
    padding: 40px;
}

.athlete-tag {
    font-family: 'Oswald', sans-serif;
    font-size: 0.8rem;
    color: var(--neon-red);
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 8px;
    display: block;
}

.hero-athlete-overlay h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.hero-athlete-overlay p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.hero-bottom-glow {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 160px;
    background: linear-gradient(to top, var(--bg-color), transparent);
    pointer-events: none;
}

/* --- Facilities Asymmetrical Masonry Grid --- */
.facilities-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 28px;
    grid-auto-rows: 280px;
}

.grid-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    grid-column: span 4;
    border: 1px solid var(--card-border);
    background: var(--card-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: var(--transition-slow);
}

.grid-item.size-large {
    grid-column: span 8;
    grid-row: span 2;
}

.grid-item.size-tall {
    grid-column: span 4;
    grid-row: span 2;
}

.grid-item-inner {
    width: 100%;
    height: 100%;
    position: relative;
}

.grid-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

/* Autoplay Video Frame Integration */
.grid-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.65) contrast(1.1);
}

.grid-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(8, 8, 8, 0.95) 0%, rgba(8, 8, 8, 0.5) 50%, transparent 100%);
    padding: 36px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    z-index: 2;
}

.grid-overlay .tag {
    font-family: 'Oswald', sans-serif;
    font-size: 0.8rem;
    color: var(--neon-blue);
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}

.grid-overlay h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.grid-overlay p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 20px;
    max-width: 500px;
    opacity: 0.9;
}

.grid-overlay .btn-link {
    font-family: 'Oswald', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.grid-overlay .btn-link:hover {
    color: var(--neon-blue);
}

/* Hover States with Neon Blue border and glow */
.grid-item:hover {
    border-color: var(--neon-blue);
    box-shadow: 0 15px 35px rgba(0, 229, 255, 0.15),
                0 0 25px rgba(0, 229, 255, 0.05);
}

.grid-item:hover .grid-img {
    transform: scale(1.05);
}

/* --- Portfolio Case Study Showcase --- */
.portfolio-section {
    background: radial-gradient(circle at top left, rgba(255, 51, 102, 0.02) 0%, transparent 40%),
                radial-gradient(circle at bottom right, rgba(0, 229, 255, 0.02) 0%, transparent 40%);
}

.portfolio-cards-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 40px;
    margin-bottom: 60px;
}

.portfolio-card {
    background: var(--card-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius); /* 30px */
    overflow: hidden;
    transition: var(--transition-slow);
    display: flex;
    flex-direction: column;
}

.case-study-visual {
    height: 220px;
    width: 100%;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid var(--card-border);
}

/* Block 1: Aura Shops soft UI pastel mockup */
.visual-aura {
    background: linear-gradient(135deg, #f9f6f0 0%, #ece9e2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.mini-product-card {
    width: 110px;
    background: #FFFFFF;
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.03);
}

.product-img-holder {
    width: 100%;
    height: 60px;
    background: #EAE6DF;
    border-radius: 8px;
    margin-bottom: 8px;
}

.product-info-line {
    width: 70%;
    height: 6px;
    background: #CCCCCC;
    border-radius: 3px;
    margin-bottom: 6px;
}

.product-price-line {
    width: 40%;
    height: 6px;
    background: #EAE6DF;
    border-radius: 3px;
}

/* Block 2: AI SaaS platform dashboard mockup */
.visual-saas {
    background-color: #0d0e12;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mini-dashboard {
    width: 140px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 12px;
}

.chart-header {
    width: 50%;
    height: 5px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 3px;
    margin-bottom: 12px;
}

.chart-bars {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 45px;
}

.chart-bars .bar {
    width: 24%;
    border-radius: 3px 3px 0 0;
}

.chart-bars .bar-1 { height: 40%; background: var(--neon-red); box-shadow: 0 0 8px rgba(255, 51, 102, 0.3); }
.chart-bars .bar-2 { height: 75%; background: var(--neon-blue); box-shadow: 0 0 8px rgba(0, 229, 255, 0.3); }
.chart-bars .bar-3 { height: 50%; background: rgba(255, 255, 255, 0.1); }

/* Block 3: Video play icon design */
.visual-video {
    filter: brightness(0.7);
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-play-overlay {
    width: 100%;
    height: 100%;
    background: rgba(255, 51, 102, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-btn-circle {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background-color: var(--neon-red);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px var(--neon-red-glow);
    transition: var(--transition-snappy);
}

.portfolio-card:hover .play-btn-circle {
    transform: scale(1.15);
    box-shadow: 0 0 25px rgba(255, 51, 102, 0.6);
}

.card-details {
    padding: 32px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.case-tag {
    font-family: 'Oswald', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--neon-red);
    letter-spacing: 1.5px;
    margin-bottom: 8px;
    display: block;
}

.case-title {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.case-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 28px;
    line-height: 1.5;
}

/* Portfolio Card Hover Glow */
.portfolio-card:hover {
    border-color: rgba(255, 51, 102, 0.2);
    box-shadow: 0 15px 35px rgba(255, 51, 102, 0.12),
                0 0 20px rgba(255, 51, 102, 0.04);
}

/* Agency Central Button */
.agency-button-container {
    margin-top: 50px;
}

.btn-agency-cta {
    padding: 18px 48px;
}

/* --- About Section --- */
.about-section {
    background-color: #0b0b0b;
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    align-items: center;
}

.section-tag {
    font-family: 'Oswald', sans-serif;
    font-size: 0.9rem;
    color: var(--neon-blue);
    font-weight: 700;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 12px;
}

.about-title {
    font-family: 'Oswald', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 24px;
    line-height: 1.2;
}

.about-lead {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.about-text {
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.about-stats {
    display: flex;
    gap: 48px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-family: 'Oswald', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 4px;
    background: var(--grad-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.about-image-container {
    position: relative;
}

.image-accent-glow {
    position: absolute;
    top: -5%;
    left: -5%;
    width: 110%;
    height: 110%;
    background: radial-gradient(circle, rgba(0, 229, 255, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.about-img {
    border-radius: var(--border-radius); /* 30px */
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

/* --- Contact Us (Stylized SVG Location Visual) --- */
.contact-section {
    background-color: var(--bg-color);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 80px;
    align-items: center;
}

.contact-title {
    font-family: 'Oswald', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1.2;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.contact-desc {
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-size: 1.1rem;
}

/* Stylized Visual Map Marker Card */
.location-showcase-container {
    display: flex;
    justify-content: flex-start;
}

.g-pin-card {
    background: var(--card-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius); /* 30px */
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 30px;
    width: 100%;
    max-width: 440px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.g-pin-svg {
    flex-shrink: 0;
}

.spinning-globe-line {
    transform-origin: center;
    animation: spinGlobe 15s linear infinite;
}

@keyframes spinGlobe {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.ping-ring {
    transform-origin: 100px 85px;
    animation: globePing 3s ease-out infinite;
}

.ping-ring-2 {
    animation-delay: 1.5s;
}

@keyframes globePing {
    0% {
        transform: scale(0.5);
        opacity: 1;
    }
    100% {
        transform: scale(2.2);
        opacity: 0;
    }
}

.location-details {
    display: flex;
    flex-direction: column;
}

.loc-indicator {
    font-family: 'Oswald', sans-serif;
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--neon-red);
    letter-spacing: 2.5px;
    margin-bottom: 6px;
}

.loc-text {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--text-primary);
    text-transform: uppercase;
    margin-bottom: 8px;
}

.loc-coord {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Contact Form UI */
.contact-form-container {
    background: var(--card-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius); /* 30px */
    padding: 48px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.form-title {
    font-family: 'Oswald', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 32px;
    letter-spacing: 1px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.form-control {
    width: 100%;
    background-color: rgba(10, 10, 10, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 16px 20px;
    color: var(--text-primary);
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    transition: var(--transition-snappy);
}

.form-control::placeholder {
    color: var(--text-muted);
}

.form-control:focus {
    outline: none;
    border-color: var(--neon-red);
    box-shadow: 0 0 12px rgba(255, 51, 102, 0.25);
    background-color: rgba(10, 10, 10, 0.85);
}

textarea.form-control {
    resize: vertical;
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23ffffff' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
    padding-right: 44px;
}

/* --- Structured Bold Footer --- */
.main-footer {
    background-color: #040404;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding: 80px 0 40px 0;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 48px;
    margin-bottom: 60px;
}

.brand-pitch {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-top: 20px;
    line-height: 1.6;
}

#footer-logo-img {
    height: 40px;
    width: auto;
    filter: drop-shadow(0 0 6px var(--neon-red-glow));
}

.footer-links h4, .footer-social-section h4 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.footer-links a:hover {
    color: var(--neon-blue);
    padding-left: 4px;
}

.footer-social-section p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.social-icons {
    display: flex;
    gap: 16px;
}

/* Interactive Brand Social Icons (Bounce on Hover) */
.social-icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #101010;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-secondary);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-icon-btn:hover {
    transform: translateY(-8px) scale(1.15);
    color: var(--text-primary);
}

.social-icon-btn.instagram:hover {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    box-shadow: 0 5px 15px rgba(214, 36, 159, 0.4);
    border-color: transparent;
}

.social-icon-btn.youtube:hover {
    background-color: #FF0000;
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.4);
    border-color: transparent;
}

.social-icon-btn.tiktok:hover {
    background-color: #000000;
    box-shadow: 0 5px 15px rgba(0, 229, 255, 0.4);
    border-color: var(--neon-blue);
}

.social-icon-btn.linkedin:hover {
    background-color: #0077B5;
    box-shadow: 0 5px 15px rgba(0, 119, 181, 0.4);
    border-color: transparent;
}

.social-icon-btn.twitter:hover {
    background-color: #0f1419;
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.1);
    border-color: var(--text-primary);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding-top: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.agency-link {
    color: var(--text-secondary);
    font-weight: 600;
    position: relative;
}

.agency-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--neon-blue);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.agency-link:hover {
    color: var(--neon-blue);
}

.agency-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* --- Floating Contact Widget (WhatsApp/Email Pill) --- */
.floating-contact-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: rgba(16, 16, 16, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 35px;
    padding: 8px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    z-index: 999;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6),
                0 0 20px rgba(0, 229, 255, 0.05);
    transition: var(--transition-snappy);
}

.floating-contact-widget:hover {
    transform: scale(1.08) translateY(-4px) !important; /* overrides loop animation briefly on hover */
    background: rgba(22, 22, 22, 0.95);
    border-color: rgba(0, 229, 255, 0.3);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7),
                0 0 25px rgba(0, 229, 255, 0.2);
}

.widget-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-snappy);
}

.widget-icon.whatsapp {
    color: #25D366;
    filter: drop-shadow(0 0 4px rgba(37, 211, 102, 0.25));
}

.widget-icon.email {
    color: #EA4335;
    filter: drop-shadow(0 0 4px rgba(234, 67, 53, 0.25));
}

.widget-icon:hover {
    transform: scale(1.15);
}

.widget-icon.whatsapp:hover {
    filter: drop-shadow(0 0 8px rgba(37, 211, 102, 0.65));
}

.widget-icon.email:hover {
    filter: drop-shadow(0 0 8px rgba(234, 67, 53, 0.65));
}

.widget-separator {
    width: 1px;
    height: 24px;
    background-color: rgba(255, 255, 255, 0.15);
}

/* --- Scrollreveal Slide-ins --- */
.reveal-fade {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-fade.revealed {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }

/* --- Responsive Layout adjustments --- */

@media (max-width: 1200px) {
    .hero-title {
        font-size: 4.5rem;
    }
    .about-grid, .contact-grid {
        gap: 40px;
    }
    .portfolio-cards-container {
        gap: 20px;
    }
}

@media (max-width: 1024px) {
    section {
        padding: 90px 0;
    }
    
    .hero-title {
        font-size: 3.8rem;
    }
    
    .hero-split {
        gap: 40px;
    }
    
    .facilities-grid {
        grid-auto-rows: 240px;
    }
    
    .portfolio-cards-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-top {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 75px;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    /* Mobile Menu Navigation Overlay */
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: rgba(6, 6, 6, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 60px;
        gap: 32px;
        transition: left 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        border-top: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .nav-menu.open {
        left: 0;
    }
    
    .nav-link {
        font-size: 1.25rem;
    }
    
    .btn-join {
        display: none;
    }
    
    .mobile-only-join {
        display: inline-block;
        width: 80%;
        margin-top: 15px;
    }
    
    /* Hamburger bar transformations */
    .mobile-menu-toggle.open .bar:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .mobile-menu-toggle.open .bar:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.open .bar:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -7px);
    }
    
    /* Hero collapse */
    .hero-split {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 32px;
    }
    
    .hero-actions {
        justify-content: center;
        flex-direction: column;
        gap: 12px;
        max-width: 320px;
        margin: 0 auto;
    }
    
    .hero-media {
        order: -1; /* image on top on mobile */
    }
    
    .hero-athlete-card {
        height: 380px;
    }
    
    /* Grid collapse */
    .facilities-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
        gap: 20px;
    }
    
    .grid-item, .grid-item.size-large, .grid-item.size-tall {
        grid-column: span 1;
        grid-row: span 1;
        height: 320px;
    }
    
    /* Portfolio collapse */
    .portfolio-cards-container {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 40px auto 0 auto;
        gap: 30px;
    }
    
    /* About & Contact collapse */
    .about-grid, .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .about-image-container {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .about-stats {
        justify-content: space-between;
    }
    
    .location-showcase-container {
        justify-content: center;
    }
    
    .contact-form-container {
        padding: 36px 24px;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .hero-title {
        font-size: 2.3rem;
    }
    
    .g-pin-card {
        flex-direction: column;
        text-align: center;
        padding: 24px;
    }
    
    .about-stats {
        flex-direction: column;
        gap: 24px;
        align-items: center;
        text-align: center;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    
    .footer-social-section {
        align-items: center;
        text-align: center;
    }
    
    .social-icons {
        justify-content: center;
    }
}

/* ==========================================================================
   CUSTOM DESIGNED BY BADGE (CRUCIAL CREDITS)
   ========================================================================== */
.agency-badge-container {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.agency-badge {
    display: inline-flex;
    align-items: center;
    background-color: #141414; /* Slightly lighter dark-grey to stand out against black (#040404) */
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 6px 6px 6px 18px;
    border-radius: 50px; /* Elongated softly rounded pill-shape container */
    transition: var(--transition-snappy);
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.agency-badge:hover {
    background-color: #1a1a1a;
    border-color: rgba(0, 229, 255, 0.25);
    box-shadow: 0 8px 25px rgba(0, 229, 255, 0.12);
    transform: translateY(-2px);
}

.badge-left {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: #888888; /* Clean uppercase grey text */
    margin-right: 16px;
    font-family: 'Outfit', sans-serif;
    user-select: none;
}

.badge-right {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #080808; /* Smaller, darker, highly contrasting inner pill button */
    border: 1px solid rgba(255, 255, 255, 0.04);
    padding: 6px 16px;
    border-radius: 40px;
    color: var(--text-primary);
    transition: var(--transition-snappy);
}

.agency-badge:hover .badge-right {
    background-color: #030303;
    border-color: rgba(0, 229, 255, 0.35);
}

.status-dot {
    width: 7px;
    height: 7px;
    background-color: #00FF66; /* Glowing neon green dot status indicator */
    border-radius: 50%;
    box-shadow: 0 0 8px #00FF66, 0 0 16px rgba(0, 255, 102, 0.6);
    animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {
    0%, 100% { transform: scale(1); opacity: 1; box-shadow: 0 0 8px #00FF66, 0 0 16px rgba(0, 255, 102, 0.6); }
    50% { transform: scale(1.2); opacity: 0.7; box-shadow: 0 0 12px #00FF66, 0 0 20px rgba(0, 255, 102, 0.8); }
}

.agency-name {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.arrow-icon {
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--neon-blue);
    transition: var(--transition-snappy);
}

.agency-badge:hover .arrow-icon {
    transform: translate(1px, -1px);
    color: var(--neon-red);
}

/* Mobile responsive fixes for the badge */
@media (max-width: 480px) {
    .agency-badge {
        flex-direction: column;
        gap: 10px;
        padding: 14px 18px;
        border-radius: var(--border-radius); /* 30px */
        width: 100%;
        max-width: 280px;
    }
    
    .badge-left {
        margin-right: 0;
    }
    
    .badge-right {
        width: 100%;
        justify-content: center;
    }
}
