html, body {
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
}

html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

/* Klopse-specific styles */
:root {
    --klopse-primary: #FF6B6B;
    --klopse-secondary: #4ECDC4;
    --klopse-accent: #FFE66D;
    --klopse-purple: #9B5DE5;
    --klopse-pink: #F15BB5;
    --klopse-orange: #FEE440;
    --klopse-green: #00F5D4;
}

/* Navbar styling */
.navbar {
    background-color: white !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    width: 100%;
}

.navbar-brand {
    color: var(--klopse-primary) !important;
    font-weight: 700;
}

.navbar-nav .nav-link {
    color: #333 !important;
}

.navbar .btn-dark {
    background-color: #1a1a1a;
    border: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.navbar .btn-dark:hover {
    background-color: #000;
    transform: translateY(-1px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* Add padding to the body to prevent content from hiding under fixed navbar */
body {
    padding-top: 56px; /* Adjust this value to match your navbar height */
    margin-bottom: 60px;
}

/* Hero Section */
.klopse-hero {
    position: relative;
    width: 100%;
    height: 80vh;
    min-height: 600px;
    max-height: 80vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-animated-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        45deg,
        var(--klopse-primary),
        var(--klopse-secondary),
        var(--klopse-accent),
        var(--klopse-purple),
        var(--klopse-pink),
        var(--klopse-orange),
        var(--klopse-green)
    );
    background-size: 400% 400%;
    animation: gradientFlow 15s ease infinite;
    opacity: 0.9;
    z-index: 1;
}

@keyframes gradientFlow {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
    color: white;
    max-width: 800px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-content h1 {
    font-weight: 800;
    letter-spacing: -1px;
    animation: fadeInUp 1s ease-out;
}

.hero-content .lead {
    animation: fadeInUp 1s ease-out 0.2s backwards;
}

.hero-buttons {
    animation: fadeInUp 1s ease-out 0.4s backwards;
}

/* Animations */
@keyframes gradientFlow {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes primaryGlow {
    0% {
        box-shadow: 0 0 5px rgba(255, 107, 107, 0.5);
    }
    50% {
        box-shadow: 0 0 20px rgba(255, 107, 107, 0.8);
    }
    100% {
        box-shadow: 0 0 5px rgba(255, 107, 107, 0.5);
    }
}

/* Feature Cards */
.feature-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    border-bottom: 5px solid var(--klopse-primary);
}

.feature-card:nth-child(1) {
    border-color: var(--klopse-purple);
}

.feature-card:nth-child(2) {
    border-color: var(--klopse-pink);
}

.feature-card:nth-child(3) {
    border-color: var(--klopse-orange);
}

.feature-card:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    /* Removed the transform: translateY(-10px); */
}

.feature-card i {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--klopse-primary), var(--klopse-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn-klopse-primary {
    background: linear-gradient(45deg, var(--klopse-primary), var(--klopse-pink));
    border: none;
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    animation: primaryGlow 3s ease-in-out infinite;
}

.btn-klopse-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
    color: white;
}

.btn-klopse-secondary {
    background: transparent;
    border: 2px solid white;
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-klopse-secondary:hover {
    background: white;
    color: var(--klopse-primary);
    transform: translateY(-2px);
}

/* Carnival Section */
.carnival-section {
    background: linear-gradient(135deg, var(--klopse-secondary) 0%, var(--klopse-green) 100%);
    color: white;
    padding: 100px 0;
}

.image-gallery img {
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.image-gallery img:hover {
    transform: scale(1.05);
}

/* Typography */
h1, h2, h3 {
    font-weight: 700;
}

.text-gradient {
    background: linear-gradient(45deg, var(--klopse-primary), var(--klopse-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Add this to your existing navbar styles */
.navbar .btn-dark {
    background-color: #1a1a1a;
    border: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.navbar .btn-dark:hover {
    background-color: #000;
    transform: translateY(-1px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* Ensure button alignment in mobile view */
@media (max-width: 576px) {
    .navbar-nav .btn-dark {
        margin-top: 10px;
        margin-bottom: 10px;
    }
}

/* Modern Footer Styles */
.footer-dark {
    background-color: #111;
    color: #fff;
}

.footer-dark h5 {
    font-weight: 700;
    font-size: 1.5rem;
}

.footer-dark h6 {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-dark .social-links a {
    color: #fff;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.footer-dark .social-links a:hover {
    color: var(--klopse-primary);
    transform: translateY(-3px);
}

.footer-dark ul li {
    margin-bottom: 12px;
}

.footer-dark ul li a {
    color: #888;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-dark ul li a:hover {
    color: var(--klopse-primary);
    padding-left: 5px;
}

.footer-info li {
    color: #888;
    margin-bottom: 15px;
}

.footer-info li i {
    color: var(--klopse-primary);
    margin-right: 10px;
    width: 20px;
}

.footer-dark .input-group {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50px;
    padding: 5px;
}

.footer-dark .input-group input {
    background: transparent;
    border: none;
    color: #fff;
    padding-left: 20px;
}

.footer-dark .input-group input::placeholder {
    color: #666;
}

.footer-dark .input-group .btn {
    border-radius: 50px;
    padding: 8px 20px;
}

.footer-bottom {
    background-color: #0a0a0a;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.store-badge {
    opacity: 0.8;
    transition: all 0.3s ease;
}

.store-badge:hover {
    opacity: 1;
}

/* Update body margin since we have a new footer */
body {
    margin-bottom: 0 !important;
}

/* Remove absolute positioning from footer */
.footer {
    position: relative !important;
}

/* Floating Umbrellas Animation */
.floating-umbrellas {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.floating-umbrellas i {
    position: absolute;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
    opacity: 0;  /* Start invisible */
    transform-origin: center;
    will-change: transform, opacity;
}

/* Umbrella sizes and positions with staggered starts */
.umbrella-1 {
    top: -5%;
    left: 10%;
    font-size: 48px;
    z-index: 6;
    animation: float1 15s cubic-bezier(0.4, 0, 0.2, 1) infinite 0s;
}

.umbrella-2 {
    top: -10%;
    left: 25%;
    font-size: 36px;
    z-index: 4;
    animation: float2 18s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite 2.5s;
}

.umbrella-3 {
    top: -8%;
    left: 40%;
    font-size: 52px;
    z-index: 6;
    animation: float3 20s cubic-bezier(0.37, 0, 0.63, 1) infinite 4.8s;
}

.umbrella-4 {
    top: -12%;
    left: 55%;
    font-size: 42px;
    z-index: 4;
    animation: float1 17s cubic-bezier(0.4, 0, 0.2, 1) infinite 1.2s;
}

.umbrella-5 {
    top: -6%;
    left: 70%;
    font-size: 46px;
    z-index: 6;
    animation: float2 19s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite 3.7s;
}

.umbrella-6 {
    top: -15%;
    left: 85%;
    font-size: 38px;
    z-index: 4;
    animation: float3 16s cubic-bezier(0.37, 0, 0.63, 1) infinite 5.9s;
}

.umbrella-7 {
    top: -10%;
    left: 15%;
    font-size: 56px;
    z-index: 6;
    animation: float1 21s cubic-bezier(0.4, 0, 0.2, 1) infinite 2.1s;
}

.umbrella-8 {
    top: -8%;
    left: 60%;
    font-size: 44px;
    z-index: 4;
    animation: float2 22s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite 4.3s;
}

.umbrella-9 {
    top: -12%;
    left: 5%;
    font-size: 58px;
    z-index: 6;
    animation: float3 19s cubic-bezier(0.37, 0, 0.63, 1) infinite 1.8s;
}

.umbrella-10 {
    top: -7%;
    left: 30%;
    font-size: 50px;
    z-index: 4;
    animation: float1 23s cubic-bezier(0.4, 0, 0.2, 1) infinite 3.4s;
}

.umbrella-11 {
    top: -14%;
    left: 45%;
    font-size: 54px;
    z-index: 6;
    animation: float2 17s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite 5.2s;
}

.umbrella-12 {
    top: -9%;
    left: 65%;
    font-size: 48px;
    z-index: 4;
    animation: float3 20s cubic-bezier(0.37, 0, 0.63, 1) infinite 0.9s;
}

.umbrella-13 {
    top: -11%;
    left: 80%;
    font-size: 60px;
    z-index: 6;
    animation: float1 18s cubic-bezier(0.4, 0, 0.2, 1) infinite 2.8s;
}

.umbrella-14 {
    top: -13%;
    left: 20%;
    font-size: 46px;
    z-index: 4;
    animation: float2 21s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite 4.6s;
}

.umbrella-15 {
    top: -8%;
    left: 50%;
    font-size: 52px;
    z-index: 6;
    animation: float3 16s cubic-bezier(0.37, 0, 0.63, 1) infinite 1.5s;
}

.umbrella-16 {
    top: -10%;
    left: 75%;
    font-size: 44px;
    z-index: 4;
    animation: float1 24s cubic-bezier(0.4, 0, 0.2, 1) infinite 3.9s;
}

/* Wind physics animations with cubic-bezier for more natural movement */
@keyframes float1 {
    0% {
        transform: translateY(-50px) translateX(0) rotate(0deg) scale(1);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
        transform: translateY(10vh) translateX(50px) rotate(45deg) scale(1.1);
    }
    25% {
        transform: translateY(30vh) translateX(-100px) rotate(-60deg) scale(0.9);
    }
    40% {
        transform: translateY(50vh) translateX(80px) rotate(180deg) scale(1.2);
    }
    60% {
        transform: translateY(70vh) translateX(-60px) rotate(90deg) scale(1);
    }
    80% {
        opacity: 0.8;
        transform: translateY(90vh) translateX(100px) rotate(360deg) scale(1.1);
    }
    100% {
        transform: translateY(120vh) translateX(-50px) rotate(420deg) scale(0.9);
        opacity: 0;
    }
}

@keyframes float2 {
    0% {
        transform: translateY(-50px) translateX(0) rotate(0deg) scale(0.8);
        opacity: 0;
    }
    15% {
        opacity: 0.9;
        transform: translateY(15vh) translateX(-80px) rotate(-90deg) scale(1);
    }
    35% {
        transform: translateY(40vh) translateX(120px) rotate(180deg) scale(1.2);
    }
    55% {
        transform: translateY(60vh) translateX(-90px) rotate(-270deg) scale(0.9);
    }
    75% {
        opacity: 0.9;
        transform: translateY(85vh) translateX(70px) rotate(360deg) scale(1.1);
    }
    100% {
        transform: translateY(120vh) translateX(-60px) rotate(540deg) scale(0.8);
        opacity: 0;
    }
}

@keyframes float3 {
    0% {
        transform: translateY(-50px) translateX(0) rotate(0deg) scale(1.2);
        opacity: 0;
    }
    20% {
        opacity: 0.7;
        transform: translateY(20vh) translateX(100px) rotate(120deg) scale(1);
    }
    45% {
        transform: translateY(45vh) translateX(-120px) rotate(-180deg) scale(1.3);
    }
    65% {
        transform: translateY(75vh) translateX(90px) rotate(270deg) scale(0.8);
    }
    85% {
        opacity: 0.7;
        transform: translateY(95vh) translateX(-70px) rotate(-360deg) scale(1.2);
    }
    100% {
        transform: translateY(120vh) translateX(80px) rotate(-420deg) scale(0.9);
        opacity: 0;
    }
}

/* Add these styles to your existing CSS */
#physics-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    pointer-events: none; /* Ensure it doesn't interfere with clicks */
}

.hero-content {
    z-index: 2;
}

@media (max-width: 767.98px) {
    .hero-buttons .btn-klopse-primary {
        margin-bottom: 1rem;
    }
}

.navbar
{
    padding: 0px!important;
}
.text-muted {
    color: #888!important;
}

/* Add these new styles to your existing site.css */

.feature-detail-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    height: 100%;
}

.feature-detail-card:hover {
    transform: translateY(-5px);
}

.feature-detail-card i {
    font-size: 2.5rem;
    color: var(--klopse-primary);
    margin-bottom: 1rem;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    margin-bottom: 1rem;
    color: white;
    font-size: 1.1rem;
}

.feature-list li i {
    color: var(--klopse-accent);
    margin-right: 0.5rem;
}

.division-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.division-card h3 i {
    color: var(--klopse-primary);
    margin-right: 0.5rem;
}

.team-list {
    list-style: none;
    padding: 0;
}

.team-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
    color: #666;
}

.team-list li:last-child {
    border-bottom: none;
}

.features-section {
    position: relative;
    overflow: hidden;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 107, 107, 0.1), rgba(78, 205, 196, 0.1));
    z-index: 0;
}

.teams-section {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

/* Login Page Styles */
.login-container {
    min-height: calc(100vh - 56px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: linear-gradient(
        45deg,
        var(--klopse-primary),
        var(--klopse-secondary),
        var(--klopse-accent)
    );
    background-size: 200% 200%;
    animation: gradientFlow 15s ease infinite;
}

.login-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 440px;
    text-align: center;
}

.login-header {
    margin-bottom: 2rem;
}

.login-logo {
    height: 80px;
    margin-bottom: 1.5rem;
}

.login-header h1 {
    color: var(--klopse-primary);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.login-subtitle {
    color: #666;
    font-size: 1.1rem;
}

.google-login-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    color: #333;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    border: 2px solid #eee;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    margin: 1rem 0;
}

.google-login-btn:hover {
    background: #f8f8f8;
    border-color: #ddd;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.google-logo {
    height: 24px;
    margin-right: 10px;
}

.login-divider {
    position: relative;
    text-align: center;
    margin: 2rem 0;
}

    .login-divider span {
        background: rgba(255, 255, 255, 0.95);
        padding: 0 1rem;
        color: #666;
        font-size: 0.9rem;
    }

.login-divider::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #eee;
    z-index: -1;
}

.login-info {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

.learn-more {
    color: var(--klopse-secondary);
    text-decoration: none;
    font-weight: 500;
    margin-left: 0.5rem;
}

.learn-more:hover {
    color: var(--klopse-primary);
    text-decoration: underline;
}

/* Mobile Responsiveness */
@media (max-width: 480px) {
    .login-container {
        padding: 1rem;
    }
    
    .login-card {
        padding: 1.5rem;
    }
    
    .login-header h1 {
        font-size: 1.75rem;
    }
    
    .login-subtitle {
        font-size: 1rem;
    }
}

.hero-description {
    padding-left: 10px;
    padding-right: 10px;
    font-size: 1.5rem !important;
}

@media (min-width: 768px) {
    .hero-description {
        padding-left: 70px;
        padding-right: 70px;
        font-size: 1.75rem !important;
    }
}

/* Mobile bottom navigation */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: white;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    padding: 8px 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 60px;
}

.mobile-bottom-nav .nav-item {
    flex: 1;
    color: var(--klopse-primary);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    padding: 4px;
}

.mobile-bottom-nav .nav-item i {
    font-size: 1.25rem;
    margin-bottom: 4px;
}

.mobile-bottom-nav .nav-item.active {
    color: var(--klopse-accent);
}

.mobile-bottom-nav .nav-item:hover {
    color: var(--klopse-secondary);
}

@media (min-width: 768px) {
    .mobile-bottom-nav {
        display: none;
    }
}

/* Team Cards */
.team-card {
    background: white;
    transition: all 0.3s ease;
}

.team-stats {
    display: flex;
    align-items: center;
}

.request-access-btn:disabled {
    cursor: not-allowed;
}

.section-container:last-child {
    margin-bottom: 0 !important;
}

.nav-link {
    display: block;
    padding: .5rem 1rem;
    color: var(--klopse-primary)!important;
    text-decoration: none;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out;
}