/* ------------------------------------------------ */
/* LANDING PAGE STYLES */
/* ------------------------------------------------ */

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

body {
    animation: fadeBody 1s ease;
    background: var(--background-color);
    color: var(--text-color);
    overflow-x: hidden;
    font-family: "Archivo", sans-serif;
    font-size: 1rem;
}

/* ------------------------------------------------ */
/* INITIAL AJUDMENTS */
/* ------------------------------------------------ */

aside {
    display: none;
}
#toggle {
    display: none;
}
.right-toggle {
    display: none;
}

footer {
    color: white;
}

.landing-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: visible !important;
}

#mainWrapper {
    padding-top: 0;
}

.landing-wrapper p,
.landing-wrapper h1,
.landing-wrapper h2,
.landing-wrapper h3,
.landing-wrapper .hero-content p,
.landing-wrapper .section-title {
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: unset !important;
}

/* ------------------------------------------------ */
/* PROFESSOR AUTH STATUS */
/* ------------------------------------------------ */

.auth-status {
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

.auth-card {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(10px);
}

.auth-user {
    font-weight: 700;
}

.auth-link,
.auth-button {
    background: var(--autobutton-bg);
    color: var(--autobutton-text-color);
    padding: 6px 14px;
    border-radius: 8px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-weight: 600;
}

.auth-form {
    margin: 0;
}
/* ------------------------------------------------ */
/* HEADER */
/* ------------------------------------------------ */

.landing-header {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    height: 96px;
    padding: 0 40px;
    background: var(--header);
    backdrop-filter: blur(12px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    transition:
        height 0.35s ease,
        background 0.3s ease;
}

.landing-header > * {
    align-self: center;
}

.landing-header.scrolled {
    background: var(--header-scrolled);
    height: 76px;
}

#logo-link {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

#logo {
    height: 88px;
    width: auto;
    object-fit: contain;
    display: block;
    transition:
        height 0.35s ease,
        transform 0.35s ease,
        opacity 0.3s ease;
}

.landing-header.scrolled #logo {
    height: 66px;
    transform: translateY(2px);
}

#logo:hover {
    opacity: 0.85;
}

/* ------------------------------------------------ */
/* SIDE MENU */
/* ------------------------------------------------ */

.menu-toggle {
    justify-self: start;
    padding: 6px 10px;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--background-color);
    color: var(--text-color);
    border: 1px solid var(--select-border-color);
    border-radius: 8px;
    cursor: pointer;
    height: 34px;
    line-height: 1;
    width: 100px !important;
    transition: box-shadow 0.2s ease;
    transform: none !important;
}

.menu-toggle:hover {
    background-color: var(--header) !important;
    width: 100px !important;
    transform: none !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.13);
}

.menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1400;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.menu-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.side-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 290px;
    height: calc(100vh + 8px);
    background-color: var(--menu-bg);
    box-shadow: 4px 0 18px rgba(0, 0, 0, 0.15);
    transform: translateX(-100%);
    transition: transform 0.32s ease-out;
    z-index: 1500;
    display: flex;
    flex-direction: column;
    padding: 24px 24px 32px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.side-menu.open {
    transform: translateX(0);
    background-color: var(--menu-bg);
}

.side-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    font-size: 18px;
    font-weight: 600;
}

.menu-close {
    all: unset;
    cursor: pointer;
    font-size: 16px;
    color: var(--menu-a);
}

.menu-close:hover {
    color: var(--menu-a-active) !important;
    background: transparent !important;
}

.menu-close:focus-visible {
    outline: 2px solid var(--focus-ring-color);
    outline-offset: 2px;
    border-radius: 6px;
}

.side-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 16px;
    font-size: 16px;
}

.side-menu-list a {
    text-decoration: none;
    color: var(--menu-a);
    display: flex;
    align-items: center;
    gap: 8px;
}

.side-menu-list a:hover {
    color: var(--menu-a-active);
}

.side-menu-list a.active {
    color: var(--menu-a-active);
    font-weight: 700;
}

.side-menu-form {
    margin: 0;
}

.side-menu-link {
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    color: var(--text-color);
    font: inherit;
    padding: 8px 0;
    cursor: pointer;
    transition: color 0.2s ease;
}

.side-menu-link:hover {
    color: var(--menu-a-active);
}

.side-menu-section {
    margin-bottom: 22px;
    font-size: 18px;
    opacity: 0.7;
}

.side-menu hr {
    border: none;
    border-top: 1px solid #e5e5e5;
    margin: 22px 0;
}

.side-menu-bottom {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid #e5e5e5;
}

