/* Import Variables (if needed, handled by separate link) */
/* Add @font-face rules (keep as is) */

/* Basic Reset and Global Styles */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 100%; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; scroll-padding-top: 120px; /* Approx header height for anchor links */ }
body {
    font-family: "Inter-Regular", sans-serif; line-height: 1.6; color: #333; background-color: #fff;
    margin: 0; padding: 0;
    overflow-x: hidden; /* Prevent horizontal scrollbars globally */
}
.page-wrapper {
    /*overflow-x: hidden; /* Redundant safety net */
    width: 100%;
}
a { text-decoration: none; color: inherit; }
button, input, select { font: inherit; border: none; background: none; }
button { cursor: pointer; }
img, picture, video, canvas, svg { display: block; max-width: 100%; height: auto; }
menu, ol, ul { list-style: none; }
h1, h2, h3, h4, h5, h6 { line-height: 1.2; font-weight: 600; overflow-wrap: break-word; /* Prevent long headers from overflowing */ }

/* Variables (Keep as is) */
:root {
    --color-primary: #09bdc6;
    --color-secondary: #3a2672;
    --color-dark-green: #003d3e;
    --color-medium-green: #2f6564;
    --color-light-green: #659797;
    --color-bg-light: #eef5f5;
    --color-bg-medium: #e1ecec;
    --color-bg-dark: var(--color-dark-green);
    --color-text-light: #ffffff;
    --color-text-dark: #2f2f2f;
    --color-text-muted: #6b6b6b;
    --color-accent: #6d4fc2; /* Purple */
    --color-text-muted-dark-bg: rgba(255, 255, 255, 0.7); /* Define muted color for dark BG */
    --color-border-light: #e1ecec; /* Define light border color */

    --font-primary: "Inter", sans-serif;
    --font-secondary: "Poppins", sans-serif;

    --container-width: 1212px;
    --spacing-unit: 1rem; /* Approx 16px */

    /* Container padding */
    --container-padding-x-mobile: var(--spacing-unit); /* 16px */
    --container-padding-x-tablet: calc(var(--spacing-unit) * 1.5); /* 24px */
    --container-padding-x-desktop: calc(var(--spacing-unit) * 2); /* 32px - Increased slightly */

    /* Header height estimation for scroll padding */
    --header-height-approx: 112px;
}

/* Utility Classes */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-padding-x-mobile);
  padding-right: var(--container-padding-x-mobile);
}

/* Adjust container padding for larger screens */
@media (min-width: 768px) {
    .container {
       padding-left: var(--container-padding-x-tablet);
       padding-right: var(--container-padding-x-tablet);
    }
}

@media (min-width: 1024px) {
    .container {
       padding-left: var(--container-padding-x-desktop);
       padding-right: var(--container-padding-x-desktop);
    }
}

/* Define container offset dynamically for precise alignment */
:root {
    --container-offset-dynamic: max(var(--container-padding-x-desktop), calc((100vw - var(--container-width)) / 2 + var(--container-padding-x-desktop)));
}
@media (max-width: 1023px) {
    :root { --container-offset-dynamic: var(--container-padding-x-tablet); }
}
@media (max-width: 767px) {
    :root { --container-offset-dynamic: var(--container-padding-x-mobile); }
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.2rem;
  border-radius: 5px;
  font-weight: 500;
  font-family: var(--font-primary);
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
  white-space: nowrap;
}

.button--primary {
  background-color: var(--color-primary);
  color: var(--color-text-light);
  border: 2px solid var(--color-primary);
}
.button--primary:hover {
  background-color: #07a8b0; /* Darker teal */
  border-color: #07a8b0;
}

.button--secondary {
    background-color: var(--color-primary);
    color: var(--color-text-light);
    border: 2px solid var(--color-primary);
    font-weight: 700;
}
.button--secondary:hover {
    background-color: #07a8b0;
    border-color: #07a8b0;
}

.button--secondary-outline {
    background-color: transparent;
    color: var(--color-text-light);
    border: 2px solid var(--color-text-light);
    font-weight: 700;
}
.button--secondary-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.button-icon {
    width: 18px; /* Adjust size as needed */
    height: auto;
    margin-left: 0.5rem;
}

.section-title {
    font-family: var(--font-secondary);
    font-weight: 600;
    font-size: clamp(2rem, 5vw + 1rem, 3.6rem); /* Responsive font size */
    line-height: 1.2;
    letter-spacing: -0.027em;
    color: var(--color-text-dark);
    margin-bottom: calc(var(--spacing-unit) * 0.5);
}

.section-title--light {
    color: var(--color-text-light);
}
.section-title--dark { /* Already default */
     color: var(--color-text-dark);
}

.section-kicker {
    font-family: var(--font-secondary);
    font-weight: 700;
    font-size: 1.125rem; /* 18px */
    letter-spacing: -0.027em;
    text-transform: uppercase;
    display: block;
    margin-bottom: calc(var(--spacing-unit) * 0.75); /* 12px */
}
.section-kicker--teal {
    color: var(--color-primary);
}

.section-subtitle {
    font-size: 1.3125rem; /* 21px */
    line-height: 1.4;
    color: var(--color-medium-green);
    max-width: 45ch; /* Limit line length for readability */
}

.link-with-icon {
    color: var(--color-primary);
    font-family: var(--font-primary); /* Inter */
    font-weight: 700; /* Bold */
    font-size: 1rem; /* Base size */
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin-top: 0.5rem;
    transition: color 0.2s ease, transform 0.2s ease;
    border-bottom: 1px solid transparent;
}
.link-with-icon:hover {
    color: #07a8b0;
    transform: translateX(2px);
    border-bottom-color: #07a8b0;
}
.link-icon { width: 18px; height: auto; transition: transform 0.2s ease; }
.link-with-icon:hover .link-icon { transform: translateX(3px); }

/* Shared Decorative Background Styles */
.decorative-background { position: relative; overflow: hidden; }
.decorative-background::before, .decorative-background::after {
    content: ''; position: absolute; border-radius: 50%; pointer-events: none; z-index: 0;
}
/* Left Blur */
.decorative-background--left-blur::before {
    width: clamp(400px, 80vw, 600px); height: clamp(400px, 80vw, 600px);
    background: rgba(77, 207, 213, 0.15); /* Teal blur */
    filter: blur(120px);
    left: -20%; bottom: -25%;
    opacity: 0.7;
}
/* Right Blur */
.decorative-background--right-blur::after {
    width: clamp(500px, 90vw, 700px); height: clamp(500px, 90vw, 700px);
    background: rgba(109, 79, 194, 0.1); /* Purple blur */
    filter: blur(140px);
    right: -25%; top: -15%;
    opacity: 0.8;
}
.decorative-shape { position: absolute; pointer-events: none; z-index: 0;}
.decorative-shape--circle-outline {
    width: clamp(350px, 70vw, 484px); height: clamp(350px, 70vw, 484px);
    border-radius: 50%; border: clamp(60px, 10vw, 80px) solid rgba(9, 189, 198, 0.08);
    filter: blur(80px); opacity: 0.7;
    top: 50%; left: 50%; transform: translate(-50%, -50%);
}
.image-frame { /* Frame styling */
    border-radius: 24px; overflow: hidden; position: relative;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}
