/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
        sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.nav-brand .logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.2rem;
    color: #0ea5e9;
}

.nav-brand .logo i {
    font-size: 1.5rem;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #0ea5e9;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #0ea5e9;
    transition: width 0.3s ease;
}

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

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    color: #6b7280;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: #0ea5e9;
}

/* Navigation Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Language Switcher */
.language-switcher {
    position: relative;
}

.language-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: 1px solid #e5e7eb;
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.875rem;
    color: #374151;
}

.language-btn:hover {
    border-color: #0ea5e9;
    color: #0ea5e9;
}

.language-btn i {
    font-size: 0.875rem;
}

.current-lang {
    font-weight: 500;
    min-width: 24px;
    text-align: center;
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 0.375rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    min-width: 140px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.language-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.75rem 1rem;
    background: none;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 0.875rem;
    color: #374151;
}

.language-option:hover {
    background-color: #f3f4f6;
}

.language-option:first-child {
    border-radius: 0.375rem 0.375rem 0 0;
}

.language-option:last-child {
    border-radius: 0 0 0.375rem 0.375rem;
}

.flag-icon {
    font-size: 1rem;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    gap: 4px;
    transition: all 0.3s ease;
}

.hamburger-line {
    width: 24px;
    height: 2px;
    background: #374151;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle:hover .hamburger-line {
    background: #0ea5e9;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.hero-carousel {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -2;
    transition: transform 0.3s ease;
}

/* Different background images for each slide */
.hero-slide[data-bg='slide1'] .hero-background {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.2)),
        url('./assets/image1.webp') center/cover;
}

.hero-slide[data-bg='slide2'] .hero-background {
    background: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.25)),
        url('./assets/image2.webp') center/cover;
}

.hero-slide[data-bg='slide3'] .hero-background {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.2)),
        url('./assets/image3.webp') center/cover;
}

.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="pool" patternUnits="userSpaceOnUse" width="10" height="10"><circle cx="5" cy="5" r="1" fill="%23059669" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23pool)"/></svg>');
    opacity: 0.1;
    z-index: -1;
}

.hero-content {
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 2rem;
    transform: translateY(0);
    transition: transform 0.6s ease, opacity 0.6s ease;
    z-index: 20;
    position: relative;
}

.hero-slide:not(.active) .hero-content {
    transform: translateY(30px);
    opacity: 0;
}

.hero-slide.active .hero-content {
    transform: translateY(0);
    opacity: 1;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    margin-bottom: 2.5rem;
    opacity: 0.95;
    font-weight: 300;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: #0ea5e9;
    color: white;
    box-shadow: 0 4px 20px rgba(14, 165, 233, 0.3);
}

.btn-primary:hover {
    background: #0284c7;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(14, 165, 233, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-secondary:hover {
    background: white;
    color: #0ea5e9;
    transform: translateY(-2px);
}

.hero-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: transparent;
    color: white;
    border: 2px solid white;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.hero-button:hover {
    background: white;
    color: #0ea5e9;
    transform: translateY(-2px);
}

.simple-link {
    color: white;
    text-decoration: underline;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-block;
    margin-top: 1rem;
}

.simple-link:hover {
    color: #0ea5e9;
    text-decoration: none;
}

/* Carousel Navigation */
.carousel-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    pointer-events: none;
    z-index: 10;
}

.carousel-arrow {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
    backdrop-filter: blur(10px);
}

.carousel-arrow:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.carousel-arrow:active {
    transform: scale(0.95);
}

/* Carousel Dots */
.carousel-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 10;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.carousel-dot.active {
    background: white;
    border-color: white;
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.carousel-dot:hover:not(.active) {
    background: rgba(255, 255, 255, 0.6);
    transform: scale(1.1);
}

/* Services Section */
.services {
    padding: 6rem 0;
    background: #f8fafc;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1f2937;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #6b7280;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    min-height: 500px;
    position: relative;
}

.service-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border-color: rgba(14, 165, 233, 0.2);
}

.service-image {
    position: relative;
    height: 240px;
    overflow: hidden;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 2px solid #f1f5f9;
}

.service-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    opacity: 1;
}

/* Fallback styling when image is not loaded */
.service-screenshot:not([src]),
.service-screenshot[src=''],
.service-screenshot[src='./assets/irrigation-pools-screenshot.webp'],
.service-screenshot[src='./assets/swimming-pools-screenshot.webp'],
.service-screenshot[src='./assets/custom-models-screenshot.webp'] {
    opacity: 0;
}