/* ------------------------------------------------ */
/* THEME SELECTOR */
/* ------------------------------------------------ */

.right-column {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 10px;
    height: 34px;
}

.right-column > * {
    align-self: center;
}

.header-auth {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    white-space: nowrap;
    min-width: 360px;
    justify-content: flex-end;
    height: 34px;
}

.header-auth-info {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.header-auth-user {
    font-weight: 700;
}

.header-auth-link,
.header-auth-button {
    background: var(--background-color);
    color: var(--text-color);
    padding: 8px 10px;
    border-radius: 8px;
    text-decoration: none;
    border: 1px solid var(--select-border-color);
    cursor: pointer;
    font-size: 0.95rem;
    height: 34px;
    line-height: 1;
    width: auto;
    min-width: unset;
    display: inline-flex;
    align-items: center;
    box-shadow: none;
}

.header-auth-form {
    margin: 0;
}

.header-auth-link:hover,
.header-auth-button:hover {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.13);
}

.theme-toggle,
.theme-toggle * {
    user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}

.theme-toggle {
    height: 34px;
    display: flex;
    box-sizing: border-box;
    align-items: center;
    line-height: 1;
    margin: 0;
    padding: 0;
    align-self: center;
}

.theme-toggle input {
    display: none;
}

.theme-toggle-track {
    position: relative;
    width: 70px;
    height: 34px;

    background: var(--background-color);
    border: 1px solid var(--select-border-color);
    border-radius: 8px;

    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8px;
    box-sizing: border-box;
    margin: 0;
    align-self: center;

    transition:
        box-shadow 0.2s ease,
        background 0.25s ease,
        border-color 0.25s ease;
}

.theme-toggle-track:hover {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.13);
}

