/* ============================
   CSS Reset & Base Styles
   ============================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-primary: #3b5bdb;
    --color-primary-dark: #2b4acb;
    --color-text: #333;
    --color-text-light: #666;
    --color-bg: #ffffff;
    --color-bg-light: #f8f9fa;
    --color-border: #e0e0e0;
    --font-main: 'Exo 2', -apple-system, BlinkMacSystemFont, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ============================
   Navigation
   ============================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 3rem;
    transition: background-color 0.3s ease;
}

.navbar.navbar-light {
    background-color: var(--color-bg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.navbar.navbar-light .nav-logo a,
.navbar.navbar-light .nav-links a {
    color: var(--color-text);
}

.nav-logo a {
    font-family: var(--font-main);
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: #fff;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.25rem 0;
    transition: opacity 0.2s ease;
    position: relative;
}

.nav-links a:hover {
    opacity: 0.8;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: currentColor;
}

/* Language Toggle */
.lang-toggle {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 0.3rem 0.75rem;
    border-radius: 4px;
    font-family: var(--font-main);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    letter-spacing: 1px;
}

.lang-toggle:hover {
    background: rgba(255, 255, 255, 0.25);
}

.navbar.navbar-light .lang-toggle {
    background: rgba(0, 0, 0, 0.05);
    color: var(--color-text);
    border-color: var(--color-border);
}

.navbar.navbar-light .lang-toggle:hover {
    background: rgba(0, 0, 0, 0.1);
}

/* ============================
   Hero Section
   ============================ */
.hero {
    position: relative;
    height: 65vh;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-image: url('images/header-hero.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #fff;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.4) 0%,
        rgba(0, 0, 0, 0.25) 50%,
        rgba(0, 0, 0, 0.5) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-family: var(--font-main);
    font-size: 4rem;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    text-shadow: 2px 4px 16px rgba(0, 0, 0, 0.5);
}

.highlight-text {
    color: #fff;
}

.hero-acronym {
    text-align: left;
    display: inline-block;
    margin-bottom: 1rem;
}

.hero-acronym p {
    font-size: 1.6rem;
    font-weight: 400;
    letter-spacing: 1px;
    line-height: 1.5;
    text-shadow: 1px 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-acronym .highlight-text {
    font-weight: 700;
}

.hero-tagline {
    font-size: 1.15rem;
    font-weight: 300;
    font-style: italic;
    letter-spacing: 2px;
    margin-bottom: 2.5rem;
    opacity: 0.85;
    text-shadow: 1px 2px 8px rgba(0, 0, 0, 0.4);
}

/* ============================
   Buttons
   ============================ */
.btn {
    display: inline-block;
    padding: 0.85rem 2.5rem;
    border-radius: 4px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-family: var(--font-main);
}

.btn-primary {
    background-color: var(--color-primary);
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(59, 91, 219, 0.4);
}

/* ============================
   Section Styles
   ============================ */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-family: var(--font-main);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 0.75rem;
}

.section-divider {
    width: 50px;
    height: 3px;
    background-color: var(--color-primary);
    margin: 0 auto;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.05rem;
    font-weight: 300;
    color: var(--color-text-light);
    margin-top: 1rem;
    font-style: italic;
}

/* ============================
   Services Section
   ============================ */
.services {
    padding: 5rem 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.service-card {
    display: block;
    background: var(--color-bg);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    color: inherit;
    text-decoration: none;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 100%;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background-color: var(--color-bg-light);
    color: var(--color-primary);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.service-card:hover .service-icon {
    background-color: var(--color-primary);
    color: #fff;
}

.service-card h3 {
    font-family: var(--font-main);
    font-size: 1.35rem;
    font-weight: 700;
    margin: 1.25rem 0 0.5rem;
    color: var(--color-text);
}

.service-card p {
    color: var(--color-text-light);
    font-size: 0.95rem;
    line-height: 1.7;
    padding-bottom: 1rem;
}

/* ============================
   Summary Section
   ============================ */
.summary-section {
    padding: 4rem 3rem;
    background-color: var(--color-bg-light);
}

.summary-container {
    max-width: 1100px;
    margin: 0 auto;
}

.summary-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
    scroll-margin-top: 5rem;
}

.summary-row:last-child {
    margin-bottom: 0;
}

.summary-row-reverse {
    direction: ltr;
}

.summary-text-block {
    padding: 1rem 0;
}

.summary-heading {
    font-family: var(--font-main);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 1rem;
}

.summary-text {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--color-text-light);
}

.summary-image-block {
    display: flex;
    align-items: center;
    justify-content: center;
}

.summary-image-block img {
    width: 100%;
    max-width: 400px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

/* ============================
   About Section
   ============================ */
.about-section {
    padding: 8rem 3rem 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-text-light);
    margin-bottom: 1.25rem;
}

/* Video Demo */
.video-demo {
    text-align: center;
}

.video-intro,
.video-caption {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--color-text-light);
    max-width: 750px;
    margin: 0 auto;
}

