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

:root {
    /* Colors */
    --color-background: #f5f7fb;
    --color-surface: #ffffff;
    --color-surface-alt: #f0f2f8;
    --color-primary: #0b3d2e;
    --color-secondary: #14553f;
    --color-text: #1f2937;
    --color-text-muted: #6b7280;
    --color-border: rgba(15, 23, 42, 0.08);
    --shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.08);
    --color-surface-gradient: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(241, 244, 249, 0.95));
    --color-surface-gradient-strong: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(236, 240, 247, 0.98));
    --color-glass-background: rgba(255, 255, 255, 0.85);
    --color-glass-strong: rgba(255, 255, 255, 0.9);
    --color-glass-solid: rgba(255, 255, 255, 0.95);
    --color-glass-border: rgba(15, 23, 42, 0.08);

    /* Typography */
    --font-family-base: 'Inter', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;

    /* Typographic Scale (1.25 ratio) */
    --font-size-base: 1rem;
    --font-size-sm: 0.875rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.563rem;
    --font-size-3xl: 1.953rem;
    --font-size-4xl: 2.441rem;
    --font-size-5xl: 3.052rem;

    /* Line Heights */
    --line-height-tight: 1.25;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.75;
    --line-height-loose: 2;

    /* Letter Spacing */
    --letter-spacing-tight: -0.02em;
    --letter-spacing-normal: 0;
    --letter-spacing-wide: 0.025em;
}

html {
    overflow-x: hidden;
}