.theme-toggle-track .icon {
    font-size: 16px;
    z-index: 2;
    pointer-events: none;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.theme-toggle-track .sun {
    opacity: 1;
}

.theme-toggle-track .moon {
    opacity: 0.4;
}

.theme-toggle-track .thumb {
    position: absolute;
    top: 4px;
    left: 6px;

    width: 24px;
    height: 24px;

    background: #ffffff;
    border-radius: 6px;

    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.theme-toggle input:checked + .theme-toggle-track .thumb {
    transform: translateX(32px);
}

.theme-toggle input:checked + .theme-toggle-track .sun {
    opacity: 0.4;
}

.theme-toggle input:checked + .theme-toggle-track .moon {
    opacity: 1;
}

/* ------------------------------------------------ */
/* HERO */
/* ------------------------------------------------ */

.hero {
    width: 100%;
    min-height: 20vh;
    background: radial-gradient(circle at 20% 30%, #0072ce55, transparent 60%),
        radial-gradient(circle at 80% 70%, #5c068c66, transparent 60%),
        radial-gradient(circle at 50% 90%, #ffb34755, transparent 70%),
        linear-gradient(135deg, #0046a7 0%, #5c068c 100%);
    background-size: 200% 200%;
    animation: heroFloat 16s ease-in-out infinite alternate;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    transition: background-position 4s ease;
    text-align: center;
    padding: 70px 40px;
    margin-top: 96px;
}

.hero-social {
    margin-top: 40px;
    background: radial-gradient(circle at 20% 30%, #f0628455, transparent 60%),
        radial-gradient(circle at 80% 70%, #8b6dff66, transparent 60%),
        radial-gradient(circle at 50% 90%, #ffc56f55, transparent 70%),
        linear-gradient(135deg, #4a46c8 0%, #303f9f 100%);
    background-size: 200% 200%;
    animation: heroFloat 16s ease-in-out infinite alternate;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    transition: background-position 4s ease;
    text-align: center;
    padding: 70px 40px;
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
}

.hero-content h1 {
    color: white;
    font-size: 2.1rem;
    line-height: 1.15;
    letter-spacing: -0.5px;
    margin-bottom: 1.2rem;
    font-weight: 700;
}

.hero-content p {
    color: white;
    font-size: 1.05rem;
    line-height: 1.65;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1rem;
}

.hero-text {
    color: white;
    font-size: 1.05rem;
    line-height: 1.6;
}

.hero-content p a,
.hero-text a {
    color: #e3e3e3;
    font-style: normal;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: opacity 0.2s ease;
}

.hero-content p a:hover,
.hero-text a:hover {
    opacity: 0.65;
}

.button-container {
    margin-top: 0px;
    display: flex;
    flex-direction: row;
    gap: 16px;
    justify-content: center;
    align-items: center;
}

.index_button {
    width: 270px;
    background: white;
    padding: 15px 22px;
    border-radius: 14px;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease;
    cursor: pointer;
}

.index_button:hover:not(.disabled) {
    transform: translateY(-4px);
    background: #f5f5f5;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.35);
    border-color: transparent;
}

/* Landing only */
.index_button.disabled {
    cursor: default; /* Change cursor */
    pointer-events: none; /* Make non-clickable */
    transform: none;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

.index_button h2 {
    margin: 0;
    font-size: 1.15rem;
    color: black !important;
    font-weight: 700;
}

/* ------------------------------------------------ */
/* FEATURES */
/* ------------------------------------------------ */

.features {
    padding: 88px 24px 56px;
    text-align: center;
}

.section-title {
    font-size: clamp(1.7rem, 2.4vw, 2.1rem);
    margin-bottom: 32px;
    font-weight: 700;
    color: var(--text-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 22px;
    max-width: 1240px;
    margin: 0 auto;
}

.feature-card {
    position: relative;
    overflow: hidden;
    background: var(--wrapper-bg);
    padding: 30px 26px 24px;
    border-radius: 20px;
    box-shadow: var(--login-shadow);
    border: 1px solid rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(10px);
    text-align: left;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    border-radius: 20px 20px 0 0;
    background: linear-gradient(90deg, #0f5bb5, #3b7bd9, #7b8df0);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.feature-card h3 {
    font-size: 1.14rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-color);
    line-height: 1.4;
}

.feature-card p {
    font-size: 0.98rem;
    line-height: 1.6;
    color: var(--dropdown-label-color);
}

.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.15);
}

.feature-card:hover::before,
.feature-card:focus-within::before {
    opacity: 1;
}

.light-theme .feature-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 255, 0.9));
}

.dark-theme .feature-card {
    background: linear-gradient(180deg, rgba(18, 22, 35, 0.92), rgba(18, 22, 35, 0.82));
    border-color: rgba(255, 255, 255, 0.08);
}

.dark-theme .feature-card:hover {
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.28);
}

/* ------------------------------------------------ */
/* CAROUSEL */
/* ------------------------------------------------ */

.carousel-section {
    max-width: 1320px;
    margin: 0 auto;
    padding: 56px 24px 56px;
}

.carousel {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    min-height: 420px;
    min-width: 800px;
    overflow: hidden;
    border-radius: 26px;
    background: linear-gradient(135deg, rgba(20, 22, 32, 0.9), rgba(20, 22, 32, 0.6));
    border: 1px solid rgba(255, 255, 255, 0.363);
    box-shadow:
        0 20px 60px rgba(10, 12, 24, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.carousel::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, rgba(9, 12, 24, 0.45), transparent 55%),
        linear-gradient(0deg, rgba(9, 12, 24, 0.55), transparent 40%);
    z-index: 1;
    pointer-events: none;
}

.slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(40px) scale(1.02);
    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.05) contrast(1.02);
    transform: scale(1.01);
}

.slide.active {
    opacity: 1;
    transform: translateX(0) scale(1);
    z-index: 2;
}

.slide.prev {
    opacity: 0;
    transform: translateX(-40px) scale(1.02);
}

.slide.next {
    opacity: 0;
    transform: translateX(40px) scale(1.02);
}

.carousel-prev,
.carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #fff;
    font-size: 1.35rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.25s ease;
    z-index: 3;
}

.carousel-prev:hover,
.carousel-next:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-50%) scale(1.12);
}

.carousel-prev:focus-visible,
.carousel-next:focus-visible {
    outline: 2px solid #d7e8ff;
    outline-offset: 2px;
}

.carousel-prev {
    left: 16px;
}
.carousel-next {
    right: 16px;
}

.carousel-indicators {
    position: absolute;
    left: 50%;
    bottom: 14px;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    justify-content: center;
    padding: 8px 16px;
    background: rgba(12, 14, 26, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    z-index: 3;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition:
        background 0.25s ease,
        transform 0.25s ease,
        width 0.25s ease;
}

.carousel-dot.active {
    background: #fff;
    width: 20px;
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .carousel {
        aspect-ratio: 16 / 10;
        min-height: 320px;
    }

    .carousel-prev,
    .carousel-next {
        width: 40px;
        height: 40px;
    }
}

/* ------------------------------------------------ */
/* CONTACT SECTION */
/* ------------------------------------------------ */

.contact-section {
    text-align: center;
<<<<<<< Updated upstream
    padding: 56px 24px 82px;
=======
    padding: 10px 20px 80px 20px;
>>>>>>> Stashed changes
}

.contact-container {
    margin: 0 auto;
    max-width: 1240px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 22px;
    align-items: stretch;
}

.contact-map {
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.15);
    background: #f8f8f8;
    min-height: 380px;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.contact-info {
    position: relative;
    overflow: hidden;
    background: var(--wrapper-bg);
    padding: 34px 30px 24px;
    border-radius: 20px;
    box-shadow: var(--login-shadow);
    border: 1px solid rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-info::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    border-radius: 20px 20px 0 0;
    background: linear-gradient(90deg, #0f5bb5, #3b7bd9, #7b8df0);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.contact-info:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.15);
}

.contact-info:hover::before,
.contact-info:focus-within::before {
    opacity: 1;
}

.contact-info h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-color);
}

.contact-info p {
    font-size: 1rem;
    margin-bottom: 16px;
    line-height: 1.6;
    color: var(--dropdown-label-color);
}

.contact-info a {
    color: var(--link-color);
    text-decoration: none;
    font-weight: 700;
    transition: color 0.2s ease;
}

.contact-info a:hover {
    color: var(--card-border);
}

.contact-info span {
    display: inline-flex;
    align-items: center;
    font-size: 0.96rem;
    margin-right: 8px;
    color: var(--dropdown-label-color);
}

.contact-info b[data-i18n="landing.contact.email_label"]::before {
    content: "✉️ ";
    font-size: 1.15rem;
}

.contact-info b[data-i18n="landing.contact.phone_label"]::before {
    content: "📞 ";
    font-size: 1.15rem;
}

@media (max-width: 900px) {
    .contact-container {
        grid-template-columns: 1fr;
        max-width: 760px;
    }

    .contact-info {
        padding: 30px 24px 22px;
    }
}

/* ------------------------------------------------ */
/* CONTACT FORM */
/* ------------------------------------------------ */

.contact-form {
    position: relative;
    overflow: hidden;
    margin: 28px auto 0;
    max-width: 1240px;
    background: var(--wrapper-bg);
    padding: 34px 30px 24px;
    border-radius: 20px;
    box-shadow: var(--login-shadow);
    border: 1px solid rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(10px);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-align: left;
}

.contact-form::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    border-radius: 20px 20px 0 0;
    background: linear-gradient(90deg, #0f5bb5, #3b7bd9, #7b8df0);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.contact-form:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.15);
}

.contact-form:hover::before,
.contact-form:focus-within::before {
    opacity: 1;
}

.contact-form.full-row {
    grid-column: 1 / -1;
}

.contact-form form {
    display: grid;
    grid-template-columns: 1fr 1fr;
<<<<<<< Updated upstream
    gap: 16px 18px;
=======
    gap: 16px 22px;
>>>>>>> Stashed changes
}

.contact-form h3 {
    font-size: 1.42rem;
    font-weight: 700;
    margin-bottom: 18px;
    margin-left: 0;
}

.cf-row {
    display: flex;
    flex-direction: column;
}

.cf-row label {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 6px;
    position: relative;
    margin-left: 0;
}

.cf-row input,
.cf-row textarea {
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.9);
    color: var(--input-text-color);
    font-size: 1rem;
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

.cf-row input:focus-visible,
.cf-row textarea:focus-visible {
    outline: none;
    background: var(--input-focus-bg);
    box-shadow: var(--input-focus-shadow);
}

.cf-row textarea {
    grid-column: 1 / -1;
    min-height: 155px;
    resize: none;
}

.cf-row.full-width {
    grid-column: 1 / -1;
}

.cf-row.full-width textarea {
    width: 100%;
}

.contact-submit-btn {
    grid-column: 1 / -1;
    margin-top: 8px;
    padding: 14px 24px;
    border: none;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 700;
    background: linear-gradient(180deg, #0b66c3, #0a5ab0);
    color: #ffffff;
    box-shadow: 0 10px 18px rgba(10, 45, 90, 0.2);
    cursor: pointer;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        filter 0.25s ease;
}

.contact-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.15);
    filter: none;
}

