@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');

:root {
    --primary: #1B2A4A;
    --primary-light: #2C3E6B;
    --accent: #3D7BCC;
    --accent-light: #5A9AE6;
    --accent-bg: #EDF3FB;
    --text: #2B2B2B;
    --text-muted: #6B7280;
    --bg: #ffffff;
    --border: #E5E7EB;
    --font: 'DM Sans', system-ui, -apple-system, sans-serif;
    --radius: 6px;
    --transition: 0.25s ease;
}

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

body {
    font-family: var(--font);
    color: var(--text);
    background-color: var(--bg);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font);
    color: var(--primary);
    margin-bottom: 1rem;
    line-height: 1.2;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: color var(--transition);
}

a:hover {
    color: var(--accent);
}

ul {
    list-style: none;
}

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

/* ═══════════════════════════════════════
   HEADER & NAVBAR — Ultra-slim design
   ═══════════════════════════════════════ */
header {
    background: #fff;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 52px;
}

.logo-container {
    display: flex;
    align-items: center;
}

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

.logo-text span {
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 0.25rem;
    align-items: center;
}

.nav-links li a:not(.btn) {
    font-weight: 500;
    font-size: 0.8rem;
    letter-spacing: 0.02em;
    color: var(--text-muted);
    padding: 6px 14px;
    border-radius: 4px;
    transition: all var(--transition);
    text-transform: uppercase;
}

.nav-links li a:not(.btn):hover,
.nav-links li a:not(.btn).active-link {
    color: var(--accent);
    background: var(--accent-bg);
}

/* ─── Contact button in nav ─── */
.nav-links .btn {
    font-size: 0.75rem;
    padding: 6px 16px;
    border-radius: 4px;
    letter-spacing: 0.02em;
}

/* ─── Language Dropdown ─── */
.lang-dropdown-wrapper {
    position: relative;
    margin-left: 0.5rem;
}

.lang-toggle {
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.8rem;
    color: var(--text-muted);
    padding: 6px 10px;
    border-radius: 4px;
    transition: all var(--transition);
}

.lang-toggle:hover {
    color: var(--accent);
    background: var(--accent-bg);
}

.lang-menu {
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    min-width: 120px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: all var(--transition);
    overflow: hidden;
    z-index: 100;
}

.lang-dropdown-wrapper:hover .lang-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-menu a {
    display: block;
    padding: 8px 14px;
    color: var(--text);
    font-size: 0.8rem;
    transition: background var(--transition);
}

.lang-menu a:hover {
    background: var(--accent-bg);
    color: var(--accent);
}

.lang-menu a.active {
    font-weight: 700;
    color: var(--accent);
}

/* ─── Mobile Menu ─── */
.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.3rem;
    color: var(--primary);
    line-height: 1;
}

/* ═══════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════ */
.btn {
    display: inline-block;
    padding: 0.7rem 1.6rem;
    font-family: var(--font);
    font-weight: 600;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all var(--transition);
    text-transform: uppercase;
    font-size: 0.85rem;
    border: none;
    letter-spacing: 0.02em;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
}

.btn-primary:hover {
    background: var(--primary-light);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59,123,204,0.3);
}

.btn-secondary {
    background: var(--primary);
    color: #fff;
}

.btn-secondary:hover {
    background: var(--primary-light);
    color: #fff;
    transform: translateY(-1px);
}

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

.btn-outline:hover {
    background: var(--accent);
    color: #fff !important;
}

/* ═══════════════════════════════════════
   HERO
   ═══════════════════════════════════════ */
.hero {
    position: relative;
    height: 80vh;
    min-height: 500px;
    background-image: linear-gradient(160deg, rgba(27,42,74,0.85), rgba(61,123,204,0.7)), url('../images/img_0.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    text-align: center;
    color: #fff;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    color: #fff;
    font-size: 3.2rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero p {
    font-size: 1.15rem;
    margin-bottom: 2rem;
    font-weight: 400;
    opacity: 0.9;
}

/* ═══════════════════════════════════════
   SECTIONS
   ═══════════════════════════════════════ */
.section-padding {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}

/* ─── Service Cards ─── */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    transition: transform var(--transition), box-shadow var(--transition);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.08);
    border-color: transparent;
}

.service-icon {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

/* ─── Page Headers ─── */
.page-header {
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 7rem 0 3.5rem;
    text-align: center;
    position: relative;
}

.page-header h1, .page-header p {
    color: #fff;
    position: relative;
    z-index: 2;
}

/* ─── Stats ─── */
.stats-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #fff;
    padding: 4rem 0;
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    text-align: center;
}

.stat-item {
    margin: 1rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-light);
    margin-bottom: 0.5rem;
}

.stat-text {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.85;
}

