/* Modern Homepage Styles */
:root {
    --primary-color: #F16501;
    --primary-dark: #d45500;
    --secondary-color: #1B2330;
    --accent-color: #00D2FF;
    --gradient-primary: linear-gradient(135deg, #F16501 0%, #FF8A05 100%);
    --gradient-secondary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-dark: linear-gradient(135deg, #1B2330 0%, #2d3748 100%);
    --text-light: #6c757d;
    --text-dark: #2d3748;
    --bg-light: #f8fafc;
    --bg-section: #ffffff;
    --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 20px 60px rgba(0, 0, 0, 0.15);
    --border-radius: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Hero Section - Modern Redesign */
.modern-hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg,
            rgba(27, 35, 48, 0.95) 0%,
            rgba(241, 101, 1, 0.85) 50%,
            rgba(0, 210, 255, 0.9) 100%),
        url('https://images.unsplash.com/photo-1517180102446-f3ece451e9d8?q=80&w=2070') center/cover;
    overflow: hidden;
}

.modern-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(241, 101, 1, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(0, 210, 255, 0.3) 0%, transparent 50%);
    animation: gradientShift 8s ease-in-out infinite alternate;
}

@keyframes gradientShift {
    0% {
        opacity: 0.3;
    }

    100% {
        opacity: 0.7;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    font-weight: 500;
    animation: slideInUp 1s ease-out 0.5s both;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: slideInUp 1s ease-out 0.7s both;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    margin-bottom: 3rem;
    opacity: 0.9;
    line-height: 1.6;
    animation: slideInUp 1s ease-out 0.9s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: slideInUp 1s ease-out 1.1s both;
}

.btn-modern {
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s;
}

.btn-modern:hover::before {
    left: 100%;
}

.btn-primary-modern {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 8px 30px rgba(241, 101, 1, 0.3);
}

.btn-primary-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(241, 101, 1, 0.4);
    color: white;
}

.btn-outline-modern {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-outline-modern:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    color: white;
}

/* Floating Elements */
.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.floating-element {
    position: absolute;
    opacity: 0.1;
    animation: float 20s infinite linear;
}

.floating-element:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-duration: 25s;
    animation-delay: -5s;
}

.floating-element:nth-child(2) {
    top: 60%;
    right: 10%;
    animation-duration: 30s;
    animation-delay: -15s;
}

.floating-element:nth-child(3) {
    bottom: 20%;
    left: 20%;
    animation-duration: 35s;
    animation-delay: -25s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    25% {
        transform: translateY(-20px) rotate(90deg);
    }

    50% {
        transform: translateY(-40px) rotate(180deg);
    }

    75% {
        transform: translateY(-20px) rotate(270deg);
    }
}

/* Join Section */
.join-section {
    background: var(--gradient-primary);
    color: white;
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.join-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: moveBackground 20s linear infinite;
}

@keyframes moveBackground {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(50px, 50px);
    }
}

.join-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
}

.join-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.join-subtitle {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

/* Animations */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .modern-hero {
        padding: 2rem 0;
        min-height: 90vh;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-modern {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .modern-section {
        padding: 3rem 0;
    }

    .section-header {
        margin-bottom: 3rem;
    }

    .card-content {
        padding: 1.5rem;
    }

    .team-avatar {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 576px) {
    .hero-content {
        padding: 0 1rem;
    }

    .modern-section {
        padding: 2rem 0;
    }

    .card-content {
        padding: 1.25rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }
}

/* Utility Classes */
.text-gradient {
    background: var(--gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hover-scale {
    transition: var(--transition);
}

.hover-scale:hover {
    transform: scale(1.05);
}

/* Enhanced Form Styles */
/* .form-control {
    border: 2px solid #e9ecef !important;
    border-radius: 12px !important;
    padding: 0.75rem 1rem !important;
    transition: all 0.3s ease !important;
    background: #fff !important;
} */

.form-control:focus {
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 0.2rem rgba(241, 101, 1, 0.1) !important;
    background: #fff !important;
}

.input-group-text {
    background: #f8f9fa !important;
    border: 2px solid #e9ecef !important;
    border-right: none !important;
    border-radius: 12px 0 0 12px !important;
}

.form-control.border-start-0 {
    border-left: none !important;
    border-radius: 0 12px 12px 0 !important;
}


/* Pulse animation for call-to-action buttons */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(241, 101, 1, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(241, 101, 1, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(241, 101, 1, 0);
    }
}

.btn-primary-modern:focus,
.btn-primary-modern:active {
    animation: pulse 1.5s infinite;
}