/* --- Global Settings & Variables (Stage 0) --- */
:root {
    /* Palette */
    --color-bg: #F8FAFC;         /* Light Slate background */
    --color-text: #334155;       /* Slate 700 */
    --color-heading: #0F172A;    /* Slate 900 */
    --color-primary: #10B981;    /* Emerald 500 (Growth/Money) */
    --color-primary-dark: #059669; 
    --color-accent: #4F46E5;     /* Indigo 600 (Tech/Consulting) */
    --color-white: #FFFFFF;
    --color-footer-bg: #1E293B;  /* Slate 800 */
    
    /* Spacing & Layout */
    --container-width: 1240px;
    --header-height: 80px;
    --border-radius: 8px;
    --transition: 0.3s ease;

    /* Typography */
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Montserrat', sans-serif;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    font-size: 16px;
    padding-top: var(--header-height); /* Offset for fixed header */
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

/* --- Header (Stage 1) --- */
.header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    height: var(--header-height);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
}

.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

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

.header__logo-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 20px;
    color: var(--color-heading);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.header__nav {
    display: flex;
    align-items: center;
    gap: 40px;
}

.header__list {
    display: flex;
    gap: 32px;
}

.header__link {
    font-weight: 500;
    color: var(--color-text);
    font-size: 15px;
    position: relative;
}

.header__link:hover {
    color: var(--color-accent);
}

.header__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: var(--transition);
}

.header__link:hover::after {
    width: 100%;
}

.header__cta {
    background-color: var(--color-heading);
    color: var(--color-white);
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 14px;
    border: 2px solid var(--color-heading);
}

.header__cta:hover {
    background-color: transparent;
    color: var(--color-heading);
}

.header__burger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-heading);
}

/* --- Mobile Header --- */
@media (max-width: 992px) {
    .header__burger {
        display: block;
    }

    .header__nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: var(--color-white);
        flex-direction: column;
        justify-content: center;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        border-top: 1px solid rgba(0,0,0,0.05);
    }

    .header__nav.active {
        transform: translateX(0);
    }

    .header__list {
        flex-direction: column;
        align-items: center;
        gap: 24px;
        margin-bottom: 32px;
    }

    .header__link {
        font-size: 18px;
    }
}

/* --- Footer (Stage 2) --- */
.footer {
    background-color: var(--color-footer-bg);
    color: #94A3B8; /* Slate 400 */
    padding: 80px 0 30px;
    margin-top: auto;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 60px;
}

.header__logo-text--light {
    color: var(--color-white);
}

.footer__desc {
    margin-top: 20px;
    font-size: 14px;
    max-width: 300px;
    line-height: 1.7;
}

.footer__title {
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 24px;
}

.footer__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__link {
    font-size: 14px;
}

.footer__link:hover {
    color: var(--color-primary);
    padding-left: 5px;
}

.footer__contacts {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer__contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
}

.footer__icon {
    width: 20px;
    height: 20px;
    color: var(--color-primary);
    flex-shrink: 0;
}

.footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    text-align: center;
    font-size: 13px;
}

@media (max-width: 992px) {
    .footer__grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .footer__grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 100vh; /* Full screen height */
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: var(--header-height);
}

.hero__canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: linear-gradient(135deg, #F8FAFC 0%, #E2E8F0 100%);
}

.hero__container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero__content {
    max-width: 700px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
    padding: 40px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    animation: fadeUp 1s ease-out;
}

