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

:root {
  --text-font: "Roboto", sans-serif;
  --title-font: "Montserrat", sans-serif;
  --color-bg: #f8faf6;
  --color-bg-alt: #f0f4ec;
  --color-surface: #ffffff;
  --color-text: #1a2318;
  --color-text-muted: #5c6658;
  --color-border: #dde5d6;
  --white-color: #ffffff;
  --white-secondary-color: #f0f4ec;
  --black-color: #1a2318;
  --black-secondary-color: #5c6658;
  --main-color: #7ab82e;
  --main-secondary-color: #639824;
  --main-color-light: #e8f3d9;
  --main-color-soft: #f4f9ee;
  --shadow-sm: 0 1px 3px rgba(26, 35, 24, 0.05);
  --shadow-md: 0 4px 24px rgba(26, 35, 24, 0.07);
  --shadow-lg: 0 12px 40px rgba(26, 35, 24, 0.09);
  --radius: 12px;
  --radius-lg: 16px;
  --section-padding: 4.5rem;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

.material-symbols-outlined {
    font-variation-settings:
    'FILL' 0,
    'wght' 500,
    'GRAD' 0,
    'opsz' 48;
}

.card span.material-symbols-outlined {
    font-size: 40px;
    color: var(--main-color);
    margin: 0 0 0.75rem;
    background: var(--main-color-soft);
    padding: 0.75rem;
    border-radius: 12px;
}

#about a span.material-symbols-outlined {
    font-size: 18px;
    color: var(--black-color);
    margin-left: 0.5rem;
    display: inline-block;
    transition: all 0.3s ease;
}

#about a:hover span.material-symbols-outlined {
    transform: translateX(0.25rem);
}

#about a:hover {
    transform: scale(1.05);
}

#contact .contact-buttons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

#contact .contact-buttons > div {
    width: 100%;
}

#contact .contact-buttons > div:nth-child(even) > button,
#contact .contact-buttons > div:nth-child(even) > a {
    background-color: var(--color-surface);
    color: var(--color-text);
    border: 1px solid var(--color-border);
}

#contact button, #contact a {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    background-color: var(--main-color);
    padding: 1.25rem 1rem;
    border: 1px solid var(--main-color);
    border-radius: var(--radius);
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
    box-shadow: var(--shadow-sm);
}

#contact button:hover, #contact a:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

#contact button:hover span.material-symbols-outlined,
#contact a:hover span.material-symbols-outlined {
    transform: none;
}

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

a {
    text-decoration: none;
}

p {
    color: var(--black-secondary-color);
}

p.black {
    color: var(--black-color);
}

#about a {
    display: inline-block;
    color: var(--black-color);
    background-color: transparent;
    outline: none;
    border: none;
    border-radius: 16px;
    padding: 1rem 1rem;
    font-weight: 700;
    transition: all 0.3s ease;
}

#about a span {
    height: 100%;
    vertical-align: middle;
}

/* Navbar Styles */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 var(--color-border);
    z-index: 1000;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#navbar .navbar-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

#navbar .navbar-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

#navbar .navbar-logo img {
    height: 40px;
    width: auto;
    transition: transform 0.3s ease;
}

#navbar .navbar-logo:hover img {
    transform: scale(1.05);
}

#navbar .navbar-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
    align-items: center;
}

#navbar .navbar-links li {
    margin: 0;
}

#navbar .navbar-links a {
    color: var(--black-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

#navbar .navbar-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--main-color);
    transition: width 0.3s ease;
}

#navbar .navbar-links a:hover {
    color: var(--main-color);
}

#navbar .navbar-links a:hover::after {
    width: 100%;
}

/* Hide close button on desktop */
#navbar .navbar-links li.menu-close {
    display: none;
}

/* Language dropdown in navbar */
#navbar .navbar-links .language-dropdown {
    display: flex;
    align-items: center;
    margin: 0;
    position: relative;
}

#navbar .navbar-links .language-dropdown-toggle {
    background-color: transparent;
    border: 1px solid var(--black-secondary-color);
    border-radius: 4px;
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-width: fit-content;
    box-sizing: border-box;
}

