/* Variables con supporto responsive */
:root {
    --primary-color: #77fb38;
    --secondary-color: #5ac82b;
    --accent-color: #77fb38;
    --text-color: #ffffff;
    --dark-bg: #000000;
    --dark-secondary: #111111;
    --dark-tertiary: #222222;
    --light-color: #333333;
    --transition: all 0.3s ease;

    /* Keep existing spacing variables */
    --header-height: clamp(4rem, 5vw, 6rem);
    --section-padding: clamp(2rem, 5vw, 8rem);
    --container-padding: clamp(1rem, 3vw, 2rem);
    --grid-gap: clamp(1.5rem, 3vw, 3rem);

    /* Keep existing typography variables */
    --font-size-base: clamp(1rem, 1.5vw, 1.125rem);
    --font-size-h1: clamp(2rem, 5vw, 4rem);
    --font-size-h2: clamp(1.8rem, 4vw, 2.5rem);
    --font-size-h3: clamp(1.2rem, 3vw, 1.8rem);
    --line-height-base: 1.6;
    --line-height-heading: 1.2;
}

/* Reset & Base Styles */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: 'Palatino Linotype', 'Book Antiqua', 'Georgia', serif;
    line-height: var(--line-height-base);
    background-color: var(--dark-bg);
    color: var(--text-color);
    overflow-x: hidden;
    font-size: var(--font-size-base);
}

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

/* Container */
.container {
    width: min(100% - 2rem, 1200px);
    margin-inline: auto;
    padding: var(--container-padding);
}

/* Loading Animation */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(7, 7, 7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 5s ease;
}

.loading-spinner {
    width: clamp(40px, 5vw, 50px);
    height: clamp(40px, 5vw, 50px);
    border: 5px solid var(--light-color);
    border-top: 5px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Navbar */
.navbar {
    background-color: rgba(0, 0, 0, 0.95);
    padding-left: clamp(1rem, 3vw, 2rem);
    padding-right: clamp(1rem, 3vw, 2rem);
    position: fixed;
    width: 100%;
    height: auto;
    min-height: var(--header-height);
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--primary-color);
}

@media screen and (max-width: 1024px) {
    .nav-links {
        gap: 1.5rem;
    }
}

.navbar.scrolled {
    padding: 0.5rem var(--container-padding);
    background-color: rgba(0, 0, 0, 0.98);
    box-shadow: 0 4px 20px rgba(119, 251, 56, 0.2);
}

.logo {
    position: relative;
    z-index: 1002;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    padding: 0.5rem 0;
}

.logo-image {
    height: 2rem;
    /* Logo più piccolo */
    width: auto;
    object-fit: contain;
}

.logo-text {
    color: white;
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logo a:hover .logo-text {
    color: var(--primary-color);
}

.logo a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-color), transparent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.logo a:hover::before {
    transform: scaleX(1);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: clamp(1.5rem, 3vw, 2.5rem);
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    padding: 0.5rem 0;
    position: relative;
    transition: all 0.3s ease;
    white-space: nowrap;
    /* Impedisce il wrapping del testo */
}

.nav-links a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-links a:hover {
    color: white;
}

.nav-links a:hover::before {
    width: 100%;
}

.nav-links a.active {
    color: white;
}

.nav-links a.active::before {
    width: 100%;
    background-color: var(--accent-color);
}

/* Dropdown */
.dropdown {
    position: relative;
    width: 100%;
}

