s/* ===================================
   3Otters Landing Page V2 - Modern Design
   =================================== */

:root {
    --primary: #667eea;
    --primary-dark: #5568d3;
    --primary-light: #7c8ef0;
    --secondary: #764ba2;
    --success: #10b981;
    --danger: #ef4444;
    --dark: #0f172a;
    --light: #f8fafc;
    --gray: #64748b;
    --white: #ffffff;

    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

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

body {
    font-family: var(--font-family);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* ===================================
   Navbar
   =================================== */

.navbar {
    padding: 1rem 0;
    transition: var(--transition);
    background: transparent !important;
}

.navbar.scrolled {
    background: rgba(15, 23, 42, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-lg);
}

.logo-img {
    height: 40px;
    width: auto;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
}

.nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: var(--transition);
}

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

.navbar .btn-primary {
    padding: 0.5rem 1.5rem;
}

/* ===================================
   Hero Section
   =================================== */

.hero-section {
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

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

/* Animated Gradient Overlay */
.gradient-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(45deg,
        rgba(102, 126, 234, 0.8),
        rgba(118, 75, 162, 0.8),
        rgba(102, 126, 234, 0.8));
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    z-index: 2;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 3;
}

.text-gradient {
    background: linear-gradient(135deg, #fff 0%, #f0f9ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-item h3 {
    font-size: 2.5rem;
    margin-bottom: 0.25rem;
}

/* Hero Image */
.hero-image-wrapper {
    position: relative;
    animation: float 6s ease-in-out infinite;
}

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

.hero-image-wrapper img {
    border: 5px solid rgba(255, 255, 255, 0.2);
}

/* Floating Elements */
.floating-element {
    position: absolute;
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.icon-box {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: var(--shadow-xl);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, 10px); }
}

.scroll-indicator i {
    font-size: 1.5rem;
}

/* ===================================
   Buttons
   =================================== */

.btn {
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

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

.btn-outline-light {
    border: 2px solid var(--white);
    color: var(--white);
    background: transparent;
}

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

/* ===================================
   Service Cards
   =================================== */

.services-section {
    background: var(--light);
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 1rem;
    transition: var(--transition);
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transition: var(--transition);
}

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

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

.service-card.featured {
    border: 2px solid var(--primary);
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
}

.btn-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.btn-link:hover {
    color: var(--primary-dark);
    transform: translateX(5px);
    display: inline-block;
}

/* ===================================
   Why Us Section
   =================================== */

.why-us-section {
    padding: 5rem 0;
}

.why-us-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.02) 0%, rgba(118, 75, 162, 0.02) 100%);
    z-index: -1;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

/* ===================================
   Tech Stack
   =================================== */

.tech-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 1rem;
    transition: var(--transition);
    border: 1px solid #e2e8f0;
}

.tech-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.tech-icon {
    font-size: 3rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===================================
   Team Section
   =================================== */

.team-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 1rem;
    transition: var(--transition);
    border: 1px solid #e2e8f0;
}

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

.team-image img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border: 4px solid var(--primary);
}

/* ===================================
   Contact Section
   =================================== */

.contact-section {
    background: linear-gradient(135deg, var(--dark) 0%, #1e293b 100%);
    position: relative;
    overflow: hidden;
}

.contact-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(118, 75, 162, 0.1) 0%, transparent 50%);
}

.contact-form-wrapper {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.form-control {
    border: 2px solid #e2e8f0;
    padding: 0.75rem 1rem;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-label {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-info-item i {
    opacity: 0.8;
}

/* ===================================
   Footer
   =================================== */

.footer {
    background: #000;
}

.social-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    text-decoration: none;
}

.social-icon:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-5px);
}

/* ===================================
   Form Messages
   =================================== */

.alert {
    border-radius: 0.5rem;
    padding: 1rem;
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
    border: none;
}

.alert-danger {
    background: #fee2e2;
    color: #991b1b;
    border: none;
}

/* ===================================
   Badges
   =================================== */

.badge {
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-weight: 600;
    font-size: 0.875rem;
}

.bg-primary-subtle {
    background: rgba(102, 126, 234, 0.1);
}

/* ===================================
   Responsive Design
   =================================== */

@media (max-width: 991px) {
    .hero-section {
        min-height: auto;
        padding: 100px 0 50px;
    }

    .hero-content .row {
        min-height: auto !important;
    }

    .display-3 {
        font-size: 2.5rem;
    }

    .display-5 {
        font-size: 2rem;
    }

    .stat-item h3 {
        font-size: 2rem;
    }

    .hero-image-wrapper {
        margin-top: 3rem;
    }

    .floating-element {
        display: none;
    }
}

@media (max-width: 767px) {
    .display-3 {
        font-size: 2rem;
    }

    .display-5 {
        font-size: 1.75rem;
    }

    .lead {
        font-size: 1rem;
    }

    .service-card,
    .tech-card,
    .team-card {
        margin-bottom: 1rem;
    }

    .btn-lg {
        padding: 0.75rem 1.25rem;
        font-size: 1rem;
    }
}

/* ===================================
   Language Switcher
   =================================== */

.language-switcher,
.language-switcher-footer {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.language-switcher {
    padding: 0.5rem 0;
}

.lang-link {
    color: rgba(255, 255, 255, 0.7) !important;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
}

.lang-link:hover {
    color: var(--primary-light) !important;
    background: rgba(255, 255, 255, 0.1);
}

.lang-link.active {
    color: var(--white) !important;
    font-weight: 700;
    background: rgba(102, 126, 234, 0.3);
}

.lang-separator {
    color: rgba(255, 255, 255, 0.4);
    font-weight: 300;
}

/* Footer language switcher */
.language-switcher-footer {
    margin-top: 0.5rem;
}

.language-switcher-footer .lang-link {
    color: rgba(255, 255, 255, 0.5) !important;
}

.language-switcher-footer .lang-link:hover {
    color: rgba(255, 255, 255, 0.9) !important;
}

.language-switcher-footer .lang-link.active {
    color: var(--white) !important;
    text-decoration: underline;
}

/* Privacy policy page language switcher */
.navbar .nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.navbar .nav-content .language-switcher .lang-link {
    color: var(--dark) !important;
}

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

.navbar .nav-content .language-switcher .lang-link.active {
    color: var(--primary) !important;
    background: rgba(102, 126, 234, 0.1);
}

.navbar .nav-content .language-switcher .lang-separator {
    color: var(--gray);
}

/* Mobile responsive for language switcher */
@media (max-width: 991px) {
    .language-switcher {
        justify-content: center;
        padding: 1rem 0;
    }
}

/* ===================================
   Utilities
   =================================== */

.text-white-50 {
    color: rgba(255, 255, 255, 0.5) !important;
}

.min-vh-100 {
    min-height: 100vh;
}

/* ===================================
   Animations
   =================================== */

[data-aos] {
    pointer-events: auto;
}

/* Loading animation for images */
img {
    transition: opacity 0.3s ease;
}

img[loading="lazy"] {
    opacity: 0;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* Smooth transitions */
a, button, .card, .service-card, .team-card, .tech-card {
    transition: var(--transition);
}

/* Focus states for accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .navbar,
    .scroll-indicator,
    .footer {
        display: none;
    }

    .hero-section {
        min-height: auto;
        padding: 2rem 0;
    }

    * {
        background: white !important;
        color: black !important;
    }
}