.service-image::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    border-radius: 20px;
    z-index: 1;
    opacity: 0.1;
}

.service-image::after {
    content: '📱';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    z-index: 2;
    opacity: 0.3;
}

/* Hide placeholder when image is loaded */
.service-image.has-image::before,
.service-image.has-image::after {
    display: none;
}

/* Show different placeholders for each service */
.service-card:nth-child(1) .service-image::after {
    content: '🌱'; /* Plant for irrigation */
}

.service-card:nth-child(2) .service-image::after {
    content: '🏆'; /* Pool for swimming */
}

.service-card:nth-child(3) .service-image::after {
    content: '⚙️'; /* Gear for custom models */
}

/* Animate placeholder icons */
.service-image::after {
    animation: float 3s ease-in-out infinite;
}

.service-image:not(.has-image)::after {
    animation: float 3s ease-in-out infinite, pulse 2s ease-in-out infinite;
}

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

@keyframes pulse {
    0%,
    100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.6;
    }
}

.service-card:hover .service-screenshot {
    transform: scale(1.05);
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        45deg,
        rgba(14, 165, 233, 0.6),
        rgba(2, 132, 199, 0.6)
    );
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
    backdrop-filter: blur(5px);
    transform: translateY(20px);
}

.service-card:hover .service-overlay {
    opacity: 1;
    transform: translateY(0);
}

.service-content {
    padding: 2.5rem 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 260px;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    transform: scale(0.8) rotate(-10deg);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.service-card:hover .service-icon {
    transform: scale(1) rotate(0deg);
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

.service-emoji {
    font-size: 2rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    transform: scale(0.8);
    transition: all 0.3s ease;
    animation: none;
}

.service-card:hover .service-emoji {
    transform: scale(1.1);
    animation: bounce 0.6s ease;
}

@keyframes bounce {
    0%,
    100% {
        transform: scale(1.1) translateY(0);
    }
    25% {
        transform: scale(1.2) translateY(-5px);
    }
    50% {
        transform: scale(1.1) translateY(0);
    }
    75% {
        transform: scale(1.15) translateY(-2px);
    }
}

.service-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    color: #1f2937;
    text-align: center;
    line-height: 1.3;
}

.service-description {
    color: #6b7280;
    margin-bottom: 1rem;
    line-height: 1.6;
    flex: 1;
    text-align: center;
    font-size: 0.95rem;
}

.service-link {
    color: #0ea5e9;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    padding: 0.75rem 1.5rem;
    border: 2px solid #0ea5e9;
    border-radius: 8px;
    background: transparent;
    font-size: 0.9rem;
}

.service-link:hover {
    gap: 1rem;
    background: #0ea5e9;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

.service-actions {
    margin-top: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 1rem;
}

/* FAQ Section */
.faq {
    padding: 6rem 0;
    background: white;
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #f8fafc;
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

.faq-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    cursor: pointer;
    background: white;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #f8fafc;
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
    flex: 1;
}

.faq-question i {
    color: #0ea5e9;
    transition: transform 0.3s ease;
    font-size: 0.9rem;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: white;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 0 2rem 1.5rem;
}

.faq-answer p {
    color: #6b7280;
    line-height: 1.7;
    margin: 0;
    padding-top: 0.5rem;
}

/* Technology Section */
.technology {
    padding: 6rem 0;
    background: #1f2937;
    color: white;
}

.tech-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.tech-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
}

.tech-features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.tech-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.tech-feature i {
    color: #0ea5e9;
    font-size: 1.5rem;
    margin-top: 0.2rem;
}

.tech-feature h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.tech-feature p {
    color: #d1d5db;
    line-height: 1.6;
}

.tech-visual {
    position: relative;
}

.satellite-preview {
    width: 100%;
    height: 400px;
    background: linear-gradient(rgba(14, 165, 233, 0.1), rgba(2, 132, 199, 0.1)),
        url('./assets/image.webp') center/cover;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    border: 2px solid #374151;
}

.detection-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.detected-pool {
    position: absolute;
    width: 20px;
    height: 20px;
    background: #10b981;
    border: 2px solid #065f46;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.detected-pool:nth-child(1) {
    top: 30%;
    left: 25%;
    animation-delay: 0s;
}

.detected-pool:nth-child(2) {
    top: 60%;
    right: 30%;
    animation-delay: 0.5s;
}

.detected-pool:nth-child(3) {
    bottom: 25%;
    left: 45%;
    animation-delay: 1s;
}

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

/* Clients Section */
.clients {
    padding: 4rem 0;
    background: white;
}

.clients-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1f2937;
}