body {
    font-family: var(--font-family-base);
    color: var(--color-text);
    line-height: var(--line-height-relaxed);
    overflow-x: hidden;
    background-color: var(--color-background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

button,
input,
select,
textarea {
    font-family: var(--font-family-base);
}

.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(180deg, #f9fafc 0%, #eef1f7 100%);
    background-size: cover;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--color-surface-gradient);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
    z-index: 1000;
    padding: 0.85rem 0;
    transition: all 0.3s ease;
    box-shadow: 0 6px 24px rgba(15, 23, 42, 0.08);
}

.navbar.scrolled {
    background: var(--color-surface-gradient-strong);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
    border-bottom-color: rgba(15, 23, 42, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    position: relative;
}

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

.nav-logo-img {
    width: 56px;
    height: auto;
    display: block;
}

.logo-text {
    font-family: var(--font-family-base);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
    letter-spacing: -0.02em;
}

.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 1.5rem;
}

.nav-language {
    margin-left: 1rem;
}

.nav-language .language-switcher {
    margin: 0;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    border: 1.5px solid var(--color-border);
    background: rgba(255, 255, 255, 0.85);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2.5px;
    background: var(--color-text);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.menu-toggle:hover {
    border-color: rgba(11, 61, 46, 0.45);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
}

.menu-toggle:hover span {
    background: var(--color-primary);
}

.menu-toggle.is-active span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

.menu-toggle.is-active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.is-active span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

body.nav-open {
    overflow: hidden;
}

.nav-link {
    color: var(--color-text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.05rem;
    letter-spacing: 0.01em;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--color-text);
    transform: translateY(-2px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: width 0.3s ease;
}

.nav-link.active,
.nav-link[aria-current="page"] {
    color: var(--color-text);
}

.nav-link.active::after,
.nav-link[aria-current="page"]::after {
    width: 100%;
}

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

.cta-button {
    background: var(--color-primary);
    color: #ffffff;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 24px rgba(11, 61, 46, 0.15);
    text-decoration: none; /* Ensure no underline for <a> tags */
    display: inline-block; /* Ensure padding and block-like behavior */
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(11, 61, 46, 0.18);
}

/* Language Switcher */
.language-switcher {
    position: relative;
    width: 60px;
    height: 30px;
    background: var(--color-glass-background);
    border-radius: 20px;
    border: 1px solid var(--color-glass-border);
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
    margin: 0 1rem;
}

.language-switcher:hover {
    border-color: rgba(11, 61, 46, 0.45);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.1);
}

.flag {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    background: var(--color-glass-strong);
    border: 1px solid var(--color-glass-border);
}

.flag-gr {
    left: 2px;
    z-index: 2;
}

.flag-en {
    right: 2px;
    z-index: 1;
    opacity: 0.5;
    transform: translateY(-50%) scale(0.8);
}

.flag-container.english .flag-gr {
    left: 32px;
    opacity: 0.5;
    transform: translateY(-50%) scale(0.8);
    z-index: 1;
}

.flag-container.english .flag-en {
    right: 2px;
    opacity: 1;
    transform: translateY(-50%) scale(1);
    z-index: 2;
}

.flag.active {
    box-shadow: 0 8px 18px rgba(11, 61, 46, 0.2);
    background: var(--color-glass-solid);
}

/* Hero Cards Section */
.hero-cards-section {
    display: flex;
    align-items: center;
    position: relative;
    min-height: 100vh;
    width: 100%;
    justify-content: center;
    padding: 7rem 0 4rem;
}

.hero-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.hero-card {
    background: var(--color-surface);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
}

.hero-card-title {
    font-size: clamp(1.5rem, 2.5vw + 0.5rem, 2rem);
    font-weight: 700;
    line-height: var(--line-height-tight);
    color: var(--color-primary);
    letter-spacing: var(--letter-spacing-tight);
    text-wrap: balance;
    margin: 0;
}

.hero-card-description {
    font-size: var(--font-size-base);
    color: var(--color-text-muted);
    line-height: var(--line-height-relaxed);
    text-wrap: pretty;
    margin: 0;
}

/* Old Hero Section - keeping for backwards compatibility */
.hero {
    display: flex;
    align-items: center;
    position: relative;
    min-height: 100vh;
    width: 100%;
    justify-content: center;
    padding: 7rem 0 6rem;
}

.page-hero {
    min-height: 60vh;
    padding: 8rem 0 4rem;
}

.page-hero .page-hero-content {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.page-hero .page-hero-content h1 {
    font-size: clamp(2rem, 4vw + 0.5rem, 3rem);
    margin-bottom: 1rem;
    line-height: var(--line-height-tight);
    letter-spacing: var(--letter-spacing-tight);
    text-wrap: balance;
}

.page-hero .page-hero-content p {
    color: var(--color-text-muted);
    font-size: var(--font-size-lg);
    line-height: var(--line-height-relaxed);
}

.page-hero .page-hero-content .page-hero-note {
    margin-top: 1rem;
    color: var(--color-text);
    font-weight: 500;
}

.breadcrumb-nav {
    background: var(--color-glass-background);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    backdrop-filter: blur(8px);
}

.breadcrumb-nav ol {
    list-style: none;
    display: flex;
    gap: 0.5rem;
    padding: 0.75rem 0;
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

.breadcrumb-nav li + li::before {
    content: '\203A';
    margin: 0 0.5rem;
    color: var(--color-text-muted);
}

.breadcrumb-nav a {
    color: var(--color-text);
    text-decoration: none;
}

.breadcrumb-nav a:hover {
    color: var(--color-primary);
}

.secondary-nav {
    background: var(--color-glass-strong);
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.secondary-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1rem 0;
}

.secondary-nav-title {
    font-weight: 600;
    color: var(--color-text-muted);
}

.secondary-nav ul {
    list-style: none;
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.secondary-nav a {
    color: var(--color-text);
    text-decoration: none;
    font-weight: 500;
    padding-bottom: 0.2rem;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease, color 0.3s ease;
}

.secondary-nav a[aria-current="page"] {
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.secondary-nav a:hover {
    color: var(--color-primary);
}

.home-overview {
    padding: 4rem 0 6rem;
}

.home-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.home-intro h2 {
    font-size: clamp(1.8rem, 3.5vw + 0.5rem, 2.6rem);
    margin-bottom: 1rem;
    line-height: var(--line-height-tight);
    letter-spacing: var(--letter-spacing-tight);
    text-wrap: balance;
}

.home-intro p {
    color: var(--color-text-muted);
    font-size: var(--font-size-lg);
    line-height: var(--line-height-relaxed);
}

.airbnb-showcase {
    margin: 4rem 0;
    background: var(--color-surface);
    border-radius: 24px;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-soft);
    padding: 3rem;
}

.airbnb-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 2.5rem;
}

.airbnb-header h3 {
    font-size: clamp(1.6rem, 3vw + 0.5rem, 2.2rem);
    margin-bottom: 0.75rem;
    line-height: var(--line-height-tight);
    font-weight: 600;
    letter-spacing: var(--letter-spacing-tight);
}

.airbnb-header p {
    color: var(--color-text-muted);
    line-height: var(--line-height-relaxed);
}

.airbnb-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.75rem;
}

.airbnb-card {
    display: flex;
    flex-direction: column;
    background: var(--color-background);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.airbnb-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 55px rgba(15, 23, 42, 0.14);
}


.airbnb-card-media {
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 1.4rem 1.5rem 2.6rem;
    color: #fff;
    font-weight: 600;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    min-height: 210px;
}

.airbnb-card-gallery {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.airbnb-gallery-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.65s cubic-bezier(0.32, 0.72, 0, 1);
    will-change: transform;
    touch-action: pan-y;
    pointer-events: auto;
    cursor: grab;
}

.airbnb-gallery-track.is-dragging {
    transition: none;
    cursor: grabbing;
}

.airbnb-gallery-slide {
    position: relative;
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    margin: 0;
}

/* Dark overlay removed to show images in their natural brightness */
/* .airbnb-card-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.05) 0%, rgba(15, 23, 42, 0.78) 100%);
    z-index: 2;
    pointer-events: none;
} */

.airbnb-card-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, filter 0.4s ease, opacity 0.4s ease;
}

.airbnb-card-image.is-placeholder {
    filter: saturate(70%) blur(2px);
    opacity: 0.85;
    transform: scale(1.02);
}

.airbnb-card-image.is-loaded {
    filter: none;
    opacity: 1;
    transform: scale(1);
}

.airbnb-card-image.is-error {
    filter: none;
    opacity: 1;
    transform: scale(1);
}

.airbnb-card:hover .airbnb-card-image {
    transform: scale(1.04);
}

.airbnb-gallery-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%) scale(0.94);
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 999px;
    border: none;
    background: rgba(15, 23, 42, 0.52);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 3;
    opacity: 0.85;
    transition: background 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
}

