@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* Base Styles */
body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

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

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #0E8388;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #2E4F4F;
}

/* Section animations */
section {
    transition: all 0.3s ease;
}

/* Navigation */
nav {
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav a {
    text-decoration: none;
    color: inherit;
}

/* Hero Section */
.hero-title {
    font-size: 2.5rem;
}

.hero-subtitle {
    font-size: 1.1rem;
}

/* Buttons */
.btn-hover {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-hover:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Form Styles */
form input,
form select {
    transition: all 0.2s ease;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.5rem;
    border-radius: 0.375rem;
    width: 100%;
    font-size: 1rem;
    min-height: 42px;
    line-height: 1.5;
    box-sizing: border-box;
}

form input:focus,
form select:focus {
    transform: scale(1.02);
    outline: none;
    border-color: #0E8388;
    box-shadow: 0 0 0 3px rgba(14, 131, 136, 0.3);
}

/* Fix select dropdown text color - ensure white text on dark background */
form select {
    appearance: none;
    background-color: #2E4F4F;
    color: #ffffff;
    color-scheme: dark;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' 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 0.75rem center;
    background-size: 16px;
    padding-right: 2.5rem;
    cursor: pointer;
}

/* Ensure select dropdown options have correct colors */
form select option {
    background-color: #2E4F4F;
    color: #ffffff;
    padding: 0.5rem;
}

form select optgroup {
    background-color: #2E4F4F;
    color: #ffffff;
}

/* Firefox-specific fix for select dropdown */
@-moz-document url-prefix() {
    form select {
        padding-right: 0.5rem;
    }
}

/* Ensure all form fields have consistent height */
form input[type="text"],
form input[type="tel"],
form input[type="email"],
form select {
    min-height: 42px;
    box-sizing: border-box;
}

/* Team Cards */
.bg-gray-50 {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bg-gray-50:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* Technology Cards */
.bg-white {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bg-white:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    nav .hidden md\:flex {
        display: none;
    }
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #2C3333;
    padding: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
    display: block;
}

.mobile-menu a {
    display: block;
    padding: 0.5rem 0;
    color: white;
    text-decoration: none;
    transition: color 0.2s ease;
}

.mobile-menu a:hover {
    color: #0E8388;
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
}

.text-light {
    color: #CBE4DE;
}

.text-mint {
    color: #0E8388;
}

.bg-mint {
    background-color: #0E8388;
}

.bg-mint:hover {
    background-color: #0a6a70;
}

.bg-graphite {
    background-color: #2C3333;
}

.bg-forest {
    background-color: #2E4F4F;
}

/* Form validation styles */
form input:invalid,
form select:invalid {
    border-color: #e53e3e;
}

form input:valid,
form select:valid {
    border-color: #38a169;
}

/* Loading state for form */
form.sending button {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Ensure all form fields have consistent height */
form input[type="text"],
form input[type="tel"],
form input[type="email"],
form select {
    min-height: 42px;
    box-sizing: border-box;
}

/* Fix select dropdown in Firefox */
@-moz-document url-prefix() {
    form select {
        padding-right: 0.5rem;
    }
}

/* Success message */
.success-message {
    background-color: #38a169;
    color: white;
    padding: 1rem;
    border-radius: 0.5rem;
    margin-top: 1rem;
    text-align: center;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Video placeholder */
.bg-gray-200 {
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e0 100%);
}

/* Team photos: show full image without cropping */
#team .bg-gray-50 img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 0.5rem;
}

/* Remove gray padding look behind team photos */
#team .bg-gray-50 .bg-gray-200 {
    background: #ffffff;
    height: auto !important;
    overflow: visible;
    display: block;
}

/* Stats animation */
.text-4xl {
    transition: transform 0.3s ease;
}

.text-4xl:hover {
    transform: scale(1.1);
}

/* Footer links */
footer a {
    color: #CBE4DE;
    text-decoration: none;
    transition: color 0.2s ease;
}

footer a:hover {
    color: #0E8388;
}