.image-frame--angled-bottom-left { border-radius: 24px 24px 24px 0px; }
.image-frame--angled-bottom-right { border-radius: 24px 24px 0px 24px; }
.image-frame--angled-top-left { border-radius: 0px 24px 24px 24px; }

/* ======================================== */
/* Header Styles (Sticky)                   */
/* ======================================== */
.site-header {
  position: sticky; /* Make the entire header sticky */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000; /* High z-index */
  background-color: #fff; /* Needed for sticky element */
  box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.08); /* Consistent shadow */
}

/* --- Top Bar --- */
.top-bar {
  background-color: var(--color-secondary);
  color: var(--color-text-light);
  min-height: 42px; /* Keep min-height */
  display: flex;
  align-items: center;
  padding: 0.3rem 0; /* Slightly adjusted padding */
  font-size: 0.8rem; /* Slightly larger */
}
.top-bar__container {
  /* Uses .container */
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem; /* Vertical gap, Horizontal gap */
}
.contact-details {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.5rem;
}
.contact-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  letter-spacing: -0.017em;
  white-space: nowrap;
}
.contact-item:hover {
    opacity: 0.8;
}
.contact-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* --- Main Navigation --- */
.main-nav {
  background-color: #fafefe; /* Slightly off-white */
}
.main-nav__container {
  /* Uses .container */
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 65px; /* Slightly increased */
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.logo__image {
  height: clamp(3.5rem, 8vw, 4rem);
  width: auto;
  display: block;
}
.main-nav__actions {
  display: flex; /* Always show the button */
  align-items: center;
  gap: 0.75rem;
}

/* ======================================== */
/* Header Media Queries                   */
/* ======================================== */
@media (max-width: 767px) {
    .top-bar {
        padding: 0.5rem 0;
        font-size: 0.75rem; /* Adjust size back */
    }
    .top-bar__container {
        justify-content: center; /* Center items on mobile */
        gap: 0.75rem 1rem;
    }
    .contact-details {
        justify-content: center; /* Center contact items */
        gap: 0.5rem 1rem;
    }
}
@media (max-width: 380px) {
    .contact-details {
       grid-template-columns: 1fr;
       gap: 0.75rem;
    }
}

/* ======================================== */
/* Hero Section Styles                      */
/* ======================================== */
.hero {
    --header-height: var(--header-height-approx); /* Use variable */
    /* --container-offset-desktop: calc((100vw - min(100vw, var(--container-width))) / 2); REMOVED - Use dynamic var */

    display: flex;
    flex-direction: column;
    min-height: calc(100vh - var(--header-height));
    background-color: #f5f5f5;
    overflow: hidden;
}
/* --- Mobile & Tablet First Styles --- */
.hero__image-area { order: 1; width: 100%; height: 38vh; min-height: 240px; max-height: 350px; flex-shrink: 0; }
.hero__image { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.hero__content-area {
    order: 2; flex-grow: 1; display: flex; flex-direction: column;
    justify-content: center; align-items: center;
    padding: 1.5rem var(--container-padding-x-mobile); /* Use mobile padding */
    overflow-y: auto; min-height: 150px;
}
.hero__content {
    width: 100%; max-width: 600px; display: flex; flex-direction: column;
    align-items: center; text-align: center; gap: 0.8rem;
}
.location-tags { display: flex; flex-direction: column; align-items: center; gap: 0.3rem; margin-bottom: 0.25rem; }
.location-tag-item { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 1.1rem; color: var(--color-medium-green); font-family: var(--font-primary); letter-spacing: -0.017em; white-space: nowrap; text-decoration: none; }
.location-tag-item:hover { opacity: 0.8; }
.location-tag-item strong { font-weight: 700; }
.location-tag-item span { display: inline-block; }
.location-icon { width: 18px; height: auto; flex-shrink: 0; color: var(--color-medium-green); }
.hero__title { font-family: "Poppins-SemiBold", sans-serif; font-size: clamp(1.8rem, 5vw + 0.5rem, 3rem); line-height: 1.25; color: var(--color-medium-green); letter-spacing: -0.027em; font-weight: 600; margin: 0.5rem 0; }
.hero__button { padding: 0.7rem 1.6rem; margin: 0.8rem 0; }
.hero__tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 0.75rem; width: 100%; justify-content: center; }
.hero__tags li { display: flex; align-items: center; gap: 0.4rem; font-family: "Inter-Medium", sans-serif; font-size: 0.9rem; color: var(--color-light-green); font-weight: 500; letter-spacing: -0.017em; white-space: nowrap; }
.tag-dot { width: 9px; height: 9px; background-color: var(--color-primary); border-radius: 50%; flex-shrink: 0; }

/* --- Tablet Adjustments --- */
@media (min-width: 768px) {
    .hero__image-area { height: 42vh; min-height: 280px; max-height: 400px; }
    .hero__content-area { padding: 2rem var(--container-padding-x-tablet); } /* Use tablet padding */
    .hero__title { font-size: clamp(2.2rem, 6vw + 0.5rem, 3.5rem); }
    .hero__tags li { font-size: 1rem; }
    .tag-dot { width: 10px; height: 10px; }
}

/* --- Desktop Grid Layout --- */
@media (min-width: 1024px) {
    .hero {
        display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr;
        min-height: calc(100vh - var(--header-height)); background-color: transparent;
    }
    .hero__content-area {
        order: 1; grid-column: 1 / 2; grid-row: 1 / 2; background-color: #f5f5f5;
        /* ALIGNMENT: Use dynamic offset variable */
        padding-left: var(--container-offset-dynamic);
        padding-right: var(--container-padding-x-desktop); /* Use standard desktop padding on right */
        padding-top: 2rem; padding-bottom: 2rem; overflow-y: hidden;
        height: 100%; display: flex; flex-direction: column; justify-content: center;
        align-items: flex-start; min-height: 0;
    }
    .hero__content { max-width: 580px; align-items: flex-start; text-align: left; gap: 1rem; margin: 0; padding: 0; width: 100%; }
    .hero__image-area { order: 2; grid-column: 2 / 3; grid-row: 1 / 2; height: 100%; max-height: none; min-height: 0; }
    .hero__image { object-position: center; height: 100%; }
    /* Adjust content alignment */
    .location-tags { align-items: flex-start; gap: 0.4rem; margin-bottom: 0.5rem; }
    .hero__tags { justify-content: flex-start; }
    .hero__button { width: auto; margin-top: 1rem; margin-bottom: 1.5rem; }
    .hero__title { margin-top: 0.75rem; margin-bottom: 1rem; }
}
/* Very Narrow Mobile adjustments remain similar */
@media (max-width: 380px) {
    .hero__content-area { padding: 1rem var(--container-padding-x-mobile); }
    .hero__button { width: 100%; justify-content: center; }
    .hero__image-area { min-height: 200px; height: 35vh; }
    .hero__title { font-size: clamp(1.6rem, 4.5vw + 0.5rem, 2.6rem); }
    .hero__tags li { font-size: 0.8rem; }
    .tag-dot { width: 7px; height: 7px; }
}

/* ======================================== */
/* Partners Section Styles                  */
/* ======================================== */
.partners {
    padding: 2.5rem 0; /* Adjusted padding */
    background-color: var(--color-white);
    position: relative;
    overflow: hidden;
}
.partners__container {
    max-width: 100%; /* Allow full internal width */
    padding-left: 0; padding-right: 0; /* Override container padding */
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.partners__container::-webkit-scrollbar { display: none; }
.partners__logo-track {
    display: flex;
    gap: clamp(3rem, 8vw, 5rem);
    width: max-content;
    align-items: center;
    padding: 0 2rem; /* Padding for fades */
    /* animation: scroll 30s linear infinite; */
}
/* @keyframes scroll ... */
.partners__logo-track img {
    height: clamp(2.8rem, 7vh, 4rem); /* Adjusted */
    max-width: 200px; width: auto; object-fit: contain; flex-shrink: 0;
    filter: grayscale(80%); opacity: 0.65;
    transition: filter 0.3s ease, opacity 0.3s ease;
}
.partners__logo-track img:hover { filter: grayscale(0%); opacity: 1; }
.partners__fade {
    position: absolute;
    top: 0;
    bottom: 0;
    width: clamp(60px, 15vw, 150px); /* Responsive fade width */
    pointer-events: none;
    z-index: 2;
}
.partners__fade--left {
    left: 0;
    background: linear-gradient(to right, var(--color-white) 20%, rgba(255, 255, 255, 0));
}
.partners__fade--right {
    right: 0;
    background: linear-gradient(to left, var(--color-white) 20%, rgba(255, 255, 255, 0));
}

/* ======================================== */
/* Improve Language Section Styles (Revised) */
/* ======================================== */
.improve-language {
    background-color: var(--color-bg-light);
    padding: clamp(3rem, 8vw, 5rem) 0; /* Section vertical padding */
    /* Decorative BG handled by utility class */
}
.improve-language .container {
    padding: 0; /* Remove padding from container, grid handles it */
    max-width: none; /* Allow grid to span full width */
    width: 100%;
}
.improve-language__grid {
    display: grid;
    grid-template-columns: 1fr; /* Mobile first: single column */
    align-items: center;
    gap: 2rem;
    /* Apply max-width and centering to the grid itself */
    max-width: var(--container-width);
    margin: 0 auto;
}

/* --- Mobile First: Image Top (Full Width рамках контейнера), Centered Text --- */
.improve-language__visual-area {
    grid-row: 1 / 2; /* Image first */
    width: 100%;
    line-height: 0;
    padding: 0 var(--container-padding-x-mobile); /* Horizontal padding for image */
}
.improve-language__image {
    width: 100%; height: auto; display: block;
    border-radius: 18px; /* Optional: Add some rounding */
    max-height: 50vh; /* Limit image height on mobile */
    object-fit: cover;
}
.improve-language__text-area {
    grid-row: 2 / 3; /* Text second */
    padding: 0 var(--container-padding-x-mobile); /* Horizontal padding for text */
    text-align: center; /* Center text */
}
.improve-language__text-content {
     max-width: 600px; /* Limit text width */
     margin: 0 auto; /* Center text block */
}
.improve-language__title {
    color: var(--color-medium-green);
    margin-bottom: 0.75rem;
    /* Adjust clamp for better mobile size, ensure wrapping IS allowed */
    font-size: clamp(1.6rem, 5vw, 2.2rem);
    line-height: 1.3;
    white-space: normal; /* Allow wrapping */
}
.improve-language__title br { display: block; margin-bottom: 0.2em; content: ""; } /* Ensure BR works */

.improve-language__subtitle {
    color: var(--color-medium-green);
    font-size: clamp(1rem, 2.8vw, 1.2rem);
    max-width: 45ch;
    margin-left: auto; margin-right: auto; /* Center subtitle */
}

/* --- Desktop Layout: Text Left (Aligned), Image Right (Larger, No Right Margin) --- */
@media (min-width: 1024px) {
    .improve-language {
         padding: clamp(4rem, 10vw, 6rem) 0;
    }
    .improve-language__grid {
        /* Approx 40% Text / 60% Image ratio */
        grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
        gap: clamp(3rem, 6vw, 5rem);
        /* Ensure grid respects container padding */
        padding: 0; /* Reset grid padding */
        max-width: 100%; /* Grid spans viewport edge-to-edge */
        margin: 0;
    }
    .improve-language__text-area {
        grid-column: 1 / 2; grid-row: 1 / 2;
        text-align: left;
        /* Apply alignment padding dynamically */
        padding-left: var(--container-offset-dynamic);
        padding-right: var(--container-padding-x-desktop); /* Standard padding on right */
        display: flex;         /* Use flex to center vertically if needed */
        align-items: center;   /* Center content vertically */
    }
    .improve-language__text-content {
         margin: 0; /* Reset mobile centering */
         max-width: none; /* Remove width limit */
         width: 100%;
    }
    .improve-language__title {
        font-size: clamp(1.8rem, 2.5vw + 0.5rem, 2.8rem); /* Larger title */
        white-space: nowrap; /* Prevent line breaks on desktop */
    }
    .improve-language__subtitle {
        font-size: 1.3125rem; /* Restore size */
        margin-left: 0; margin-right: 0; /* Align left */
        max-width: 50ch;
    }

    .improve-language__visual-area {
        grid-column: 2 / 3; grid-row: 1 / 2;
        width: 100%; height: 100%; /* Fill grid area */
        padding: 0; /* No padding on visual area */
        max-height: none; /* Remove mobile height limit */
    }
    .improve-language__image {
        width: 100%; height: 100%; object-fit: cover; /* Fill area */
        border-radius: 0; /* Remove mobile rounding */
        /* Optional: Add angled corner */
        /* clip-path: polygon(0 0, 100% 0, 100% 100%, 24px 100%, 0 calc(100% - 24px)); */
        /* Or use border-radius: 24px 0 0 24px; */
    }
}

/* Tablet adjustments */
@media (min-width: 768px) and (max-width: 1023px) {
    .improve-language__visual-area {
        padding: 0 var(--container-padding-x-tablet);
    }
     .improve-language__text-area {
        padding: 0 var(--container-padding-x-tablet);
    }
}

/* ======================================== */
/* Course Types Section Styles              */
/* ======================================== */
.course-types {
    padding: clamp(3rem, 8vw, 5rem) 0;
    background-color: var(--color-white);
    /* Decorative BG handled by utility class */
}
.course-types .container {
    padding: 0; max-width: none; width: 100%;
}
.course-types__grid {
    display: grid; grid-template-columns: 1fr; /* Mobile first */
    gap: 2.5rem; align-items: center;
    max-width: var(--container-width); margin: 0 auto;
}

/* --- Mobile First: Image Top, Centered Text --- */
.course-types__visual-area {
    grid-row: 1 / 2; /* Image first */
    width: 100%;
    padding: 0 var(--container-padding-x-mobile); /* Apply padding */
    position: relative; /* For potential absolute elements inside */
}
.course-types__image-frame { /* Keep frame styles */
    background-color: rgba(249, 249, 249, 0.88);
    backdrop-filter: blur(6px);
    aspect-ratio: 583 / 589;
    width: 100%; max-width: 500px; /* Limit max size */
    margin: 0 auto; /* Center frame */
}
.course-types__image { width: 100%; height: 100%; object-fit: cover; }

.course-types__text-area {
    grid-row: 2 / 3; /* Text second */
    padding: 0 var(--container-padding-x-mobile); /* Apply padding */
    text-align: center;
}
.course-types__text-content {
     max-width: 600px; margin: 0 auto; /* Center text block */
}
.course-types__title { /* Reusing .section-title */
     color: var(--color-medium-green);
     margin-bottom: 1.5rem;
     font-size: clamp(1.5rem, 4.5vw, 2rem);
}
.checklist { /* Keep checklist styles, centering handled by parent */
    list-style: none; padding: 0; margin-top: 1.5rem;
    display: inline-flex; flex-direction: column; gap: 1rem;
    text-align: left; max-width: 100%;
}
.checklist__item {
    display: flex; align-items: flex-start; gap: 0.8rem;
    font-family: var(--font-secondary);
    font-size: clamp(1.1rem, 2.5vw, 1.3rem); /* Adjusted font size */
    font-weight: 600; color: var(--color-medium-green);
    letter-spacing: -0.027em; line-height: 1.4;
}
.checklist__icon {
    font-size: 1.3rem; line-height: 1.4; flex-shrink: 0;
    color: var(--color-primary);
}
.checklist__text { /* No specific styles needed, inherits */ }


/* --- Desktop Layout: Image Left, Text Right (Aligned) --- */
@media (min-width: 1024px) {
    .course-types {
        padding: clamp(4rem, 10vw, 6rem) 0;
    }
    .course-types__grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); /* Equal columns */
        gap: clamp(3rem, 6vw, 5rem);
        padding: 0; max-width: 100%; margin: 0; /* Grid spans full width */
    }
    .course-types__visual-area {
        grid-column: 1 / 2; grid-row: 1 / 2;
        padding-left: var(--container-offset-dynamic); /* Align left edge */
        padding-right: var(--container-padding-x-desktop); /* Pad right edge */
        display: flex; justify-content: center; /* Center frame within area */
    }
     .course-types__image-frame {
          max-width: none; /* Remove max-width on desktop */
          width: 100%; /* Fill available space */
     }
    .course-types__text-area {
        grid-column: 2 / 3; grid-row: 1 / 2;
        text-align: left;
        padding-left: 0; /* No extra left padding needed */
        padding-right: var(--container-offset-dynamic); /* Align right edge */
        display: flex; align-items: center;
    }
     .course-types__text-content {
          margin: 0; max-width: none; width: 100%;
     }
    .course-types__title {
         font-size: clamp(1.8rem, 3vw, 2.8rem);
    }
    .checklist { display: flex; /* Ensure block behavior */ }
    .checklist__item { font-size: clamp(1.2rem, 3vw, 1.4rem); }
    .checklist__icon { font-size: 1.5rem; }
}

