/* Header and Navigation */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--header-bg);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--primary-gold);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.nav-brand:hover {
    opacity: 0.85;
}

.nav-brand .logo {
    height: 50px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.nav-brand .logo:hover {
    transform: scale(1.05);
}

.nav-brand .brand-name {
    color: var(--primary-gold);
    font-size: 1.8rem;
    font-weight: bold;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--primary-gold);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: var(--primary-green);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--primary-gold) 100%);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-gold);
    font-size: 1.2rem;
}

.theme-toggle:hover {
    background: var(--shadow-color);
}

.theme-toggle-icon {
    transition: transform 0.3s ease;
}

.theme-toggle:hover .theme-toggle-icon {
    transform: rotate(180deg);
}

/* Language Dropdown */
.language-dropdown {
    position: relative;
}

.lang-current {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: transparent;
    border: none;
    border-radius: 6px;
    color: var(--secondary-gold);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.lang-current:hover {
    background: rgba(26, 82, 118, 0.1);
    color: var(--primary-gold);
}

.lang-current .lang-arrow {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
    margin-left: 4px;
}

.lang-current[aria-expanded="true"] .lang-arrow {
    transform: rotate(180deg);
}

.lang-options {
    position: absolute;
    bottom: 100%;
    left: 0;
    margin-bottom: 8px;
    background: var(--footer-bg);
    border: 1px solid rgba(26, 82, 118, 0.25);
    min-width: 150px;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
    overflow: hidden;
}

.language-dropdown.active .lang-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 12px;
    background: transparent;
    border: none;
    color: var(--secondary-gold);
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.9rem;
    text-align: left;
}

.lang-option:hover {
    background: rgba(26, 82, 118, 0.15);
}

.lang-option:not(:last-child) {
    border-bottom: 1px solid rgba(26, 82, 118, 0.15);
}

.lang-text {
    white-space: nowrap;
}

.flag-icon {
    width: 24px;
    height: 16px;
    border-radius: 2px;
    display: inline-block;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}

.flag-gb {
    background-image: url('data:image/svg+xml;charset=utf-8,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60 30"%3E%3CclipPath id="a"%3E%3Cpath d="M0 0v30h60V0z"/%3E%3C/clipPath%3E%3CclipPath id="b"%3E%3Cpath d="M30 15h30v15zv15H0zH0V0zV0h30z"/%3E%3C/clipPath%3E%3Cg clip-path="url(%23a)"%3E%3Cpath d="M0 0v30h60V0z" fill="%23012169"/%3E%3Cpath d="M0 0l60 30m0-30L0 30" stroke="%23fff" stroke-width="6"/%3E%3Cpath d="M0 0l60 30m0-30L0 30" clip-path="url(%23b)" stroke="%23C8102E" stroke-width="4"/%3E%3Cpath d="M30 0v30M0 15h60" stroke="%23fff" stroke-width="10"/%3E%3Cpath d="M30 0v30M0 15h60" stroke="%23C8102E" stroke-width="6"/%3E%3C/g%3E%3C/svg%3E');
}

.flag-de {
    background: linear-gradient(180deg, 
        #000000 0%, #000000 33.33%, 
        #DD0000 33.33%, #DD0000 66.66%, 
        #FFCE00 66.66%, #FFCE00 100%);
}

/* Old language switch - can be removed */
.language-switch {
    display: flex;
    background: var(--card-bg);
    border-radius: 20px;
    padding: 2px;
    gap: 2px;
    border: 1px solid var(--primary-gold);
}

.lang-btn {
    padding: 4px 8px;
    border: none;
    background: transparent;
    border-radius: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lang-btn.active {
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--secondary-gold) 100%);
    box-shadow: 0 2px 8px var(--shadow-color);
}

.lang-btn:hover:not(.active) {
    color: var(--primary-gold);
    background: var(--hover-bg);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    background: transparent;
    border: none;
    transition: all 0.3s ease;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-gold);
    margin: 3px 0;
    transition: 0.3s;
}

.nav-toggle:hover span,
.nav-toggle.active span {
    background: var(--secondary-gold);
}

.nav-toggle:hover {
    background: var(--hover-bg);
}

[data-theme='dark'] .nav-toggle {
    background: rgba(0, 0, 0, 0.5);
}

[data-theme='dark'] .nav-toggle:hover {
    background: rgba(0, 0, 0, 0.7);
}

[data-theme='dark'] .nav-toggle span {
    background: var(--primary-gold);
}

