:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --secondary: #ec4899;
    --accent: #f59e0b;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --dark: #0f172a;
    --light: #f8fafc;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-accent: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-dark: linear-gradient(135deg, #0c0c0c 0%, #1a1a1a 100%);
    --gradient-hero: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--gray-800);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.font-space {
    font-family: 'Space Grotesk', sans-serif;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-lg);
}

.navbar-brand {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 800;
    font-size: 1.8rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--gray-700) !important;
    margin: 0 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 0.5rem 0 !important;
}

.navbar-nav .nav-link:hover {
    color: var(--primary) !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background: var(--gradient-primary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    background: var(--gradient-hero);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 800;
    color: white;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    line-height: 1.1;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    font-weight: 400;
}

.hero-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3rem;
    max-width: 600px;
    line-height: 1.7;
}

.btn-modern {
    padding: 16px 32px;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 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.5s;
}

.btn-modern:hover::before {
    left: 100%;
}

.btn-primary-modern {
    background: var(--gradient-primary);
    color: white;
    border: 2px solid transparent;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-lg);
}

.btn-primary-modern:hover {
    background: var(--gradient-secondary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-2xl);
    color: white;
}

.btn-outline-modern {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    font-weight: 600;
}

.btn-outline-modern:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Floating Animation */
.floating {
    animation: floating 6s ease-in-out infinite;
}

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

/* Glass Card Effect */
.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Section Styles */
.section {
    padding: 120px 0;
    position: relative;
}

.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    font-size: 1.3rem;
    color: var(--gray-600);
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Services Section */
.services {
    background: var(--gray-50);
    position: relative;
}

.service-card {
    background: white;
    border-radius: 24px;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-lg);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    border: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

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

.service-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.service-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    filter: blur(20px);
    opacity: 0.3;
    transform: scale(1.2);
}

.service-icon i {
    position: relative;
    z-index: 1;
}

.service-icon.programming {
    background: var(--gradient-primary);
}

.service-icon.tiktok {
    background: var(--gradient-secondary);
}

.service-icon.discord {
    background: var(--gradient-accent);
}

.service-card h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--gray-800);
}

.service-card p {
    color: var(--gray-600);
    line-height: 1.7;
    font-size: 1rem;
}

/* About Section */
.about {
    background: white;
    position: relative;
}

.about-text h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--gray-800);
}

.about-text p {
    font-size: 1.1rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 1rem 0;
    font-size: 1.1rem;
    color: var(--gray-600);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.feature-list li i {
    color: var(--primary);
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
}

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

.about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: var(--shadow-2xl);
}

/* Team Section */
.team {
    background: var(--gray-50);
    position: relative;
}

.team-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    border: 1px solid var(--gray-200);
    position: relative;
}

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

.team-image {
    position: relative;
    overflow: hidden;
    height: 300px;
}

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

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

.team-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.8), rgba(168, 85, 247, 0.8));
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-card:hover .team-overlay {
    opacity: 1;
}

.team-social {
    color: white;
    font-size: 2rem;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.team-card:hover .team-social {
    transform: translateY(0);
}

.team-content {
    padding: 2rem;
    text-align: center;
}

.team-content h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--gray-800);
}