/* Tablet adjustments */
@media (min-width: 768px) and (max-width: 1023px) {
    .course-types__visual-area, .course-types__text-area {
        padding-left: var(--container-padding-x-tablet);
        padding-right: var(--container-padding-x-tablet);
    }
}

/* ======================================== */
/* Benefits Section Styles                  */
/* ======================================== */
.benefits {
    background-color: var(--color-bg-dark);
    color: var(--color-text-light);
    padding: clamp(4rem, 10vw, 6rem) 0; /* Standard vertical padding */
}
.benefits__container {
    /* Uses .container utility */
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: clamp(2rem, 5vw, 3.5rem);
}
.benefit-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Align left */
    gap: 0.75rem; /* 12px */
}
.benefit-icon__wrapper {
    width: 50px; /* Consistent wrapper size */
    height: 50px;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center; /* Center icon within wrapper */
}
.benefit-icon {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    stroke: var(--color-primary); /* Default stroke color */
    fill: none; /* Default fill */
}
.benefit-icon path, .benefit-icon circle, .benefit-icon line, .benefit-icon rect {
    stroke: var(--color-primary); /* Ensure SVG elements get stroke */
}
.benefit-icon__wrapper--bars {
    position: relative;
    transform: rotate(0); /* No rotation needed for divs */
    width: 60px; /* Match approximate width of original */
}
.bar {
    background: var(--color-primary);
    border-radius: 4px;
    position: absolute;
    bottom: 0; /* Align bars to bottom */
    width: 12px; /* Consistent width */
}
.bar-1 { height: 60%; left: 0px; } /* Tallest */
.bar-2 { height: 100%; left: 20px; } /* Middle */
.bar-3 { height: 40%; left: 40px; } /* Shortest */