.clients-subtitle {
    text-align: center;
    color: #6b7280;
    margin-bottom: 3rem;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    align-items: center;
}

.client-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    color: #6b7280;
}

.client-logo:hover {
    background: #f8fafc;
    color: #0ea5e9;
    transform: translateY(-4px);
}

.client-logo i {
    font-size: 2.5rem;
}

.client-logo span {
    font-weight: 500;
    text-align: center;
}

/* Insights Section */
.insights {
    padding: 6rem 0;
    background: #f8fafc;
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.insight-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.insight-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.insight-image {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.insight-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease;
}

.insight-card:hover .insight-bg {
    transform: scale(1.1);
}

.insight-bg-1 {
    background-image: url('https://images.unsplash.com/photo-1559827260-dc66d52bef19?q=80&w=2070&auto=format&fit=crop');
}

.insight-bg-2 {
    background-image: url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?q=80&w=2072&auto=format&fit=crop');
}

.insight-bg-3 {
    background-image: url('https://images.unsplash.com/photo-1581833971358-2c8b550f87b3?q=80&w=2070&auto=format&fit=crop');
}

.insight-content {
    padding: 2rem;
}

.insight-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1f2937;
}

.insight-content p {
    color: #6b7280;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.insight-link {
    color: #0ea5e9;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.insight-link:hover {
    color: #0284c7;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: #f8fafc;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.contact-info .section-title {
    text-align: left;
    margin-bottom: 1rem;
}

.contact-info .section-subtitle {
    text-align: left;
    margin-bottom: 3rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-text h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.contact-text p {
    color: #6b7280;
    margin: 0;
}

.contact-form-container {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
}

.contact-form h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 2rem;
    text-align: center;
}

.form-group {
    margin-bottom: 0.5rem;
}

.form-group label {
    display: block;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
    background: #f9fafb;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0ea5e9;
    background: white;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-form {
    width: 100%;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    font-size: 1rem;
    padding: 1rem;
}

/* Footer */
.footer {
    background: #1f2937;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-brand .logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.2rem;
    color: #0ea5e9;
}

.footer-brand .logo i {
    font-size: 1.5rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #0ea5e9;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social .social-link {
    color: #9ca3af;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.footer-social .social-link:hover {
    color: #0ea5e9;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 1rem;
    text-align: center;
    color: #9ca3af;
    font-size: 0.9rem;
}

/* Responsive Design */

/* Large Desktop - 1200px and up */
@media (min-width: 1200px) {
    .container {
        max-width: 1400px;
    }

    .hero-title {
        font-size: 4.5rem;
    }

    .section-title {
        font-size: 3rem;
    }
}

/* Medium Desktop - 992px to 1199px */
@media (max-width: 1199px) {
    .container {
        max-width: 1000px;
    }

    .nav {
        padding: 1rem 1.5rem;
    }

    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 1.5rem;
    }
}