.dropdown-content {
    background: var(--dark-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--primary-color);
    box-shadow: 0 10px 30px rgba(119, 251, 56, 0.2);
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 200px;
    border-radius: 8px;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-content a {
    color: var(--text-color);
    padding: 0.75rem 1.25rem;
    display: block;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.dropdown-content a:hover {
    background-color: rgba(119, 251, 56, 0.1);
    color: var(--primary-color);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1000;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.hamburger:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: white;
    transition: all 0.3s ease;
    transform-origin: left center;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(1px, -3px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(1px, 3px);
}

/* Mobile Menu */
@media screen and (max-width: 768px) {

    /* Hamburger Menu */
    .hamburger {
        display: flex;
        width: 44px;
        height: 44px;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
        padding: 0.5rem;
        z-index: 1002;
        /* Stesso z-index del logo */
        border-radius: 8px;
        background: rgba(0, 0, 0, 0.9);
        transition: all 0.3s ease;
        position: relative;
    }

    .hamburger:hover {
        background: rgba(255, 255, 255, 0.1);
    }

    .hamburger span {
        display: block;
        width: 24px;
        height: 2px;
        background-color: white;
        transition: all 0.3s ease;
        transform-origin: left center;
    }

    .hamburger.active {
        background: rgba(255, 255, 255, 0.1);
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(1px, -3px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
        transform: translateX(-10px);
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(1px, 3px);
    }

    /* Menu Mobile Base */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: #000000;
        flex-direction: column;
        padding: calc(var(--header-height) + 1rem) 1rem 2rem;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
        z-index: 999;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        transform: translateX(50px);
        transition: all 0.3s ease;
        opacity: 1;
        width: 100%;
        margin: 0.5rem 0;
    }

    .nav-links.active li {
        opacity: 1;
        transform: translateX(0);
        transition-delay: calc(0.05s * var(--item-number));
    }

    /* Menu Items Base */
    .nav-links a,
    .dropbtn {
        width: 100%;
        padding: 1rem;
        margin: 0;
        border-radius: 8px;
        background: rgba(119, 251, 56, 0.05);
        /* Verde molto scuro quasi nero */
        text-align: left;
        display: flex;
        justify-content: space-between;
        align-items: center;
        color: #ffffff;
    }

    .nav-links a:hover,
    .dropbtn:hover {
        background: rgba(119, 251, 56, 0.1);
        /* Verde scuro in hover */
        color: #77fb38;
        /* Verde acceso solo al hover */
    }

    .nav-links a::before {
        display: none;
    }

    .nav-links a.active {
        background: rgba(119, 251, 56, 0.2);
        color: white;
    }

    /* Dropdown Mobile */
    .dropdown {
        width: 100%;
    }

    .dropdown-content {
        display: none;
        position: static;
        width: 100%;
        min-width: unset;
        border: none;
        padding: 0;
        margin: 0.5rem 0 0 0;
        transform: none;
        opacity: 1;
        visibility: visible;
        background: transparent;
        box-shadow: none;
    }

    .dropdown.active .dropdown-content {
        display: block;
        animation: fadeIn 0.3s ease forwards;
    }

    .dropdown-content a {
        margin: 0.25rem 0;
        padding: 1rem;
        background: rgba(0, 0, 0, 0.8);
        border-radius: 6px;
        transition: all 0.3s ease;
        transform: translateX(0);
    }

    .dropdown-content a:hover {
        background: rgba(119, 251, 56, 0.1);
        color: #77fb38;
        padding-left: 1.25rem;
    }

    /* Rotazione Icona Dropdown */
    .dropbtn i {
        transition: transform 0.3s ease;
        font-size: 0.8em;
    }

    .dropdown.active .dropbtn i {
        transform: rotate(180deg);
    }

    .logo-image {
        height: 1.75rem;
        /* Ancora più piccolo su mobile */
    }

    .logo-text {
        font-size: 1.1rem;
        /* Testo più piccolo su mobile */
    }

    /* Layout Fixes */
    .logo {
        position: relative;
        z-index: 1002;
        /* Superiore al menu mobile */
    }

    .logo a {
        font-size: 1.25rem;
        color: white;
    }

    .navbar {
        position: fixed;
        padding: 0.5rem 1rem;
        background-color: rgba(0, 0, 0, 0.9);
        z-index: 1000;
    }

    .navbar.scrolled {
        padding: 0.5rem 1rem;
    }

    /* Features Section */
    .features-grid {
        grid-template-columns: 1fr;
    }

    .feature {
        transform: none !important;
    }

    /* Services Grid */
    .services-grid {
        grid-template-columns: 1fr;
        /* Single column for mobile */
        padding: 0 1rem;
    }

    .service-card {
        margin-bottom: 1rem;
    }

    .service-features {
        margin-bottom: 1.25rem;
    }

    .service-button {
        width: 100%;
    }

    /* Timeline */
    .timeline::before {
        left: 30px;
    }

    .timeline-item {
        width: 100%;
        left: 0 !important;
        padding: 0 0 0 80px;
        text-align: left !important;
    }

    .timeline-content::before {
        left: -40px !important;
    }

    footer {
        padding-bottom: 0.75rem;
        /* Even less padding on mobile */
    }

    /* Footer */
    .footer-content {
        margin-bottom: 0.75rem;
    }

    .footer-content>div {
        padding: 1.5rem;
    }

    /* Utility */
    body.menu-open {
        overflow: hidden;
    }

    .footer-bottom {
        margin-top: 1rem;
        padding-top: 0.75rem;
    }

    .footer-bottom p {
        font-size: 0.85rem;
    }

    .footer-bottom .credits {
        padding: 0 0.5rem;
    }

    /* Animations */
    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }

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

/* Hero Section */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem 2rem;
    margin-top: -80px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    /* Per rimuovere qualsiasi overflow che potrebbe mostrare curve */
    overflow: hidden;
    background-image: url('/images/bg.jpg');
}

.hero::after,
.hero::before {
    display: none !important;
}

/*.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Puoi regolare l'opacità modificando l'ultimo valore */
/* z-index: 1;
}*/

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 10vw;
    /* Ridotto da 15vw */
    background: var(--dark-bg);
    border-top-left-radius: 100% 50%;
    border-top-right-radius: 100% 50%;
    transform: translateY(50%);
}

/*.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    opacity: 0.9;
}*/

.hero-spacer {
    height: 10vh;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    z-index: 2;
    position: relative;
    border-radius: 0;
}

.hero+* {
    margin-top: 0;
    padding-top: 0;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: #ffffff;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-transform: uppercase;
}

.hero h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    color: #77fb38;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.hero p {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: #ffffff;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero .cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: #77fb38;
    color: #000000;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.hero .cta-button:hover {
    background-color: #5ac82b;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(119, 251, 56, 0.3);
}