[data-theme='dark'] .nav-toggle:hover span,
[data-theme='dark'] .nav-toggle.active span {
    background: var(--secondary-gold);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    padding: 120px 0 60px;
    display: flex;
    align-items: center;
    background: linear-gradient(180deg, var(--bg-color) 0%, rgba(26, 82, 118, 0.05) 50%, var(--bg-color) 100%);
}

[data-theme='dark'] .hero {
    background: linear-gradient(180deg, #0d1117 0%, rgba(26, 82, 118, 0.12) 50%, #0d1117 100%);
}

/* Fullscreen Hero with Logo */
.hero-fullscreen {
    min-height: 100vh;
    height: 100vh;
    padding: 0;
    padding-top: 70px; /* Height of navbar */
    display: flex;
    align-items: flex-start;
    justify-content: center;
    background: linear-gradient(180deg, var(--bg-color) 0%, rgba(26, 82, 118, 0.06) 50%, var(--bg-color) 100%);
    position: relative;
    overflow: hidden;
}

.hero-fullscreen::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(41, 128, 185, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

[data-theme='dark'] .hero-fullscreen {
    background: linear-gradient(180deg, #0d1117 0%, rgba(26, 82, 118, 0.15) 50%, #0d1117 100%);
}

[data-theme='dark'] .hero-fullscreen::before {
    background: radial-gradient(circle, rgba(41, 128, 185, 0.12) 0%, transparent 70%);
}

.hero-logo-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 0;
}

.hero-logo-fullscreen {
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    animation: fadeInSlideDown 1.2s ease-out;
    display: block;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeInSlideDown {
    0% {
        opacity: 0;
        transform: translateY(-50px) scale(0.95);
    }
    60% {
        opacity: 0.8;
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Hero Text Display (default when no logo is provided) */
.hero-text-container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.hero-company-name {
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 800;
    text-align: center;
    letter-spacing: -0.02em;
    line-height: 1.1;
    background: linear-gradient(
        135deg,
        var(--primary-gold) 0%,
        var(--primary-green) 30%,
        var(--primary-gold) 50%,
        var(--primary-green) 70%,
        var(--primary-gold) 100%
    );
    background-size: 300% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
    animation:
        heroTextReveal 1s ease-out 0.3s forwards,
        heroShimmer 6s ease-in-out 1.5s infinite;
}

.hero-accent-line {
    width: 0;
    height: 3px;
    margin-top: 1.5rem;
    background: linear-gradient(90deg, var(--primary-gold), var(--primary-green), var(--primary-gold));
    border-radius: 2px;

    animation: heroAccentDraw 0.8s ease-out 1s forwards;
}

@keyframes heroTextReveal {
    from {
        opacity: 0;
        transform: translateY(30px);
        filter: blur(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

@keyframes heroShimmer {
    0% { background-position: 200% center; }
    100% { background-position: -200% center; }
}

@keyframes heroAccentDraw {
    from { width: 0; }
    to { width: 120px; }
}

.hero-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: var(--primary-gold);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--accent-green) 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(41, 128, 185, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(41, 128, 185, 0.5);
    background: linear-gradient(135deg, #3498db 0%, var(--primary-green) 100%);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
}

.btn-secondary:hover {
    background: var(--primary-green);
    color: white;
    transform: translateY(-2px);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 500px;
    overflow: hidden;
}

.hero-img, .about-img {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 320px;
    border-radius: 20px;
    object-fit: contain;
    box-shadow: 0 10px 30px var(--shadow-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-img:hover, .about-img:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--shadow-color);
}

/* Sections */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-gold);
    font-weight: 700;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-gold), var(--primary-green));
    border-radius: 2px;
}

.section-description {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto 2rem;
    line-height: 1.8;
}

.services-intro {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 800px;
    margin: -1rem auto 3rem;
    line-height: 1.8;
}

/* About Section */
.about {
    background: linear-gradient(180deg, var(--bg-color) 0%, rgba(26, 82, 118, 0.04) 40%, rgba(41, 128, 185, 0.03) 60%, var(--bg-color) 100%);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 50%;
    right: -100px;
    transform: translateY(-50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(26, 82, 118, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

[data-theme='dark'] .about {
    background: linear-gradient(180deg, #0d1117 0%, rgba(26, 82, 118, 0.12) 40%, rgba(41, 128, 185, 0.08) 60%, #0d1117 100%);
}

[data-theme='dark'] .about::before {
    background: radial-gradient(circle, rgba(41, 128, 185, 0.1) 0%, transparent 70%);
}

.about-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
}

.about-text {
    flex: 1;
    max-width: 800px;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.about-text ul {
    list-style: none;
    padding: 0;
}

.about-text li {
    padding: 1rem 0;
    color: var(--text-muted);
    position: relative;
    padding-left: 2rem;
    font-size: 1.1rem;
}

.about-text li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-gold);
    font-weight: bold;
    font-size: 1.3rem;
}

.about-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 500px;
    overflow: hidden;
}

.about-image .placeholder-image {
    height: 300px;
}

/* Services Section */
.services-combined {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--bg-color) 0%, rgba(26, 82, 118, 0.05) 30%, rgba(41, 128, 185, 0.04) 70%, var(--bg-color) 100%);
    position: relative;
}

[data-theme='dark'] .services-combined {
    background: linear-gradient(180deg, #0d1117 0%, rgba(26, 82, 118, 0.1) 30%, rgba(41, 128, 185, 0.06) 70%, #0d1117 100%);
}

.welcome-content {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.welcome-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: var(--primary-gold);
    line-height: 1.2;
}

.welcome-subtitle {
    font-size: 1.3rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.service-card {
    background: linear-gradient(135deg, rgba(26, 82, 118, 0.88) 0%, rgba(21, 67, 96, 0.75) 100%);
    padding: 3rem 1.5rem;
    border-radius: 0;
    text-align: center;
    cursor: pointer;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    overflow: hidden; /* Prevent text from flying out */
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.2) 100%);
    z-index: 1;
}

.service-card > * {
    position: relative;
    z-index: 2;
}

.service-card:nth-child(1) {
    background-color: rgba(10, 22, 40, 0.88);
}

.service-card:nth-child(2) {
    background-color: rgba(26, 82, 118, 0.88);
}

.service-card:nth-child(3) {
    background-color: rgba(41, 128, 185, 0.85);
}

.service-icon {
    display: none;
}

.service-card h3 {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    margin-bottom: 0.5rem;
    color: #ffffff;
    font-weight: 700;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
    text-align: center;
    word-break: break-word;
    overflow-wrap: anywhere;
    hyphens: auto;
    width: 100%;
    max-width: 90%;
    margin: 0 auto;
    padding: 0;
    line-height: 1.3;
}

.service-card p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    max-width: 90%;
    margin: 0 auto;
    line-height: 1.5;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.services-motto {
    margin-top: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(26, 82, 118, 0.06) 0%, rgba(41, 128, 185, 0.04) 100%);
    border-radius: 15px;
    border: 2px solid var(--primary-gold);
    text-align: center;
}

.motto-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-color);
}

