/* Import Google Font for body text */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500&display=swap");

/* Local Font Definition for Geist */
@font-face {
    font-family: "Geist";
    src: url("../assets/fonts/Geist-Bold.woff2") format("woff2");
    font-weight: bold;
    font-style: normal;
}

/* CSS Variables for consistent theming */
:root {
    --bg-color: #ecfdf5;
    --primary-color: #064e3b;
    --secondary-color: #10b981;
    --text-color: #064e3b;
    --text-color-light: #ffffff;
    --link-color-mobile: #60a5fa;
    /* Blue for mobile submenu links */
    --header-height: 80px;
}

/* Global Resets and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Poppins", sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
}

/* Blur effect for main content when mobile nav is open */
main.blur-background {
    filter: blur(5px);
    transition: filter 0.3s ease-in-out;
}

/* --- Header & Navigation --- */
.header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 0 5%;
}

.top-bar {
    display: none;
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
}

.logo {
    font-family: "Geist", sans-serif;
    font-weight: bold;
    font-size: 2rem;
    color: var(--primary-color);
    text-decoration: none;
}

/* Hamburger Menu styles */
.hamburger-menu {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 2rem;
    height: 2rem;
    cursor: pointer;
    z-index: 110;
}

.hamburger-menu .bar {
    width: 2rem;
    height: 0.25rem;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
}

/* Navigation Links - Mobile Dropdown */
.nav-links {
    list-style: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background-color: var(--primary-color);
    flex-direction: column;
    align-items: center;
    display: flex;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
}

.nav-links.active {
    max-height: 60vh;
    padding-bottom: 20px;
}

.nav-links .nav-link {
    color: var(--text-color-light);
    text-decoration: none;
    font-size: 1.5rem;
    margin: 1rem 0;
    position: relative;
    padding-bottom: 8px;
}

.nav-links .dropdown-menu {
    list-style: none;
    text-align: center;
    padding-top: 10px;
}

.nav-links .dropdown-menu a {
    color: var(--link-color-mobile);
    font-size: 1.2rem;
    text-decoration: none;
    line-height: 2;
}

.dropdown:hover .dropdown-menu {
    display: none;
}

/* Nav Link Hover/Active Effect */
.nav-link::before,
.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    width: 0;
    height: 2px;
    transition: width 0.3s ease-in-out;
}

.nav-link::before {
    bottom: 3px;
    background-color: var(--primary-color);
}

.nav-link::after {
    bottom: 0;
    background-color: var(--secondary-color);
}

.nav-link:hover::before,
.nav-link:hover::after {
    width: 100%;
}

.nav-actions {
    display: none;
}

/* --- Hero Section --- */
.hero-section {
    padding-top: var(--header-height);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-left: 5%;
    padding-right: 5%;
    text-align: center;
}

.hero-content {
    width: 100%;
    max-width: 900px;
}

.hero-subtitle {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
    margin-bottom: 1rem;
}