/* Small Desktop/Large Tablet - 768px to 991px */
@media (max-width: 991px) {
    .container {
        padding: 0 1.5rem;
    }

    .nav {
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        padding: 1rem;
        position: relative;
    }

    .mobile-menu-toggle {
        display: flex;
        order: 2;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        border-top: 1px solid rgba(0, 0, 0, 0.1);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        padding: 1.5rem;
        flex-direction: column;
        gap: 1rem;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transform: translateY(-10px);
        transition: all 0.3s ease;
        z-index: 1000;
    }

    .nav-menu.active {
        max-height: 300px;
        opacity: 1;
        transform: translateY(0);
    }

    .nav-link {
        padding: 0.5rem 0;
        text-align: center;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .nav-link:last-child {
        border-bottom: none;
    }

    .social-links {
        order: 3;
        position: absolute;
        top: 100%;
        right: 1rem;
        margin-top: 1rem;
        gap: 1rem;
    }

    .hero-title {
        font-size: clamp(2.2rem, 4vw, 3.2rem);
    }

    .hero-subtitle {
        font-size: clamp(1rem, 1.8vw, 1.3rem);
    }

    .tech-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 0 1.5rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 0 1.5rem;
    }

    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

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

/* Tablet - 768px and below */
@media (max-width: 768px) {
    .nav-actions {
        order: 2;
        gap: 0.5rem;
    }

    .language-switcher {
        order: 1;
    }

    .language-btn {
        padding: 0.4rem 0.6rem;
        font-size: 0.8rem;
    }

    .language-dropdown {
        right: 0;
        min-width: 120px;
    }

    .social-links {
        order: 2;
    }

    .nav {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 1rem;
        position: relative;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        border-top: 1px solid rgba(0, 0, 0, 0.1);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        padding: 1.5rem;
        flex-direction: column;
        gap: 1rem;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transform: translateY(-10px);
        transition: all 0.3s ease;
        z-index: 1000;
    }

    .nav-menu.active {
        max-height: 350px;
        opacity: 1;
        transform: translateY(0);
    }

    .nav-link {
        font-size: 0.9rem;
        padding: 0.8rem 0;
        text-align: center;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        transition: all 0.3s ease;
    }

    .nav-link:last-child {
        border-bottom: none;
    }

    .nav-link:hover {
        background: rgba(14, 165, 233, 0.05);
        color: #0ea5e9;
    }

    .social-links {
        display: none; /* Hide social links on mobile to save space */
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }

    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .carousel-nav {
        padding: 0 1rem;
    }

    .carousel-arrow {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }

    .carousel-dots {
        bottom: 1rem;
        gap: 0.8rem;
    }

    .carousel-dot {
        width: 10px;
        height: 10px;
    }

    .services {
        padding: 4rem 0;
    }

    .technology {
        padding: 4rem 0;
    }

    .faq {
        padding: 4rem 0;
    }

    .contact {
        padding: 4rem 0;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .contact-form-container {
        padding: 2rem;
    }

    .faq-question {
        padding: 1rem 1.5rem;
    }

    .faq-item.active .faq-answer {
        padding: 0 1.5rem 1rem;
    }

    .tech-feature {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
        align-items: center;
    }

    .tech-feature i {
        font-size: 2rem;
    }

    .satellite-preview {
        height: 300px;
    }

    .tech-grid {
        padding: 0 1rem;
    }

    .contact-grid {
        padding: 0 1rem;
    }
}

/* Large Mobile - 480px to 767px */
@media (max-width: 767px) {
    .container {
        padding: 0 1rem;
    }

    .hero-content {
        padding: 0 1rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .service-card {
        margin: 0 auto;
        max-width: 450px;
        min-height: 440px;
    }

    .service-content {
        padding: 2rem 1.8rem;
    }

    .service-image {
        height: 220px;
    }

    .insights-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .contact-details {
        gap: 1.5rem;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 0.8rem;
    }

    .contact-icon,
    .contact-text {
        align-self: center;
    }
}

/* Small Mobile - 480px and below */
@media (max-width: 480px) {
    .nav {
        padding: 0.8rem;
    }

    .mobile-menu-toggle {
        width: 36px;
        height: 36px;
    }

    .hamburger-line {
        width: 20px;
    }

    .nav-brand .logo {
        font-size: 1rem;
    }

    .nav-brand .logo i {
        font-size: 1.2rem;
    }

    .nav-menu {
        gap: 0.8rem;
    }

    .nav-link {
        font-size: 0.85rem;
    }

    .social-links {
        gap: 0.8rem;
    }

    .social-link {
        font-size: 1rem;
    }

    .hero-content {
        padding: 0 0.8rem;
    }

    .hero-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
        margin-bottom: 1rem;
        line-height: 1.1;
    }

    .hero-subtitle {
        font-size: clamp(0.9rem, 3vw, 1.1rem);
        margin-bottom: 2rem;
    }

    .btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.85rem;
        min-width: 140px;
    }

    .carousel-nav {
        display: none; /* Hide arrows on very small screens */
    }

    .carousel-dots {
        bottom: 0.8rem;
        gap: 0.6rem;
    }

    .carousel-dot {
        width: 8px;
        height: 8px;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
    }

    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 3rem;
    }

    .service-image {
        height: 160px;
    }

    .service-card {
        min-height: 420px;
    }

    .service-content {
        padding: 1.8rem 1.5rem;
        min-height: 240px;
    }

    .service-title {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }

    .service-description {
        font-size: 0.9rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }

    .service-image {
        height: 180px;
    }

    .tech-title {
        font-size: 2rem;
    }

    .tech-features {
        gap: 1.5rem;
    }

    .tech-feature h4 {
        font-size: 1.1rem;
    }

    .tech-feature p {
        font-size: 0.9rem;
    }

    .satellite-preview {
        height: 250px;
    }

    .detected-pool {
        width: 15px;
        height: 15px;
    }

    .faq-question h3 {
        font-size: 1rem;
    }

    .faq-answer p {
        font-size: 0.9rem;
    }

    .clients-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .client-logo {
        padding: 1.5rem;
    }

    .client-logo i {
        font-size: 2rem;
    }

    .contact-form-container {
        padding: 1.5rem;
    }

    .contact-form h3 {
        font-size: 1.3rem;
    }

    .form-group {
        margin-bottom: 0.5rem;
    }

    .form-group label {
        font-size: 0.85rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 0.6rem 0.8rem;
        font-size: 0.9rem;
    }

    .footer {
        padding: 2rem 0 1rem;
    }

    .footer-links {
        gap: 0.8rem;
    }

    .footer-links a {
        font-size: 0.9rem;
    }

    .footer-bottom {
        font-size: 0.8rem;
    }
}

