/* Dark Theme Base Styles */
body {
    background-color: #020617;
    color: #f1f5f9;
}

/* Decorative Shapes */
.decorative-shape {
    position: fixed;
    z-index: 0;
    pointer-events: none;
}

.shape-top-left {
    top: -200px;
    left: -200px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(234, 88, 12, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.shape-bottom-right {
    bottom: -300px;
    right: -300px;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(239, 68, 68, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

/* Cookie Popup Styles */
.cookie-popup {
    position: fixed;
    bottom: -300px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    transition: bottom 0.5s ease-in-out;
    max-width: 90%;
    padding: 0 1rem;
}

.cookie-popup.show {
    bottom: 2rem;
}

.cookie-popup-inner {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border: 1px solid #334155;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    max-width: 500px;
}

/* Smooth transitions for all interactive elements */
a, button {
    transition: all 0.3s ease;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #0f172a;
}

::-webkit-scrollbar-thumb {
    background: #ea580c;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #f97316;
}

/* Focus states for accessibility */
input:focus,
textarea:focus,
button:focus {
    outline: 2px solid #ea580c;
    outline-offset: 2px;
}

/* Benefit Cards */
.benefit-card {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border: 1px solid #334155;
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    border-color: #ea580c;
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(234, 88, 12, 0.2);
}

.benefit-icon {
    width: 3rem;
    height: 3rem;
    background: #ea580c;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.benefit-card:hover .benefit-icon {
    transform: scale(1.1);
    box-shadow: 0 5px 20px rgba(234, 88, 12, 0.4);
}

/* Comparison Cards */
.comparison-card {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border: 1px solid #334155;
    border-radius: 1rem;
    padding: 2.5rem;
    transition: all 0.3s ease;
}

.comparison-card-highlight {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border: 2px solid #ea580c;
    position: relative;
}

.comparison-card-highlight::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 1rem;
    padding: 2px;
    background: linear-gradient(135deg, #ea580c, #f97316);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.5;
}

/* Stat Cards */
.stat-card {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border: 1px solid #334155;
    border-radius: 1.5rem;
    padding: 3rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.stat-decoration {
    position: absolute;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    opacity: 0.1;
}

.stat-decoration-left {
    top: -50px;
    left: -50px;
    background: #ef4444;
}

.stat-decoration-right {
    bottom: -50px;
    right: -50px;
    background: #ea580c;
}

.stat-decoration-left-alt {
    top: -50px;
    left: -50px;
    background: #ea580c;
}

.stat-decoration-right-alt {
    bottom: -50px;
    right: -50px;
    background: #f97316;
}

/* Tab Buttons */
.tab-button {
    padding: 0.75rem 1.5rem;
    background: #1e293b;
    border: 1px solid #334155;
    color: #94a3b8;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.tab-button:hover {
    background: #334155;
    color: #f1f5f9;
}

.tab-button.active {
    background: #ea580c;
    color: white;
    border-color: #ea580c;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Team Cards with Flip Effect */
.team-card {
    position: relative;
    height: 450px;
    perspective: 1000px;
}

.team-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

@media (min-width: 769px) {
    .team-card:hover .team-card-inner {
        transform: rotateY(180deg);
    }
}

.team-card.flipped .team-card-inner {
    transform: rotateY(180deg);
}

.team-card-front,
.team-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 1rem;
    overflow: hidden;
}

.team-card-front {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border: 1px solid #334155;
}

.team-card-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95), transparent);
}

.team-card-back {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border: 1px solid #ea580c;
    padding: 2rem;
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Contact Section */
.contact-info-card {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border: 1px solid #334155;
    border-radius: 1rem;
    padding: 2rem;
}

.contact-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: #ea580c;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-form-card {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border: 1px solid #334155;
    border-radius: 1rem;
    padding: 2rem;
}

.contact-input {
    width: 100%;
    padding: 0.875rem 1rem;
    background: #0f172a;
    border: 1px solid #334155;
    border-radius: 0.5rem;
    color: #f1f5f9;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.contact-input:focus {
    border-color: #ea580c;
    background: #1e293b;
    outline: none;
}

.contact-input::placeholder {
    color: #64748b;
}

/* Ensure images load smoothly */
img {
    transition: opacity 0.3s ease;
}

img:not([src]) {
    opacity: 0;
}

/* Additional responsive utilities */
@media (max-width: 768px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .route-card {
        height: auto;
    }
    
    .team-card {
        height: auto;
    }
}

/* Animation for sections on scroll */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Print styles */
@media print {
    header,
    footer,
    .cookie-popup,
    .decorative-shape {
        display: none;
    }
}