.motto-text strong {
    color: var(--primary-gold);
}

/* Contact Section */
.contact {
    background: linear-gradient(180deg, var(--bg-color) 0%, rgba(26, 82, 118, 0.05) 50%, var(--bg-color) 100%);
    position: relative;
}

[data-theme='dark'] .contact {
    background: linear-gradient(180deg, #0d1117 0%, rgba(26, 82, 118, 0.1) 50%, #0d1117 100%);
}

.contact-content {
    display: flex;
    gap: 4rem;
    max-width: 800px;
    margin: 0 auto;
}

.contact-info {
    flex: 1;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--text-color);
}

.contact-item {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.contact-item a {
    color: var(--primary-gold);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--secondary-gold);
    text-decoration: underline;
}

.contact-form {
    flex: 1;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background-color: var(--card-bg);
    color: var(--text-color);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-green);
    background-color: var(--card-bg);
    box-shadow: 0 0 0 3px rgba(41, 128, 185, 0.15);
}

.form-group input.error,
.form-group textarea.error {
    border-color: #d32f2f;
}

.field-error {
    color: #d32f2f;
    font-size: 0.85rem;
    margin-top: 0.25rem;
    display: block;
}

.btn.loading {
    opacity: 0.7;
    cursor: not-allowed;
}

.form-notification {
    position: fixed;
    top: 2rem;
    right: 2rem;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 25000;
    font-size: 0.9rem;
    max-width: 350px;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.3s ease;
}

.form-notification.show {
    opacity: 1;
    transform: translateY(0);
}

.form-notification.success {
    background: #1a5276;
    color: white;
}

.form-notification.error {
    background: #d32f2f;
    color: white;
}

