/* --- Variáveis Globais e Paleta de Cores --- */
:root {
    /* Cores Base - Modo Claro */
    --color-bg: #FFFFFF;
    --color-bg-secondary: #F8FAFF;
    --color-bg-subtle: #F0F4FF;
    --color-bg-dark-section: #0A1E3F;

    /* Cores de Texto */
    --color-text: #1E293B;
    --color-text-secondary: #475569;
    --color-heading: #0F172A;
    --color-text-on-dark: #F8FAFF;

    /* Cores de Destaque */
    --color-primary: #2563EB;
    --color-primary-dark: #1E40AF;
    --color-accent: #8B5CF6;
    --color-accent-hover: #7C3AED;
    --color-tertiary: #38BDF8;

    /* Cores de Borda */
    --color-border: #E2E8F0;
    --color-border-focus: var(--color-primary);

    /* Outras Cores */
    --color-text-on-primary: #FFFFFF;
    --color-success: #10B981;
    --color-error: #EF4444;
    --shadow-focus-ring: rgba(37, 99, 235, 0.25);

    /* === Sombras === */
    --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.05);
    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.08), 0 1px 2px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.1), 0 2px 4px -1px rgba(15, 23, 42, 0.05);
    --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.1), 0 4px 6px -2px rgba(15, 23, 42, 0.05);

    /* === Transições === */
    --transition-duration: 0.25s;
    --transition-timing: cubic-bezier(0.4, 0, 0.2, 1);

    /* === Tipografia === */
    --font-primary: 'Inter', sans-serif;
    --font-secondary: 'JetBrains Mono', monospace;
    --line-height-base: 1.7;
    --letter-spacing-heading: -0.02em;

    /* === Bordas Arredondadas === */
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 12px;
}

/* --- Estilos Base e Reset --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: var(--line-height-base);
    overflow-x: hidden; /* Prevent horizontal scroll */
}

body.no-scroll {
    overflow: hidden;
}

/* --- Classes Utilitárias --- */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0; /* Default padding for other sections */
    overflow: hidden; /* Contain floats and margins */
    position: relative;
}

.section--bg-subtle {
    background-color: var(--color-bg-subtle);
}

.section--dark {
    background-color: var(--color-bg-dark-section);
}

/* Estilo dos Títulos de Seção */
.section__title {
    font-size: 2.5rem;
    color: var(--color-heading);
    text-align: center;
    margin-bottom: 16px;
    font-weight: 700;
    letter-spacing: var(--letter-spacing-heading);
    line-height: 1.2;
    position: relative;
    padding-bottom: 16px;
}

.section__title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    border-radius: 3px;
}

.section__title--light {
    color: var(--color-text-on-dark);
}

.section__title--light::after {
    background: linear-gradient(90deg, var(--color-accent), var(--color-tertiary));
}

/* Estilo dos Subtítulos de Seção */
.section__subtitle {
    font-size: 1.25rem;
    color: var(--color-text-secondary);
    text-align: center;
    margin-bottom: 64px; /* Default margin */
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.section__subtitle--light {
    color: rgba(255, 255, 255, 0.9);
}

/* Estilos Gerais */
img { max-width: 100%; height: auto; display: block; }

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-duration) var(--transition-timing);
}

a:hover {
    color: var(--color-accent);
}

ul { list-style: none; }

/* --- Botões --- */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: 1px solid transparent;
    border-radius: var(--border-radius-md);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-duration) var(--transition-timing);
    text-align: center;
    line-height: 1.5;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px var(--shadow-focus-ring);
}

.btn:active {
    transform: scale(0.97);
}

/* Botão Primário */
.btn--primary {
    background-color: var(--color-primary);
    color: var(--color-text-on-primary);
    border-color: var(--color-primary);
    box-shadow: 0 3px 5px rgba(37, 99, 235, 0.2);
}

.btn--primary:hover {
    background-color: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    color: var(--color-text-on-primary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
}

.btn--primary::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 45%, rgba(255, 255, 255, 0.1) 50%, transparent 55%);
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
    z-index: -1;
    transition: transform 0.8s cubic-bezier(0.3, 1, 0.3, 1);
}

.btn--primary:hover::before {
    transform: translateX(0%) translateY(0%) rotate(45deg);
}

/* Botão Secundário */
.btn--secondary {
    background-color: transparent;
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
    box-shadow: none;
}

.btn--secondary:hover {
    background-color: rgba(37, 99, 235, 0.05);
    color: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 0 10px -3px var(--color-primary);
}

.btn--large {
    padding: 14px 32px;
    font-size: 1.125rem;
}

.btn--full-width {
    display: block;
    width: 100%;
}

/* --- Header --- */
.header {
    background-color: transparent;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: background-color 0.4s var(--transition-timing),
                box-shadow 0.4s var(--transition-timing),
                backdrop-filter 0.4s var(--transition-timing);
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.97);
    backdrop-filter: saturate(180%) blur(12px);
    box-shadow: var(--shadow-sm);
}