.benefit-icon__wrapper--speed .benefit-icon--speed-svg circle {
    fill: var(--color-primary); /* Fill circle */
    stroke: none;
}
.benefit-icon__wrapper--speed .benefit-icon--speed-svg path {
    stroke: var(--color-white); /* White lines */
}
.benefit-title {
    font-family: var(--font-secondary);
    font-weight: 700;
    font-size: 1.3125rem; /* 21px */
    line-height: 1.3;
    color: var(--color-text-light);
    letter-spacing: -0.027em;
}
.benefit-description {
    font-family: var(--font-primary);
    font-size: 1.125rem; /* 18px */
    line-height: 1.5;
    color: var(--color-text-muted-dark-bg); /* Muted on dark */
    letter-spacing: -0.02em;
}
@media (max-width: 500px) {
    .benefit-item { align-items: center; text-align: center; }
}

/* ======================================== */
/* Testimonials Section Styles              */
/* ======================================== */
.testimonials {
    background-color: var(--color-bg-medium);
    padding: clamp(4rem, 10vw, 6rem) 0; /* Standard vertical padding */
}
.testimonials__container { /* Uses .container */ }
.testimonials__container .section-header { margin-bottom: 3rem; max-width: 600px; }
.testimonial-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr));
    gap: 2rem;
}
.testimonial-card {
    background-color: var(--color-primary); /* Teal background */
    border-radius: 24px 24px 0px 24px; /* Angled bottom right */
    padding: 2.25rem; /* 36px */
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden; /* Contain quote icon */
}
.testimonial-card__quote-icon {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    width: auto;
    height: clamp(3rem, 8vw, 5rem); /* Adjusted size */
    opacity: 0.15;
    pointer-events: none;
}
.testimonial-card__content {
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Push author down */
    flex-grow: 1; /* Allow content to take space */
    gap: 1.5rem; /* Space between quote and author */
    z-index: 1; /* Ensure content is above icon */
}
.testimonial-card blockquote { margin: 0; }
.testimonial-card blockquote p {
    font-family: "Poppins", sans-serif; /* Poppins */
    font-size: clamp(1.2rem, 3vw, 1.4rem); /* Adjusted size */
    line-height: 1.5; /* Adjusted line height */
    font-style: italic;
    font-weight: 500; /* Medium Italic */
    letter-spacing: -0.015em;
    color: var(--color-dark-green); /* Dark text on teal */
    margin-bottom: 0; /* Remove margin */
}
.testimonial-card__author {
    display: flex;
    align-items: center;
    gap: 1rem; /* 16px */
    margin-top: auto; /* Push to bottom */
}
.testimonial-card__author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.3);
    flex-shrink: 0;
}
.testimonial-card__author-info {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}
.testimonial-card__author-info cite { /* Name */
    font-family: var(--font-secondary); /* Poppins */
    font-weight: 600; /* SemiBold */
    font-size: 1.125rem; /* ~18px */
    line-height: 1.3;
    color: var(--color-text-light); /* White name */
    font-style: normal;
}
.author-detail { /* Age/details */
    font-family: var(--font-secondary); /* Poppins */
    font-weight: 500; /* Medium */
    font-size: 1rem; /* 16px */
    line-height: 1.3;
    color: var(--color-dark-green); /* Detail color on teal */
}