/* Footer */
.footer {
    background: linear-gradient(180deg, #0f1b2d 0%, #0a1628 40%, #060d18 100%);
    color: rgba(174, 214, 241, 0.85);
    padding: 3rem 0 1rem;
    border-top: none;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-gold), var(--primary-green), var(--primary-gold));
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: #ffffff;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.footer-section p {
    color: rgba(174, 214, 241, 0.7);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.footer-section a {
    color: rgba(174, 214, 241, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #ffffff;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.social-links a {
    font-size: 1.5rem;
    transition: transform 0.3s ease, color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(174, 214, 241, 0.7);
}

.social-links a:hover {
    transform: translateY(-3px);
    color: #ffffff;
}

.social-links svg {
    width: 24px;
    height: 24px;
}

.footer-bottom {
    border-top: 1px solid rgba(26, 82, 118, 0.25);
    padding-top: 1.5rem;
    margin-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom .language-dropdown {
    order: 2;
}

.footer-bottom p {
    margin: 0;
    color: rgba(174, 214, 241, 0.5);
    order: 1;
}

.footer-links {
    display: flex;
    gap: 2rem;
    order: 3;
    flex-wrap: wrap;
    align-items: center;
}

.footer-links a {
    color: rgba(174, 214, 241, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ffffff;
}

/* Legal Sections */
.legal-section {
    display: none;
    background: var(--bg-color);
}

/* Show legal sections when used as overlay pages */
.legal-section.legal-page.show {
    display: block !important;
}

.legal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    position: sticky;
    top: 60px;
    background: var(--bg-color);
    padding: 1rem 0;
    z-index: 10;
}

.close-legal-btn {
    background: transparent;
    border: 2px solid var(--primary-gold);
    color: var(--text-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.close-legal-btn:hover {
    background: var(--primary-gold);
    color: black;
    transform: rotate(90deg);
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
    padding-top: 2rem;
}

.legal-content h3 {
    margin-top: 3rem;
    margin-bottom: 1rem;
    color: var(--text-color);
    font-size: 1.3rem;
    border-bottom: 2px solid var(--primary-gold);
    padding-bottom: 0.5rem;
}

.legal-content h3:first-of-type {
    margin-top: 0;
}

.legal-content h4 {
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    color: var(--text-color);
    font-size: 1.1rem;
}

.legal-content p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.legal-item {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--card-bg);
    border-radius: 10px;
    box-shadow: 0 2px 10px var(--shadow-color);
    border: 1px solid var(--border-color);
}


.legal-item h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    border-bottom: 2px solid var(--primary-gold);
    padding-bottom: 0.5rem;
}

.legal-item p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.legal-item ul {
    list-style: none;
    padding-left: 0;
    margin: 1rem 0;
}

.legal-item li {
    padding: 0.5rem 0;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Legal Pages (Hidden by default) */
.legal-section.legal-page {
    display: none;
    position: relative;
    width: 100%;
    min-height: calc(100vh - 70px);
    background: var(--bg-color);
    color: var(--text-color);
    opacity: 0;
    visibility: hidden;
    padding: 120px 0 80px;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.legal-section.legal-page.show {
    display: block !important;
    opacity: 1;
    visibility: visible;
}

.legal-page-header {
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--secondary-gold) 100%);
    color: var(--footer-bg);
    padding: 2rem 0;
    margin-bottom: 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px var(--shadow-color);
}

.legal-page-header .container {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.back-button {
    background: rgba(34, 31, 31, 0.1);
    border: 2px solid rgba(34, 31, 31, 0.15);
    color: var(--footer-bg);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
}

.back-button:hover {
    background: rgba(34, 31, 31, 0.15);
    border-color: rgba(34, 31, 31, 0.25);
    transform: translateX(-5px);
}

.back-arrow {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.back-button:hover .back-arrow {
    transform: translateX(-3px);
}

.page-title {
    flex: 1;
    margin: 0;
    font-size: 2rem;
    font-weight: 600;
    color: var(--footer-bg);
}

/* Legal page content adjustments */
.legal-section.legal-page .legal-content {
    max-width: 900px;
}

.legal-section.legal-page .legal-item {
    margin-bottom: 2.5rem;
    padding: 2rem;
    border-left: 4px solid var(--primary-gold);
}

.legal-page .legal-item h3 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    border-bottom: none;
    padding-bottom: 0;
}

.legal-page .legal-item p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-muted);
}

.legal-page .legal-item li {
    padding: 0.75rem 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Hide main content when legal page is shown */
body.legal-page-open .header {
    display: block; /* Keep header/navbar visible */
}

/* Keep only the legal overlay visible inside main while open */
body.legal-page-open #main-content > :not(.legal-page) {
    display: none !important;
}

body.legal-page-open .footer {
    display: block; /* Show footer in legal overlays */
    position: relative; /* Position within scrollable overlay content */
    z-index: 1; /* Ensure it's visible */
}

body.legal-page-open .cookie-banner {
    display: none;
}

/* Keep footer cookie settings button visible even when legal page is open */
body.legal-page-open .footer .cookie-settings-btn {
    display: inline-block !important;
}

/* Legal page uses main navbar, no separate header needed */

/* Privacy Notice in Contact Form */
.privacy-notice {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.privacy-notice p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

/* Consent Checkbox */
.consent-group {
    margin-bottom: 2rem;
}

.consent-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.4;
}

.consent-checkbox input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-top: 2px;
    background: var(--card-bg);
}