#navbar .navbar-links .language-dropdown-toggle .language-code {
    font-size: 14px;
    font-weight: 600;
    color: var(--black-color);
    transition: color 0.3s ease;
    font-family: var(--text-font);
}

#navbar .navbar-links .language-dropdown-toggle:hover,
#navbar .navbar-links .language-dropdown-toggle[aria-expanded="true"] {
    border-color: var(--main-color);
}

#navbar .navbar-links .language-dropdown-toggle[aria-expanded="true"] {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom-color: transparent;
}

#navbar .navbar-links .language-dropdown-toggle:hover .language-code,
#navbar .navbar-links .language-dropdown-toggle[aria-expanded="true"] .language-code {
    color: var(--main-color);
}

#navbar .navbar-links .language-dropdown-toggle:focus {
    outline: none;
}

#navbar .navbar-links .language-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: var(--white-color);
    border: 1px solid var(--main-color);
    border-radius: 4px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    list-style: none;
    min-width: 100%;
    margin: 0;
    padding: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    z-index: 1000;
    box-sizing: border-box;
}

#navbar .navbar-links .language-dropdown[data-open="true"] .language-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#navbar .navbar-links .language-dropdown-menu li {
    margin: 0;
    padding: 0;
}

#navbar .navbar-links .language-dropdown-menu .language-option {
    width: 100%;
    background-color: transparent;
    border: none;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--black-color);
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
    text-align: center;
    font-family: var(--text-font);
    border-radius: 2px;
    white-space: nowrap;
}

#navbar .navbar-links .language-dropdown-menu .language-option:hover,
#navbar .navbar-links .language-dropdown-menu .language-option[data-selected="true"] {
    background-color: var(--main-color);
    color: var(--white-color);
}

/* Hamburger button */
#navbar .navbar-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 24px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10;
}

#navbar .hamburger-line {
    width: 100%;
    height: 2px;
    background-color: var(--black-color);
    border-radius: 2px;
    transition: all 0.3s ease;
}

#navbar .navbar-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

#navbar .navbar-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

#navbar .navbar-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

@media (max-width: 900px) {
    #navbar .navbar-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 1rem;
    }

    #navbar .navbar-toggle {
        display: flex;
    }

    #navbar .navbar-links {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 280px;
        background-color: var(--white-color);
        box-shadow: -2px 0 8px rgba(0, 0, 0, 0.1);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 1rem 2rem 2rem;
        gap: 0;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        z-index: 999;
    }

    #navbar .navbar-links.active {
        transform: translateX(0);
    }

    #navbar .navbar-links li.menu-close {
        display: flex;
        border-bottom: none;
        padding: 0;
        margin-bottom: 1rem;
        width: 100%;
        justify-content: flex-end;
    }

    #navbar .navbar-links .close-button {
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0.5rem;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--black-color);
        transition: color 0.3s ease, transform 0.3s ease;
        margin-right: -0.5rem;
    }

    #navbar .navbar-links .close-button:hover {
        color: var(--main-color);
        transform: scale(1.1);
    }

    #navbar .navbar-links .close-button .material-symbols-outlined {
        font-size: 28px;
    }

    #navbar .navbar-links a {
        display: block;
        padding: 1rem 0;
        font-size: 1.1rem;
        width: 100%;
    }

    #navbar .navbar-links a::after {
        display: none;
    }

    #navbar .navbar-links a:hover {
        color: var(--main-color);
    }

    #navbar .navbar-links .language-dropdown {
        border-bottom: 1px solid var(--white-secondary-color);
        justify-content: flex-start;
    }

    #navbar .navbar-links .language-dropdown-menu {
        right: auto;
        left: 0;
    }
}

section {
    padding: var(--section-padding) 0;
}

section .content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

section:nth-child(odd) {
    background-color: var(--color-bg-alt);
}

section h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
    text-align: center;
}

section .content > p:first-of-type,
section .content > h2 + p {
    text-align: center;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

#hero {
    background: linear-gradient(135deg, var(--main-color-soft) 0%, var(--color-bg) 55%, #ffffff 100%);
    color: var(--color-text);
    min-height: 90vh;
    max-height: 90vh;
    display: flex;
    align-items: center;
    padding: 0;
    margin-top: 60px;
    position: relative;
    overflow: hidden;
}


#hero .content {
    display: flex;
    align-items: center;
    gap: 0;
    height: 100%;
    max-width: none;
    width: 100%;
    padding: 0;
    position: relative;
    z-index: 1;
}