.header__container {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Ensure space between logo, nav, actions */
    height: 80px;
    padding: 0 24px;
}

.header__logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-heading);
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
    flex-shrink: 0; /* Prevent logo shrinking */
}

.header__logo:hover {
    transform: translateY(-2px);
    color: var(--color-heading);
}

.header__logo i {
    margin-right: 8px;
    color: var(--color-accent);
    transition: transform 0.3s ease;
}

.header__logo:hover i {
    transform: rotate(-10deg);
    color: var(--color-accent-hover);
}

.header__logo span {
    font-weight: 500;
    color: var(--color-primary);
    transition: color 0.3s ease;
}

.header__logo:hover span {
    color: var(--color-primary-dark);
}

/* --- Header Navigation (Desktop) --- */
.header__nav {
    display: flex; /* Keep flex for alignment */
    justify-content: center; /* Center the nav list */
    flex-grow: 1; /* Allow nav to take available space */
}

.header__nav-list {
    display: flex;
    gap: 40px;
    align-items: center;
}

.header__nav-link {
    font-weight: 500;
    font-size: 1rem;
    color: var(--color-text);
    position: relative;
    padding: 8px 0;
    transition: color 0.3s ease, transform 0.3s ease;
}

.header__nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    border-radius: 1px;
    transition: width 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    opacity: 0;
}

.header__nav-link:hover::after,
.header__nav-link.active::after {
    width: 100%;
    opacity: 1;
}

.header__nav-link:hover,
.header__nav-link.active {
    color: var(--color-primary);
    transform: translateY(-2px);
}

.header__nav-link.active {
    font-weight: 600;
}

.header__actions {
    display: flex; /* Use flex for alignment */
    justify-content: flex-end; /* Align items to the end */
    align-items: center; /* Vertically center items */
    flex-shrink: 0; /* Prevent shrinking */
}

/* Style for the CTA buttons */
.header__cta-button {
    padding: 10px 20px;
    font-size: 0.95rem;
}

/* Hide mobile version by default */
.header__cta-button--mobile {
    display: none;
}
/* Hide desktop version on smaller screens */
.header__cta-button--desktop {
    display: inline-block; /* Show by default */
}


/* Mobile menu toggle */
.mobile-menu-toggle {
    background: none;
    border: none;
    color: var(--color-heading);
    font-size: 1.4rem;
    cursor: pointer;
    display: none; /* Hidden by default, shown via media query */
    z-index: 1001; /* Above mobile nav */
    padding: 8px;
    margin-left: 15px; /* Space from other actions */
    border-radius: var(--border-radius-md);
    transition: color 0.3s ease, background-color 0.3s ease, transform 0.3s ease;
}

.mobile-menu-toggle:hover {
    color: var(--color-primary);
    background-color: rgba(37, 99, 235, 0.1);
    transform: scale(1.1);
}

.mobile-menu-toggle .fa-times { display: none; }
.mobile-menu-toggle .fa-bars { display: block; } /* Show bars by default */

.mobile-menu-toggle.active .fa-bars { display: none; }
.mobile-menu-toggle.active .fa-times { display: block; }

/* --- Seção Hero --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding-top: 120px; /* Increased top padding for header */
    padding-bottom: 60px;
    background: linear-gradient(145deg, rgba(37, 99, 235, 0.05), rgba(139, 92, 246, 0.05)), var(--color-bg);
    color: var(--color-heading);
    overflow: hidden;
}

/* Animação de Fundo (Grid) */
.hero::before, .hero::after {
    content: '';
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    background-image:
        linear-gradient(rgba(37, 99, 235, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 99, 235, 0.1) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: 0.4;
    z-index: 0;
    animation: moveGridSubtle 120s linear infinite;
}

.hero::after {
    background-size: 30px 30px;
    opacity: 0.2;
    animation: moveGridSubtleReverse 90s linear infinite reverse;
    filter: blur(0.5px);
}

@keyframes moveGridSubtle {
    0% { background-position: 0 0; transform: rotate(0deg); }
    50% { background-position: 500px 250px; transform: rotate(1deg); }
    100% { background-position: 1000px 500px; transform: rotate(0deg); }
}

@keyframes moveGridSubtleReverse {
    0% { background-position: 0 0; transform: rotate(0deg); }
    50% { background-position: -400px -300px; transform: rotate(-1.5deg); }
    100% { background-position: -800px -600px; transform: rotate(0deg); }
}

.hero__content {
    position: relative;
    z-index: 2;
    padding: 0 15px;
}

.hero__title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.15;
    letter-spacing: var(--letter-spacing-heading);
    opacity: 0; /* For animation */
    transform: translateY(20px); /* For animation */
    transition: opacity 0.6s ease 0.2s, transform 0.6s ease 0.2s; /* Added delay */
}

.hero__title.hero-animate { /* Class added by JS */
    opacity: 1;
    transform: translateY(0);
}

.hero__title span {
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    display: inline-block;
    position: relative;
}