/* ─── About / Badges ─── */
.about-snippet {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.about-text {
    flex: 1;
}

.about-badges {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.badge {
    display: flex;
    align-items: center;
    background: var(--accent-bg);
    padding: 1.5rem;
    border-left: 4px solid var(--accent);
    border-radius: 0 var(--radius) var(--radius) 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.badge img {
    max-width: 100px;
    margin-right: 1.5rem;
}

.badge h4 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

/* ─── About Page ─── */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.mission-vision {
    background: var(--primary);
    color: #fff;
    padding: 5rem 0;
    margin-top: 5rem;
}

.mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.mv-card h3 {
    color: var(--accent-light);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.team-section {
    padding: 5rem 0;
    background: #FAFBFC;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.team-card {
    background: #fff;
    padding: 2rem;
    border-radius: var(--radius);
    text-align: center;
    border: 1px solid var(--border);
}

.team-card h4 {
    font-size: 1.2rem;
    margin-bottom: 0.4rem;
}

.team-card .role {
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

/* ─── Services Page ─── */
.service-detail-section {
    padding: 5rem 0;
    border-bottom: 1px solid var(--border);
}

.service-detail-section:nth-child(even) {
    background: #FAFBFC;
}

.service-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.service-grid.reverse .service-image-col {
    order: 2;
}

.service-grid.reverse .service-content-col {
    order: 1;
}

.service-image {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.service-content-col h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.service-content-col h4 {
    color: var(--accent);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.service-content-col p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

@media (max-width: 768px) {
    .service-grid {
        grid-template-columns: 1fr;
    }
    .service-grid.reverse .service-image-col,
    .service-grid.reverse .service-content-col {
        order: initial;
    }
}

/* ─── Equipment Page ─── */
.equip-section {
    padding: 5rem 0;
    border-bottom: 1px solid var(--border);
}

.equip-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: flex-start;
}

.equip-logo-col {
    text-align: center;
    padding: 2rem;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    border: 1px solid var(--border);
}

.equip-content-col h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.equip-content-col p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.equip-features {
    margin-top: 2rem;
}

.equip-features li {
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
}

.equip-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
    font-size: 1.1rem;
}

.spare-parts-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #fff;
    padding: 5rem 0;
    text-align: center;
}

.spare-parts-section h2 {
    color: #fff;
    font-size: 2.2rem;
}

@media (max-width: 768px) {
    .equip-grid {
        grid-template-columns: 1fr;
    }
}

/* ─── Contact Page ─── */
.contact-section {
    padding: 5rem 0;
    background: #FAFBFC;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info-card {
    background: #fff;
    padding: 2.5rem;
    border-radius: var(--radius);
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    border-top: 3px solid var(--accent);
    margin-bottom: 2rem;
}

.contact-info-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.contact-detail-icon {
    color: var(--accent);
    margin-right: 1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.contact-detail-icon svg,
.contact-detail-icon i {
    width: 20px;
    height: 20px;
}

.contact-form {
    background: #fff;
    padding: 2.5rem;
    border-radius: var(--radius);
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text);
}

.form-control {
    width: 100%;
    padding: 0.7rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: var(--font);
    font-size: 0.95rem;
    transition: border-color var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(61,123,204,0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 140px;
}

.map-section {
    padding: 0;
    height: 400px;
    background: #E5E7EB;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* ─── CTA Section ─── */
.cta-section {
    background: linear-gradient(160deg, rgba(27,42,74,0.9), rgba(61,123,204,0.8)), url('../images/img_6.jpg');
    background-size: cover;
    background-position: center;
    text-align: center;
    color: #fff;
    padding: 5rem 0;
}

.cta-section h2 {
    color: #fff;
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

/* ═══════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════ */
footer {
    background: var(--primary);
    color: #fff;
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    color: var(--accent-light);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 28px;
    height: 2px;
    background: var(--accent-light);
}

.footer-col p, .footer-col a {
    color: rgba(255,255,255,0.65);
    margin-bottom: 0.8rem;
    display: block;
    font-size: 0.9rem;
}

.footer-col a:hover {
    color: #fff;
}

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

.social-links a {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50%;
    color: #fff !important;
    margin-bottom: 0 !important;
    transition: all 0.25s ease;
}

.social-links a svg {
    width: 16px;
    height: 16px;
    stroke: #fff;
}

.social-links a:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    transform: translateY(-2px);
}

.social-links a:hover svg {
    stroke: #fff;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.4);
    font-size: 0.85rem;
}

/* ═══════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════ */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: all 0.6s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ═══════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════ */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        border-bottom: 1px solid var(--border);
        box-shadow: 0 12px 24px rgba(0,0,0,0.08);
        padding: 1rem 0;
        gap: 0;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        text-align: center;
    }

    .nav-links li a:not(.btn) {
        font-size: 0.85rem;
        display: block;
        padding: 10px 20px;
        border-radius: 0;
    }

    .nav-links li a:not(.btn):hover {
        background: var(--accent-bg);
    }

    .lang-dropdown-wrapper {
        margin-left: 0 !important;
        justify-content: center;
        display: flex;
    }

    .hamburger {
        display: block;
    }

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

    .about-snippet {
        flex-direction: column;
        gap: 2rem;
    }

    .about-grid, .mv-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        flex-direction: column;
    }
}
