@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

:root {
    /* Aki Color Palette */
    --aki-dark-blue: #101e5a;
    --aki-mid-blue: #5D80B6;
    --aki-light-blue: #ACBDD3;
    --aki-bg-white: #ffffff;
    --aki-text-main: #272542;
    --aki-text-light: #615C62;

    /* Design Variables */
    --hero-radius: 24px;
    --container-width: 1200px;
}

html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--aki-text-main);
    background: var(--aki-bg-white);
    line-height: 1.6;
}

/* --- 1. HEADER --- */
header {
    background: var(--aki-bg-white);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid transparent;
    transition: box-shadow 0.3s ease;
}

header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.header-content {
    width: 92%;
    max-width: var(--container-width);
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--aki-dark-blue);
    font-weight: 700;
    font-size: 1.2rem;
}

.brand img {
    width: 32px;
    height: auto;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 40px;
}

nav ul li a {
    text-decoration: none;
    color: var(--aki-text-main);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

nav ul li a:hover {
    color: var(--aki-mid-blue);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Language Dropdown Styles */
.language-dropdown {
    position: relative;
    display: inline-block;
}

.lang-btn {
    background: none;
    border: none;
    font-family: inherit;
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--aki-text-main);
    display: flex;
    align-items: center;
    gap: 5px;
}

.language-menu {
    display: none;
    position: absolute;
    right: 0;
    background-color: white;
    min-width: 140px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    z-index: 1;
    border-radius: 8px;
    padding: 5px 0;
    border: 1px solid #eee;
}

.language-menu li {
    list-style: none;
}

.language-menu li a {
    color: var(--aki-text-main);
    padding: 10px 15px;
    text-decoration: none;
    display: block;
    font-size: 0.9rem;
    transition: background 0.2s;
}

.language-menu li a:hover {
    background-color: #f4f6f8;
    color: var(--aki-mid-blue);
}

/* Show menu on hover */
.language-dropdown:hover .language-menu {
    display: block;
}

.cta-btn-small {
    background: var(--aki-dark-blue);
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: background 0.3s;
}

.cta-btn-small:hover {
    background: var(--aki-mid-blue);
}

.menu-toggle {
    display: none;
}

/* --- 2. HERO SECTION --- */
.hero-wrapper {
    padding: 20px 4%;
    background: var(--aki-bg-white);
    display: flex;
    justify-content: center;
}

.hero-card {
    width: 100%;
    max-width: var(--container-width);
    background-color: var(--aki-dark-blue);
    border-radius: var(--hero-radius);
    padding: 60px;
    color: white;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 50px;
    box-shadow: 0 20px 40px rgba(16, 30, 90, 0.15);
    overflow: hidden;
    min-height: 500px;
}

.hero-content h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 600;
}

.hero-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 35px;
    line-height: 1.7;
    max-width: 90%;
}

.btn-primary {
    background: var(--aki-mid-blue);
    color: white;
    padding: 15px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s;
    display: inline-block;
}

.btn-primary:hover {
    background: white;
    color: var(--aki-dark-blue);
    transform: translateY(-2px);
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* --- 3. TRUST BAR (Pop-out Animation) --- */
.trust-bar {
    text-align: center;
    padding: 60px 20px;
    background: var(--aki-bg-white);
}

.trust-bar p {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--aki-text-light);
    margin-bottom: 40px;
    font-weight: 600;
}

.logo-grid {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    align-items: center;
}

/* Brand Logo Animations */
.logo-item {
    transition: transform 0.3s ease;
    cursor: pointer;
}

.logo-item img {
    height: 40px;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.4s ease;
}

.logo-item:hover {
    transform: scale(1.1);
    /* Pop out effect */
}

.logo-item:hover img {
    filter: grayscale(0%);
    /* Full color */
    opacity: 1;
}

/* --- 4. SERVICES SECTION --- */
.services {
    padding: 80px 4%;
    max-width: var(--container-width);
    margin: auto;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    color: var(--aki-dark-blue);
    margin-bottom: 60px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.service-card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    transition: transform 0.2s;
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--aki-mid-blue);
    background: white;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.service-card h3 {
    color: var(--aki-dark-blue);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

/* --- 5. ABOUT SECTION (Restored) --- */
.about {
    padding: 80px 4%;
    background: #f4f6f8;
    /* Light gray background to separate from white sections */
}

.about-container {
    max-width: 800px;
    margin: auto;
    text-align: center;
}

.about-container h2 {
    font-size: 2.2rem;
    color: var(--aki-dark-blue);
    margin-bottom: 30px;
}

.about-container p {
    font-size: 1.1rem;
    color: var(--aki-text-light);
    margin-bottom: 40px;
}

/* Client Grid in About Section */
.client-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.client-card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.client-card:hover {
    transform: translateY(-5px);
}

.client-card img {
    max-width: 80px;
    margin-bottom: 10px;
}

.client-card p {
    font-weight: 600;
    color: var(--aki-dark-blue);
    font-size: 0.9rem;
    margin: 0;
}


/* --- 6. CONTACT --- */
.contact {
    padding: 80px 20px;
    background: var(--aki-bg-white);
    text-align: center;
}

.contact-form {
    max-width: 500px;
    margin: 40px auto 0;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
}

.contact-form button {
    width: 100%;
    padding: 15px;
    background: var(--aki-dark-blue);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.contact-form button:hover {
    background: var(--aki-mid-blue);
}

/* --- FOOTER --- */
footer {
    background: var(--aki-dark-blue);
    color: white;
    padding: 50px 20px;
    text-align: center;
    font-size: 0.9rem;
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .hero-card {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 40px;
    }

    .hero-image {
        display: none;
    }

    nav {
        display: none;
    }

    /* Use JS for mobile toggle */
    .menu-toggle {
        display: block;
        font-size: 1.5rem;
        cursor: pointer;
    }

    .services-grid,
    .client-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {

    .services-grid,
    .client-grid {
        grid-template-columns: 1fr;
    }

    .header-right {
        display: none;
    }

    /* Simplify header on mobile */
}