.hero__subtitle {
    font-size: 1.25rem;
    margin-bottom: 40px;
    color: var(--color-text-secondary);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    opacity: 0; /* For animation */
    transform: translateY(20px); /* For animation */
    transition: opacity 0.6s ease 0.4s, transform 0.6s ease 0.4s; /* Added delay */
}

.hero__subtitle.hero-animate { /* Class added by JS */
    opacity: 1;
    transform: translateY(0);
}

.hero .btn {
    opacity: 0; /* For animation */
    transform: translateY(20px); /* For animation */
    transition: opacity 0.6s ease 0.6s, transform 0.6s ease 0.6s,
                background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease; /* Added delay */
}

.hero .btn.hero-animate { /* Class added by JS */
    opacity: 1;
    transform: translateY(0);
}

.hero__features {
    margin-top: 60px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px 30px;
    opacity: 0; /* For animation */
    transform: translateY(20px); /* For animation */
    transition: opacity 0.6s ease 0.8s, transform 0.6s ease 0.8s; /* Added delay */
}

.hero__features.hero-animate { /* Class added by JS */
    opacity: 1;
    transform: translateY(0);
}

.hero__feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    padding: 10px 18px;
    border-radius: var(--border-radius-md);
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
    box-shadow: var(--shadow-sm);
}

.hero__feature-item:hover {
    color: var(--color-primary);
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow-md);
    background-color: rgba(255, 255, 255, 0.9);
}

.hero__feature-item i {
    color: var(--color-accent);
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.hero__feature-item:hover i {
    transform: rotate(-10deg);
    color: var(--color-primary);
}

.hero__scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    opacity: 0; /* For animation */
    transition: opacity 0.5s ease 1.2s; /* Added delay */
}

.hero__scroll-down.hero-animate { /* Class added by JS */
     opacity: 1;
}

.hero__scroll-down a {
    font-size: 1.5rem;
    color: var(--color-accent);
    animation: bounce 3s infinite;
    transition: color 0.3s ease, transform 0.3s ease;
}

.hero__scroll-down a:hover {
    color: var(--color-primary);
    transform: scale(1.2);
    animation-play-state: paused;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); opacity: 0.8; }
    40% { transform: translateY(-12px); opacity: 1; }
    60% { transform: translateY(-6px); opacity: 1; }
}

/* --- Seção Sobre --- */
.about {
    background-color: var(--color-bg-secondary);
}

.about__container {
    display: grid;
    /* Changed grid layout: more space for content */
    grid-template-columns: 1.3fr 1fr;
    gap: 60px; /* Reduced gap slightly */
    align-items: center;
}

.about__content {
    order: 1; /* Ensure content is first on desktop */
}

.about__content p {
    margin-bottom: 24px;
    color: var(--color-text-secondary);
    transition: color 0.3s ease;
}

.about__content p:first-of-type {
    color: var(--color-text);
    font-size: 1.125rem;
    font-weight: 500;
}

.about__values {
    margin-top: 48px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); /* Make columns more flexible */
    gap: 24px; /* Reduced gap */
}

.about__value-item {
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: var(--border-radius-lg);
    padding: 20px; /* Reduced padding slightly */
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid var(--color-border);
    text-align: center; /* Center content */
}

.about__value-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary);
}

.about__value-item i {
    font-size: 1.8rem; /* Slightly smaller icon */
    color: var(--color-primary);
    margin-bottom: 12px; /* Reduced margin */
    display: inline-block;
    transition: all 0.3s ease;
}

.about__value-item:hover i {
    color: var(--color-accent);
    transform: scale(1.1) rotate(-5deg);
}

.about__value-item h4 {
    font-size: 1.1rem; /* Slightly smaller heading */
    margin-bottom: 8px; /* Reduced margin */
    font-weight: 600;
    color: var(--color-heading);
    transition: color 0.3s ease;
}

.about__value-item p {
    font-size: 0.9rem; /* Slightly smaller text */
    margin-bottom: 0;
    color: var(--color-text-secondary);
    transition: color 0.3s ease;
    line-height: 1.5; /* Adjusted line height */
}

.about__image-wrapper {
    order: 2; /* Ensure image is second on desktop */
}

.about__image {
    position: relative;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.about__image:hover {
    transform: translateY(-5px);
}

.about__image img {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: all 0.3s ease;
}

.about__image::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 15px;
    width: 100%;
    height: 100%;
    border-radius: var(--border-radius-lg);
    background: linear-gradient(145deg, var(--color-primary), var(--color-accent));
    opacity: 0.1;
    z-index: -1;
    transition: all 0.3s ease;
}

.about__image:hover::before {
    transform: translate(-8px, -8px);
    opacity: 0.2;
}

.about__image:hover img {
    box-shadow: var(--shadow-lg);
    filter: contrast(1.05);
}

/* --- Seção Serviços --- */
.services {
    background-color: var(--color-bg-dark-section);
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.service-card {
    background-color: var(--color-bg);
    padding: 32px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%; /* Ensure cards in a row have same height */
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg), 0 10px 25px -5px rgba(56, 189, 248, 0.3);
    border-color: var(--color-accent);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    transition: height 0.3s ease;
}