.airbnb-gallery-control span {
    font-size: 1.25rem;
    line-height: 1;
}

.airbnb-gallery-control--prev {
    left: 1rem;
}

.airbnb-gallery-control--next {
    right: 1rem;
}

.airbnb-card-media:hover .airbnb-gallery-control,
.airbnb-gallery-control:focus-visible {
    opacity: 1;
    transform: translateY(-50%) scale(1);
}

.airbnb-gallery-control:hover {
    background: rgba(15, 23, 42, 0.72);
}

.airbnb-gallery-control:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.9);
    outline-offset: 2px;
}

.airbnb-gallery-control[disabled] {
    opacity: 0;
    pointer-events: none;
}

.airbnb-gallery-dots {
    position: absolute;
    bottom: 1.1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.55rem;
    z-index: 3;
}

.airbnb-gallery-dots.is-hidden {
    display: none;
}

.airbnb-gallery-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.55);
    cursor: pointer;
    transition: transform 0.3s ease, background 0.3s ease, opacity 0.3s ease;
}

.airbnb-gallery-dot.is-active {
    transform: scale(1.2);
    background: rgba(255, 255, 255, 0.98);
}

.airbnb-gallery-dot:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.95);
    outline-offset: 2px;
}

.airbnb-card-location {
    position: relative;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(6px);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.35);
}

