/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: #0b0c1a;
    color: #d4d6e0;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: #5ec4a8;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover, a:focus {
    color: #7de0c2;
    text-decoration: underline;
}

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

/* Typography */
h1, h2, h3, h4 {
    font-weight: 600;
    line-height: 1.2;
    color: #d4d6e0;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

.section-title {
    text-align: center;
    margin-bottom: 0.75rem;
    color: #d4d6e0;
    border-bottom: 2px solid #2a2c42;
    padding-bottom: 0.5rem;
    display: inline-block;
    width: 100%;
}

.section-desc {
    text-align: center;
    color: #a0a3b5;
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    text-decoration: none;
}

.btn-primary {
    background: #2b5e50;
    color: #ffffff;
}

.btn-primary:hover {
    background: #3b7a68;
    transform: translateY(-2px);
    text-decoration: none;
    color: #ffffff;
}

/* Header & Navigation */
.header {
    background: #111225;
    border-bottom: 1px solid #2a2c42;
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0.75rem 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #5ec4a8;
    letter-spacing: 1px;
}

.logo:hover {
    text-decoration: none;
    color: #7de0c2;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: #a0a3b5;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-link:hover, .nav-link.active {
    color: #5ec4a8;
    text-decoration: none;
}

.nav-link.active {
    border-bottom: 2px solid #5ec4a8;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle-bar {
    display: block;
    width: 25px;
    height: 3px;
    background: #d4d6e0;
    margin: 5px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 6rem 0 5rem;
    background: linear-gradient(135deg, #0b0c1a 0%, #1a1c30 100%);
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.hero-text {
    flex: 1;
}

.hero-title {
    font-size: 3rem;
    color: #d4d6e0;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #a0a3b5;
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-shape {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #2b5e50 0%, #1a1c30 70%);
    border-radius: 50%;
    opacity: 0.6;
}

/* Services Section */
.services {
    padding: 5rem 0;
    background: #0b0c1a;
}

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

.service-card {
    background: #111225;
    border: 1px solid #2a2c42;
    border-radius: 0.75rem;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: transform 0.3s, border-color 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: #3b7a68;
}

.service-icon {
    font-size: 2.5rem;
    color: #5ec4a8;
    margin-bottom: 1rem;
}

.service-title {
    color: #d4d6e0;
    margin-bottom: 0.75rem;
}

.service-text {
    color: #a0a3b5;
    font-size: 0.95rem;
}

/* About Section */
.about {
    padding: 5rem 0;
    background: #0f1120;
}

.about-content {
    display: flex;
    gap: 4rem;
    align-items: center;
}

.about-text {
    flex: 1;
}

.about-text p {
    color: #a0a3b5;
    margin-bottom: 1rem;
}

.about-stats {
    flex: 1;
    display: flex;
    justify-content: space-around;
    gap: 1.5rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #5ec4a8;
}

.stat-label {
    color: #a0a3b5;
    font-size: 0.9rem;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background: #0b0c1a;
}

.contact-wrapper {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
}

.contact-form {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: #a0a3b5;
    margin-bottom: 0.4rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    background: #1a1c30;
    border: 1px solid #2a2c42;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    color: #d4d6e0;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #5ec4a8;
}

.contact-info {
    flex: 1;
    background: #111225;
    border: 1px solid #2a2c42;
    border-radius: 0.75rem;
    padding: 2rem;
}

.contact-info h3 {
    color: #d4d6e0;
    margin-bottom: 1.5rem;
}

.contact-info p {
    color: #a0a3b5;
    margin-bottom: 1rem;
}

.contact-info a {
    color: #5ec4a8;
}

/* Legal Pages Styling */
.legal-page {
    padding: 4rem 0;
    background: #0b0c1a;
}

.legal-page .section-title {
    margin-bottom: 0.5rem;
}

.last-updated {
    text-align: center;
    color: #7a7d90;
    margin-bottom: 3rem;
    font-size: 0.95rem;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background: #111225;
    border: 1px solid #2a2c42;
    border-radius: 0.75rem;
    padding: 2.5rem;
}

.legal-content h2 {
    color: #d4d6e0;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.legal-content h2:first-of-type {
    margin-top: 0;
}

.legal-content p {
    color: #a0a3b5;
    margin-bottom: 1rem;
    font-size: 16px;
    line-height: 1.8;
}

.legal-content a {
    color: #5ec4a8;
}

/* Footer */
.footer {
    background: #111225;
    border-top: 1px solid #2a2c42;
    padding: 1.5rem 0;
    text-align: center;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer p {
    color: #7a7d90;
}

.footer-nav {
    display: flex;
    gap: 1.5rem;
}

.footer-nav a {
    color: #7a7d90;
    font-size: 0.9rem;
}

.footer-nav a:hover {
    color: #5ec4a8;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-list {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #111225;
        flex-direction: column;
        padding: 1rem 2rem;
        border-bottom: 1px solid #2a2c42;
    }

    .nav-list.open {
        display: flex;
    }

    .nav-toggle {
        display: block;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
    }

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

    .hero-visual {
        display: none;
    }

    .about-content {
        flex-direction: column;
        text-align: center;
    }

    .about-stats {
        flex-direction: column;
        align-items: center;
    }

    .contact-wrapper {
        flex-direction: column;
    }

    .footer-inner {
        flex-direction: column;
    }
}

/* Animations (fade-in on scroll via Intersection Observer) */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Counter animation initial */
.stat-number {
    opacity: 0;
    transition: opacity 0.5s;
}

.stat-number.visible {
    opacity: 1;
}