#hero .main-logo {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 3rem;
}

#hero .main-logo img {
    height: 260px;
    width: auto;
    margin-bottom: 2rem;
}

#hero .main-logo h3 {
    color: var(--color-text);
    font-size: clamp(1.5rem, 2.8vw, 2.25rem);
    font-weight: 600;
    margin: 0 0 1rem;
    text-align: center;
    max-width: 520px;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.hero-scopes {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    max-width: 520px;
    margin-bottom: 0.5rem;
}

.hero-scope {
    flex: 1 1 200px;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding: 0.75rem 1rem;
    background: var(--color-surface);
    border: 1px solid var(--main-color-light);
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.hero-scope-label {
    font-family: var(--title-font);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--main-secondary-color);
}

.hero-scope-text {
    font-size: 0.875rem;
    line-height: 1.45;
    color: var(--color-text-muted);
}

#hero .main-logo p {
    color: var(--color-text-muted);
    font-size: clamp(1rem, 1.4vw, 1.2rem);
    margin: 0.6rem 0;
    text-align: center;
    max-width: 520px;
    line-height: 1.65;
}

#hero .main-logo .hero-tagline-sub {
    font-weight: 600;
    font-size: clamp(1.05rem, 1.5vw, 1.25rem);
    color: var(--color-text);
    margin-top: 1rem;
}

#hero .hero-ctas {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

#hero .hero-cta-primary,
#hero .hero-cta-secondary {
    border-radius: 20px;
    padding: 1rem 1.75rem;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--title-font);
    text-decoration: none;
    display: inline-block;
}

#hero .hero-cta-primary {
    background-color: var(--main-color);
    color: #ffffff;
    border: 2px solid var(--main-color);
    box-shadow: var(--shadow-sm);
}

#hero .hero-cta-secondary {
    background-color: var(--color-surface);
    color: var(--color-text);
    border: 2px solid var(--color-border);
}

#hero .hero-cta-primary:hover,
#hero .hero-cta-secondary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

#hero .main-logo ul {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 1.5rem;
    text-align: center;
    max-width: 500px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
}

#hero .main-logo ul li {
    color: #ffffff;
    font-size: 1rem;
    opacity: 0.95;
    line-height: 1.5;
    padding: 0 1rem;
    position: relative;
    padding-left: 2rem;
}

#hero .main-logo ul li::before {
    content: '✓';
    position: absolute;
    left: 0.5rem;
    color: #ffffff;
    font-weight: 700;
    font-size: 1.1rem;
}

#hero .main-logo a {
    background-color: #ffffff;
    color: var(--main-color);
    border: 2px solid #ffffff;
    border-radius: 20px;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--title-font);
    text-decoration: none;
    display: inline-block;
}

#hero .main-logo a:hover {
    transform: scale(1.05);
}

#hero .promo {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

#hero .promo-arrow {
    position: absolute;
    left: -170px;
    top: 10%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0;
    z-index: 10;
    pointer-events: none;
}

#hero .promo-arrow-text {
    color: var(--color-text-muted);
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    text-transform: none;
    letter-spacing: 0.02em;
    opacity: 1;
    font-family: var(--text-font);
    text-shadow: none;
    width: 160px;
    white-space: normal;
    word-break: break-word;
    text-align: center;
}

#hero .promo-arrow-curve {
    width: 120px;
    height: 60px;
    color: var(--main-color);
    opacity: 0.6;
    filter: none;
    transform: translateX(35px);
}

#hero .promo video {
    height: 90vh;
    width: auto;
    cursor: pointer;
}

#hero .promo-sidebar {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    height: 100vh;
    padding: 0 1.25rem;
    box-sizing: border-box;
    background-color: transparent;
    color: var(--color-text-muted);
    text-decoration: none;
    font-weight: 600;
    border-left: 1px solid var(--color-border);
}

#hero .promo-sidebar .sidebar-text {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    letter-spacing: 0.25em;
    font-size: 1.1rem;
}