.contact-submit-btn:focus-visible {
    outline: 2px solid #9fc8ff;
    outline-offset: 2px;
}

.cf-status {
    grid-column: 1 / -1;
    margin-top: 0;
    font-size: 0.95rem;
    min-height: 0;
}

.cf-status:not(:empty) {
    margin-top: 12px;
    min-height: 1.4em;
}

@media (max-width: 900px) {
    .contact-form form {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 30px 24px;
    }
}

.dark-theme .contact-map {
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

.light-theme .contact-info,
.light-theme .contact-form {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 255, 0.9));
}

.light-theme .contact-map {
    background: #ffffff;
}

.dark-theme .contact-info,
.dark-theme .contact-form {
    background: linear-gradient(180deg, rgba(18, 22, 35, 0.92), rgba(18, 22, 35, 0.82));
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.28);
}

.dark-theme .contact-info:hover,
.dark-theme .contact-form:hover {
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.32);
}

.dark-theme .contact-info p,
.dark-theme .contact-info span {
    color: var(--dropdown-label-color);
}

.dark-theme .cf-row input,
.dark-theme .cf-row textarea {
    background: rgba(13, 18, 31, 0.88);
    border-color: rgba(255, 255, 255, 0.12);
    color: #f2f6ff;
}

/* ------------------------------------------------ */
/* RESPONSIVE: LANDING */
/* ------------------------------------------------ */