.service-card:hover::before {
    height: 7px;
}

.service-card__icon {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 24px;
    display: inline-block;
    line-height: 1;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.service-card:hover .service-card__icon {
    transform: scale(1.1);
    color: var(--color-accent);
}

.service-card__title {
    font-size: 1.5rem;
    margin-bottom: 16px;
    font-weight: 600;
    color: var(--color-heading);
    transition: color 0.3s ease;
    position: relative;
    z-index: 1;
}

.service-card__description {
    font-size: 1rem;
    margin-bottom: 24px;
    color: var(--color-text-secondary);
    flex-grow: 1; /* Make description take available space */
    transition: color 0.3s ease;
    position: relative;
    z-index: 1;
}

.service-card__link {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto; /* Push link to bottom */
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    padding: 8px 0; /* Add padding for underline */
}

.service-card__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    transition: width 0.3s ease;
}

.service-card:hover .service-card__link {
    color: var(--color-accent);
    transform: translateX(5px); /* Added subtle movement */
}

.service-card:hover .service-card__link::after { /* Show underline on hover */
    width: 100%;
}

.service-card__link i { /* Base style for icon transition */
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.service-card:hover .service-card__link i { /* Move icon on hover */
    transform: translateX(6px);
}

/* --- Seção Blog --- */
.blog {
    background-color: var(--color-bg-subtle);
}

.blog__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 32px;
    margin-bottom: 64px; /* Space before CTA */
}

.blog-card {
    background-color: var(--color-bg);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    flex-direction: column;
    border: 1px solid var(--color-border);
    height: 100%; /* Ensure cards in a row have same height */
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary);
}

.blog-card.card-elevated { /* Optional: For featured post */
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg), 0 15px 30px -10px rgba(139, 92, 246, 0.3);
    border-color: var(--color-accent);
}

.blog-card__image {
    width: 100%;
    height: 220px; /* Fixed height for consistency */
    object-fit: cover;
    transition: transform 0.5s ease, filter 0.5s ease;
}

.blog-card:hover .blog-card__image {
    transform: scale(1.05);
    filter: contrast(1.1);
}

.blog-card__content {
    padding: 28px;
    flex-grow: 1; /* Allow content to fill space */
    display: flex;
    flex-direction: column;
}

.blog-card__meta {
    margin-bottom: 12px;
    font-size: 0.85rem;
    display: flex;
    gap: 15px;
    align-items: center;
    color: var(--color-text-secondary);
}

.blog-card__tag {
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    color: var(--color-text-on-primary);
    padding: 4px 12px;
    border-radius: var(--border-radius-sm);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.4;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-card__tag {
    transform: translateY(-2px) scale(1.05);
}

.blog-card__title {
    font-size: 1.25rem;
    margin-bottom: 12px;
    font-weight: 600;
    color: var(--color-heading);
    line-height: 1.4;
    transition: color 0.3s ease;
}

.blog-card:hover .blog-card__title {
    color: var(--color-primary);
}

.blog-card__excerpt {
    font-size: 0.95rem;
    margin-bottom: 20px;
    flex-grow: 1; /* Take available space */
    color: var(--color-text-secondary);
    line-height: 1.6;
}

.blog-card__link {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto; /* Push link to bottom */
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 0; /* Padding for underline */
}

.blog-card__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    transition: width 0.3s ease;
}

.blog-card:hover .blog-card__link {
    color: var(--color-accent);
    transform: translateX(5px);
}

.blog-card:hover .blog-card__link::after {
    width: 100%;
}

.blog-card__link i {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.blog-card:hover .blog-card__link i {
    transform: translateX(6px);
}

.blog__cta {
    text-align: center;
    /* Animation handled by .animate-on-scroll */
}

/* --- Seção Contato (MODIFIED) --- */
.contact.section { /* Be more specific to target only the contact section */
    padding: 70px 0; /* Reduced top/bottom padding significantly */
    background-color: var(--color-bg); /* Ensure background color is set */
}

/* Specific reduction for Contact section subtitle */
.contact .section__subtitle {
    margin-bottom: 40px; /* Reduced margin */
}

.contact__container {
    display: grid;
    /* CHANGE: Use a single column */
    grid-template-columns: 1fr;
    gap: 0; /* Remove gap as there's only one column */
    align-items: flex-start;
    /* ADD: Center the single column (form) */
    justify-content: center;
}

/* Wrapper do Formulário (MODIFIED) */
.contact__form-wrapper {
    background-color: var(--color-bg-secondary);
    padding: 35px 40px; /* Reduced padding */
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border);
    transition: all 0.4s ease;
    /* ADD: Limit width and center the form wrapper */
    max-width: 750px; /* Adjust as needed */
    width: 100%; /* Ensure it takes full width up to max-width */
    margin: 0 auto; /* Center horizontally */
}

.contact__form-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary);
}