/* ======================================== */
/* Satisfaction Rating Section Styles (Revised) */
/* ======================================== */
.satisfaction-rating {
    background-color: var(--color-bg-light);
    padding: clamp(4rem, 10vw, 6rem) 0; /* Vertical padding */
    /* Decorative BG handled by utility class */
}
.satisfaction-rating__container {
    /* Uses .container utility */
    /* Container handles padding */
}
.satisfaction-rating__card {
    background-color: var(--color-white);
    border-radius: 24px 24px 0px 24px; /* Angled bottom right */
    padding: clamp(2rem, 5vw, 3rem); /* Internal card padding */
    display: grid;
    grid-template-columns: 1fr; /* Mobile first */
    gap: 1.5rem; /* Gap between rating and text on mobile */
    align-items: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    width: 100%; /* Ensure card takes full width of container */
    box-sizing: border-box;
    overflow: hidden; /* Prevent internal content overflow */
}

.satisfaction-rating__rating {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: .1em;
}
.satisfaction-rating__percentage {
    font-family: var(--font-secondary); font-weight: 600;
    font-size: clamp(6rem, 20vw, 11rem);
    line-height: 1; /* CRITICAL: Prevents descender overlap */
    color: var(--color-dark-green); letter-spacing: -0.027em;
    white-space: nowrap; display: block;
    /*margin-bottom: 0; /* REMOVED negative margin */
}
.satisfaction-rating__percent-symbol {
    font-size: 0.35em; letter-spacing: -0.1em; vertical-align: baseline;
    display: inline-block; transform: translateY(-0.1em) translateX(-0.1em);
}
.satisfaction-rating__label {
    font-family: var(--font-secondary); font-weight: 600;
    font-size: clamp(2rem, 7vw, 3.5rem);
    line-height: 1.1; /* CRITICAL: Ensure space below */
    color: var(--color-dark-green); letter-spacing: -0.015em;
    margin-top: 0.25em; /* ADDED small top margin */
}

.satisfaction-rating__text {
    display: flex; flex-direction: column; gap: 1.5rem;
    text-align: center; width: 100%;
}
.satisfaction-rating__text p {
    font-family: "Poppins", sans-serif;
    font-size: clamp(1rem, 2.2vw, 1.25rem); line-height: 1.6;
    font-style: italic; color: var(--color-dark-green);
    letter-spacing: -0.015em; font-weight: 500;
    max-width: 50ch; margin: 0 auto; /* Center paragraph */
    width: 100%; /* Ensure paragraph respects parent's width */
    overflow-wrap: break-word; /* Allow long words to break */
    hyphens: auto; /* Optional: improve wrapping */
}
.satisfaction-rating__logos {
    display: flex; justify-content: center; align-items: center;
    gap: 1.5rem; flex-wrap: wrap; margin-top: 0.5rem;
}
.satisfaction-rating__logos img {
    max-height: 45px; width: auto; max-width: 100%; /* Ensure logos fit */
    object-fit: contain;
}

/* --- Satisfaction Rating Media Queries --- */
@media (min-width: 768px) {
    .satisfaction-rating__card {
        grid-template-columns: auto 1fr; /* Rating auto, text takes rest */
        text-align: left;
        gap: clamp(3rem, 8vw, 5rem);
        padding: clamp(3rem, 8vw, 5rem); /* Restore desktop padding */
    }
     .satisfaction-rating__rating {
        align-items: flex-start; text-align: left;
     }
     .satisfaction-rating__percentage {
         font-size: clamp(7rem, 22vw, 13.4rem);
         line-height: 0.85; /* Restore original line-height for desktop */
         margin-bottom: 0; /* Reset margin */
     }
     .satisfaction-rating__label {
         font-size: clamp(2.5rem, 8vw, 4rem);
         line-height: 1; /* Restore tighter line height */
         margin-top: -0.4em; /* Restore negative margin if desired for overlap */
     }
     .satisfaction-rating__text { text-align: left; }
     .satisfaction-rating__text p { margin: 0; max-width: 55ch; font-size: clamp(1.1rem, 2.5vw, 1.4rem); }
     .satisfaction-rating__logos { justify-content: flex-start; margin-top: 1rem; }
     .satisfaction-rating__logos img { max-height: 53px; }
}