#hero .promo-sidebar .material-symbols-outlined {
    font-size: 32px;
    font-weight: 700;
    margin: -0.3rem 0;
    transition: transform 0.3s ease;
}

#hero .promo-sidebar .material-symbols-outlined:nth-child(2) {
    transition-delay: 0s;
}

#hero .promo-sidebar .material-symbols-outlined:nth-child(3) {
    transition-delay: 0.1s;
}

#hero .promo-sidebar .material-symbols-outlined:nth-child(4) {
    transition-delay: 0.2s;
}

#hero .promo-sidebar:hover .material-symbols-outlined:nth-child(2),
#hero .promo-sidebar:hover .material-symbols-outlined:nth-child(3),
#hero .promo-sidebar:hover .material-symbols-outlined:nth-child(4) {
    transform: translateY(16px);
}

h1, h2, h3, h4 {
    font-family: var(--title-font);
    margin: 1rem 0;
    color: var(--color-text);
}

strong {
    color: inherit;
    font-weight: 600;
}

hr {
    color: var(--color-border);
    border: none;
    border-top: 1px solid var(--color-border);
    margin: 2.5rem auto;
    width: 80px;
}

.cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 1rem;
}

.card {
    background-color: var(--color-surface);
    padding: 1.75rem;
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.card:hover {
    box-shadow: var(--shadow-md);
}

.card.alternate {
    background-color: var(--main-color);
    align-items: flex-start;
    margin-top: 1rem;
}

.card.alternate h4 {
    margin-top: 0.5rem;
    color: #fff;
}

.card.alternate p {
    color: #fff;
}

.card-tall {
    grid-column: 2;
    grid-row: 1 / 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-image: url('../img/about.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.card h4 {
    text-align: center;
    margin: 0;
}

.card p {
    text-align: justify;
}

.posters-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.posters {
    display: flex;
    gap: 1.5rem;
    overflow-x: hidden;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
    flex: 1;
    padding: 0.5rem;
}

/* Hide scrollbar - Webkit */
.posters::-webkit-scrollbar {
    display: none;
}

.poster-arrow {
    background-color: var(--main-color);
    color: var(--white-color);
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.poster-arrow:hover {
    background-color: var(--main-secondary-color);
    transform: scale(1.1);
}

.poster-arrow:active {
    transform: scale(0.95);
}


.poster-arrow .material-symbols-outlined {
    font-size: 32px;
    font-weight: 700;
}

.poster {
    /* Show 3 items: (100% - 2 gaps) / 3 */
    flex: 0 0 calc((100% - 3rem) / 3);
    background-color: var(--black-secondary-color);
    color: var(--white-color);
    border-radius: 16px;
    min-height: 250px;
    display: flex;
    align-items: flex-end;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;
}

.poster:hover {
    transform: scale(1.02);
    background-color: var(--white-color);
    color: var(--main-color);
}

.poster h4 {
    margin: 0;
    background-color: var(--main-color);
    width: 100%;
    transition: all 0.3s ease;
    color: #ffffff;
    padding: 1rem 2rem;
}

.poster:visited h4 {
    color: #ffffff;
}

.poster:hover h4 {
    background-color: var(--white-color);
    color: var(--main-color);
}

.box-content {
    display: flex;
    gap: 1.5rem;
    align-items: stretch;
}

.box-content > p {
    flex: 0 0 40%;
    margin: 0;
}

.box-content .media {
    flex: 0 0 calc(60% - 1.5rem);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    max-height: 500px;
}

.box .media img,
.box .media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

.logos-container {
    overflow: hidden;
    width: 100%;
    position: relative;
    /* Fade out edges */
    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 5%,
        black 95%,
        transparent 100%
    );
    mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 5%,
        black 95%,
        transparent 100%
    );
}

.logos-carousel {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    will-change: transform;
}

.logos-carousel .client-logo {
    width: 150px;
    height: auto;
    object-fit: contain;
    flex-shrink: 0;
    opacity: 0.7;
    filter: grayscale(100%);
    transition: opacity 0.4s ease, filter 0.4s ease;
    pointer-events: auto;
    border-radius: 4px;
}

.logos-carousel .client-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
}