/* Animations */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--color-primary-dark);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero__badge-dot {
    width: 8px;
    height: 8px;
    background-color: var(--color-primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero__title {
    font-family: var(--font-heading);
    font-size: 48px;
    line-height: 1.1;
    color: var(--color-heading);
    margin-bottom: 24px;
    font-weight: 800;
}

.text-gradient {
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__subtitle {
    font-size: 18px;
    color: var(--color-text);
    margin-bottom: 32px;
    line-height: 1.6;
}

.hero__subtitle strong {
    color: var(--color-heading);
    font-weight: 600;
}

/* Buttons */
.hero__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 32px;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn--primary {
    background-color: var(--color-primary);
    color: var(--color-white);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn--primary:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(16, 185, 129, 0.4);
}

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

.btn--outline:hover {
    border-color: var(--color-heading);
    color: var(--color-heading);
    background-color: rgba(255, 255, 255, 0.5);
}

/* Stats */
.hero__stats {
    display: flex;
    align-items: center;
    gap: 24px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 24px;
}

.hero__stat-item {
    display: flex;
    flex-direction: column;
}

.hero__stat-num {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: var(--color-heading);
}

.hero__stat-desc {
    font-size: 13px;
    color: #64748B;
}

.hero__stat-divider {
    width: 1px;
    height: 40px;
    background-color: #CBD5E1;
}

/* Responsive */
@media (max-width: 768px) {
    .hero__title {
        font-size: 32px;
    }
    
    .hero__content {
        padding: 24px;
        backdrop-filter: blur(4px); /* Performance opt for mobile */
    }

    .hero__actions {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
    }
}

/* --- Common Section Styles --- */
.section {
    padding: 100px 0;
}

.section-header {
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: center;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 36px;
    color: var(--color-heading);
    margin-bottom: 20px;
    font-weight: 700;
}

.section-subtitle {
    font-size: 18px;
    color: #64748B;
    line-height: 1.6;
}

.text-highlight {
    color: var(--color-primary);
    position: relative;
    display: inline-block;
}

.text-highlight::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: rgba(16, 185, 129, 0.2);
    z-index: -1;
    border-radius: 2px;
}

.text-dark {
    color: var(--color-heading);
    font-weight: 600;
}

/* --- Methodology Grid --- */
.methodology {
    background-color: var(--color-white);
}

.methodology__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 50px;
}

.card {
    background-color: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    padding: 32px 24px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Hover Effect: Lift & Shadow */
.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.1);
    border-color: var(--color-primary);
    background-color: #FFFFFF;
}

.card__icon-box {
    width: 56px;
    height: 56px;
    background-color: var(--color-white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    color: var(--color-primary);
    transition: var(--transition);
}

.card__icon-box svg {
    width: 28px;
    height: 28px;
    stroke-width: 2px;
}

.card:hover .card__icon-box {
    background-color: var(--color-primary);
    color: var(--color-white);
    transform: rotate(-10deg);
}

.card__title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--color-heading);
    margin-bottom: 12px;
}

.card__text {
    font-size: 15px;
    color: #64748B;
    line-height: 1.5;
}

/* Step Number Background Decoration */
.card__step {
    position: absolute;
    top: -10px;
    right: -10px;
    font-family: var(--font-heading);
    font-size: 80px;
    font-weight: 800;
    color: rgba(16, 185, 129, 0.05);
    z-index: -1;
    transition: var(--transition);
}

.card:hover .card__step {
    color: rgba(16, 185, 129, 0.1);
    transform: scale(1.1);
}

/* --- Methodology Footer --- */
.methodology__footer {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.methodology__note {
    font-size: 13px;
    color: #94A3B8;
}

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

@media (max-width: 600px) {
    .methodology__grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 28px;
    }
}

/* --- Blog Section --- */
.blog {
    background-color: #F1F5F9; /* Трохи темніший фон для контрасту */
}

.blog__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 48px;
}

.blog-card {
    background-color: var(--color-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.blog-card__image-wrapper {
    height: 220px;
    position: relative;
    overflow: hidden;
}

.blog-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.blog-card:hover .blog-card__img {
    transform: scale(1.05);
}

.blog-card__tag {
    position: absolute;
    top: 16px;
    left: 16px;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    color: var(--color-primary-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-card__tag--accent {
    color: var(--color-accent);
}

.blog-card__content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-card__meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #94A3B8;
    margin-bottom: 12px;
}

.blog-card__meta i {
    width: 14px;
    height: 14px;
}

.blog-card__divider {
    color: #CBD5E1;
}

.blog-card__title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--color-heading);
    margin-bottom: 12px;
    line-height: 1.4;
    transition: color 0.2s;
}

.blog-card:hover .blog-card__title {
    color: var(--color-primary);
}

.blog-card__excerpt {
    font-size: 15px;
    color: #64748B;
    line-height: 1.6;
    margin-bottom: 24px;
    flex-grow: 1; /* Pushes link to bottom */
}

.blog-card__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    font-size: 14px;
    color: var(--color-heading);
    transition: var(--transition);
}