.airbnb-card-body {
    padding: 2rem 1.75rem 2.25rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.airbnb-card-title {
    font-size: var(--font-size-xl);
    line-height: var(--line-height-normal);
    letter-spacing: var(--letter-spacing-tight);
}

.airbnb-card-description {
    color: var(--color-text-muted);
    line-height: var(--line-height-relaxed);
}

.airbnb-card-stats {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem 1.1rem;
    color: var(--color-text-muted);
    font-size: 0.95rem;
    padding: 0;
    margin: 0;
}

.airbnb-card-link {
    align-self: flex-start;
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.airbnb-card-link:hover {
    color: var(--color-primary-dark, #0b3d2e);
    border-color: currentColor;
}

@media (max-width: 768px) {
    .airbnb-showcase {
        padding: 2.5rem 1.75rem;
        margin: 3rem 0;
    }

    .airbnb-header h3 {
        font-size: 1.75rem;
    }

    .airbnb-card-body {
        padding: 1.75rem 1.5rem 2rem;
    }
}

@media (max-width: 600px) {
    .airbnb-gallery-control {
        width: 2.4rem;
        height: 2.4rem;
    }

    .airbnb-gallery-control--prev {
        left: 0.75rem;
    }

    .airbnb-gallery-control--next {
        right: 0.75rem;
    }

    .airbnb-gallery-dots {
        bottom: 0.85rem;
    }
}

@media (hover: none) {
    .airbnb-gallery-control {
        opacity: 1;
        transform: translateY(-50%) scale(0.98);
    }
}

@media (prefers-reduced-motion: reduce) {
    .airbnb-gallery-track {
        transition: none;
    }

    .airbnb-gallery-control,
    .airbnb-gallery-dot {
        transition: none;
    }
}

.home-cta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.home-cta-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 2rem;
    background: var(--color-surface);
    border-radius: 18px;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-soft);
    text-decoration: none;
    color: var(--color-text);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.home-cta-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
}

.home-cta-logo {
    width: 56px;
    margin-bottom: 0.5rem;
    filter: drop-shadow(0 4px 8px rgba(15, 23, 42, 0.12));
}

.home-cta-link {
    margin-top: auto;
    font-weight: 600;
    color: var(--color-primary);
}

img,
svg,
video {
    max-width: 100%;
    height: auto;
}

.about-values {
    padding: 4rem 0;
}

.about-values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.value-card {
    background: var(--color-surface);
    border-radius: 18px;
    padding: 2rem;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-soft);
}

.value-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(11, 61, 46, 0.1), rgba(11, 61, 46, 0.25));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.about-cta, .services-cta, .pricing-cta {
    text-align: center;
    padding: 4rem 0;
}

.about-cta p,
.services-cta p,
.pricing-cta p {
    color: var(--color-text-muted);
    margin: 1rem auto 2rem;
    max-width: 600px;
}

.services-cta .btn-primary,
.pricing-cta .btn-primary {
    padding: 0.9rem 2.2rem;
    font-size: 1rem;
}



/* Modal Styles */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1001; /* Sit on top - higher than navbar */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0,0,0,0.6); /* Black w/ opacity */
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: var(--color-surface);
    color: var(--color-text);
    margin: 10% auto; /* 10% from the top and centered */
    padding: 25px;
    border: 1px solid var(--color-border);
    border-radius: 18px;
    width: 80%; /* Could be more or less, depending on screen size */
    max-width: 500px; /* Maximum width */
    box-shadow: var(--shadow-soft);
    position: relative;
    animation: slideInFromTop 0.5s ease-out;
}

@keyframes slideInFromTop {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close-button {
    color: var(--color-text-muted);
    float: right;
    font-size: 28px;
    font-weight: bold;
    transition: color 0.3s ease;
}

.close-button:hover,
.close-button:focus {
    color: var(--color-primary);
    text-decoration: none;
    cursor: pointer;
}

.modal h3 {
    margin-top: 0;
    margin-bottom: 1.5rem;
    color: var(--color-primary);
    text-align: center;
}

.modal .modal-intro {
    background: #f5f9ff;
    border-left: 4px solid var(--color-accent);
    padding: 1.25rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

.modal .modal-intro h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    color: var(--color-text);
}

.modal .modal-intro p {
    margin: 0;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.modal .form-group {
    margin-bottom: 1rem;
}

.autocomplete-container {
    position: relative;
}

.autocomplete-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-top: none;
    border-radius: 0 0 10px 10px;
    max-height: 150px;
    overflow-y: auto;
    z-index: 1002;
}

.autocomplete-results div {
    padding: 10px;
    cursor: pointer;
}

.autocomplete-results div:hover {
    background: rgba(11, 61, 46, 0.08);
}

.autocomplete-results .active {
    background: rgba(11, 61, 46, 0.12);
}

.modal .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

.modal .form-group input[type="number"],
.modal .form-group input[type="text"] {
    width: 100%;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    color: var(--color-text);
    font-family: inherit;
    transition: all 0.3s ease;
}

.modal .form-group input[type="number"]:focus,
.modal .form-group input[type="text"]:focus,
.modal .form-group select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(11, 61, 46, 0.15);
}