.contact__form {
    width: 100%;
}

.form-group {
    margin-bottom: 18px; /* Reduced margin */
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--color-heading);
    transition: color 0.3s ease, transform 0.3s ease;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-md);
    font-size: 1rem;
    font-family: var(--font-primary);
    background-color: var(--color-bg);
    color: var(--color-text);
    transition: all 0.3s ease;
    line-height: 1.5;
    appearance: none; /* Remove default browser styling */
}

.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23475569' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M2 5l6 6 6-6'/%3E%3C/svg%3E"); /* Custom arrow */
    background-repeat: no-repeat;
    background-position: right 0.8rem center;
    background-size: 1em auto;
    padding-right: 2.5rem; /* Space for arrow */
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-border-focus);
    box-shadow: 0 0 0 3px var(--shadow-focus-ring);
    background-color: #fff; /* Ensure bg remains white on focus */
}

.form-group textarea {
    resize: vertical;
    min-height: 120px; /* Reduced min-height */
}

.form-group--checkbox {
    display: flex;
    align-items: flex-start; /* Align checkbox top with first line of text */
    gap: 12px;
}

.form-group--checkbox input[type="checkbox"] {
    appearance: none;
    width: 20px;
    height: 20px;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    position: relative;
    top: 3px; /* Align vertically better with text */
    flex-shrink: 0;
    transition: all 0.2s ease;
    background-color: var(--color-bg);
    display: inline-block; /* Ensure it doesn't collapse */
}

.form-group--checkbox input[type="checkbox"]:checked {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

.form-group--checkbox input[type="checkbox"]::before {
    content: '\f00c'; /* FontAwesome check */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.75rem;
    color: var(--color-text-on-primary);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.form-group--checkbox input[type="checkbox"]:checked::before {
    opacity: 1;
}

.form-group--checkbox input[type="checkbox"]:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px var(--shadow-focus-ring);
}

.form-group--checkbox label {
    margin-bottom: 0;
    font-weight: 400;
    font-size: 0.9rem;
    cursor: pointer;
    color: var(--color-text-secondary);
    line-height: 1.5;
}

.form-group--checkbox label a {
    text-decoration: underline;
    font-weight: 500;
    color: var(--color-primary); /* Make link stand out */
}
.form-group--checkbox label a:hover {
     color: var(--color-accent);
}

/* Error Styling (add 'error' class to form-group via JS) */
.form-group .error-message {
    color: var(--color-error);
    font-size: 0.85rem;
    display: none; /* Hidden by default */
    margin-top: 8px;
    /* Animation for appearance */
    opacity: 0;
    transform: translateY(-5px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.form-group.error .error-message {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.form-group.error input,
.form-group.error textarea,
.form-group.error select,
.form-group.error .form-group--checkbox input[type="checkbox"] {
    border-color: var(--color-error) !important; /* Ensure override */
}
.form-group.error input:focus,
.form-group.error textarea:focus,
.form-group.error select:focus {
     box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.3); /* Red focus ring */
}

/* Form Status Messages (update via JS) */
#form-status {
    margin-top: 20px;
    text-align: center;
    font-weight: 500;
    min-height: 1.5em; /* Prevent layout shifts */
    transition: opacity 0.5s ease, transform 0.5s ease;
    opacity: 0;
    transform: translateY(10px);
}

#form-status.visible { /* Add 'visible' class */
     opacity: 1;
     transform: translateY(0);
}

#form-status.success {
    color: var(--color-success);
}

#form-status.error {
    color: var(--color-error);
}

.form-disclaimer {
    margin-top: 20px;
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    text-align: center;
    line-height: 1.5;
}

/* Map (MODIFIED) */
.contact__map {
    margin-top: 50px; /* Reduced margin-top */
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    border: 1px solid var(--color-border);
    transition: transform 0.5s ease, border-color 0.5s ease, box-shadow 0.5s ease;
    box-shadow: var(--shadow-sm);
    height: 300px; /* Reduced height */
    max-width: 1000px; /* Limit map width */
    margin-left: auto; /* Center map */
    margin-right: auto; /* Center map */
}

.contact__map:hover {
    transform: translateY(-5px);
    border-color: var(--color-primary);
    box-shadow: var(--shadow-md);
}

.contact__map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(60%) contrast(1.1);
    transition: filter 0.5s ease;
}

.contact__map:hover iframe {
    filter: grayscale(0%) contrast(1);
}

/* --- Footer --- */
.footer {
    background-color: var(--color-bg-dark-section);
    color: var(--color-text-on-dark); /* Use variable */
    padding-top: 80px;
    font-size: 0.95rem;
}

.footer__container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 48px;
    margin-bottom: 64px;
}

.footer__logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text-on-dark); /* Use variable */
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.footer__logo:hover {
    transform: translateY(-2px);
    color: var(--color-text-on-dark);
}

.footer__logo i {
    margin-right: 8px;
    color: var(--color-accent);
    transition: transform 0.3s ease, color 0.3s ease;
}