.blog-card__link i {
    width: 16px;
    height: 16px;
    transition: transform 0.2s;
}

.blog-card__link:hover {
    color: var(--color-primary);
}

.blog-card__link:hover i {
    transform: translate(2px, -2px);
}

.blog__actions {
    text-align: center;
}

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

@media (max-width: 600px) {
    .blog__grid {
        grid-template-columns: 1fr;
    }
    
    .blog-card__image-wrapper {
        height: 200px;
    }
}

/* --- Mentors Section --- */
.mentors {
    background-color: var(--color-white);
}

.mentors__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.mentor-card {
    text-align: center;
}

.mentor-card__img-box {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto 24px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #F1F5F9;
    transition: var(--transition);
}

.mentor-card:hover .mentor-card__img-box {
    border-color: var(--color-primary);
    transform: scale(1.05);
}

.mentor-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Social icons appearing on hover */
.mentor-card__socials {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    opacity: 0;
    transition: var(--transition);
}

.mentor-card__img-box:hover .mentor-card__socials {
    opacity: 1;
}

.mentor-card__socials a {
    color: var(--color-white);
    transform: translateY(20px);
    transition: var(--transition);
}

.mentor-card__socials a:hover {
    color: var(--color-primary);
}

.mentor-card__img-box:hover .mentor-card__socials a {
    transform: translateY(0);
}

.mentor-card__name {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
}

.mentor-card__role {
    color: var(--color-primary);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.mentor-card__desc {
    font-size: 15px;
    color: #64748B;
    max-width: 300px;
    margin: 0 auto;
}

/* --- Reviews Section --- */
.reviews {
    background-color: var(--color-heading); /* Dark Background for Contrast */
    color: var(--color-white);
    position: relative;
    overflow: hidden;
}

/* Background Elements decoration */
.reviews::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(16,185,129,0.2) 0%, rgba(0,0,0,0) 70%);
}

.reviews .section-title {
    color: var(--color-white);
}

.reviews .section-subtitle {
    color: #94A3B8;
}

.reviews__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.review-card {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 32px;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.review-card--highlight {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--color-primary);
}

.review-card:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.08);
}

.review-card__header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.review-card__avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--color-primary);
}

.review-card__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-card__author {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 16px;
    color: var(--color-white);
}

.review-card__stars {
    color: #FBBF24; /* Gold */
    font-size: 14px;
    letter-spacing: 2px;
}

.review-card__text {
    font-size: 15px;
    color: #CBD5E1;
    line-height: 1.6;
    font-style: italic;
}

.review-card__text strong {
    color: var(--color-primary);
    font-weight: 500;
}

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

@media (max-width: 600px) {
    .mentors__grid,
    .reviews__grid {
        grid-template-columns: 1fr;
    }
    
    .mentor-card__img-box {
        width: 160px;
        height: 160px;
    }
}

/* --- Contact Section --- */
.contact {
    background-color: #F8FAFC;
    padding-bottom: 120px;
}

.contact__wrapper {
    background-color: var(--color-white);
    border-radius: 24px;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    border: 1px solid #E2E8F0;
}

.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

/* Left Column */
.contact__info {
    padding: 60px;
    background-color: var(--color-heading);
    color: var(--color-white);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact__title {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.2;
}

.contact__desc {
    font-size: 16px;
    color: #CBD5E1;
    margin-bottom: 40px;
    line-height: 1.6;
}

.contact__desc strong {
    color: var(--color-primary);
}

.contact__list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.contact__item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact__icon-box {
    width: 32px;
    height: 32px;
    background-color: rgba(16, 185, 129, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    flex-shrink: 0;
}

.contact__icon-box i {
    width: 18px;
    height: 18px;
}

.contact__note {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #94A3B8;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 12px 16px;
    border-radius: 8px;
}

.contact__note i {
    width: 16px;
    height: 16px;
}

/* Right Column (Form) */
.contact__form-wrapper {
    padding: 60px;
    position: relative;
}

.form__group {
    margin-bottom: 20px;
}

.form__label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-heading);
    margin-bottom: 8px;
}

.form__input-wrapper {
    position: relative;
}