/* Common style for modal inputs and selects */
.modal .form-group input[type="number"],
.modal .form-group input[type="text"],
.modal .form-group select {
    width: 100%;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    color: var(--color-text);
    font-family: inherit;
    transition: all 0.3s ease;
}

/* Specific for select to reset appearance and allow custom arrow (optional) */
.modal .form-group select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 2rem; /* Space for custom arrow */
    /* background-image: url('path/to/custom-arrow.svg'); For custom arrow */
    /* background-repeat: no-repeat; */
    /* background-position: right 0.7rem center; */
    /* background-size: 1em; */
}


.modal-submit-button { /* Style for the submit button inside the modal */
    width: 100%;
    padding: 1rem; /* Make it a bit larger */
    margin-top: 1rem;
    justify-content: center;
    display: flex;
    /* Inherits .btn-primary styles, can add more specifics if needed */
}

.modal-result {
    margin-top: 1.5rem;
    padding: 1rem;
    background-color: rgba(11, 61, 46, 0.08);
    border-radius: 8px;
    text-align: center;
    color: var(--color-text);
    font-size: 1.1rem;
}

.modal-result strong {
    color: var(--color-text-muted);
}

#revenueAmount {
    font-weight: bold;
}

.modal-disclaimer {
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    text-align: center;
    line-height: 1.4;
}


.hero-content {
    text-align: center;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(2rem, 5vw + 1rem, 3.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: var(--line-height-tight);
    color: var(--color-text);
    letter-spacing: var(--letter-spacing-tight);
    text-wrap: balance;
}

.highlight {
    color: var(--color-primary);
}

.hero-subtitle {
    font-size: clamp(1.2rem, 2vw + 0.5rem, 1.5rem);
    color: var(--color-secondary);
    margin-bottom: 1.5rem;
    font-weight: 500;
    line-height: var(--line-height-normal);
    text-wrap: balance;
}

.hero-description {
    font-size: var(--font-size-lg);
    color: var(--color-text-muted);
    margin-bottom: 2.5rem;
    line-height: var(--line-height-loose);
    text-wrap: pretty;
}

.hero-buttons {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.9rem 1.85rem;
    border-radius: 999px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-decoration: none;
    border: 1px solid transparent;
    color: inherit;
    background: transparent;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px rgba(11, 61, 46, 0.18);
}

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background: linear-gradient(135deg, #11523e 0%, #0b3d2e 100%);
    color: #ffffff;
    border-color: rgba(11, 61, 46, 0.35);
    box-shadow: 0 12px 28px rgba(11, 61, 46, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #13624a 0%, #0c4332 100%);
    box-shadow: 0 16px 34px rgba(11, 61, 46, 0.22);
}

.btn-primary:active {
    box-shadow: 0 8px 18px rgba(11, 61, 46, 0.2);
}

.btn-secondary {
    background: rgba(11, 61, 46, 0.06);
    color: var(--color-primary);
    border-color: rgba(11, 61, 46, 0.18);
    box-shadow: none;
}

.btn-secondary:hover {
    background: rgba(11, 61, 46, 0.12);
    border-color: rgba(11, 61, 46, 0.28);
    color: var(--color-primary);
    transform: translateY(-2px);
}

.btn-secondary:active {
    background: rgba(11, 61, 46, 0.1);
    box-shadow: none;
}

@media (prefers-reduced-motion: reduce) {
    .btn {
        transition: none;
    }
}

@media (min-width: 992px) {
    .hero-content {
        align-items: center;
        text-align: center;
    }

    .hero-description {
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }
}

/* Sections */
.services, .pricing, .contact {
    padding: 100px 0;
    position: relative;
}

.section-title {
    font-size: clamp(2rem, 4vw + 0.5rem, 2.75rem);
    text-align: center;
    margin-bottom: 1rem;
    color: var(--color-text);
    line-height: var(--line-height-tight);
    letter-spacing: var(--letter-spacing-tight);
    text-wrap: balance;
}

.section-subtitle {
    font-size: var(--font-size-xl);
    text-align: center;
    color: var(--color-text-muted);
    margin-bottom: 3rem;
    line-height: var(--line-height-relaxed);
    text-wrap: balance;
}

/* Bottom CTA Section */
.bottom-cta {
    padding: 4rem 0 6rem 0;
    background: transparent;
    position: relative;
}

.bottom-cta-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.bottom-cta .btn {
    font-size: 1.1rem;
    padding: 1rem 2rem;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    display: block;
    background: var(--color-surface);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-soft);
    position: relative;
    text-decoration: none;
}

.service-card:hover,
.service-card:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 16px 28px rgba(15, 23, 42, 0.1);
    border-color: rgba(11, 61, 46, 0.18);
}