@media (max-width: 1100px) {
    .landing-header {
        padding: 0 24px;
    }

    .header-auth {
        min-width: 0;
        gap: 8px;
    }

    .header-auth-link,
    .header-auth-button {
        padding: 6px 8px;
        font-size: 0.9rem;
    }

    .right-column {
        gap: 8px;
    }
}

@media (max-width: 900px) {
    .landing-header {
        grid-template-columns: auto 1fr auto;
        height: 72px;
        padding: 0 18px;
    }

    #logo {
        height: 64px;
    }

    .menu-toggle {
        width: auto !important;
        padding: 6px 8px;
        font-size: 0.95rem;
    }

    .header-auth {
        display: none;
    }

    .theme-toggle-track {
        width: 64px;
        height: 32px;
    }

    .theme-toggle-track .thumb {
        width: 22px;
        height: 22px;
        top: 4px;
        left: 5px;
    }

    .theme-toggle input:checked + .theme-toggle-track .thumb {
        transform: translateX(28px);
    }

    .hero {
        padding: 60px 20px;
        margin-top: 78px;
    }

    .hero-social {
        padding: 60px 20px;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-content p,
    .hero-text {
        font-size: 1.02rem;
    }

    .button-container {
        flex-direction: column;
        gap: 16px;
    }

    .index_button {
        width: min(100%, 360px);
    }

    .features {
        padding: 70px 16px 10px;
    }

    .section-title {
        font-size: 1.6rem;
        margin-bottom: 30px;
    }

    .features-grid {
        gap: 22px;
    }

    .carousel-section {
        margin: 50px auto;
        padding: 0 16px 20px;
    }

    .carousel {
        min-width: 0;
        min-height: 280px;
        border-radius: 18px;
    }

    .carousel-prev,
    .carousel-next {
        width: 36px;
        height: 36px;
    }

    .contact-section {
        padding: 10px 16px 70px;
    }

    .contact-container {
        gap: 26px;
    }

    .contact-map {
        min-height: 260px;
    }

    .contact-info {
        padding: 26px 22px;
    }

    .contact-info p {
        font-size: 1rem;
    }

    .contact-form {
        padding: 26px 22px;
    }

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

@media (max-width: 600px) {
    .landing-header {
        padding: 0 14px;
    }

    #logo {
        height: 54px;
    }

    .right-column {
        gap: 6px;
    }

    .lang-selector {
        display: flex;
        height: 30px;
    }

    .custom-select {
        width: auto;
    }

    .custom-select .selected {
        padding: 6px 8px;
        gap: 6px;
    }

    .custom-select .selected span {
        display: none;
    }

    .menu-toggle {
        font-size: 0.9rem;
    }

    .hero {
        padding: 50px 16px;
    }

    .hero-content h1 {
        font-size: 1.55rem;
    }

    .hero-content p,
    .hero-text {
        font-size: 0.98rem;
    }

    .index_button {
        padding: 12px 16px;
        border-radius: 12px;
    }

    .index_button h2 {
        font-size: 1rem;
    }

    .carousel {
        min-height: 220px;
    }

    .carousel-prev,
    .carousel-next {
        width: 32px;
        height: 32px;
        font-size: 1.1rem;
    }

    .carousel-indicators {
        bottom: 10px;
    }

    .side-menu {
        width: 86vw;
        max-width: 360px;
    }

    .contact-form h3 {
        font-size: 1.25rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .feature-card {
        padding: 26px 20px;
    }
}

/* ------------------------------------------------ */
/* ANIMATIONS */
/* ------------------------------------------------ */

@keyframes fadeBody {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(12px);
    animation: fadeInUp 0.55s ease-out forwards;
}

.delay-1 {
    animation-delay: 0.15s;
}
.delay-2 {
    animation-delay: 0.3s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-up {
    opacity: 0;
    animation: slideUp 0.7s forwards ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.pop {
    animation: popIn 0.35s ease forwards;
}

@keyframes popIn {
    from {
        transform: scale(0.92);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}