.team-role {
    display: inline-block;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.team-title {
    font-size: 1.1rem;
    color: var(--gray-700);
    font-weight: 500;
    margin-bottom: 1rem;
}

.team-description {
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.team-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.skill-tag {
    background: var(--gray-100);
    color: var(--gray-700);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.skill-tag:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

/* Stats Section */
.stats {
    background: var(--gradient-dark);
    color: white;
    position: relative;
}

.stat-item {
    text-align: center;
    padding: 2rem;
}

.stat-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-bottom: 1rem;
}

.stat-label {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* Contact Section */
.contact {
    background: var(--gray-50);
}

.contact-card {
    background: white;
    border-radius: 24px;
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    border: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-card:hover::before {
    opacity: 0.05;
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
}

.contact-icon {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.5rem;
    font-size: 1.3rem;
    color: white;
    position: relative;
    z-index: 1;
}

.contact-icon.discord {
    background: linear-gradient(135deg, #5865f2 0%, #7289da 100%);
}

.contact-icon.tiktok {
    background: linear-gradient(135deg, #ff0050 0%, #ff4081 100%);
}

.contact-icon.instagram {
    background: linear-gradient(135deg, #e4405f 0%, #f77737 100%);
}

.contact-card h5 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--gray-800);
    position: relative;
    z-index: 1;
}

.contact-card p {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

/* Formularz kontaktowy */
.contact-form-card {
    background: white;
    border-radius: 24px;
    padding: 3rem 2rem;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-lg);
    height: 100%;
}

.contact-form-card h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 2rem;
}

.contact-form .form-label {
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

.contact-form .form-control,
.contact-form .form-select {
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--gray-50);
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
    background: white;
    outline: none;
}

.contact-form .form-control::placeholder {
    color: var(--gray-400);
}

.contact-info h5 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 1.5rem;
}

/* Style dla kafelków w prawej kolumnie */
.contact-info .contact-card {
    padding: 0.75rem;
    margin-bottom: 0.75rem;
    background: white;
    border-radius: 12px;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    height: 30%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.contact-info .contact-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.contact-info .contact-card h6 {
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
    color: var(--gray-800);
    font-weight: 600;
    text-align: center;
}

.contact-info .contact-card p {
    font-size: 0.8rem;
    margin-bottom: 0.4rem;
    color: var(--gray-600);
    text-align: center;
    line-height: 1.3;
}

.btn-sm {
    padding: 0.35rem 0.7rem;
    font-size: 0.75rem;
    border-radius: 6px;
    white-space: nowrap;
}

/* Wyłączony formularz kontaktowy */
.contact-form-disabled {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 180px;
    margin-top: 0;
    padding: 2.5rem 2rem;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
}

.contact-form-disabled h4 {
    color: var(--gray-600);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.contact-form-disabled .text-muted {
    color: var(--gray-500) !important;
    font-size: 1rem;
    line-height: 1.5;
    text-align: center;
    max-width: 400px;
}

/* Poziomy layout dla kafelków mediów gdy formularz jest wyłączony */
.contact-info-horizontal {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    justify-content: center;
    align-items: stretch;
    margin: 0 auto 2rem auto;
    max-width: 800px;
    width: 100%;
}

.contact-info-horizontal .contact-card {
    flex: 1;
    min-width: 180px;
    max-width: 220px;
    margin-bottom: 0 !important;
    padding: 1.5rem 1rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-info-horizontal .contact-card h6 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    white-space: nowrap;
}

.contact-info-horizontal .contact-card p {
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
    line-height: 1.4;
    min-height: 2.5rem;
}

.contact-info-horizontal .contact-card .btn {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    white-space: nowrap;
}

.contact-info-horizontal .contact-card .contact-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Zawsze pokazuj nagłówek "Inne sposoby kontaktu" */
.contact-info h5 {
    margin-bottom: 1.5rem;
    color: var(--gray-800);
    font-weight: 600;
}

/* Kontener dla informacji o wyłączonym formularzu w lewej kolumnie */
.contact-form-disabled-container {
    padding: 3rem 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.contact-info-horizontal-container h5 {
    color: var(--gray-800);
    font-weight: 600;
    margin-bottom: 2rem;
    text-align: center;
}

/* Style dla kafelków mediów w prawej kolumnie (gdy formularz jest wyłączony) */
.contact-info {
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-info h5 {
    margin-bottom: 1rem;
    color: var(--gray-800);
    font-weight: 600;
    text-align: center;
}

/* Poziomy układ kafelków w prawej kolumnie */
.contact-info .contact-card {
    padding: 1.25rem;
    margin-bottom: 0.75rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 140px;
}

/* Style dla informacji o wyłączonym formularzu */
.contact-form-disabled {
    max-width: 500px;
    width: 100%;
}

.contact-form-disabled .disabled-icon {
    color: var(--gray-400);
    margin-bottom: 1.5rem;
}

.contact-form-disabled h3 {
    color: var(--gray-800);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.contact-form-disabled p {
    color: var(--gray-600);
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Responsywność dla mniejszych ekranów */
@media (max-width: 768px) {
    .contact-info .contact-card {
        height: 25%;
        padding: 0.6rem;
        margin-bottom: 0.5rem;
    }
    
    .contact-info .contact-card h6 {
        font-size: 0.9rem;
    }
    
    .contact-info .contact-card p {
        font-size: 0.75rem;
    }
    
    .contact-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    
    .contact-form-disabled {
        padding: 2rem 1.5rem;
        min-height: 160px;
    }
    
    .contact-form-disabled h3 {
        font-size: 1.2rem;
    }
    
    .contact-form-disabled p {
        font-size: 0.95rem;
    }
}

/* Footer */
.footer {
    background: var(--gray-900);
    color: white;
    padding: 4rem 0 2rem;
    position: relative;
}

.footer h5 {
    font-family: 'Space Grotesk', sans-serif;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer p, .footer li {
    color: var(--gray-400);
    line-height: 1.8;
}

.footer a {
    color: var(--gray-400);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer a:hover {
    color: var(--primary);
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--gray-800);
    text-align: center;
    margin-right: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--gray-700);
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-2px);
    border-color: var(--primary);
}

/* Scroll to top */
.scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    box-shadow: var(--shadow-lg);
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
    color: white;
}

/* Responsive Design */

/* Mobile First - Extra Small devices (phones, 576px and down) */
@media (max-width: 575.98px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .hero {
        padding-top: 80px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
        margin-bottom: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn-modern {
        width: 100%;
        padding: 12px 20px;
        font-size: 0.85rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .service-card, .contact-card {
        margin-bottom: 1.5rem;
    }
    
    .navbar-brand {
        font-size: 1.5rem;
    }
    
    .hero-visual {
        margin-top: 2rem;
    }
    
    .glass-card {
        padding: 1.5rem;
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .btn-modern {
        flex: 1;
        min-width: 200px;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .hero {
        padding-top: 120px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .section {
        padding: 100px 0;
    }
    
    .navbar-nav .nav-link {
        margin: 0 0.5rem;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .hero {
        padding-top: 140px;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
}

/* Mobile Navigation Improvements */
@media (max-width: 991.98px) {
    .navbar-toggler {
        border: none;
        padding: 0.25rem 0.5rem;
        background: transparent;
    }
    
    .navbar-toggler:focus {
        box-shadow: none;
    }
    
    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833, 37, 41, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='m4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }
    
    .navbar-collapse {
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        border-radius: 12px;
        margin-top: 1rem;
        padding: 1rem;
        box-shadow: var(--shadow-lg);
    }
    
    .navbar-nav {
        text-align: center;
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem;
        margin: 0.25rem 0;
        border-radius: 8px;
        transition: all 0.3s ease;
    }
    
    .navbar-nav .nav-link:hover {
        background: var(--gradient-primary);
        color: white !important;
        transform: translateY(-2px);
    }
}

/* Touch-friendly improvements */
@media (hover: none) and (pointer: coarse) {
    .btn-modern {
        min-height: 48px;
        padding: 14px 24px;
    }
    
    .nav-link {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .service-card {
        padding: 2rem;
    }
}

/* Landscape orientation for mobile */
@media (max-width: 767.98px) and (orientation: landscape) {
    .hero {
        padding-top: 60px;
        padding-bottom: 60px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section {
        padding: 60px 0;
    }
}

/* Additional Responsive Utilities */

/* Responsive text sizes */
@media (max-width: 575.98px) {
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.3rem; }
    h4 { font-size: 1.1rem; }
    h5 { font-size: 1rem; }
    h6 { font-size: 0.9rem; }
}

@media (min-width: 576px) and (max-width: 767.98px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    h3 { font-size: 1.5rem; }
}

/* Responsive spacing utilities */
.mobile-center {
    text-align: center;
}

@media (min-width: 768px) {
    .mobile-center {
        text-align: left;
    }
}

/* Responsive image handling */
.img-responsive {
    max-width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 575.98px) {
    .img-responsive {
        max-width: 80%;
        margin: 0 auto;
    }
}

/* Responsive grid improvements */
@media (max-width: 767.98px) {
    .row > [class*="col-"] {
        margin-bottom: 1.5rem;
    }
    
    .row > [class*="col-"]:last-child {
        margin-bottom: 0;
    }
}

/* Hide/show elements based on screen size */
.mobile-only {
    display: block;
}

.desktop-only {
    display: none;
}

@media (min-width: 768px) {
    .mobile-only {
        display: none;
    }
    
    .desktop-only {
        display: block;
    }
}

/* Responsive card layouts */
@media (max-width: 575.98px) {
    .card-deck .card {
        margin-bottom: 1rem;
    }
}

/* Better touch targets for mobile */
@media (max-width: 767.98px) {
    .btn, .nav-link, .dropdown-item {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* Responsive font scaling */
@media (max-width: 575.98px) {
    body {
        font-size: 14px;
    }
}

@media (min-width: 576px) and (max-width: 767.98px) {
    body {
        font-size: 15px;
    }
}

@media (min-width: 768px) {
    body {
        font-size: 16px;
    }
}

/* Custom animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Gradient text animation */
@keyframes gradientShift {
    0% { 
        background-position: 0% 50%;
        text-shadow: 0 0 30px rgba(255, 255, 255, 0.8);
    }
    25% { 
        background-position: 100% 50%;
        text-shadow: 0 0 35px rgba(255, 215, 0, 0.9);
    }
    50% { 
        background-position: 50% 100%;
        text-shadow: 0 0 40px rgba(255, 165, 0, 1.0);
    }
    75% { 
        background-position: 0% 100%;
        text-shadow: 0 0 35px rgba(0, 255, 255, 0.9);
    }
    100% { 
        background-position: 0% 50%;
        text-shadow: 0 0 30px rgba(255, 255, 255, 0.8);
    }
}

.gradient-text-animated {
    background: linear-gradient(-45deg, #FFFFFF, #FFD700, #FFA500, #00FFFF, #FFFFFF);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 7s ease-in-out infinite;
    font-weight: 800;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.8);
}

/* Team Modal Styles */
.btn-read-more {
    background: var(--gradient-primary);
    border: none;
    color: white;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 1rem;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-read-more:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.btn-read-more i {
    font-size: 0.9rem;
}

.team-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.team-modal-content {
    background: white;
    border-radius: 24px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow-2xl);
    animation: modalSlideIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.team-modal-header {
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--gradient-primary);
    color: white;
    border-radius: 24px 24px 0 0;
}

.team-modal-header h3 {
    margin: 0;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
}

.team-modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.team-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.team-modal-body {
    padding: 2rem;
}

.modal-member-info {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.modal-avatar {
    flex-shrink: 0;
}

.modal-avatar img {
    width: 120px;
    height: 120px;
    border-radius: 20px;
    object-fit: cover;
    border: 4px solid var(--gray-200);
}

.modal-content-text {
    flex: 1;
}

.modal-content-text h4 {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--gray-800);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-content-text h5 {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--gray-700);
    margin: 1.5rem 0 0.5rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-content-text p {
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.modal-content-text ul {
    color: var(--gray-600);
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.modal-content-text li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.tech-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 1rem 0;
}

.tech-tag {
    background: var(--gradient-primary);
    color: white;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Coming Soon Styles */
.coming-soon-header {
    text-align: center;
    padding: 30px 20px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-radius: 15px;
    border: 1px solid rgba(102, 126, 234, 0.2);
    margin-bottom: 30px;
}

.coming-soon-header i {
    color: #667eea;
    margin-bottom: 15px;
}

.coming-soon-header h4 {
    color: #667eea;
    margin-bottom: 10px;
    margin-top: 0;
}

.coming-soon-section {
    background: rgba(255, 255, 255, 0.03);
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #667eea;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.coming-soon-section:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(5px);
}

.coming-soon-section p {
    margin: 0 0 10px 0;
    font-weight: 600;
    color: #667eea;
}

.coming-soon {
    text-align: center;
    padding: 2rem;
}

.coming-soon i {
    color: var(--primary-600);
    margin-bottom: 1rem;
}

.coming-soon h4 {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--gray-800);
    margin-bottom: 1rem;
}

.current-info {
    background: rgba(40, 167, 69, 0.1);
    padding: 25px;
    border-radius: 12px;
    border-left: 4px solid #28a745;
    margin-top: 30px;
    border: 1px solid rgba(40, 167, 69, 0.2);
    text-align: left;
}

.current-info h5 {
    font-family: 'Space Grotesk', sans-serif;
    color: #28a745;
    margin-bottom: 15px;
    margin-top: 0;
    font-size: 1.1em;
}

.current-info ul {
    margin: 0;
    padding-left: 1.5rem;
}

.current-info li {
    color: #2d5a3d;
    margin-bottom: 8px;
}

.current-info li strong {
    color: #28a745;
}

.update-note {
    background: rgba(255, 193, 7, 0.1);
    color: #ffc107;
    padding: 12px 15px;
    border-radius: 8px;
    border-left: 3px solid #ffc107;
    font-size: 0.85em;
    line-height: 1.4;
    margin: 0;
}

/* Responsive Modal */
@media (max-width: 768px) {
    .modal-member-info {
        flex-direction: column;
        text-align: center;
    }
    
    .modal-avatar {
        align-self: center;
    }
    
    .team-modal-content {
        margin: 10px;
        max-height: 95vh;
    }
    
    .team-modal-header {
        padding: 1.5rem 1.5rem 1rem;
    }
    
    .team-modal-body {
        padding: 1.5rem;
    }
    
    .modal-content-text h4 {
        justify-content: center;
    }
    
    .modal-content-text h5 {
        justify-content: center;
    }
}