.footer__logo:hover i {
    transform: rotate(-10deg);
    color: var(--color-tertiary);
}

.footer__logo span {
    font-weight: 500;
    color: var(--color-primary);
    transition: color 0.3s ease;
}

.footer__logo:hover span {
    color: var(--color-tertiary);
}

.footer__about p {
    margin-bottom: 16px; /* Increased spacing */
    color: rgba(248, 250, 255, 0.8); /* Lighter text on dark */
    transition: color 0.3s ease;
    line-height: 1.6;
}

.footer__about p:hover {
    color: var(--color-text-on-dark);
}

.footer h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-text-on-dark);
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 10px;
    letter-spacing: 0.02em;
}

.footer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-tertiary));
    border-radius: 1px;
    transition: width 0.3s ease;
}

/* Optional: Animate underline on section hover */
.footer__links:hover h4::after,
.footer__contact:hover h4::after {
     width: 60px;
}

.footer__links ul li {
    margin-bottom: 14px;
    transition: transform 0.3s ease;
}

.footer__links ul li:last-child {
     margin-bottom: 0;
}

.footer__links ul li:hover {
    transform: translateX(5px);
}

.footer__links a {
    color: rgba(248, 250, 255, 0.8);
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

/* Optional: Arrow before link on hover */
.footer__links a::before {
    content: '›';
    position: absolute;
    left: -15px;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    color: var(--color-tertiary); /* Match hover color */
}

.footer__links li:hover a::before {
    opacity: 1;
    transform: translateX(5px);
}

.footer__links li:hover a {
    color: var(--color-tertiary);
    /* padding-left: 5px; Combined with transform on li */
}

.footer__contact ul li {
    margin-bottom: 16px;
    display: flex;
    align-items: flex-start; /* Align icon top */
    gap: 12px;
    transition: transform 0.3s ease, color 0.3s ease;
    color: rgba(248, 250, 255, 0.8);
    line-height: 1.6;
}

 .footer__contact ul li:last-child {
     margin-bottom: 0;
 }

.footer__contact ul li:hover {
    transform: translateX(5px);
    color: var(--color-text-on-dark);
}

.footer__contact i {
    color: var(--color-tertiary);
    transition: all 0.3s ease;
    font-size: 1rem; /* Slightly smaller icon */
    margin-top: 4px; /* Align icon better with text */
    flex-shrink: 0;
    width: 18px; /* Ensure alignment */
    text-align: center;
}

.footer__contact ul li:hover i {
    transform: scale(1.2) rotate(-10deg);
    color: var(--color-accent);
}

.footer__contact a {
    color: inherit; /* Inherit color from li */
    transition: color 0.3s ease;
    word-break: break-word;
}

.footer__contact a:hover {
    color: var(--color-tertiary); /* Specific hover color for link */
}

.footer__social {
    margin-top: 24px;
    display: flex;
    gap: 16px;
}

.footer__social a {
    color: rgba(248, 250, 255, 0.8);
    font-size: 1.1rem;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.footer__social a:hover {
    color: var(--color-text-on-dark);
    transform: translateY(-5px) scale(1.1);
    background: linear-gradient(145deg, var(--color-primary), var(--color-accent));
    box-shadow: 0 5px 10px rgba(0,0,0,0.2);
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 32px 0; /* Increased padding */
    margin-top: 32px; /* Space above bottom bar */
    text-align: center;
    color: rgba(248, 250, 255, 0.7);
}

.footer__disclaimer {
    font-size: 0.85rem;
    max-width: 700px;
    margin: 10px auto 0;
    color: rgba(248, 250, 255, 0.6);
    line-height: 1.5;
}

/* --- Botão Voltar ao Topo --- */
.back-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: linear-gradient(145deg, var(--color-primary), var(--color-accent));
    color: var(--color-text-on-primary);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.1rem;
    box-shadow: var(--shadow-md);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.8); /* Start lower */
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: none;
    cursor: pointer;
}