.form__icon {
    position: absolute;
    top: 50%;
    left: 16px;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: #94A3B8;
    transition: color 0.3s;
}

.form__input {
    width: 100%;
    padding: 14px 16px 14px 48px;
    border: 2px solid #E2E8F0;
    border-radius: 8px;
    font-family: var(--font-main);
    font-size: 15px;
    color: var(--color-text);
    transition: all 0.3s;
    outline: none;
}

.form__input:focus {
    border-color: var(--color-primary);
    background-color: #F0FDF4; /* Very light green */
}

.form__input:focus + .form__icon,
.form__input:focus ~ .form__icon {
    color: var(--color-primary);
}

/* Captcha */
.captcha-box {
    display: flex;
    align-items: center;
    gap: 16px;
}

.captcha-question {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--color-heading);
    user-select: none;
    background-color: #F1F5F9;
    padding: 10px 20px;
    border-radius: 8px;
}

.captcha-input {
    width: 80px !important;
    padding-left: 16px !important;
    text-align: center;
}

.form__error {
    display: none;
    font-size: 12px;
    color: #EF4444; /* Red */
    margin-top: 6px;
}

.form__error.active {
    display: block;
}

/* Checkbox */
.form__checkbox-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 24px;
}

.form__checkbox {
    margin-top: 4px;
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: var(--color-primary);
}

.form__checkbox-label {
    font-size: 13px;
    color: #64748B;
    line-height: 1.4;
    cursor: pointer;
}

.form__checkbox-label a {
    color: var(--color-primary-dark);
    text-decoration: underline;
}

/* Button & Loader */
.form__btn {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.btn-loader {
    display: none;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -10px;
    margin-left: -10px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.form__btn.loading .btn-text {
    visibility: hidden;
}

.form__btn.loading .btn-loader {
    display: block;
}

/* Success Message */
.form-success {
    display: none;
    text-align: center;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    animation: fadeIn 0.5s;
}

.form-success.active {
    display: flex;
}

.form-success__icon {
    width: 80px;
    height: 80px;
    background-color: #DCFCE7;
    color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.form-success__icon i {
    width: 40px;
    height: 40px;
}

.form-success__title {
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--color-heading);
    margin-bottom: 12px;
}

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

/* Responsive */
@media (max-width: 992px) {
    .contact__grid {
        grid-template-columns: 1fr;
    }
    
    .contact__info {
        padding: 40px;
    }

    .contact__form-wrapper {
        padding: 40px;
    }
}

@media (max-width: 480px) {
    .contact__info, .contact__form-wrapper {
        padding: 24px;
    }

    .captcha-box {
        flex-wrap: wrap;
    }
}

/* --- Cookie Popup --- */
.cookie-popup {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(100px); /* Hidden initially */
    width: calc(100% - 40px);
    max-width: 600px;
    background-color: var(--color-heading);
    color: var(--color-white);
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    z-index: 9999;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-popup.active {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.cookie-popup__text {
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

.cookie-popup__text a {
    color: var(--color-primary);
    text-decoration: underline;
}

.cookie-popup__btn {
    padding: 10px 20px;
    font-size: 14px;
    white-space: nowrap;
}

@media (max-width: 600px) {
    .cookie-popup {
        flex-direction: column;
        align-items: flex-start;
    }
    .cookie-popup__btn {
        width: 100%;
    }
}

/* --- POLICY PAGES STYLES (privacy.html, terms.html etc.) --- */
.pages {
    padding: 60px 0 100px;
    background-color: var(--color-white);
    min-height: 80vh;
}

.pages h1 {
    font-family: var(--font-heading);
    font-size: 36px;
    color: var(--color-heading);
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid #E2E8F0;
}

.pages h2 {
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--color-heading);
    margin-top: 40px;
    margin-bottom: 16px;
}

.pages p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
    margin-bottom: 16px;
}

.pages ul {
    margin-bottom: 24px;
    padding-left: 20px;
    list-style-type: disc;
}

.pages li {
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
    margin-bottom: 8px;
    padding-left: 8px;
}

.pages strong {
    color: var(--color-heading);
    font-weight: 600;
}

.pages a {
    color: var(--color-accent);
    text-decoration: underline;
}

.pages a:hover {
    color: var(--color-primary);
    text-decoration: none;
}