.logos-carousel .logo-separator {
    color: var(--black-secondary-color);
    font-size: 1.5rem;
    font-weight: 300;
    flex-shrink: 0;
    opacity: 0.5;
}

@media (max-width: 900px) {
    #hero {
        position: relative;
        overflow: visible;
        min-height: 90vh;
        max-height: none;
        background: linear-gradient(180deg, var(--main-color-soft) 0%, var(--color-bg) 100%);
        margin-top: 60px;
        padding-bottom: 0;
    }

    #hero .content {
        display: grid;
        grid-template-columns: 1fr 48px;
        grid-template-rows: auto 1fr;
        align-items: flex-start;
        width: 100%;
        padding: 0;
        gap: 0;
        height: 100%;
    }

    #hero .main-logo {
        grid-column: 1;
        grid-row: 1;
        background-color: transparent;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        padding: 1.5rem 1rem;
        z-index: 1;
    }

    #hero .main-logo img {
        max-height: 72px;
        margin-bottom: 0.5rem;
        width: auto;
        max-width: calc(100vw - 80px);
        display: block;
    }

    #hero .main-logo h3 {
        font-size: 1rem;
        font-weight: 600;
        margin: 0.5rem 0 0.25rem;
        text-align: center;
        width: 100%;
        color: var(--color-text);
    }

    #hero .main-logo p {
        font-size: 0.875rem;
        margin: 0.25rem 0;
        text-align: center;
        line-height: 1.5;
        color: var(--color-text-muted);
    }

    #hero .hero-ctas {
        margin-top: 0.75rem;
        flex-direction: column;
        width: 100%;
        align-items: center;
    }

    #hero .hero-cta-primary,
    #hero .hero-cta-secondary {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
        width: 100%;
        max-width: 280px;
        text-align: center;
    }


    #hero .promo {
        grid-column: 1;
        grid-row: 2;
        display: flex;
        align-items: flex-start;
        justify-content: center;
        overflow: hidden;
        position: relative;
        z-index: 1;
        padding: 0 1rem 1rem;
    }

    #hero .promo-arrow {
        display: none;
    }

    #hero .promo video {
        width: 100%;
        height: auto;
        object-fit: contain;
        object-position: top;
        display: block;
    }

    #hero .promo-sidebar {
        grid-column: 2;
        grid-row: 1 / 3;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.25rem;
        padding: 0.5rem 0.5rem;
        box-sizing: border-box;
        background-color: transparent;
        color: var(--color-text-muted);
        text-decoration: none;
        font-weight: 600;
        z-index: 2;
        border-left: 1px solid var(--color-border);
        height: auto;
    }

    #hero .promo-sidebar .sidebar-text {
        font-size: 0.75rem;
        letter-spacing: 0.1em;
    }

    #hero .promo-sidebar .material-symbols-outlined {
        font-size: 18px;
        margin: -0.2rem 0;
    }

    .posters-container {
        gap: 0.5rem;
    }

    .poster-arrow {
        width: 40px;
        height: 40px;
    }

    .poster-arrow .material-symbols-outlined {
        font-size: 24px;
    }

    .poster {
        /* Show 2 items on tablet */
        flex: 0 0 calc((100% - 1.5rem) / 2);
    }
}

@media (max-width: 900px) {
    #contact .contact-buttons {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 900px) and (min-width: 600px) {
    #contact .contact-buttons > div:nth-child(2) > a,
    #contact .contact-buttons > div:nth-child(3) > a {
        background-color: var(--white-color);
        color: var(--main-color);
        border: 2px solid var(--white-color);
    }

    #contact .contact-buttons > div:nth-child(1) > button,
    #contact .contact-buttons > div:nth-child(4) > a {
        background-color: var(--main-color);
        color: #ffffff;
        border: 2px solid var(--main-color);
    }
}

@media (max-width: 600px) {
    #navbar .navbar-links .language-dropdown {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .cards {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .card-tall {
        display: none;
    }

    .card.alternate {
        align-items: center;
    }

    .posters-container {
        gap: 0.5rem;
    }

    .poster-arrow {
        width: 36px;
        height: 36px;
    }

    .poster-arrow .material-symbols-outlined {
        font-size: 20px;
    }

    .poster {
        /* Show 1 item on mobile */
        flex: 0 0 100%;
    }

    .box-content {
        flex-direction: column;
    }

    .box-content > p,
    .box-content .media {
        flex: 1 1 auto;
    }

    #contact .contact-buttons {
        grid-template-columns: 1fr;
    }
}