.service-card:focus-visible {
    outline: 2px solid rgba(11, 61, 46, 0.4);
    outline-offset: 4px;
}

.service-card-cta {
    display: inline-block;
    margin-top: 1.5rem;
    font-weight: 600;
    color: var(--color-primary);
    transition: color 0.2s ease;
}

.service-card:hover .service-card-cta,
.service-card:focus-visible .service-card-cta {
    color: var(--color-secondary);
}

.service-detail-content {
    padding: 4rem 0;
}

.service-detail-article {
    background: var(--color-surface);
    border-radius: 24px;
    padding: 2.5rem;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-soft);
}

.service-detail-article h2 {
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
    color: var(--color-primary);
}

.service-detail-article h3 {
    font-size: 1.3rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.service-detail-article p {
    color: var(--color-text);
}

.service-detail-list {
    margin: 1.5rem 0 0;
    padding-left: 1.5rem;
    text-align: left;
    color: var(--color-text);
}

.service-detail-list li {
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

.service-detail-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

.service-detail-back::before {
    content: "←";
    font-size: 1rem;
}

.service-detail-back:hover,
.service-detail-back:focus-visible {
    color: var(--color-secondary);
}

@media (max-width: 768px) {
    .service-detail-content {
        padding: 3rem 0;
    }

    .service-detail-article {
        padding: 1.75rem;
    }

    .service-detail-list {
        padding-left: 1.25rem;
    }
}

.service-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, rgba(11, 61, 46, 0.08), rgba(11, 61, 46, 0.2));
    border: 1px solid rgba(11, 61, 46, 0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.service-card p {
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* Pricing */
.pricing {
}

.pricing-card {
    max-width: 500px;
    margin: 0 auto;
    background: var(--color-surface-alt);
    border-radius: 24px;
    padding: 3rem;
    text-align: center;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-soft);
}

.pricing-header h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.price {
    margin-bottom: 2rem;
}

.percentage {
    font-size: 4rem;
    font-weight: 700;
    color: var(--color-primary);
    display: block;
}

.price-text {
    font-size: 1.2rem;
    color: var(--color-text-muted);
}

.pricing-features {
    text-align: left;
    margin-bottom: 2rem;
}

.feature {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    gap: 1rem;
}

.check {
    color: var(--color-secondary);
    font-weight: bold;
    font-size: 1.2rem;
}

.pricing-cta {
    background: var(--color-primary);
    color: #ffffff;
    border: none;
    padding: 1rem 2rem;
    border-radius: 30px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 14px 32px rgba(11, 61, 46, 0.18);
}

.pricing-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(11, 61, 46, 0.2);
}

/* Contact */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.contact-info h3 {
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.contact-item {
    margin-bottom: 1rem;
    color: var(--color-text-muted);
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    padding: 1rem;
    color: var(--color-text);
    font-family: inherit;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(11, 61, 46, 0.15);
}

.contact-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.contact-button {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: var(--color-primary);
    color: #ffffff;
    padding: 1rem 1.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 14px 32px rgba(11, 61, 46, 0.18);
}

.contact-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(11, 61, 46, 0.2);
}

.contact-button i {
    font-size: 1.5rem;
}

/* Footer */
.footer {
    padding: 2rem 0;
    border-top: 1px solid var(--color-border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.footer-logo h3 {
    color: var(--color-primary);
    font-family: var(--font-family-base);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.footer-logo p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

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

.footer-links a {
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--color-primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid var(--color-border);
    color: var(--color-text-muted);
}

/* Terms of Service */
.terms-hero .page-hero-content {
    max-width: 860px;
}

.terms-summary {
    margin: 1.5rem 0 0;
    padding-left: 1.5rem;
    list-style: disc;
    color: var(--color-text-muted);
}

.terms-summary li {
    margin-bottom: 0.75rem;
}

.terms-content {
    padding: 4rem 0 5rem;
}

.terms-article {
    max-width: 960px;
    margin: 0 auto;
    display: grid;
    gap: 1.5rem;
}

.terms-article h2 {
    font-size: 2rem;
    margin-top: 2.5rem;
}

.terms-article h3,
.terms-article h4 {
    font-size: 1.35rem;
    margin-top: 1.75rem;
}

.terms-article p {
    color: var(--color-text-muted);
    line-height: 1.7;
}

.terms-article ul,
.terms-article ol {
    margin: 0.75rem 0 0 1.5rem;
    color: var(--color-text-muted);
}

.terms-article li {
    margin-bottom: 0.65rem;
}

.terms-article ol {
    list-style: decimal;
    padding-left: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-cards-section {
        min-height: auto;
        padding: 6rem 0 3rem;
    }

    .hero-cards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 1rem;
    }

    .hero-card { 
        padding: 2rem 1.75rem;
    }

    .hero-card-title {
        font-size: 1.5rem;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        left: 20px;
        right: 20px;
        top: calc(100% + 12px);
        background: var(--color-surface-gradient);
        border: 1px solid var(--color-border);
        border-radius: 16px;
        padding: 1.25rem;
        display: none;
        flex-direction: column;
        gap: 0.75rem;
        box-shadow: var(--shadow-soft);
        z-index: 1001;
        backdrop-filter: blur(18px);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-link {
        font-size: 1rem;
        color: var(--color-text);
        padding: 0.25rem 0;
    }

    .nav-language {
        width: 100%;
        margin-left: 0;
        border-top: 1px solid rgba(148, 163, 184, 0.12);
        padding-top: 0.75rem;
        margin-top: 0.5rem;
    }

    .nav-language .language-switcher {
        width: 100%;
        display: flex;
        justify-content: center;
        background: rgba(255, 255, 255, 0.85);
    }

    .nav-logo-img {
        width: 64px;
    }

    .logo-text {
        font-size: 1.3rem;
    }

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

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .page-hero {
        min-height: auto;
        padding: 6rem 0 3rem;
    }

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

    .secondary-nav .container {
        flex-direction: column;
        align-items: flex-start;
    }

    .secondary-nav ul {
        gap: 0.75rem;
    }

    .home-intro h2 {
        font-size: 2rem;
    }

    .home-intro p {
        font-size: 1rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }

    .terms-content {
        padding: 3rem 0 4rem;
    }

    .terms-article {
        gap: 1.25rem;
    }

    .terms-article h2 {
        font-size: 1.65rem;
        margin-top: 2rem;
    }

    .terms-article h3,
    .terms-article h4 {
        font-size: 1.2rem;
        margin-top: 1.25rem;
    }

    .terms-article ul,
    .terms-article ol {
        margin-left: 1rem;
    }

    .terms-summary {
        padding-left: 1rem;
    }

    .terms-summary li {
        margin-bottom: 0.6rem;
    }

}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

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

    .section-title {
        font-size: 2rem;
    }

    .pricing-card {
        padding: 2rem;
    }
}

.hero-logo {
    width: 150px;
    margin-bottom: 12px;
    margin-top: 80px;
}

.service-logo {
    width: 60px;
    margin-bottom: 15px;
}

