/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Ubuntu, Cantarell, 'Noto Sans', Arial, sans-serif;
    line-height: 1.6;
    color: #0a2540;
    background-color: #ffffff;
}

/* Utility Classes */
.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 16px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn:focus {
    outline: 3px solid rgba(255, 140, 66, 0.5);
    outline-offset: 2px;
}

.btn-primary {
    background-color: #ff8c42;
    color: white;
    box-shadow: 0 4px 12px rgba(255, 140, 66, 0.3);
}

.btn-primary:hover {
    background-color: #e67c3c;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 140, 66, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: #0a2540;
    border: 2px solid #0a2540;
}

.btn-secondary:hover {
    background-color: #0a2540;
    color: white;
    transform: translateY(-2px);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: #0a2540;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e5e7eb;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo h1 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #0a2540;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #0a2540;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #ff8c42;
}

.nav-link:focus {
    outline: 2px solid #ff8c42;
    outline-offset: 4px;
    border-radius: 4px;
}

.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    gap: 4px;
}

.hamburger span {
    width: 24px;
    height: 3px;
    background-color: #0a2540;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger:focus {
    outline: 2px solid #ff8c42;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(246, 248, 250, 0.9) 0%, rgba(229, 231, 235, 0.692) 100%), url('hero.png') center/cover no-repeat;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.6;
}

.world-map {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: #0a2540;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #94a3b8;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Trust Badges */
.trust-badges {
    padding: 4rem 0;
    background-color: white;
}

.badges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    border-radius: 12px;
    background-color: #f6f8fa;
    transition: transform 0.3s ease;
}

.badge:hover {
    transform: translateY(-4px);
}

.badge-icon {
    width: 48px;
    height: 48px;
    color: #ff8c42;
}

.badge span {
    font-weight: 600;
    color: #0a2540;
}

/* Services Section */
.services {
    padding: 6rem 0;
    background-color: #f6f8fa;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.service-icon {
    width: 64px;
    height: 64px;
    color: #ff8c42;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #0a2540;
}

.service-card p {
    color: #94a3b8;
    margin-bottom: 1.5rem;
}

.service-toggle {
    background: none;
    border: 2px solid #ff8c42;
    color: #ff8c42;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.service-toggle:hover {
    background-color: #ff8c42;
    color: white;
}

.service-toggle:focus {
    outline: 2px solid rgba(255, 140, 66, 0.5);
    outline-offset: 2px;
}

.service-detail {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    margin-top: 1rem;
    text-align: left;
    color: #94a3b8;
}

.service-detail.active {
    max-height: 200px;
}

/* Why Us Section */
.why-us {
    padding: 6rem 0;
    background-color: white;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.why-item {
    text-align: center;
    padding: 2rem;
}

.why-item h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #0a2540;
}

.why-item p {
    color: #94a3b8;
    line-height: 1.7;
}

/* Process Section */
.process {
    padding: 6rem 0;
    background-color: #f6f8fa;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.process-step {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: #ff8c42;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.process-step h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #0a2540;
}

.process-step p {
    color: #94a3b8;
}

/* Customer Logos */
.customer-logos {
    padding: 4rem 0;
    background-color: white;
}

.logos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
}

.logo-placeholder {
    height: 80px;
    background-color: #e5e7eb;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-weight: 600;
}

/* FAQ Section */
.faq {
    padding: 6rem 0;
    background-color: #f6f8fa;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.125rem;
    font-weight: 600;
    color: #0a2540;
    cursor: pointer;
    position: relative;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #f6f8fa;
}

.faq-question:focus {
    outline: 2px solid #ff8c42;
    outline-offset: -2px;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 1.5rem;
    font-size: 1.5rem;
    color: #ff8c42;
    transition: transform 0.3s ease;
}

.faq-question[aria-expanded="true"]::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer.active {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: #94a3b8;
    line-height: 1.7;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background-color: white;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #0a2540;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ff8c42;
    box-shadow: 0 0 0 3px rgba(255, 140, 66, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 600;
    display: none;
}

.form-message.success {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

.form-message.error {
    background-color: #fee2e2;
    color: #dc2626;
    border: 1px solid #fca5a5;
}

/* Footer */
.footer {
    padding: 3rem 0;
    background-color: #0a2540;
    color: white;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ff8c42;
}

.footer-links a:focus {
    outline: 2px solid #ff8c42;
    outline-offset: 2px;
    border-radius: 4px;
}

.footer-email {
    color: #94a3b8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: white;
        border-top: 1px solid #e5e7eb;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }

    .nav.active {
        display: block;
    }

    .nav-list {
        flex-direction: column;
        padding: 1rem 0;
        gap: 0;
    }

    .nav-link {
        display: block;
        padding: 1rem 2rem;
        border-bottom: 1px solid #f6f8fa;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .section-title {
        font-size: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .badges-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid,
    .why-grid,
    .process-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .badges-grid {
        grid-template-columns: 1fr;
    }

    .service-card,
    .why-item,
    .process-step {
        padding: 1.5rem;
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .btn-primary {
        border: 2px solid transparent;
    }
    
    .btn-secondary {
        background-color: transparent;
    }
}

/* Focus visible for better accessibility */
.btn:focus-visible,
.nav-link:focus-visible,
.service-toggle:focus-visible,
.faq-question:focus-visible {
    outline: 3px solid #ff8c42;
    outline-offset: 2px;
}