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

:root {
    --navy: #000B31;
    --blue: #004892;
    --red: #C1272D;
    --white: #FFFFFF;
    --light-gray: #F5F6F8;
    --mid-gray: #E6E7E8;
    --text-gray: #4A4A4A;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    color: var(--text-gray);
    line-height: 1.6;
    font-size: 16px;
}

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

a {
    text-decoration: none;
    color: inherit;
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-family: var(--font);
}

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

.btn-outline-blue:hover {
    background: var(--blue);
    color: var(--white);
}

.btn-solid {
    background: var(--navy);
    color: var(--white);
    border: 1px solid var(--navy);
}

.btn-solid:hover {
    background: var(--blue);
    border-color: var(--blue);
}

/* ===== Typography Helpers ===== */
.text-blue {
    color: var(--blue);
}

.section-label {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 12px;
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--white);
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    border-bottom: 1px solid var(--mid-gray);
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 36px;
    height: 36px;
    color: var(--navy);
}

.logo-text {
    font-size: 0.95rem;
    letter-spacing: 2px;
    color: var(--navy);
    font-weight: 300;
}

.logo-bold {
    font-weight: 700;
}

.nav-links {
    display: flex;
    gap: 36px;
}

.nav-links a {
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    color: var(--navy);
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--blue);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--navy);
    transition: all 0.3s;
}

/* ===== Hero ===== */
.hero {
    padding: 120px 30px 80px;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-content {
    display: grid;
    grid-template-columns: 55% 45%;
    gap: 40px;
    align-items: center;
}

.hero-label {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 16px;
}

.hero h1 {
    font-size: 2.6rem;
    font-weight: 300;
    line-height: 1.2;
    color: var(--navy);
    margin-bottom: 28px;
}

.hero h1 .text-blue {
    font-weight: 700;
}

.hero-description {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-gray);
    margin-bottom: 20px;
}

.hero-subdescription {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-gray);
    margin-bottom: 32px;
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%);
}

/* ===== Services ===== */
.services-section {
    padding: 80px 30px;
    background: var(--white);
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 40% 1fr;
    gap: 60px;
    align-items: start;
}

.services-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
}

.services-content h2 {
    font-size: 2rem;
    font-weight: 300;
    color: var(--navy);
    margin-bottom: 20px;
}

.services-intro {
    font-size: 1rem;
    color: var(--text-gray);
    margin-bottom: 24px;
}

.services-list-label {
    font-size: 1rem;
    color: var(--text-gray);
    margin-bottom: 16px;
}

.services-list {
    list-style: disc;
    padding-left: 24px;
}

.services-list li {
    margin-bottom: 20px;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-gray);
}

.services-list li strong {
    color: var(--blue);
    font-weight: 700;
}

/* ===== AI Section ===== */
.ai-section {
    padding: 80px 30px;
    background: var(--navy);
}

.ai-container {
    max-width: 800px;
    margin: 0 auto;
}

.ai-section .section-label {
    color: var(--red);
}

.ai-section h2 {
    font-size: 2.2rem;
    font-weight: 300;
    color: var(--white);
    margin-bottom: 20px;
}

.ai-section .text-blue {
    font-weight: 700;
}

.ai-section p:not(.section-label) {
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.75);
}

/* ===== Process ===== */
.process-section {
    padding: 100px 30px;
    background: var(--light-gray);
}

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

.process-header {
    margin-bottom: 60px;
}

.process-header h2 {
    font-size: 2.2rem;
    font-weight: 300;
    color: var(--navy);
    margin-bottom: 16px;
}

.process-description {
    font-size: 1rem;
    color: var(--text-gray);
    max-width: 700px;
}

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

.process-step {
    background: var(--white);
    padding: 32px 28px;
    border-top: 3px solid var(--navy);
}

.step-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--blue);
    opacity: 0.3;
    display: block;
    margin-bottom: 12px;
}

.process-step h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 8px;
}

.process-step p {
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.5;
}

/* ===== Industries ===== */
.industries-section {
    padding: 100px 30px;
    background: var(--white);
}

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

