/* =====================
   RESET & BASE STYLES
   ===================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* =====================
   HEADER & NAVIGATION
   ===================== */

.header {
    position: sticky;
    top: 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    border-bottom: 1px solid #e0e0e0;
}

.navbar {
    padding: 0;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 0;
    flex-shrink: 0;
}

.logo {
    width: 80px;
    height: 80px;
    filter: drop-shadow(0 2px 4px rgba(0, 82, 163, 0.2));
    display: none;
}

.company-name {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #0052a3 0%, #8b3a3a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.05em;
    font-family: 'Arial', sans-serif;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    flex: 1;
    justify-content: center;
}

.nav-link {
    font-weight: 500;
    color: #333;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #0052a3, #8b3a3a);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Language Toggle */
.language-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #f0f0f0;
    padding: 0.4rem 0.6rem;
    border-radius: 6px;
}

.lang-btn {
    background: none;
    border: none;
    padding: 0.4rem 0.8rem;
    cursor: pointer;
    font-weight: 600;
    color: #999;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.lang-btn.active {
    background: white;
    color: #0052a3;
    box-shadow: 0 2px 6px rgba(0, 82, 163, 0.15);
}

.lang-separator {
    color: #ccc;
}

/* =====================
   HERO SECTION
   ===================== */

.hero {
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: auto;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    max-width: 700px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    background: linear-gradient(135deg, #0052a3 0%, #8b3a3a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
    max-width: 100%;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #0052a3 0%, #003d7a 100%);
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    width: fit-content;
    box-shadow: 0 4px 15px rgba(0, 82, 163, 0.3);
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 82, 163, 0.4);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image svg {
    width: 100%;
    max-width: 400px;
    height: auto;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* =====================
   ABOUT SECTION
   ===================== */

.about {
    background: linear-gradient(135deg, #f5f5f5 0%, #f0f8ff 100%);
    padding: 5rem 2rem;
}

.about-container {
    max-width: 1400px;
    margin: 0 auto;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
    margin-top: 3rem;
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.about-description {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
}

.mission-box {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid #0052a3;
    box-shadow: 0 4px 12px rgba(0, 82, 163, 0.1);
}

.mission-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #0052a3;
}

.mission-text {
    line-height: 1.8;
    color: #666;
    font-size: 0.95rem;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.feature-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.feature-icon {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    display: none;
}

.feature-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #0052a3;
}

.feature-item p {
    font-size: 0.95rem;
    color: #666;
}

/* =====================
   SERVICES SECTION
   ===================== */

.services {
    padding: 5rem 2rem;
}

.services-container {
    max-width: 1400px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-top: 3px solid #0052a3;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0, 82, 163, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.service-card p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

/* =====================
   TOOLS SECTION
   ===================== */

.tools {
    background: linear-gradient(135deg, #f5f5f5 0%, #f0f0f5 100%);
    padding: 5rem 2rem;
}

.tools-container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-top: 1rem;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.tool-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.tool-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.tool-icon-container {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.tool-icon {
    width: 100px;
    height: 100px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.tool-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
}

.tool-description {
    font-size: 1rem;
    color: #0052a3;
    font-weight: 600;
    margin-bottom: 1rem;
}

.tool-details {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.tool-button {
    display: inline-block;
    background: linear-gradient(135deg, #8b3a3a 0%, #6b2e2e 100%);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(139, 58, 58, 0.3);
    transition: all 0.3s ease;
}

.tool-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(139, 58, 58, 0.4);
}

/* =====================
   CONTACT SECTION
   ===================== */

.contact {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, #f0f8ff 0%, #f5f5f5 100%);
}

.contact-container {
    max-width: 1000px;
    margin: 0 auto;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.contact-icon {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #0052a3;
}

.contact-item a {
    color: #0052a3;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #003d7a;
}

.contact-item p {
    color: #666;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-input {
    padding: 0.8rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #0052a3;
    box-shadow: 0 0 0 3px rgba(0, 82, 163, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-button {
    background: linear-gradient(135deg, #0052a3 0%, #003d7a 100%);
    color: white;
    padding: 1rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 82, 163, 0.3);
    transition: all 0.3s ease;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 82, 163, 0.4);
}

/* =====================
   SECTION TITLES
   ===================== */

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    color: #1a1a1a;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #0052a3, #8b3a3a);
    margin: 1rem auto 0;
    border-radius: 2px;
}

/* =====================
   FOOTER
   ===================== */

.footer {
    background: #1a1a1a;
    color: white;
    padding: 3rem 2rem 1rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    font-size: 1rem;
    color: #8b3a3a;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: #ccc;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #8b3a3a;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 2rem;
    text-align: center;
    color: #999;
    max-width: 1400px;
    margin: 0 auto;
}

/* =====================
   RESPONSIVE DESIGN
   ===================== */

@media (max-width: 768px) {
    .nav-container {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .nav-menu {
        order: 3;
        width: 100%;
        justify-content: flex-start;
        gap: 1rem;
    }

    .language-toggle {
        order: 2;
        margin-left: auto;
    }

    .hero {
        grid-template-columns: 1fr;
        padding: 2rem;
        min-height: auto;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-image {
        display: none;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2rem;
    }

    .tools-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }

    .tool-card,
    .service-card {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .company-name {
        font-size: 1.2rem;
    }

    .nav-menu {
        gap: 0.5rem;
    }

    .nav-link {
        font-size: 0.9rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* =====================
   ANIMATIONS
   ===================== */

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tool-card,
.service-card,
.feature-item {
    animation: slideInUp 0.6s ease forwards;
}

.tool-card:nth-child(1) { animation-delay: 0.1s; }
.tool-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