@media (max-width: 768px) {
    .hero {
        padding: 4rem 1rem;
    }

    .hero .cta-button {
        width: 100%;
        max-width: 300px;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

/* Features Section */
.features {
    position: relative;
    background: var(--dark-bg);
    z-index: 1;
    padding-top: 3rem;
    /* Ridotto padding */
    padding-bottom: var(--section-padding);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: var(--grid-gap);
    width: min(100%, 1200px);
    margin-inline: auto;
}

.feature {
    background: var(--dark-secondary);
    padding: var(--container-padding);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(119, 251, 56, 0.1);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    text-align: center;
    height: 100%;
}

.feature:hover {
    transform: translateY(-20px);
    background: var(--light-green);
}

.feature i {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.feature:hover i {
    transform: scale(1.2) rotate(360deg);
    color: var(--secondary-color);
}

.feature h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-size: var(--font-size-h3);
}

/* Services Section */
.services {
    padding: var(--section-padding) var(--container-padding);
    background: var(--dark-bg);
    position: relative;
    z-index: 1;
}

.section-title {
    text-align: center;
    margin-bottom: clamp(2rem, 6vw, 4rem);
}

.section-title h2 {
    font-size: var(--font-size-h2);
    color: var(--secondary-color);
    margin-bottom: 1rem;
    line-height: var(--line-height-heading);
}

.section-title p {
    color: var(--text-color);
    max-width: 600px;
    margin-inline: auto;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    /* Default single column */
    gap: clamp(1.5rem, 3vw, 2rem);
    width: min(100%, 1200px);
    margin-inline: auto;
    padding: 0 1rem;
}

@media screen and (min-width: 769px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 0;
    }
}


.service-card {
    position: relative;
    background: var(--dark-secondary);
    padding: clamp(1.25rem, 3vw, 1.75rem);
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(119, 251, 56, 0.1);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    background: linear-gradient(to bottom right, white, var(--light-green));
}

.service-card h3 {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1.25rem;
    color: var(--primary-color);
    font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.service-card h3 i {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    color: var(--primary-color)
}

.service-card p {
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    margin-bottom: 1.25rem;
    line-height: 1.5;
}

.service-features {
    list-style: none;
    margin-top: 1.25rem;
    padding: 0;
    margin-bottom: 1.5rem;
}

.service-features li {
    margin-bottom: 0.65rem;
    padding-left: 1.5rem;
    position: relative;
    font-size: clamp(0.85rem, 1.5vw, 0.95rem);
}

.service-features li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    opacity: 0;
    transform: translateX(-10px);
    transition: var(--transition);
}

.service-button {
    display: inline-block;
    width: 100%;
    padding: clamp(0.65rem, 2vw, 0.75rem) clamp(1.25rem, 3vw, 1.5rem);
    background-color: var(--primary-color);
    color: var(--dark-bg);
    text-decoration: none;
    border-radius: 8px;
    transition: var(--transition);
    font-size: clamp(0.9rem, 1.5vw, 0.95rem);
    text-align: center;
    margin-top: auto;
}

.service-card:hover {
    transform: translateY(-5px);
    /* Ombra ancora più marcata all'hover */
    background: linear-gradient(to bottom right, var(--dark-secondary), var(--dark-tertiary));
    background-color: var(--secondary-color);
    box-shadow: 0 25px 50px rgba(119, 251, 56, 0.15);
}


.service-card:hover .service-features li::before {
    opacity: 1;
    transform: translateX(0);
}

/* Process Section */
.process {
    padding: var(--section-padding) var(--container-padding);
    background-color: var(--dark-secondary);
    position: relative;
}

.timeline {
    max-width: min(100%, 1000px);
    margin: clamp(2rem, 6vw, 4rem) auto 0;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background-color: var(--primary-color);
}

.timeline-item {
    margin-bottom: 4rem;
    position: relative;
    width: 50%;
    padding: 0 3rem;
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-content {
    background: var(--dark-tertiary);
    padding: var(--container-padding);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(119, 251, 56, 0.1);
    position: relative;
    transition: var(--transition);
}

.timeline-content:hover {
    transform: scale(1.03);
    background: linear-gradient(to bottom right, var(--dark-tertiary), var(--dark-secondary));
    box-shadow: 0 15px 30px rgba(119, 251, 56, 0.2);
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 50%;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
}

.timeline-item:nth-child(odd) .timeline-content::before {
    right: -40px;
}

.timeline-item:nth-child(even) .timeline-content::before {
    left: -40px;
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--dark-secondary) 100%);
    color: white;
    padding: var(--section-padding) var(--container-padding) 1rem;
    /* Reduced bottom padding */
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.footer-content {
    max-width: min(100%, 1200px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: var(--grid-gap);
    margin-bottom: 1rem;
    /* Reduced margin */
}

.footer-content>div {
    padding: 1.5rem;
    /* Reduced padding */
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.footer-content>div:hover {
    background: rgba(119, 251, 56, 0.1);
    transform: translateY(-5px);
}

.footer-content h3 {
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.8rem;
    font-size: var(--font-size-h3);
    color: var(--primary-color);
}

.footer-content h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), transparent);
}