.industries-container h2 {
    font-size: 2.2rem;
    font-weight: 300;
    color: var(--navy);
    margin-bottom: 16px;
}

.industries-description {
    font-size: 1rem;
    color: var(--text-gray);
    margin-bottom: 40px;
    max-width: 700px;
}

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

.industry-card {
    position: relative;
    height: 400px;
    overflow: hidden;
    cursor: pointer;
}

.industry-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.industry-card:hover img {
    transform: scale(1.05);
}

.industry-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 20px;
    background: linear-gradient(transparent, rgba(0,11,49,0.85));
    display: flex;
    align-items: flex-end;
    height: 100%;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.industry-card:hover .industry-overlay {
    opacity: 1;
}

.industry-overlay h3 {
    color: var(--white);
    font-size: 1rem;
    font-weight: 500;
}

/* ===== Stats ===== */
.stats-section {
    padding: 80px 30px;
    background: var(--navy);
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    letter-spacing: 0.5px;
}

/* ===== About ===== */
.about-section {
    padding: 100px 30px;
    background: var(--white);
}

.about-container {
    max-width: 800px;
    margin: 0 auto;
}

.about-content h2 {
    font-size: 2.2rem;
    font-weight: 300;
    color: var(--navy);
    margin-bottom: 24px;
}

.about-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 16px;
}

/* ===== Contact ===== */
.contact-section {
    padding: 100px 30px;
    background: var(--light-gray);
}

.contact-container {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.contact-container h2 {
    font-size: 2.2rem;
    font-weight: 300;
    color: var(--navy);
    margin-bottom: 12px;
}

.contact-description {
    font-size: 1rem;
    color: var(--text-gray);
    margin-bottom: 40px;
}

.contact-form {
    text-align: left;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 16px;
    font-size: 0.95rem;
    font-family: var(--font);
    border: 1px solid var(--mid-gray);
    background: var(--white);
    color: var(--navy);
    outline: none;
    transition: border-color 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--blue);
}

.contact-form textarea {
    margin-bottom: 24px;
    resize: vertical;
}

.contact-form .btn {
    width: 100%;
}

/* ===== Footer ===== */
.footer {
    background: var(--navy);
    padding: 60px 30px 40px;
    color: var(--white);
    text-align: center;
}

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

.footer .logo-icon {
    color: var(--white);
    width: 32px;
    height: 32px;
}

.footer .logo-text {
    color: var(--white);
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 28px;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 36px;
    margin-bottom: 32px;
}

.footer-nav a {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
    transition: color 0.2s;
}

.footer-nav a:hover {
    color: var(--white);
}

.footer-info {
    margin-bottom: 24px;
}

.footer-info p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.7;
}

.footer-social {
    margin-bottom: 24px;
}

.footer-social a {
    color: rgba(255,255,255,0.7);
    transition: color 0.2s;
}

.footer-social a:hover {
    color: var(--white);
}

.footer-copyright {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
}

/* ===== Contact Tab (right side) ===== */
.contact-tab {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%) rotate(-90deg) translateX(50%);
    transform-origin: right center;
    background: #8FBCAC;
    color: var(--white);
    padding: 12px 24px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    z-index: 999;
    border-radius: 4px 4px 0 0;
    transition: background 0.2s;
}

.contact-tab:hover {
    background: #7aad9c;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .industries-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 20px 30px;
        gap: 20px;
        border-bottom: 1px solid var(--mid-gray);
    }

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

    .mobile-toggle {
        display: flex;
    }

    .mobile-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero {
        padding: 100px 20px 60px;
    }

    .hero-content {
        grid-template-columns: 1fr;
    }

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

    .hero-image img {
        clip-path: none;
        height: 300px;
    }

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

    .services-image {
        display: none;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .industries-grid {
        grid-template-columns: 1fr 1fr;
    }

    .industry-card {
        height: 250px;
    }

    .industry-overlay {
        opacity: 1;
    }

    .stats-container {
        grid-template-columns: 1fr 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-nav {
        flex-wrap: wrap;
        gap: 16px;
    }

    .contact-tab {
        display: none;
    }
}