/* Footer Styles */
footer {
    background-color: #1e2a18;
    color: #e8ede4;
    padding: 3rem 0 1.5rem;
}

footer .content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
}

.footer-logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.footer-logo img {
    height: 100px;
    width: auto;
}

.footer-logo h3 {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 400;
    margin: 0;
    text-align: center;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-end;
}

.footer-links-container {
    display: flex;
    gap: 6rem;
    align-items: flex-start;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: right;
}

.footer-links ul li {
    margin: 0;
}

.footer-links ul li a {
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.3s ease;
    font-size: 0.9rem;
    text-align: right;
}

.footer-links ul li a:hover {
    opacity: 0.8;
}

.footer-links ul li span {
    color: #ffffff;
    font-size: 0.85rem;
    opacity: 0.9;
}

.footer-links ul li.socials {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    justify-content: flex-end;
    margin-top: 0.25rem;
}

.footer-links ul li.socials a {
    color: #ffffff;
    font-size: 1.25rem;
    transition: opacity 0.3s ease, transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-links ul li.socials a:hover {
    opacity: 0.8;
    transform: scale(1.1);
}

.credits {
    max-width: 1200px;
    margin: 1rem auto 0;
    padding: 0 1rem;
    text-align: center;
    color: #ffffff;
    font-size: 0.85rem;
    opacity: 0.9;
}

.credits a {
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.3s ease;
    font-weight: 600;
}

.credits a:hover {
    opacity: 0.8;
}

@media (max-width: 800px) {
    footer {
        padding: 1.5rem 0 1rem;
    }

    footer .content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-logo {
        align-items: center;
    }

    .footer-links {
        gap: 1rem;
        align-items: center;
    }

    .footer-links-container {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
        width: 100%;
    }

    .footer-links ul {
        text-align: center;
    }

    .footer-links ul li.socials {
        justify-content: center;
    }
}

/* Situation cards */
#situations .content {
    max-width: 1280px;
}

.situation-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.situation-card,
.service-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.situation-card:hover,
.service-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.situation-card-image {
    height: 160px;
    background-size: cover;
    background-position: center;
}

.situation-card-content {
    padding: 1.5rem;
    text-align: left;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.situation-card-content h4 {
    color: var(--color-text);
    margin: 0 0 0.5rem;
    font-size: 1.05rem;
    font-weight: 600;
}

.situation-card-content p {
    color: var(--color-text-muted);
    font-size: 0.925rem;
    margin: 0 0 0.75rem;
    line-height: 1.6;
}

.situation-card-content .applications-label {
    color: var(--main-secondary-color);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin: 0 0 0.35rem;
}

.situation-card-content ul {
    margin: 0 0 1.25rem;
    padding-left: 1.1rem;
    color: var(--color-text-muted);
    font-size: 0.875rem;
    line-height: 1.65;
    flex: 1;
}

.situation-card-content ul li {
    margin-bottom: 0.2rem;
}

.situation-card-cta {
    display: inline-block;
    align-self: flex-start;
    background-color: transparent;
    color: var(--main-secondary-color);
    padding: 0;
    border-radius: 0;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.2s ease;
    border-bottom: 1px solid transparent;
}

.situation-card-cta:hover {
    color: var(--main-color);
    border-bottom-color: var(--main-color);
    transform: none;
}

/* Service cards */
.service-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.service-card .situation-card-content p {
    margin-bottom: 0;
}

/* Approach section */
.approach-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2.5rem;
    align-items: stretch;
}

.approach-column {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 1.75rem 1.5rem 1.5rem;
    box-shadow: var(--shadow-sm);
}

#approach h3 {
    margin: 0 0 1.25rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-text);
    text-align: left;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--main-color-light);
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: none;
    margin: 0;
}

.process-step {
    padding: 1rem 0 1rem 2.5rem;
    position: relative;
}