.back-to-top.visible { /* Add 'visible' class via JS */
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.back-to-top:hover {
    transform: scale(1.15); /* Slightly larger hover effect */
    box-shadow: var(--shadow-lg), 0 0 20px -2px rgba(37, 99, 235, 0.5);
}
.back-to-top:focus-visible {
     outline: none;
     box-shadow: 0 0 0 4px var(--shadow-focus-ring), var(--shadow-md);
}

/* --- Animações ao Rolar (Requires JS Intersection Observer) --- */
.animate-on-scroll {
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity; /* Optimize animation */
}

.fade-in { transform: translateY(25px); }
.fade-in-up { transform: translateY(50px); }
.slide-in-left { transform: translateX(-60px); }
.slide-in-right { transform: translateX(60px); }
.zoom-in { transform: scale(0.9); }


.animate-on-scroll.is-visible { /* Class added by JS */
    opacity: 1;
    transform: translate(0, 0) scale(1); /* Reset all transforms */
}

/* Classes de Delay (Apply to .animate-on-scroll elements) */
.delay-1 { transition-delay: 0.1s !important; } /* Use !important if needed */
.delay-2 { transition-delay: 0.2s !important; }
.delay-3 { transition-delay: 0.3s !important; }
.delay-4 { transition-delay: 0.4s !important; }
.delay-5 { transition-delay: 0.5s !important; }

/* --- Responsividade --- */
@media (max-width: 1199px) { /* Large desktops / Small Laptops */
    .container { max-width: 960px; }
    .hero__title { font-size: 3rem; }
    .section__title { font-size: 2.25rem; }
    .about__container { gap: 50px; grid-template-columns: 1.2fr 1fr; } /* Adjust grid */
    /* .contact__container { gap: 60px; } No longer needed */
}

/* --- Breakpoint where Hamburger Menu appears --- */
@media (max-width: 991px) {
    .container { max-width: 720px; }
    .section { padding: 80px 0; } /* Default section padding */
    .contact.section { padding: 60px 0; } /* Contact section padding */

    .hero__title { font-size: 2.75rem; }
    .section__title { font-size: 2rem; }
    .section__subtitle { font-size: 1.125rem; margin-bottom: 48px; }
    .contact .section__subtitle { margin-bottom: 35px; } /* Contact subtitle margin */

    .about__container {
        grid-template-columns: 1fr; /* Stack columns */
        gap: 60px;
    }
    /* .contact__container already 1fr */

    .about__image-wrapper {
        order: 1; /* Image first on tablet */
         max-width: 500px; /* Limit image width when stacked */
         margin: 0 auto;
    }
    .about__content {
        order: 2; /* Text second on tablet */
    }
    .about__values {
        grid-template-columns: repeat(2, 1fr); /* 2 columns for values */
        gap: 30px;
    }
    .contact__form-wrapper {
        max-width: 100%; /* Full width within container */
    }
    .services__grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
    .blog__grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

    /* --- Header Adjustments for Hamburger Menu (MODIFIED) --- */
     .header__nav {
        /* Style as the mobile overlay menu */
        position: fixed;
        top: 0;
        /* CHANGE: Start from the right edge */
        right: 0;
        width: 50%; /* Keep or adjust as needed */
        max-width: 320px; /* Keep or adjust as needed */
        height: 100vh;
        background-color: var(--color-bg);
        box-shadow: var(--shadow-lg);
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        /* CHANGE: Start off-screen to the right */
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 1000;
        padding-top: 100px;
        overflow-y: auto;
        /* CHANGE: Border on the left now */
        border-left: 1px solid var(--color-border);
    }
     .header__nav.active { /* Slide in from the right */
        transform: translateX(0%); /* This rule remains the same */
    }
     .header__nav-list {
        flex-direction: column; /* Stack links vertically */
        text-align: center;
        gap: 25px; /* Space between links */
        width: 100%;
        padding: 20px; /* Add padding */
    }
     .header__nav-link {
        font-size: 1.2rem; /* Adjusted font size */
        padding: 10px 0; /* Larger tap area */
        display: block; /* Full width */
        width: 100%;
        margin: 0 auto;
    }
     .header__nav-link::after { display: none; } /* Hide desktop underline */
     .header__nav-link:hover, .header__nav-link.active {
         transform: none; /* Remove desktop hover transform */
         color: var(--color-primary); /* Keep active color */
     }

    /* Mobile CTA inside the nav */
    .header__cta-button--mobile {
        display: block; /* Show mobile button inside nav */
        margin-top: 30px; /* Space above button */
        width: 80%;
        max-width: 200px; /* Limit width */
        margin-left: auto;
        margin-right: auto;
    }

     /* Hide desktop CTA button */
     .header__cta-button--desktop {
        display: none;
     }

     /* Show hamburger toggle */
     .mobile-menu-toggle {
        display: block;
     }

     /* Ensure header container still aligns items correctly */
     .header__container {
         justify-content: space-between;
     }
     .header__logo { margin-right: 0; } /* Remove auto margin */
     .header__actions { margin-left: 0; } /* Remove margin */
}

@media (max-width: 767px) { /* Tablets Portrait (MODIFIED) */
    html { font-size: 15px; } /* Adjusted base font size */
    .container { max-width: 540px; padding: 0 15px; }
    .section { padding: 60px 0; } /* Reduced section padding */
    .contact.section { padding: 50px 0; } /* Contact section padding */

    .header__container { height: 70px; padding: 0 15px; }

    .hero__title { font-size: 2.25rem; line-height: 1.2; } /* Reduced title */
    .hero__subtitle { font-size: 1.05rem; } /* Reduced subtitle */
    .hero__features { gap: 15px 20px; } /* Reduced gap */
    .hero__feature-item { padding: 8px 14px; font-size: 0.95rem; } /* Smaller feature items */
    .hero__feature-item i { font-size: 1.1rem; } /* Smaller feature icons */


    .about__values { grid-template-columns: 1fr; gap: 20px; } /* Stack values, reduced gap */
    .about__value-item { padding: 18px; } /* Reduced padding */
    .about__value-item i { font-size: 1.6rem; margin-bottom: 10px; } /* Smaller icon */
    .about__value-item h4 { font-size: 1rem; margin-bottom: 6px; } /* Smaller heading */

    .services__grid, .blog__grid {
         grid-template-columns: 1fr; /* Single column */
         max-width: 400px; /* Center single column, slightly narrower */
         margin-left: auto;
         margin-right: auto;
         gap: 25px; /* Reduced gap */
     }
     .service-card, .blog-card { padding: 24px; } /* Reduced card padding */
     .service-card__title { font-size: 1.3rem; } /* Smaller card title */
     .blog-card__title { font-size: 1.15rem; } /* Smaller card title */

     .contact__form-wrapper { padding: 25px 20px; } /* Further reduction */
     .contact__map {
        height: 250px; /* Further reduce height */
        margin-top: 40px; /* Further reduce margin */
    }

     .footer__container { grid-template-columns: 1fr; gap: 35px; } /* Reduced footer gap */

    /* Mobile Menu Adjustments for smaller screens if needed */
    .header__nav {
        width: 65%; /* Slightly wider on smaller mobiles */
        max-width: 280px;
    }
     .header__nav-link {
        font-size: 1.1rem; /* Slightly smaller link */
        gap: 20px; /* Reduced gap */
    }
}

@media (max-width: 575px) { /* Mobile Phones (MODIFIED) */
     html { font-size: 14px; } /* Further reduced base font size */
     .container { padding: 0 10px; } /* Reduced container padding */
     .section { padding: 45px 0; } /* Reduced section padding */
     .contact.section { padding: 40px 0; } /* Contact section padding */

     .header__container { height: 65px; padding: 0 10px; } /* Reduced header height/padding */

     .hero__title { font-size: 1.9rem; } /* Reduced hero title */
     .hero__subtitle { font-size: 0.95rem; } /* Reduced hero subtitle */
     .hero__features { flex-direction: column; align-items: center; gap: 12px;} /* Reduced gap */
     .hero__feature-item { padding: 6px 12px; font-size: 0.9rem; } /* Smaller feature items */
     .hero__feature-item i { font-size: 1rem; } /* Smaller feature icons */

     .btn { padding: 9px 18px; font-size: 0.9rem; } /* Smaller buttons */
     .btn--large { padding: 11px 25px; font-size: 0.95rem; } /* Smaller large buttons */

     .section__title { font-size: 1.6rem; padding-bottom: 10px;} /* Reduced section title */
     .section__title::after { width: 45px; height: 2px; } /* Smaller underline */
     .section__subtitle { font-size: 0.95rem; margin-bottom: 35px; } /* Reduced subtitle */
     .contact .section__subtitle { margin-bottom: 30px; } /* Contact subtitle margin */


     .about__container { gap: 30px; } /* Reduced gaps */
     .about__values { gap: 15px; } /* Reduced gap */
     .about__value-item { padding: 15px; } /* Reduced padding */
     .about__image-wrapper { order: 1; }
     .about__content { order: 2; }

     .services__grid, .blog__grid {
         max-width: 350px; /* Further narrow single column */
         gap: 20px; /* Reduced gap */
     }
      .service-card, .blog-card { padding: 20px; } /* Reduced card padding */
      .service-card__title { font-size: 1.2rem; } /* Smaller card title */
      .blog-card__title { font-size: 1.1rem; } /* Smaller card title */
      .blog-card__excerpt { font-size: 0.9rem; } /* Smaller excerpt */

     /* Contact section already stacked */
     .contact__form-wrapper { padding: 20px 15px; } /* Further reduction */
     .form-group { margin-bottom: 15px; } /* Further reduction */
     .form-group input, .form-group textarea, .form-group select { padding: 12px 14px; font-size: 0.95rem;} /* Smaller form inputs */
     .contact__map {
        height: 200px; /* Further reduce height */
        margin-top: 35px; /* Further reduce margin */
    }


     .footer__container { text-align: center; gap: 30px; } /* Reduced gap */
     .footer h4 { font-size: 1.05rem; } /* Smaller footer heading */
     .footer__about p, .footer__links a, .footer__contact ul li { font-size: 0.9rem; } /* Smaller footer text */
     .footer__logo, .footer__social { justify-content: center; }
     .footer__social a { width: 35px; height: 35px; font-size: 1rem;} /* Smaller social icons */
     .footer__contact ul li { justify-content: center; text-align: left; gap: 8px; } /* Reduced gap */
     .footer__links ul li:hover { transform: none; }
     .footer__links li:hover a { padding-left: 0; }
     .footer__links li:hover a::before { display: none; }
     .footer__bottom { padding: 25px 0; } /* Reduced padding */
     .footer__disclaimer { font-size: 0.8rem; } /* Smaller disclaimer */

     .back-to-top { width: 38px; height: 38px; font-size: 0.9rem; bottom: 15px; right: 15px;} /* Smaller button */
}