.hero-title {
    font-family: "Geist", sans-serif;
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-title-part {
    display: block;
    transition: transform 0.5s ease-out;
}

.hero-title-part-bottom {
    display: block;
    transition: transform 0.5s ease-out;
}

.hero-description {
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Video Heading Styles */
.video-heading-container {
    text-align: center;
    margin: 4rem 0 2rem 0;
    width: 100%;
}

.video-heading-container h6 {
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.video-heading-container h1 {
    font-family: "Geist", sans-serif;
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.video-heading-container p {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 1rem;
}

.hero-video-container {
    width: 100%;
    max-width: 900px;
    margin-top: 1rem;
    overflow: hidden;
    border: 3px solid var(--primary-color);
    background-color: #ddd;
    border-radius: 12px;
    background: var(--primary-color);
    box-shadow:
        28px 28px 56px #555b58,
        -28px -28px 56px #ffffff;
}

#hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* NEW: Read More Button Styles */
.read-more-container {
    width: 100%;
    text-align: center;
    margin-top: 2rem;
    padding-bottom: 3rem;
}

/* --- Buttons --- */
.btn {
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-secondary {
    background-color: var(--text-color-light);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-secondary::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: var(--primary-color);
    transition: width 0.4s ease-in-out;
    z-index: -1;
}

.btn-secondary:hover {
    color: var(--text-color-light);
}

.btn-secondary:hover::before {
    width: 100%;
}

/* === Media Queries for Tablet and Larger === */
@media (min-width: 768px) {
    .hero-title {
        font-size: 4.5rem;
    }

    .hero-title-part {
        display: inline-block;
    }

    .video-heading-container h1 {
        font-size: 3rem;
    }
}

/* === Media Queries for Desktop === */
@media (min-width: 1024px) {
    .top-bar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 0;
        font-size: 0.9rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }

    /* This targets both the original span and the new anchor tags */
    .contact-info span,
    .contact-info a {
        margin-right: 20px;
        color: var(--secondary-color);
        text-decoration: none; /* Removes the underline from links */
        transition: color 0.3s ease; /* Adds a smooth hover effect */
    }

    /* Optional: Add a subtle hover effect for desktop users */
    .contact-info a:hover {
        color: var(--primary-color);
    }

    /* --- Social Icons Styling --- */
    .social-icons a {
        margin-left: 15px;
        text-decoration: none;
        color: var(--primary-color);
        display: inline-block; /* Required for transform */
        transition:
            transform 0.3s ease,
            color 0.3s ease;
    }

    .social-icons a:hover {
        color: var(--secondary-color); /* Changes color on hover */
        transform: translateY(-2px); /* Lifts the icon slightly */
    }

    .social-icons svg {
        width: 20px; /* Control the size of the icons */
        height: 20px;
    }

    .hamburger-menu {
        display: none;
    }

    .nav-links {
        position: static;
        flex-direction: row;
        height: auto;
        width: auto;
        background-color: transparent;
        transform: none;
        display: flex;
        max-height: initial;
        overflow: visible;
    }

    .nav-links .nav-link {
        color: var(--primary-color);
        font-size: 1rem;
        margin: 0 1rem;
    }

    .nav-link::before {
        background-color: var(--primary-color);
    }

    /* === UPDATED: Desktop Dropdown Menu Styling === */
    .dropdown {
        position: relative;
    }

    .dropdown .nav-link span {
        transition: transform 0.3s ease;
        display: inline-block; /* Allows transform to work */
    }

    .dropdown:hover .nav-link span {
        transform: rotate(180deg);
    }

    .nav-links .dropdown-menu {
        display: none;
    }

    .dropdown:hover .dropdown-menu {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: #ffffff; /* Clean white background */
        list-style: none;
        padding: 10px 0;
        border: none; /* Remove the old border */
        border-radius: 8px; /* Softer, modern corners */
        min-width: 200px;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1); /* Professional shadow for depth */
        opacity: 0; /* Start hidden for animation */
        transform: translateY(10px); /* Start slightly lower for animation */
        animation: fadeInDown 0.3s ease-out forwards;
    }

    .dropdown-menu li a {
        display: block;
        padding: 12px 20px;
        text-decoration: none;
        color: var(--primary-color);
        font-size: 1rem;
        line-height: 1.5;
        transition: all 0.2s ease-in-out; /* Smooth transition for hover */
    }

    .dropdown-menu li a:hover {
        background-color: var(--bg-color);
        color: var(--secondary-color); /* Use secondary color for hover text */
        padding-left: 25px; /* Adds a subtle indent on hover */
    }

    /* Animation for the dropdown */
    @keyframes fadeInDown {
        from {
            opacity: 0;
            transform: translateY(10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .nav-actions {
        display: flex;
        align-items: center;
    }

    .search-btn {
        background: none;
        border: none;
        cursor: pointer;
        margin-right: 1rem;
        color: var(--primary-color);
    }

    .btn.btn-primary {
        background-color: var(--primary-color);
        color: var(--text-color-light);
        border: none;
    }

    .btn.btn-primary:hover {
        background-color: var(--secondary-color);
    }

    .hero-section {
        text-align: left;
        align-items: flex-start;
    }

    .hero-content {
        margin-top: 90px;
    }

    .hero-description,
    .hero-content {
        margin-left: 0;
        margin-right: 0;
    }

    .hero-title {
        font-size: 4.5rem;
    }

    .hero-title-part-bottom {
        position: relative;
        left: 18rem;
    }

    .hero-video-container {
        max-width: 1100px;
        height: 500px;
        align-self: center;
    }

    .hero-content a {
        position: relative;
        left: 45rem;
        bottom: 2rem;
    }

    .video-heading-container {
        text-align: center;
        align-self: center;
    }
}

/* --- Practice Areas Section --- */
.practice-areas-section {
    padding: 4rem 5%;
    background-color: var(--bg-color);
}

.practice-areas-section .section-heading {
    text-align: center;
    margin-bottom: 4rem;
}

.practice-areas-grid {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.practice-area-item {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.practice-area-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.practice-area-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.area-number {
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.practice-area-content h2 {
    font-family: "Geist", sans-serif;
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.practice-area-content p {
    color: var(--text-color);
    opacity: 0.8;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.learn-more-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    position: relative;
    align-self: flex-start;
    padding-bottom: 5px;
}

.learn-more-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease-in-out;
}

.learn-more-link:hover::after {
    width: 100%;
}

@media (min-width: 1024px) {
    .practice-areas-grid {
        gap: 6rem;
    }

    .practice-area-item {
        flex-direction: row;
        align-items: center;
        gap: 4rem;
    }

    .practice-area-item--reversed {
        flex-direction: row-reverse;
    }

    .practice-area-image,
    .practice-area-content {
        flex: 1;
    }

    .practice-area-content h2 {
        font-size: 2.8rem;
    }
}

/* --- Trusted By Section --- */
.trusted-by-section {
    padding: 4rem 5%;
}

/* Container for the section's heading text */
.section-heading {
    text-align: center;
    margin-bottom: 3rem;
}

.section-heading h6 {
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.section-heading h1 {
    font-family: "Geist", sans-serif;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-heading p {
    max-width: 600px;
    margin: 0 auto;
    color: var(--text-color);
    opacity: 0.8;
}

/* The pill-shaped container - NOW A VIEWPORT */
.logos-container {
    background-color: #ffffff;
    padding: 2rem 0; /* Adjusted padding for the animation */
    border-radius: 50px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);

    /* CRUCIAL: Hide the overflowing logos */
    overflow: hidden;

    /* Optional: A cool fade-out effect on the edges */
    -webkit-mask-image: linear-gradient(to right, transparent, white 20%, white 80%, transparent);
    mask-image: linear-gradient(to right, transparent, white 20%, white 80%, transparent);
}

/* NEW: The inner container that holds and animates the logos */
.logos-scroller {
    display: flex;
    gap: 3rem; /* Increased gap for better spacing */

    /* CRUCIAL: Prevent logos from wrapping to a new line */
    white-space: nowrap;

    /* Apply the animation */
    animation: scroll 30s linear infinite;
}

/* NEW: The animation keyframes */
@keyframes scroll {
    from {
        transform: translateX(0);
    }
    to {
        /* Move the scroller to the left by half its width */
        transform: translateX(-50%);
    }
}

/* Make the animation pause when the user hovers over the pill */
.logos-container:hover .logos-scroller {
    animation-play-state: paused;
}

.logo-item {
    color: var(--text-color);
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.logo-item:hover {
    opacity: 1;
}

@media (min-width: 768px) {
    .section-heading h1 {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .trusted-by-section {
        padding: 6rem 5%;
    }
}

/* --- Testimonial Section --- */

/* MOBILE-FIRST STYLES (Default) */
.testimonial-section {
    padding: 4rem 5%;
    height: auto;
}

.testimonial-wrapper {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    position: static;
}

.testimonial-content h6 {
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.testimonial-content h1 {
    font-family: "Geist", sans-serif;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.testimonial-content p {
    opacity: 0.8;
    margin-bottom: 2rem;
}

.experience-counter {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.google-logo {
    width: 40px;
    height: 40px;
}

.experience-icon {
    display: flex;
    padding-left: 20px;
}

.experience-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 3px solid var(--bg-color);
    margin-left: -20px;
    object-fit: cover;
}

.experience-text {
    display: flex;
    flex-direction: column;
}

.experience-number {
    font-family: "Geist", sans-serif;
    font-size: 2.5rem;
    font-weight: bold;
    line-height: 1;
}

.experience-label {
    opacity: 0.7;
}

.testimonial-cards-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: static;
}

.testimonial-card {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);

    /* Base styles for all cards on all screen sizes */
    position: relative; /* Use relative to stay in the document flow */
    opacity: 1;
    transform: none;
    top: auto;
    left: auto;
    width: auto;
    max-width: 100%;
}

.testimonial-card .stars {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.star-filled {
    color: var(--primary-color);
}

.star-empty {
    color: #d1d5db;
}

.testimonial-card p {
    margin-bottom: 1.5rem;
    font-style: italic;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.client-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
}

.client-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.client-details {
    display: flex;
    flex-direction: column;
}

.client-name {
    font-weight: bold;
}

.client-location {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* DESKTOP-ONLY STYLES */
@media (min-width: 1024px) {
    .testimonial-section {
        height: 300vh;
        padding: 0;
    }

    .testimonial-wrapper {
        flex-direction: row;
        position: sticky;
        top: 0;
        height: 100vh;
        width: 100%;
        padding: 0 5%;
        align-items: center;
        overflow: hidden;
    }

    .testimonial-content {
        flex: 1;
        max-width: 500px;
    }

    .testimonial-cards-container {
        flex: 1;
        position: relative;
        height: 100%;
        gap: 0;
    }

    .testimonial-card {
        /* Override base styles for desktop animation */
        position: absolute;
        top: 50%;
        left: 50%;
        width: 90%;
        max-width: 450px;
        transition:
            transform 0.5s cubic-bezier(0.25, 1, 0.5, 1),
            opacity 0.5s ease;
    }

    #card-1 {
        z-index: 1;
        transform: translate(-50%, -50%);
    }
    #card-2 {
        z-index: 2;
        transform: translate(-50%, 100vh);
        opacity: 0;
    }
    #card-3 {
        z-index: 3;
        transform: translate(-50%, 100vh);
        opacity: 0;
    }
    #card-4 {
        z-index: 4;
        transform: translate(-50%, 100vh);
        opacity: 0;
    }
}

/* --- CTA Section --- */
.cta-section {
    background-color: var(--primary-color);
    color: var(--text-color-light);
    padding: 4rem 5%;
    border-radius: 20px;
    margin: 4rem 2%;
}

.cta-section .section-heading {
    margin-bottom: 3rem;
}

.cta-section .section-heading h6 {
    color: var(--secondary-color);
}

.cta-section .section-heading h1 {
    color: var(--text-color-light);
}

.cta-section .section-heading p {
    opacity: 1;
}

.cta-cards-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cta-card {
    padding: 2.5rem;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
}

.cta-card h2 {
    font-family: "Geist", sans-serif;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.cta-card p {
    margin-bottom: 2rem;
    opacity: 0.9;
    flex-grow: 1;
}

.cta-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1.5rem;
}

.cta-card-light {
    background-color: var(--bg-color);
    color: var(--primary-color);
}

.cta-card-dark {
    background-color: var(--secondary-color);
    color: var(--text-color-light);
}

.cta-card-dark .cta-icon {
    color: var(--text-color-light);
}

.btn-cta {
    align-self: flex-start;
    border-radius: 50px;
    font-weight: bold;
}

.btn-cta-dark {
    background-color: var(--primary-color);
    color: var(--text-color-light);
}

.btn-cta-dark:hover {
    background-color: #043a2c;
}

.btn-cta-light {
    background-color: var(--text-color-light);
    color: var(--primary-color);
}

.btn-cta-light:hover {
    background-color: #f0f0f0;
}

@media (min-width: 768px) {
    .cta-cards-wrapper {
        flex-direction: row;
        gap: 2rem;
    }

    .cta-card {
        flex: 1;
    }
}

@media (min-width: 1024px) {
    .cta-section {
        padding: 6rem 5%;
    }
}

/* --- FAQ Section --- */
.faq-section {
    background-color: var(--bg-color);
    color: var(--text-color);
    padding: 4rem 5%;
}

.dotted-line {
    border-top: 2px dotted rgba(6, 78, 59, 0.3);
    margin-bottom: 2rem;
}

.faq-section h6 {
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.faq-main-title {
    font-family: "Geist", sans-serif;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.faq-wrapper {
    display: flex;
    flex-direction: column;
}

.faq-nav ul {
    list-style: none;
    display: flex;
    overflow-x: auto;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
}

.faq-nav-button {
    background: none;
    border: none;
    color: rgba(6, 78, 59, 0.7);
    padding: 1rem;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 8px;
    transition:
        background-color 0.3s ease,
        color 0.3s ease;
    white-space: nowrap;
}

.faq-nav-button.active {
    background-color: var(--primary-color);
    color: var(--text-color-light);
    font-weight: 500;
}

.faq-category-title {
    font-family: "Geist", sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.faq-accordion-group {
    display: none;
}

.faq-accordion-group.active {
    display: block;
}

.faq-item {
    border-bottom: 1px solid rgba(6, 78, 59, 0.2);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 500;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.3s ease-in-out;
}

.faq-item[open] > .faq-question .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding-bottom: 1.5rem;
    line-height: 1.6;
    color: var(--text-color);
    opacity: 0.8;
    max-width: 90%;
}

@media (min-width: 1024px) {
    .faq-section {
        padding: 6rem 5%;
    }

    .faq-main-title {
        font-size: 3.5rem;
    }

    .faq-wrapper {
        flex-direction: row;
        gap: 4rem;
    }

    .faq-nav ul {
        flex-direction: column;
        overflow-x: visible;
        padding-bottom: 0;
    }

    .faq-nav {
        flex: 0 0 250px;
    }

    .faq-content {
        flex: 1;
    }

    .faq-nav-button {
        width: 100%;
        text-align: left;
    }
}

/* --- Footer Section --- */
.site-footer {
    background-color: var(--primary-color);
    color: var(--text-color-light);
    padding: 4rem 5% 2rem 5%;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-top h6 {
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.footer-top h2 {
    font-family: "Geist", sans-serif;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #fff;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 3rem;
}

.footer-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #fff;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.link-icon {
    margin-right: 1rem;
    width: 24px;
    height: 24px;
}

.link-icon svg {
    width: 100%;
    height: 100%;
}

.link-text {
    flex-grow: 1;
    font-weight: 500;
}

.link-arrow {
    transition: transform 0.3s ease-in-out;
}

.footer-link:hover .link-arrow {
    transform: translateX(5px);
}

.footer-main {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-newsletter h4,
.footer-links-column h4 {
    font-family: "Geist", sans-serif;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #fff;
}

.footer-newsletter p {
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
}

.newsletter-form input[type="text"],
.newsletter-form input[type="email"] {
    width: 100%;
    padding: 12px;
    margin-bottom: 1rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.privacy-check {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
}

.privacy-check input {
    margin-right: 0.5rem;
}

.privacy-check a {
    color: var(--secondary-color);
    text-decoration: underline;
}

.btn-newsletter {
    background-color: var(--text-color-light);
    color: var(--primary-color);
    border: none;
    border-radius: 50px;
    padding: 12px 20px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: background-color 0.3s ease;
}

.btn-newsletter:hover {
    background-color: #e0e0e0;
}

.footer-links-column ul {
    list-style: none;
}

.footer-links-column ul li {
    margin-bottom: 0.75rem;
}

.footer-links-column ul a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
}

.footer-links-column ul a:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 2rem 0;
}

.footer-logo {
    text-decoration: none;
}

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

.footer-legal-links {
    display: flex;
    gap: 1.5rem;
}

.footer-legal-links a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-legal-links a:hover {
    color: #fff;
}

.footer-credit {
    text-align: center;
    padding-top: 2rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-credit a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 4px 8px;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.footer-credit a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

@media (min-width: 768px) {
    .footer-links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-main {
        flex-direction: row;
        flex-wrap: wrap;
    }
    .footer-newsletter {
        flex: 1 1 100%;
    }
    .footer-links-column {
        flex: 1;
    }
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

@media (min-width: 1024px) {
    .footer-links-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .footer-main {
        flex-wrap: nowrap;
    }
    .footer-newsletter {
        flex: 2;
        margin-right: 2rem;
    }
}