/* Extra Small Mobile - 360px and below */
@media (max-width: 360px) {
    .container {
        padding: 0 0.8rem;
    }

    .hero-title {
        font-size: clamp(1.6rem, 8vw, 2.2rem);
    }

    .hero-subtitle {
        font-size: clamp(0.85rem, 4vw, 1rem);
    }

    .btn {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
        min-width: 120px;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .service-content {
        padding: 1.2rem;
    }

    .service-title {
        font-size: 1.2rem;
    }

    .contact-form-container {
        padding: 1.2rem;
    }
}

/* Landscape Mobile Orientation */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        height: 100vh;
        min-height: 500px;
    }

    .hero-title {
        font-size: clamp(1.8rem, 4vw, 2.8rem);
    }

    .hero-subtitle {
        font-size: clamp(0.9rem, 2vw, 1.2rem);
    }

    .carousel-dots {
        bottom: 1.5rem;
    }
}

/* High DPI / Retina Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-background {
        background-size: cover;
        image-rendering: crisp-edges;
    }
}

/* Print Styles */
@media print {
    .header,
    .carousel-nav,
    .carousel-dots,
    .hero-cta,
    .footer {
        display: none;
    }

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

    body {
        font-size: 12pt;
        line-height: 1.4;
    }

    .section-title {
        font-size: 18pt;
        color: #000;
    }
}

/* Reduced Motion Preferences */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .carousel-arrow,
    .carousel-dot,
    .service-card,
    .btn {
        transition: none;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    /* Note: This is prepared for future dark mode implementation */
    :root {
        --dark-bg: #1a1a1a;
        --dark-text: #ffffff;
        --dark-card: #2a2a2a;
    }
}

/* Focus Management for Accessibility */
@media (max-width: 768px) {
    .nav-link:focus,
    .btn:focus,
    .carousel-arrow:focus,
    .carousel-dot:focus {
        outline: 3px solid #0ea5e9;
        outline-offset: 2px;
    }
}

/* Hover Effects Only on Non-Touch Devices */
@media (hover: hover) and (pointer: fine) {
    .service-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    }

    .carousel-arrow:hover {
        background: rgba(255, 255, 255, 0.3);
        border-color: rgba(255, 255, 255, 0.5);
        transform: scale(1.1);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    }
}

/* Base responsive typography */
html {
    font-size: 16px;
}

@media (max-width: 1199px) {
    html {
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 13px;
    }
}

/* Responsive images */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Responsive tables */
table {
    width: 100%;
    border-collapse: collapse;
}

@media (max-width: 768px) {
    table {
        font-size: 0.9rem;
    }
}

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

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

/* Carousel slide animations */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-slide.slide-in-right {
    animation: slideInRight 0.8s ease-out;
}

.hero-slide.slide-in-left {
    animation: slideInLeft 0.8s ease-out;
}

.service-card,
.insight-card,
.tech-feature {
    animation: fadeInUp 0.6s ease forwards;
}

.service-card:nth-child(2) {
    animation-delay: 0.1s;
}

.service-card:nth-child(3) {
    animation-delay: 0.2s;
}