.process-step:not(:last-child) {
    border-bottom: 1px solid var(--color-border);
}

.process-step::before {
    content: '';
    position: absolute;
    left: 11px;
    top: 2.25rem;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--main-color-light), transparent);
}

.process-step:last-child::before {
    display: none;
}

.process-step h4 {
    text-align: left;
    display: block;
    font-size: 0.925rem;
    font-weight: 600;
    margin: 0 0 0.3rem;
    padding-left: 0;
    line-height: 1.4;
    color: var(--color-text);
}

.process-step .step-num {
    position: absolute;
    left: 0;
    top: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: var(--main-color-soft);
    color: var(--main-secondary-color);
    font-size: 0.75rem;
    font-weight: 700;
    border: 1px solid var(--main-color-light);
}

.process-step p {
    text-align: left;
    font-size: 0.875rem;
    line-height: 1.6;
    margin: 0;
    color: var(--color-text-muted);
}

@media (max-width: 900px) {
    .approach-columns {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
}

/* Trust cards */
.trust-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-top: 2.5rem;
}

.trust-card {
    align-items: flex-start;
    text-align: left;
    padding: 1.5rem;
}

.trust-card h4 {
    text-align: left;
    font-size: 0.975rem;
    margin: 0 0 0.5rem;
}

.trust-card p {
    text-align: left;
    font-size: 0.875rem;
    line-height: 1.6;
    margin: 0;
}

/* Contact questions */
.contact-questions-title {
    font-size: 0.95rem;
    margin: 2rem 0 0.75rem;
    color: var(--color-text);
    text-align: center;
    font-weight: 600;
}

.contact-questions ul {
    text-align: left;
    max-width: 520px;
    margin: 0 auto 2.5rem;
    padding: 1.25rem 1.5rem;
    background: var(--main-color-soft);
    border-radius: var(--radius);
    border: 1px solid var(--main-color-light);
    color: var(--color-text-muted);
    line-height: 1.85;
    font-size: 0.9rem;
}

/* Problem section */
#problem {
    background: var(--color-surface);
}

#problem .content {
    max-width: 800px;
    text-align: center;
}

.problem-analogy {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    text-align: left;
    margin: 2rem 0 1.5rem;
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    background: linear-gradient(135deg, #fff8f0 0%, #f0f7ff 100%);
    box-shadow: var(--shadow-sm);
}

.problem-icon {
    font-size: 3rem;
    color: var(--main-secondary-color);
    background: var(--color-surface);
    border-radius: 50%;
    padding: 1rem;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
}

.problem-analogy-body {
    flex: 1;
}

.problem-metaphor {
    color: var(--color-text) !important;
    font-size: 1.15rem;
    line-height: 1.7;
    margin: 0 0 1rem !important;
    font-weight: 400;
}

.problem-solution {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--main-secondary-color) !important;
    margin: 1rem 0 0 !important;
    line-height: 1.6;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: var(--radius);
    border-left: 3px solid var(--main-color);
}

.problem-examples ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    text-align: left;
}

.problem-examples li {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    padding: 0.65rem 1rem;
    background: var(--color-bg-alt);
    border-radius: var(--radius);
    border: 1px solid var(--color-border);
    line-height: 1.45;
}

.problem-examples li::before {
    content: '→ ';
    color: var(--main-color);
    font-weight: 600;
}

@media (max-width: 600px) {
    .problem-analogy {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 1.5rem;
    }

    .problem-analogy-body {
        text-align: left;
    }

    .problem-examples ul {
        grid-template-columns: 1fr;
    }
}

/* Testimonials */
#testimonials .box {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}

#testimonials .box h4 {
    color: var(--main-secondary-color);
    margin-top: 0;
}

.logos-container {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 1.25rem 0;
}

@media (max-width: 900px) {
    :root {
        --section-padding: 3.5rem;
    }

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

    .service-cards {
        grid-template-columns: 1fr;
    }

    .trust-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    :root {
        --section-padding: 3rem;
    }

    .trust-cards {
        grid-template-columns: 1fr;
    }

    .contact-questions ul {
        text-align: left;
        list-style-position: outside;
        padding-left: 2rem;
    }

    .situation-card-content {
        text-align: left;
    }
}