/* ======================================== */
/* How It Works Section Styles (Revised)    */
/* ======================================== */
.how-it-works {
    background-color: var(--color-white);
    padding: clamp(4rem, 10vw, 6rem) 0; /* Vertical padding */
}
.how-it-works__container { /* Uses .container */ }
.how-it-works__container .section-header { margin-bottom: 3rem; }

.steps-container {
    display: grid;
    /* More robust mobile layout: prefer 1 or 2 columns */
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
    gap: clamp(2rem, 5vw, 3rem); /* Slightly reduced gap */
}
.step-item {
    display: flex;
    flex-direction: column; /* Stack number and content */
    align-items: center; /* Center align items horizontally */
    text-align: center; /* Center align text */
    gap: 1rem;
}
.step-item__number-container {
    background-color: var(--color-primary); border-radius: 50%;
    width: 64px; height: 64px; /* Slightly smaller */
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; margin-bottom: 0.5rem; /* Space below number */
    box-shadow: 0 4px 8px rgba(9, 189, 198, 0.3);
}
.step-item__number {
    color: var(--color-text-light); font-family: var(--font-secondary);
    font-weight: 700; font-size: 2.2rem; /* Adjusted */
    line-height: 1;
}
.step-item__content {
    padding: 0 0.5rem; /* Add slight horizontal padding for text */
    border-left: none; /* No border on mobile */
    display: flex; flex-direction: column; align-items: center; /* Ensure content inside is centered */
    gap: 0.6rem; /* Reduced gap */
    flex-grow: 1; width: 100%;
}
.step-item__title {
    font-family: var(--font-secondary); font-size: 1.3rem; /* Adjusted */
    line-height: 1.3; color: var(--color-dark-green);
    font-weight: 700; letter-spacing: -0.027em;
}
.step-item__languages {
    font-weight: 400;
    font-size: 0.85em;
    vertical-align: middle;
    display: inline-block;
    margin-left: 0.3em;
}
.step-item__description {
    font-family: var(--font-primary); font-size: 1rem; line-height: 1.6;
    color: var(--color-text-muted); letter-spacing: normal;
    margin-bottom: auto; padding-bottom: 0.5rem; flex-grow: 1;
    max-width: 40ch; /* Limit line length for readability */
    margin-left: auto; margin-right: auto; /* Center description */
}
/* .link-with-icon styles remain the same from Global Styles */

/* --- How It Works Media Queries --- */
@media (min-width: 1024px) {
    .steps-container {
        grid-template-columns: repeat(4, 1fr); /* Explicit 4 columns */
        gap: clamp(2.5rem, 4vw, 3.5rem); /* Adjust desktop gap */
    }
    .step-item {
        align-items: flex-start; /* Align left */
        text-align: left;
    }
    .step-item__content {
        border-left: 2px solid var(--color-border-light); /* Restore border */
        padding-left: 1.5rem; /* Restore padding */
        align-items: flex-start; /* Align content left */
        padding-right: 0; /* Remove mobile padding */
    }
    .step-item__description {
        font-size: 1.1rem; /* Restore size */
        max-width: none; /* Remove limit */
        margin-left: 0; margin-right: 0; /* Align left */
    }
}

/* ======================================== */
/* Offer Section Styles (Revisited)         */
/* ======================================== */
.offer-section {
    background-color: var(--color-bg-light);
    padding: clamp(4rem, 10vw, 6rem) 0;
    /* Decorative BG handled by utility class */
}
.offer-section__container { /* Uses .container */ }
.offer-section__container .section-header { margin-bottom: clamp(2.5rem, 6vw, 3.5rem); }
.offer-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 310px), 1fr));
    gap: clamp(1.8rem, 4vw, 2.5rem);
}

.offer-card {
    background-color: var(--color-white); border-radius: 24px 24px 4px 24px; /* Angled bottom left */
    display: flex; flex-direction: column;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden; /* ENSURE content clipping */
}
.offer-card:hover { transform: translateY(-6px); box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12); }
.offer-card__image-container {
    overflow: hidden; position: relative; aspect-ratio: 1.2 / 1; width: 100%; line-height: 0;
}
.offer-card__image {
    width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease;
}
.offer-card:hover .offer-card__image { transform: scale(1.05); }
.offer-card__image-overlay {
    position: absolute; inset: 0;
    background: linear-gradient( 200deg, rgba(9, 189, 198, 0.05) 10%, rgba(9, 189, 198, 0.5) 100% );
    opacity: 0.85; transition: opacity 0.3s ease;
}
.offer-card:hover .offer-card__image-overlay { opacity: 0.7; }
.offer-card__content {
    display: flex; flex-direction: column; flex: 1; padding: 1.75rem; gap: 1rem;
}
.offer-card__title {
    font-family: var(--font-secondary); font-weight: 600;
    font-size: clamp(1.3rem, 4vw, 1.5rem); line-height: 1.3;
    color: var(--color-dark-green); letter-spacing: -0.027em;
}
.offer-card__description {
    font-family: var(--font-primary); font-size: 1rem; line-height: 1.6;
    color: var(--color-text-muted); letter-spacing: normal; font-weight: 400;
    flex-grow: 1; margin-bottom: 0.5rem;
}
.offer-card__footer {
    display: flex; flex-direction: column; gap: 1rem; margin-top: auto;
}
.offer-card__pricing { /* Container for price and condition */ }
.price {
    font-family: var(--font-secondary); font-weight: 500;
    font-size: clamp(1.5rem, 5vw, 1.75rem); line-height: 1.2;
    color: var(--color-accent); letter-spacing: -0.017em; display: block;
}
.price--highlight { color: var(--color-primary); font-weight: 700; }
.price-condition {
    font-family: var(--font-primary); font-weight: 600; font-size: 0.875rem;
    color: var(--color-medium-green); letter-spacing: -0.01em;
    display: block; margin-top: 0.1rem;
}
.offer-card__button {
    align-self: flex-start; width: auto;
}
.offer-card__button .button-icon {
    filter: brightness(0) saturate(100%) invert(100%) sepia(100%) saturate(0%) hue-rotate(204deg) brightness(105%) contrast(102%); /* White */
}
@media (min-width: 640px) {
     /* .offer-cards { grid-auto-rows: 1fr; } */
}