.video-intro {
    margin-bottom: 2rem;
}

.video-caption {
    margin-top: 2rem;
}

.video-placeholder {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding-top: 56.25%;
    background-color: #1a1a2e;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.video-placeholder-inner {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    gap: 1rem;
}

.video-placeholder-inner svg {
    opacity: 0.6;
}

.video-placeholder-inner p {
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: 1px;
}

.video-placeholder iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.about-screenshot {
    text-align: center;
}

.about-screenshot img {
    width: 100%;
    max-width: 800px;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    margin: 0 auto;
}

.about-highlights {
    display: flex;
    justify-content: center;
    gap: 4rem;
}

.highlight {
    text-align: center;
}

.highlight-number {
    display: block;
    font-family: var(--font-main);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary);
}

.highlight-label {
    display: block;
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-top: 0.25rem;
}

/* ============================
   Contact Section
   ============================ */
.contact-intro {
    max-width: 750px;
    margin: 0 auto 3rem;
    text-align: center;
}

.contact-intro h3 {
    font-family: var(--font-main);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 1.25rem;
}

.contact-intro p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-text-light);
    margin-bottom: 0.75rem;
}

.contact-intro p:last-child {
    margin-bottom: 0;
}

.contact-section {
    padding: 4rem 3rem 5rem;
    background-color: var(--color-bg-light);
}

.contact-container {
    max-width: 1000px;
    margin: 0 auto;
}

.contact-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: start;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-group label {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--color-text);
}

.form-group input,
.form-group textarea {
    padding: 0.75rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    font-family: var(--font-main);
    font-size: 0.95rem;
    color: var(--color-text);
    background-color: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(59, 91, 219, 0.12);
}

.form-group textarea {
    resize: vertical;
}

.contact-info {
    padding: 2rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.contact-info h3 {
    font-family: var(--font-main);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.contact-info p {
    color: var(--color-text-light);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.linkedin-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background-color: #0077b5;
    color: #fff;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.linkedin-link:hover {
    background-color: #005e93;
    transform: translateY(-1px);
}

.linkedin-link svg {
    flex-shrink: 0;
}

/* ============================
   Thank You Page
   ============================ */
.thank-you-section {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
    padding: 8rem 3rem 4rem;
    text-align: center;
}

.thank-you-content {
    max-width: 500px;
}

.thank-you-icon {
    color: #22c55e;
    margin-bottom: 1.5rem;
}

.thank-you-content h1 {
    font-family: var(--font-main);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.thank-you-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--color-text-light);
    margin-bottom: 2rem;
}

/* ============================
   Footer
   ============================ */
.footer {
    background-color: #1a1a2e;
    color: rgba(255, 255, 255, 0.7);
    padding: 1.5rem 3rem;
    text-align: center;
}

.footer p {
    font-size: 0.85rem;
}

.footer .footer-sub {
    font-size: 0.8rem;
    margin-top: 0.35rem;
    opacity: 0.7;
}

/* ============================
   Responsive Design
   ============================ */
@media (max-width: 768px) {
    .navbar {
        padding: 1rem 1.5rem;
    }

    .nav-links {
        gap: 1rem;
    }

    .hero {
        height: 55vh;
        min-height: 350px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-acronym p {
        font-size: 1.2rem;
    }

    .hero-tagline {
        font-size: 1rem;
    }

    .services {
        padding: 3rem 1.5rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-section {
        padding: 6rem 1.5rem 3rem;
    }

    .about-highlights {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .contact-section {
        padding: 3rem 1.5rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .summary-section {
        padding: 3rem 1.5rem;
    }

    .summary-row,
    .summary-row-reverse {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .summary-image-block img {
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
        letter-spacing: 1px;
    }

    .hero-acronym p {
        font-size: 1rem;
    }

    .nav-logo a {
        font-size: 1.4rem;
    }

    .nav-links a {
        font-size: 0.85rem;
    }
}