.contact-info a {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    transition: var(--transition);
    opacity: 0.9;
}

.contact-info a:hover {
    color: var(--accent-color);
    opacity: 1;
    transform: translateX(5px);
}

.contact-info i {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.contact-info a:hover i {
    background: var(--primary-color);
    color: white;
}

.quick-links ul {
    list-style: none;
}

.quick-links a {
    color: white;
    text-decoration: none;
    transition: var(--transition);
    display: block;
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.quick-links a:hover {
    background: var(--primary-color);
    color: var(--primary-color);
    transform: translateX(10px);
    opacity: 1;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    color: var(--dark-bg);
    transform: translateY(-5px);
}

.footer-bottom {
    margin-top: 1.5rem;
    /* Reduced from 2rem */
    padding: 1rem 0 0;
    /* Removed bottom padding */
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    /* Reduced gap */
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
    line-height: 1.4;
}

.footer-bottom a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
}

.footer-bottom a:hover {
    color: white;
}

.footer-bottom a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.footer-bottom a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.footer-bottom .heart-icon {
    color: #ff6b6b;
    display: inline-block;
    font-size: 0.8rem;
    animation: pulse 1.5s infinite;
    margin: 0 0.2rem;
}

.footer-bottom .credits {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    flex-wrap: wrap;
    margin-bottom: 0;
    /* Removed bottom margin */
}

/* Animations */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px) translateX(-50%);
    }

    to {
        opacity: 1;
        transform: translateY(0) translateX(-50%);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

/* Responsive Design */
@media screen and (max-width: 968px) {
    .timeline::before {
        left: 30px;
    }

    .timeline-item {
        width: 100%;
        left: 0 !important;
        padding: 0 0 0 80px;
        text-align: left !important;
    }

    .timeline-content::before {
        left: -40px !important;
    }
}

@media screen and (max-width: 480px) {
    .cta-button {
        width: 100%;
        text-align: center;
    }

    .feature {
        padding: var(--container-padding);
    }

    .timeline-content {
        padding: 1rem;
    }

    .footer-bottom {
        margin-top: 2rem;
        padding-top: 1rem;
    }
}

/* Utility Classes */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.visually-hidden {
    opacity: 0;
    visibility: hidden;
}

/* Focus Styles for Accessibility */
:focus {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
}

:focus:not(:focus-visible) {
    outline: none;
}

:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
}

/* Print Styles */
@media print {

    .navbar,
    .hero-background,
    .cta-button,
    .social-links,
    .hamburger {
        display: none !important;
    }

    body {
        color: black;
        background: white;
    }

    a {
        text-decoration: none;
        color: black;
    }

    .hero,
    .features,
    .services,
    .process {
        page-break-inside: avoid;
    }

    .feature,
    .service-card,
    .timeline-content {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}