/* ======================================== */
/* About Us Section Styles                  */
/* ======================================== */
.about-us {
    background-color: var(--color-white);
    padding: clamp(4rem, 10vw, 6rem) 0; /* Vertical padding */
}
.about-us__container { /* Uses .container */ }
.about-us__container .section-header { margin-bottom: 3rem; }
.about-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: clamp(1.8rem, 4vw, 2.5rem);
}
.about-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.about-card__image-container {
    border-radius: 24px 24px 24px 0px; /* Angled top left */
    overflow: hidden;
    height: 254px; /* Fixed height */
    width: 100%;
    position: relative;
    background-color: #e0e0e0; /* Default placeholder */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-text-muted);
}
.about-card__image-container--team {
    background: #d8dff0; /* Light blue/purple */
    justify-content: space-around; /* Spread images */
}
.about-card__team-image {
    width: clamp(80px, 25%, 110px); /* Responsive image size */
    height: auto;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid white;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    z-index: 1;
}
.about-card__team-deco {
    position: absolute;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    filter: blur(10px);
    z-index: 0;
}
.about-card__team-deco--1 { width: 80px; height: 80px; top: 10%; left: 5%; }
.about-card__team-deco--2 { width: 120px; height: 120px; bottom: 5%; right: 10%; }
.about-card__image-container--locations {
    background: linear-gradient(90deg, #baf3f5 0%, #d5e3ef 51.5%, #9fa0d8 100%);
    padding: 1rem;
}
.about-locations-svg {
    width: clamp(100px, 60%, 150px); /* Responsive SVG size */
    height: auto;
}
.about-card__image-container--experience {
    background: linear-gradient(114.39deg, #CADADA 0%, #8FA6A6 100%);
}
.experience-graphic {
    position: relative;
    text-align: center;
}
.experience-number {
    font-family: "Poppins", sans-serif; /* Poppins */
    font-size: clamp(5rem, 15vw, 6.6rem); /* Responsive ~106px */
    line-height: 0.8;
    font-weight: 800; /* ExtraBold */
    background: linear-gradient(180deg, #fff 0%, #deeff0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
}
.experience-label {
    font-family: "Poppins", sans-serif; /* Poppins */
    font-size: clamp(1.5rem, 5vw, 2.5rem); /* ~40px */
    line-height: 0.8;
    font-weight: 800; /* ExtraBold */
    color: #dffcfd; /* Light color */
    letter-spacing: -0.017em;
    display: block;
    margin-top: 0.1em;
    text-transform: uppercase; /* Match visual */
}
.about-card__content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem; /* Reduced gap */
    padding-top: 0.5rem;
}
.about-card__stat {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}
.stat-number {
    font-family: var(--font-secondary); /* Poppins */
    font-weight: 700; /* Bold */
    font-size: 2rem; /* ~32px */
    line-height: 1;
    color: var(--color-dark-green); /* Default color */
}
.stat-number--teal { /* Specific style for teal number box */
    background-color: var(--color-primary);
    color: var(--color-text-light);
    padding: 0.4rem 0.8rem;
    border-radius: 12px 12px 0px 12px; /* Angled bottom right */
    line-height: 0.9;
    font-size: 1.8rem; /* Slightly smaller */
    display: inline-block; /* Ensure padding works */
}
.stat-label {
    font-family: var(--font-secondary); /* Poppins */
    font-weight: 600; /* SemiBold */
    font-size: 1.75rem; /* ~28px */
    line-height: 1;
    color: var(--color-text-dark);
    letter-spacing: -0.027em;
}
.about-card__title { /* Subtitle below stat */
    font-family: var(--font-primary); /* Inter */
    font-weight: 500; /* Medium */
    font-size: 1.1rem; /* Adjusted */
    line-height: 1.5;
    color: var(--color-light-green); /* Lighter green */
    letter-spacing: -0.01em;
}

/* ======================================== */
/* CTA Section Styles                       */
/* ======================================== */
.cta-section {
    background-color: var(--color-primary);
    padding: clamp(4rem, 12vw, 7.5rem) 0;
    position: relative; overflow: hidden; text-align: center;
}
.cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: clamp(1000px, 150vw, 1800px);
    height: clamp(500px, 75vw, 900px);
    background-image: url('group-140.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.08;
    pointer-events: none;
    user-select: none;
    z-index: 0;
}
.cta-section__container {
    /* Uses .container utility */
    position: relative; z-index: 1; display: flex; flex-direction: column;
    align-items: center; gap: 2rem;
}
.cta-title {
    color: var(--color-dark-green);
    margin-bottom: 0;
    max-width: 600px;
}
.cta-button {
    font-size: 1.125rem;
}
.cta-button .button-icon {
    filter: brightness(0) saturate(100%) invert(18%) sepia(27%) saturate(1237%) hue-rotate(135deg) brightness(94%) contrast(102%); /* Match dark green */
}
.cta-button:hover .button-icon {
    filter: brightness(0) saturate(100%) invert(18%) sepia(27%) saturate(1237%) hue-rotate(135deg) brightness(94%) contrast(102%);
}

/* ======================================== */
/* Footer Common Styles                     */
/* ======================================== */
.site-footer {
    background-color: var(--color-bg-dark);
    color: var(--color-text-light);
}
.footer-decoration { position: absolute; z-index: 0; pointer-events: none; opacity: 0.1; }
.footer-decoration--circle-1 { width: 300px; height: 300px; background: #866FC6; border-radius: 50%; filter: blur(100px); left: -100px; top: 10%; }
.footer-decoration--circle-2 { width: 250px; height: 250px; background: var(--color-primary); border-radius: 50%; filter: blur(80px); right: -80px; bottom: 5%; }
.footer-decoration--rect-1 { width: 150px; height: 150px; background: #866FC6; border-radius: 30px; transform: rotate(30deg); right: 15%; top: 5%; filter: blur(50px); }
.footer-decoration--rect-2 { width: 180px; height: 180px; background: var(--color-primary); border-radius: 40px; transform: rotate(-15deg); left: 10%; bottom: 0%; filter: blur(60px); }

/* ======================================== */
/* Footer Contact Section Styles            */
/* ======================================== */
.footer-contact {
    padding: clamp(5rem, 12vw, 7.5rem) 0; position: relative;
}
.footer-contact.decorative-background--right-blur::after {
    right: -15%; bottom: -20%; background: rgba(9, 189, 198, 0.25);
    filter: blur(180px); width: clamp(400px, 80vw, 1200px); height: clamp(400px, 80vw, 1200px);
}
.footer-contact__container {
    /* Uses .container utility */
    position: relative; z-index: 1;
}
.footer-contact__info { max-width: 650px; /* Slightly wider */ }
.footer-contact .section-header { margin-bottom: 2.5rem; }
.footer-contact .section-title { color: var(--color-bg-medium); }
.ai-assistant-prompt--footer {
    background: linear-gradient(90deg, #035455 0%, #046d6f 100%);
    border-radius: 16px 16px 16px 0px;
    padding: 1.25rem; gap: 1.25rem; margin-bottom: 2rem;
    display: flex; align-items: center; /* Added for flex context */
}
.ai-assistant-prompt--footer .ai-assistant-icon { width: 60px; height: 60px; flex-shrink: 0; }
.ai-assistant-prompt--footer .ai-assistant-text { display: flex; flex-direction: column; gap: 0.5rem;}
.ai-assistant-prompt--footer .ai-assistant-text p { color: var(--color-text-light); font-size: 1rem; }
.ai-assistant-prompt--footer .link-with-icon { color: var(--color-primary); font-size: 1rem; }
.ai-assistant-prompt--footer .link-with-icon:hover { color: #1ae0eb; border-bottom-color: #1ae0eb; }
.footer-contact-intro {
    font-family: "Poppins", sans-serif; font-size: 1.125rem; line-height: 1.7;
    color: var(--color-text-muted-dark-bg); letter-spacing: -0.017em; margin-bottom: 2rem;
}
.footer-contact-details {
    display: flex; flex-direction: column; align-items: flex-start; gap: 1rem;
}
.contact-item--light {
    font-size: 1.1rem; font-weight: 500; color: var(--color-text-light);
    gap: 0.7rem; font-family: var(--font-primary);
    display: inline-flex; align-items: center; /* Added for flex context */
}
.contact-item--light:hover { opacity: 0.8; color: var(--color-primary); }
.contact-item--light .contact-icon {
    width: 24px; height: 24px; flex-shrink: 0; filter: brightness(0) invert(1);
    transition: filter 0.2s ease;
}
.contact-item--light:hover .contact-icon {
    filter: brightness(0) saturate(100%) invert(78%) sepia(44%) saturate(4509%) hue-rotate(131deg) brightness(95%) contrast(91%);
}
.contact-icon--mail-footer { width: 28px; height: 24px; }
.contact-item--address .contact-icon { width: 22px; height: 28px; }

/* ======================================== */
/* Footer Locations Section Styles          */
/* ======================================== */
.footer-locations {
    padding: clamp(3rem, 8vw, 5rem) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-locations__container {
    /* Uses .container utility */
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: clamp(2.5rem, 6vw, 4rem);
}
.location-item {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.location-header {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}
.location-icon {
    width: 22px;
    height: 28px;
    flex-shrink: 0;
    margin-top: 0.2em;
}
.location-title {
    font-family: var(--font-secondary);
    font-weight: 700;
    font-size: 1.3125rem;
    line-height: 1.3;
    color: var(--color-text-light);
    letter-spacing: -0.027em;
}
.location-address {
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text-muted-dark-bg);
    letter-spacing: normal;
    padding-left: calc(22px + 0.75rem);
    font-style: normal;
}
.location-phone {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: -0.017em;
    padding-left: calc(22px + 0.75rem);
    transition: opacity 0.2s ease;
    text-decoration: none;
}
.location-phone:hover { opacity: 0.8; color: #1ae0eb; }
.location-phone .contact-icon {
     width: 20px; height: 20px;
     filter: brightness(0) saturate(100%) invert(78%) sepia(44%) saturate(4509%) hue-rotate(131deg) brightness(95%) contrast(91%);
}
.location-hours {
    font-size: 1rem;
    line-height: 1.5;
    padding-left: calc(22px + 0.75rem);
    color: var(--color-text-muted-dark-bg);
    font-family: var(--font-primary);
}
.location-hours div { display: flex; gap: 0.75rem; }
.location-hours span:first-child {
    font-family: var(--font-secondary);
    font-weight: 700;
    color: var(--color-text-light);
    width: 30px;
    flex-shrink: 0;
}
.location-hours span:last-child {
    font-family: var(--font-primary);
    font-weight: 500;
}
@media (max-width: 767px) {
    .location-item { align-items: center; text-align: center; }
     .location-header, .location-address, .location-phone, .location-hours {
        padding-left: 0; width: 100%; justify-content: center; text-align: center;
     }
      .location-hours div { justify-content: center; }
      .location-hours span:first-child { width: auto; margin-right: 0.5em;}
}

/* ======================================== */
/* Footer Bottom Styles                     */
/* ======================================== */
/* Footer Partners Strip */
.partners--footer {
    background-color: var(--color-white);
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--color-border-light);
}
.partners--footer .partners__logo-track img {
    height: clamp(2.5rem, 6vh, 3.5rem);
    filter: grayscale(100%);
    opacity: 0.5;
}
.partners--footer .partners__logo-track img:hover {
    filter: grayscale(0%);
    opacity: 1;
}
.partners--footer .partners__fade { /* Same fade styles as partners section */ }

/* Sub Footer */
.sub-footer {
    background-color: var(--color-bg-light);
    padding: 2rem 0; /* Increased padding slightly */
}
.sub-footer__container {
    /* Uses .container utility */
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 1.5rem;
}
.sub-footer__logo { /* Uses .logo from header */ }
.sub-footer__logo .logo__image { height: 2.5rem; }
.footer-nav {
    display: flex;
    gap: clamp(1rem, 3vw, 1.5rem);
    flex-wrap: wrap;
    justify-content: center;
}
.footer-link {
    color: var(--color-dark-green);
    font-family: var(--font-primary);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.2s ease;
    text-decoration: none;
}
.footer-link:hover { color: var(--color-primary); }
.social-links { display: flex; gap: 0.75rem; }
.social-link { display: block; line-height: 0; }
.social-icon {
    display: block; width: 32px; height: 32px;
    background-color: #cadada;
    border-radius: 7px;
    transition: background-color 0.2s ease;
    background-size: 60%;
    background-repeat: no-repeat;
    background-position: center;
}
/* Example Icons (Replace with actual URLs or inline SVGs) */
/* .social-icon--facebook { background-image: url('facebook-icon.svg'); } */
/* .social-icon--instagram { background-image: url('instagram-icon.svg'); } */
/* .social-icon--linkedin { background-image: url('linkedin-icon.svg'); } */
.social-link:hover .social-icon { background-color: var(--color-primary); }

/* Sub-Footer Media Queries */
@media (max-width: 767px) { /* Mobile stacking */
    .sub-footer__container { flex-direction: column; gap: 1.5rem; } /* Increased gap */
    .footer-nav { order: 2; justify-content: center; }
    .social-links { order: 1; }
    .sub-footer__logo { order: 0; }
}

        #error {
          font-size: 2rem;
          display: none;
          color: red;
          font-weight: bold;
          padding: 1rem;
          border: 2px solid red;
          width: 300px;
          margin: 1rem 0;
        }

        #success {
          font-size: 2rem;
          display: none;
          color: green;
          font-weight: bold;
          padding: 1rem;
          border: 2px solid green;
          width: 300px;
          margin: 1rem 0;
        }