.consent-checkbox input[type="checkbox"]:checked + .checkmark {
    background: var(--primary-gold);
    border-color: var(--primary-gold);
}

.consent-checkbox input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    color: white;
    font-size: 14px;
    font-weight: bold;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--header-bg);
    backdrop-filter: blur(10px);
    color: var(--text-color);
    padding: 1.5rem;
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    box-shadow: 0 -4px 20px var(--shadow-color);
    border-top: 1px solid var(--border-color);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-content p {
    flex: 1;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.btn-outline {
    background: transparent;
    color: var(--primary-gold);
    border: 2px solid var(--primary-gold);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: var(--primary-gold);
    border-color: var(--primary-gold);
    color: black;
}

/* Cookie Management Modal */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--modal-overlay);
    backdrop-filter: blur(5px);
    z-index: 20000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.cookie-modal.show {
    display: flex;
}

.cookie-modal-content {
    background: var(--bg-color);
    border-radius: 15px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 20px 60px var(--shadow-color);
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-color);
}

.cookie-modal-header {
    padding: 2rem 2rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(34, 31, 31, 0.1);
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.cookie-modal-header h2 {
    margin: 0;
    color: var(--text-color);
    font-size: 1.5rem;
}

.cookie-modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.cookie-modal-close:hover {
    background: var(--hover-bg);
    color: var(--text-color);
}

.cookie-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 0 2rem;
}

