﻿/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;900&display=swap');

:root {
    /* Colors extracted from design */
    --primary-blue: #1C76BC;
    --primary-orange: #f78f47;
    --text-black: #000000;
    --text-dark-gray: #414042;
    --text-muted: #888888;
    --text-light: #aaaaaa;
    --border-gray: #D3D3D3;
    --border-dark: #333333;
    --bg-white: #FFFFFF;
    --bg-light: #EEEEEE;
    --bg-dark: #111111;
    --bg-soft: #f9f9f9;
    --text-gray-dark: #555555;

    /* Spacing & Layout */
    --container-max-width: 1120px;
    --container-padding: clamp(1.5rem, 5vw, 3rem);

    /* Typography */
    --font-main: 'Inter', sans-serif;
    --theme: var(--primary-blue);
    --header: var(--text-black);
    --bg: var(--bg-white);

    /* Fluid Font Sizes */
    --fs-h1: clamp(2.5rem, 8vw, 6rem);
    --fs-h2: clamp(2rem, 5vw, 3.75rem);
    --fs-h3: clamp(1.5rem, 4vw, 2.5rem);
    --fs-body: clamp(0.9rem, 1.1vw, 1.1rem);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-white);
    color: var(--text-black);
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

main {
    width: 100%;
    display: flex;
    flex-direction: column;
}

section {
    width: 100%;
}

.container {
    width: 100%;
    max-width: var(--container-max-width);
    padding: 0 var(--container-padding);
    margin: 0 auto;
}

/* Header Styles */
.header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background-color: transparent;
    display: flex;
    justify-content: center;
    padding-bottom: 11px;
    z-index: 100;
}

.header-content {
    width: 100%;
    max-width: 1080px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    transition: all 0.3s ease;
}

.logo-section {
    display: flex;
    align-items: flex-start;
    width: 135px;
    height: 43px;
    flex: none;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-item {
    font-family: var(--font-main);
    font-weight: 500;
    font-size: 18px;
    line-height: 22px;
    color: var(--text-black);
    text-decoration: none;
    transition: color 0.2s;
    text-align: center;
}

.nav-item:hover,
.nav-item.active {
    color: var(--primary-blue);
}


/* Standard Button Style (Reused) */
.btn-contact {
    background-color: var(--primary-blue);
    color: white !important;
    font-family: var(--font-main);
    font-weight: 700;
    padding: 16px 35px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    font-size: 16px;
    white-space: nowrap;
}

.btn-contact:hover {
    background-color: var(--text-black);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* Section Common Styles */
.section-padding {
    padding: 100px 0;
}

.section-title {
    font-family: var(--font-main);
    font-weight: 700;
    font-size: var(--fs-h2);
    line-height: 0.95;
    color: var(--primary-blue);
    text-transform: none;
}

.section-intro {
    font-family: var(--font-main);
    font-weight: 400;
    font-size: 20px;
    line-height: 1.4;
    color: var(--text-black);
    max-width: 600px;
    text-align: right;
}

.text-left-desktop {
    text-align: left;
}

.centered-text {
    text-align: center;
}

.section-header {
    margin-bottom: 100px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

/* CTA Section (Shared Reused) */
.cta-section {
    padding: 100px 0;
    width: 100%;
    background-color: var(--bg-light);
}

.cta-layout {
    display: flex;
    align-items: center;
    gap: 60px;
}

.cta-content {
    flex: 1;
}

.cta-title {
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 36px;
    line-height: 1.2;
    color: var(--text-black);
    margin-bottom: 20px;
}

.cta-text {
    font-family: var(--font-main);
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-dark-gray);
    margin-bottom: 30px;
    max-width: 400px;
}

.cta-image {
    flex: 1;
    border-radius: 20px;
    overflow: hidden;
}

.cta-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

.cta-image:hover img {
    transform: scale(1.08);
}

/* Footer Section */
.footer {
    width: 100%;
    background-color: var(--bg-dark);
    border-top: none;
    padding-top: 60px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1.5fr 1.5fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: flex-start;
}

.footer-logo svg {
    filter: brightness(0) invert(1);
}

.footer-col-title {
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 14px;
    color: #fff;
    margin-bottom: 16px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    font-family: var(--font-main);
    font-size: 13px;
    color: var(--text-light);
    line-height: 2;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #fff;
}

.newsletter-form {
    display: flex;
    border: 1px solid var(--border-dark);
    border-radius: 30px;
    overflow: hidden;
    height: 42px;
}

.newsletter-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 0 20px;
    font-family: var(--font-main);
    font-size: 13px;
    color: #fff;
    background: transparent;
}

.newsletter-input::placeholder {
    color: #666;
}

.newsletter-btn {
    width: 42px;
    height: 42px;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    transition: color 0.2s;
}

.newsletter-btn:hover {
    color: #fff;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-dark);
    padding: 25px 10px;
}

.footer-copyright {
    font-family: var(--font-main);
    font-size: 13px;
    color: var(--text-light);
}

.footer-socials {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}


.social-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background-color: var(--primary-orange);
    color: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.2s, background-color 0.3s;
}

.social-icon:hover {
    transform: translateY(-3px);
    background-color: var(--text-black);
}

/* Burger Menu */
.burger-menu {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    width: 30px;
    height: 30px;
    padding: 0;
    z-index: 1002;
    pointer-events: auto;
    transition: all 0.3s ease;
}

.burger-menu .bar {
    width: 24px;
    height: 2px;
    background-color: var(--primary-blue);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.burger-menu:hover {
    opacity: 0.7;
}

/* Common Tablet Adjustments */
@media (max-width: 1024px) {
    .header {
        background-color: var(--bg-white);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
        padding: 10px 0;
        position: fixed;
    }

    .header-content {
        width: 100%;
        max-width: 100%;
        padding: 0 30px;
        gap: 0;
        justify-content: space-between;
    }

    .container {
        width: 100%;
        max-width: 100%;
        padding: 0 30px;
        margin: 0 auto;
    }

    /* Enable Burger Menu on Tablet */
    .burger-menu {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: var(--bg-white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-item {
        font-size: 24px;
        font-weight: 700;
        color: var(--text-black);
    }

    /* Animate Burger to X */
    .burger-menu.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .burger-menu.active .bar:nth-child(2) {
        opacity: 0;
    }

    .burger-menu.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

/* Common Mobile Adjustments */
@media (max-width: 768px) {
    .container {
        width: 100%;
        max-width: 100%;
        padding: 0 30px;
        /* Strong margin project-wide */
        margin: 0 auto;
    }



    /* Global Section Headers centering for mobile */
    .section-header {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        margin-bottom: 30px;
        text-align: center;
    }

    .section-intro,
    .text-left-desktop {
        text-align: center;
        max-width: 100%;
        font-size: 16px;
        line-height: 1.5;
        padding: 0 10px;
    }

    .cta-layout {
        flex-direction: column;
        text-align: center;
    }

    .cta-text {
        max-width: 100%;
    }

    .cta-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-logo {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-socials {
        justify-content: flex-end;
    }
}


/* Breadcrumb styles */
.breadcrumb {
    font-family: var(--font-main);
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.breadcrumb a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--primary-blue);
}

.breadcrumb .separator {
    color: #ccc;
    margin: 0 4px;
}

.breadcrumb .current-page {
    color: var(--primary-blue);
    font-weight: 700;
}