.cookie-modal-body p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* Cookie Categories */
.cookie-categories {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cookie-category {
    border: 1px solid rgba(34, 31, 31, 0.1);
    border-radius: 10px;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.cookie-category:hover {
    border-color: var(--primary-gold);
}

.cookie-category-header {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    background: rgba(26, 82, 118, 0.06);
}

.cookie-category-info {
    flex: 1;
}

.cookie-category-info h3 {
    margin: 0 0 0.5rem 0;
    color: var(--text-color);
    font-size: 1.1rem;
}

.cookie-category-info p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Cookie Toggle Switch */
.cookie-toggle {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.cookie-toggle input[type="checkbox"] {
    display: none;
}

.toggle-label {
    position: relative;
    width: 50px;
    height: 24px;
    background: rgba(34, 31, 31, 0.2);
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.3s ease;
    display: inline-block;
}

.toggle-label:has(input:checked) {
    background: var(--primary-green);
}

.toggle-label:has(input:disabled) {
    background: var(--primary-gold);
    cursor: not-allowed;
}

/* Fallback for browsers that don't support :has() */
input[type="checkbox"]:checked + .toggle-label {
    background: var(--primary-green);
}

input[type="checkbox"]:disabled + .toggle-label {
    background: var(--primary-gold);
    cursor: not-allowed;
}

.toggle-slider {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.toggle-label:has(input:checked) .toggle-slider {
    transform: translateX(26px);
}

/* Fallback for browsers that don't support :has() */
input[type="checkbox"]:checked + .toggle-label .toggle-slider {
    transform: translateX(26px);
}

.toggle-status {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

.toggle-status.active {
    display: none;
}

.toggle-status.inactive {
    display: inline;
}

.cookie-toggle:has(input:checked) .toggle-status.active {
    display: inline;
}

.cookie-toggle:has(input:checked) .toggle-status.inactive {
    display: none;
}

/* Fallback for browsers that don't support :has() */
.cookie-toggle input[type="checkbox"]:checked ~ .toggle-status.active {
    display: inline;
}

.cookie-toggle input[type="checkbox"]:checked ~ .toggle-status.inactive {
    display: none;
}

.cookie-toggle:has(input:disabled) .toggle-status {
    color: var(--secondary-gold);
}

/* Cookie Details */
.cookie-details {
    padding: 0 1.5rem 1.5rem;
    background: var(--card-bg);
}

.cookie-details ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.cookie-details li {
    padding: 0.5rem 0;
    color: var(--text-muted);
    font-size: 0.9rem;
    position: relative;
    padding-left: 1.5rem;
    border-bottom: 1px solid rgba(34, 31, 31, 0.08);
}

.cookie-details li:last-child {
    border-bottom: none;
}

.cookie-details li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-gold);
    font-weight: bold;
}

/* Cookie Modal Footer */
.cookie-modal-footer {
    padding: 1.5rem 2rem;
    border-top: 1px solid rgba(34, 31, 31, 0.1);
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    flex-wrap: wrap;
}

/* Fixed Cookie Settings Button */
/* Fixed Cookie Settings Button - Hidden, now in footer */
.cookie-settings-btn {
    display: none;
}

/* Footer Cookie Link */
.footer-cookie-link {
    background: none;
    border: none;
    color: rgba(174, 214, 241, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
    cursor: pointer;
    padding: 0;
    font-size: inherit;
    font-family: inherit;
    display: inline;
}

.footer-cookie-link:hover {
    color: #ffffff;
}

/* Cookie Status Indicator */
.cookie-status-indicator {
    position: fixed;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px var(--shadow-color);
    font-size: 0.8rem;
    color: var(--text-muted);
    max-width: 200px;
    z-index: 1000;
    display: none;
}

.cookie-status-indicator.show {
    display: block;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-brand .logo {
        height: 40px;
    }

    .nav-brand .brand-name {
        font-size: 1.3rem;
    }

    .nav-controls {
        gap: 0.5rem;
    }

    .language-switch {
        order: 1;
    }

    .nav-toggle {
        display: flex;
        order: 2;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--bg-color);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px var(--shadow-color);
        padding: 2rem 0;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .legal-nav-menu {
        position: static;
        left: auto;
        top: auto;
        flex-direction: column;
        background: transparent;
        width: 100%;
        text-align: center;
        box-shadow: none;
        padding: 1.5rem 0;
        max-height: none;
        overflow: visible;
        gap: 1.5rem;
    }

    .legal-nav-menu li {
        margin: 0;
    }

    .container {
        padding: 0 15px;
        max-width: 100%;
    }

    .hero-fullscreen {
        min-height: 100vh;
        height: 100vh;
        padding-top: 70px;
    }

    .hero-logo-fullscreen {
        width: 100%;
        max-width: 100%;
    }

    .hero-company-name {
        font-size: clamp(2.2rem, 10vw, 4rem);
    }

    .hero-accent-line {
        margin-top: 1rem;
    }

    .welcome-title {
        font-size: 2rem;
    }

    .welcome-subtitle {
        font-size: 1.1rem;
    }

    .hero {
        padding: 100px 0 40px;
        overflow-x: hidden;
    }

    .hero-layout {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        width: 100%;
    }

    .hero-content {
        max-width: 100%;
    }

    /* Change grid to 1 column on tablet to prevent narrow cards */
    .services-grid {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 2.5rem;
        word-wrap: break-word;
    }

    .hero-subtitle {
        word-wrap: break-word;
    }

    .about-content {
        flex-direction: column;
        text-align: center;
    }

    .contact-content {
        flex-direction: column;
        gap: 2rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .footer-bottom .language-dropdown {
        order: 1;
    }

    .footer-bottom p {
        order: 2;
    }

    .footer-links {
        justify-content: center;
        gap: 1rem;
        order: 3;
        flex-wrap: wrap;
        max-width: 100%;
        padding: 0 0.5rem;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .cookie-buttons {
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    }

    .cookie-buttons .btn {
        flex: 1;
        min-width: 120px;
    }

    .cookie-modal {
        padding: 1rem;
    }

    .cookie-modal-content {
        max-height: 95vh;
    }

    .cookie-modal-header {
        padding: 1.5rem 1.5rem 0;
    }

    .cookie-modal-body {
        padding: 0 1.5rem;
    }

    .cookie-modal-footer {
        padding: 1.5rem;
        flex-direction: column;
    }

    .cookie-category-header {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }

    .cookie-toggle {
        justify-content: space-between;
    }

    .legal-page-header .container {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        text-align: center;
    }

    .back-button {
        align-self: flex-start;
        margin-bottom: 1rem;
    }

    .page-title {
        font-size: 1.5rem;
    }

    .legal-page .legal-item {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }

    .legal-page .legal-item h3 {
        font-size: 1.2rem;
    }

    .legal-header {
        top: 60px;
        padding: 1rem 0;
    }

    .legal-header .section-title {
        font-size: 1.8rem;
        margin-bottom: 0;
    }

    /* Responsive map height */
    .map-container iframe {
        height: 300px;
    }

    .form-notification {
        top: 1rem;
        right: 1rem;
        left: 1rem;
        max-width: none;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .service-card {
        padding: 3rem 1.5rem;
        min-height: 220px;
    }

    .service-card h3 {
        font-size: clamp(1rem, 5vw, 1.5rem);
    }

    /* Service Modal Mobile Styles */
    .service-modal {
        padding: 0.5rem;
        align-items: flex-start;
        overflow-y: auto;
    }

    .service-modal-content {
        max-height: none;
        min-height: auto;
        margin: 0.5rem 0;
        border-radius: 10px;
    }

    .service-modal-header {
        padding: 1rem 1rem 0.75rem;
        grid-template-columns: 1fr auto;
        gap: 0.75rem;
    }

    .service-modal-header h2 {
        font-size: 1rem;
        line-height: 1.3;
    }

    .service-modal-close {
        font-size: 1.5rem;
        width: 32px;
        height: 32px;
        min-width: 32px;
        min-height: 32px;
        margin-top: 0;
    }

    .service-modal-body {
        padding: 1.5rem 1rem 3rem 1rem;
        max-height: calc(100vh - 250px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .service-modal-body p {
        font-size: 1rem;
    }

    .service-examples, .service-features {
        margin-top: 1.5rem;
        padding: 1rem;
    }

    .service-examples li, .service-features li {
        font-size: 0.9rem;
        padding: 0.5rem 0;
    }

    .service-modal-footer {
        padding: 1.5rem 1rem;
        position: sticky;
        bottom: 0;
        background: var(--modal-bg) !important;
        box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
        z-index: 10;
    }

    .modal-cta {
        width: 100%;
        padding: 1rem !important;
        font-size: 1rem !important;
    }

    /* About Section Mobile */
    .about-content {
        flex-direction: column;
        gap: 2rem;
    }

    .about-text {
        max-width: 100%;
    }

    .about-text h3 {
        font-size: 1.5rem;
    }

    .about-text p {
        font-size: 1rem;
    }

    .about-text li {
        font-size: 0.95rem;
    }
}

/* Service Modal Styles */
.service-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--modal-overlay);
    backdrop-filter: blur(5px);
    z-index: 20000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, backdrop-filter 0.3s ease;
}

.service-modal.show {
    opacity: 1;
    pointer-events: all;
}

.service-modal-content {
    background: var(--modal-bg);
    border-radius: 15px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 20px 60px var(--shadow-color);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    transform: scale(0.8) translateY(-30px);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
                opacity 0.3s ease;
}

.service-modal.show .service-modal-content {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.service-modal-header {
    padding: 2rem 2rem 1rem;
    border-bottom: 2px solid var(--primary-gold);
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1rem;
    align-items: start;
    background: linear-gradient(135deg, rgba(26, 82, 118, 0.06) 0%, rgba(41, 128, 185, 0.04) 100%);
}

.service-modal-header h2 {
    margin: 0;
    color: var(--primary-gold);
    font-size: 1.5rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.3;
    font-weight: 700;
}

.service-modal-close {
    background: rgba(26, 82, 118, 0.08);
    border: 2px solid var(--primary-gold);
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-gold);
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-top: -0.25rem;
}

.service-modal-close:hover {
    background: var(--primary-gold);
    color: #fff;
    transform: rotate(90deg);
    box-shadow: 0 4px 12px rgba(26, 82, 118, 0.3);
}

.service-modal-body {
    padding: 2rem;
    overflow-y: auto;
    max-height: calc(90vh - 180px);
}

.service-modal-body p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.service-examples, .service-features {
    margin-top: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(26, 82, 118, 0.04) 0%, rgba(41, 128, 185, 0.02) 100%);
    border-radius: 12px;
    border-left: 4px solid var(--primary-gold);
}

.service-examples h3, .service-features h3 {
    color: var(--primary-gold);
    margin-bottom: 1.25rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.service-examples ul, .service-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-examples li, .service-features li {
    padding: 0.75rem 0;
    padding-left: 0;
    position: relative;
    font-size: 1rem;
    line-height: 1.6;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.service-examples li:before, .service-features li:before {
    content: '✓';
    position: relative;
    left: auto;
    color: var(--primary-gold);
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.service-modal-footer {
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: flex-end;
    background: linear-gradient(135deg, rgba(26, 82, 118, 0.03) 0%, rgba(41, 128, 185, 0.02) 100%);
}

.service-modal-footer .btn {
    padding: 0.9rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(26, 82, 118, 0.25);
    transition: all 0.3s ease;
}

.service-modal-footer .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 82, 118, 0.35);
}

/* Service FAQ Accordion */
.service-faq {
    margin-top: 2rem;
    border-top: 1px solid rgba(26, 82, 118, 0.15);
    padding-top: 1.5rem;
}

.service-faq h3 {
    color: var(--primary-gold);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.faq-item {
    margin-bottom: 0.5rem;
    border: 1px solid rgba(26, 82, 118, 0.12);
    border-radius: 10px;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.faq-item:hover {
    border-color: var(--primary-gold);
}

.faq-item.open {
    border-color: var(--primary-gold);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 1rem 1.25rem;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    color: var(--text-color);
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.5;
    gap: 1rem;
    transition: background-color 0.2s ease;
}

.faq-question:hover {
    background: var(--hover-bg);
}

.faq-q-text {
    flex: 1;
}

.faq-toggle-icon {
    flex-shrink: 0;
    font-size: 1.3rem;
    font-weight: 300;
    color: var(--primary-gold);
    width: 24px;
    text-align: center;
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 1.25rem;
}

.faq-item.open .faq-answer {
    max-height: 300px;
    padding: 0 1.25rem 1rem;
}

.faq-answer p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.7;
    margin: 0;
}

/* Service Area Section */
.service-area {
    background: var(--bg-color);
}

.map-container {
    margin: 2rem 0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow-color);
    border: 2px solid var(--primary-gold);
}

.coverage-areas {
    margin-top: 2rem;
    text-align: center;
}

.coverage-areas h3 {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.areas-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    padding: 0;
}

.areas-list li {
    background: linear-gradient(135deg, rgba(26, 82, 118, 0.08) 0%, rgba(41, 128, 185, 0.06) 100%);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    border: 1px solid var(--primary-gold);
    color: var(--text-color);
    font-weight: 500;
    transition: all 0.3s ease;
}

.areas-list li:hover {
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--secondary-gold) 100%);
    color: #ffffff;
    transform: translateY(-2px);
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Animation completed state (allows hover effects to work after entrance animation) */
.service-card.animated,
.about-content.animated,
.contact-content.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Google Maps GDPR Consent Overlay */
.maps-consent-container {
    position: relative;
    width: 100%;
    min-height: 450px;
    background: var(--card-bg);
    border-radius: 0;
    overflow: hidden;
}

.maps-consent-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(26, 82, 118, 0.06) 0%, rgba(41, 128, 185, 0.04) 100%);
    border: 2px dashed var(--primary-gold);
    border-radius: 0;
    z-index: 2;
}

.maps-consent-content {
    text-align: center;
    max-width: 500px;
    padding: 2rem;
}

.maps-consent-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}

.maps-consent-content p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.maps-consent-btn {
    padding: 12px 30px;
}

.maps-consent-container iframe {
    width: 100%;
    height: 450px;
    border: 0;
}

/* Consent checkbox link */
.consent-checkbox a {
    color: var(--primary-gold);
    text-decoration: underline;
}

.consent-checkbox a:hover {
    color: var(--primary-green);
}

/* Focus accessibility for consent checkbox */
.consent-checkbox input[type="checkbox"]:focus-visible + .checkmark {
    outline: 2px solid var(--primary-gold);
    outline-offset: 2px;
}

@media (max-width: 768px) {
    .maps-consent-container {
        min-height: 300px;
    }

    .maps-consent-container iframe {
        height: 300px;
    }

    .maps-consent-content {
        padding: 1.5rem;
    }

    .maps-consent-icon {
        font-size: 2rem;
    }
}
