/* style.css - Modern Gillot Consulting Services - Updated Theme */
:root {
    --primary-blue: #4999d4;
    --primary-dark: #2c5282;
    --primary-light: #90cdf4;
    --accent-blue: #3182ce;
    --text-dark: #2d3748;
    --text-light: #718096;
    --background: #ffffff;
    --section-bg: #f7fafc;
    --card-bg: #ffffff;
    --border-light: #e2e8f0;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --gradient: linear-gradient(135deg, #4999d4 0%, #2c5282 100%);
    --nav-gradient: linear-gradient(135deg, #4999d4 0%, #2c5282 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--background);
    position: relative;
    min-height: 100vh;
    font-size: 16px;
}

/* Background with your image */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/gillot_background.jpg') no-repeat center center;
    background-size: cover;
    opacity: 0.03; /* Very subtle background */
    z-index: -1;
}

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

/* Modern Blue Navigation */
header {
    background: var(--nav-gradient);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
    border-bottom: none;
}

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

/* logo */
.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
    scale: 1.41;
}

.logo:hover img {
    transform: scale(1.05);
}

/* Modern Navigation - White text on blue */
nav ul {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 1.5rem;
}

nav ul li {
    position: relative;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

/* caret */
nav ul li a i {
    font-size: 0.8rem;
}

nav ul li a:hover {
    color: white;
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

/* dropdown parent (visual only) */
nav ul li.dropdown > a {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

/* dropdown indicator spacing */
nav ul li.dropdown > a i.fas {
    margin-left: 6px;
}

/* dropdown content */
.dropdown-content {
    display: none;
    position: absolute;
    background: white;
    min-width: 240px;
    box-shadow: 0 10px 30px rgba(32, 33, 36, 0.08);
    z-index: 1000;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(226, 232, 240, 0.7);
    top: calc(100% + 0.3rem);
    left: 0;
    transition: opacity 0.25s ease, transform 0.18s ease;
    opacity: 0;
    transform: translateY(-8px);
}

/* show */
.dropdown:hover .dropdown-content {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.dropdown-content a {
    color: var(--text-dark);
    padding: 0.85rem 1.4rem;
    text-decoration: none;
    display: block;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    transition: background 0.18s ease, transform 0.18s ease;
    font-weight: 500;
}

.dropdown-content a:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateX(6px);
}

.dropdown-content a:last-child {
    border-bottom: none;
}

/* === NEW: Improved Active / Dropdown fixes (merged) === */

/* ensure anchors stay above dropdown content */
nav ul li > a {
    position: relative;
    z-index: 1002;
}

/* Keep support for previous approach (anchor having .active) */
nav ul li a.active,
nav ul li.active > a {
    background: white !important;
    color: var(--primary-dark) !important;
    font-weight: 600 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
    border: 1px solid var(--border-light) !important;
    text-shadow: none !important;
}

/* If the dropdown parent itself is active (li.dropdown.active) ensure the child anchor shows the same treatment */
.dropdown.active > a,
li.dropdown.active > a {
    background: white !important;
    color: var(--primary-dark) !important;
    font-weight: 600 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
    border: 1px solid var(--border-light) !important;
    text-shadow: none !important;
}

/* ensure icons inside the active anchor have good contrast */
.dropdown.active > a i,
nav ul li a.active i,
nav ul li.active > a i {
    color: var(--primary-dark) !important;
}

/* Hover state keep good contrast */
.dropdown:hover > a {
    color: white !important;
    background: rgba(255, 255, 255, 0.15);
}

/* bridge between nav item and dropdown to avoid gap/hover flicker */
.dropdown::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 15px;
    background: transparent;
}

/* dropdown content tweaks */
.dropdown-content {
    min-width: 280px;
    box-shadow: var(--shadow-hover);
    border-radius: 12px;
    border: 1px solid var(--border-light);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.18s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    z-index: 1001;
    top: calc(100% + 0.3rem);
}

.dropdown:hover .dropdown-content,
.dropdown-content:hover {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    animation: fadeInUp 0.3s ease;
}

.dropdown-content a {
    color: var(--text-dark);
    padding: 1rem 1.5rem;
    text-decoration: none;
    display: block;
    border-bottom: 1px solid var(--border-light);
    transition: all 0.2s ease;
    font-weight: 500;
}

.dropdown-content a:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateX(5px);
}

.dropdown-content a:last-child {
    border-bottom: none;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0);  }
}
/* Modern Language Selector - White on blue */
.language-selector select {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.language-selector select:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
}

.language-selector select option {
    background: white;
    color: var(--text-dark);
}

/* Main Content */
main {
    margin-top: 76px;
    padding-bottom: 2rem;
}

/* Modern Hero Section - Clean white with blue accents */
.hero {
    background: white;
    padding: 6rem 0;
    color: var(--text-dark);
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border-light);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(73, 153, 212, 0.05) 0%, rgba(44, 82, 130, 0.05) 100%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary-dark);
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.contact-info {
    margin: 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-info p {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.contact-info p i.fas {
    margin-top: 0.25em;
    flex-shrink: 0;
}

.contact-info p i.fas.fa-map-marker-alt {
    margin-top: 0.2em;
}

@media (max-width: 768px) {
    .contact-info p {
        text-align: center;
        gap: 0.75rem;
    }
    
    .contact-info p i.fas {
        margin-top: 0.2em;
    }
}

.contact-info i {
    color: var(--primary-blue);
}

.notice strong {
    color: var(--primary-dark);
}

/* Modern Buttons - Blue emphasis */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-blue);
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 600;
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow);
}

.btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-large {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
}

.btn-outline:hover {
    background: var(--primary-blue);
    color: white;
}

/* Page Hero Sections - Clean white */
.page-hero {
    background: white;
    padding: 4rem 0;
    color: var(--text-dark);
    text-align: center;
    position: relative;
    border-bottom: 1px solid var(--border-light);
}

.page-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-dark);
}

/* Services Overview Section - Centered */
.services-overview {
    padding: 6rem 0;
    background: white;
    text-align: center;
}

.services-overview .container {
    text-align: center;
}

/* Modern Features Section - White with blue accents */
.features {
    padding: 6rem 0;
    background: var(--section-bg);
}

.features h2 {
    text-align: center;
    margin-bottom: 4rem;
    font-size: 2.5rem;
    color: var(--primary-dark);
    font-weight: 700;
}

.feature-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.card i {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
}

.card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: var(--primary-dark);
    font-weight: 600;
}

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

/* Consulting Section - White background */
.consulting {
    padding: 6rem 0;
    background: white;
}

.consulting h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
    color: var(--primary-dark);
    font-weight: 700;
}

.consulting > .container > p {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.2rem;
    color: var(--text-light);
    line-height: 1.7;
}

.consulting-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.consult-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary-blue);
}

.consult-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.consult-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-dark);
    font-weight: 600;
    font-size: 1.4rem;
}

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

/* Modern Pricing Table - White with blue headers */
.pricing {
    padding: 6rem 0;
    background: var(--section-bg);
}

.pricing h2 {
    text-align: center;
    margin-bottom: 4rem;
    font-size: 2.5rem;
    color: var(--primary-dark);
    font-weight: 700;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
    background: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

th, td {
    padding: 1.5rem;
    text-align: left;
    border-bottom: 1px solid var(--border-light);
}

th {
    background: var(--primary-blue);
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
}

tr:hover {
    background: rgba(73, 153, 212, 0.05);
}

.note {
    font-style: italic;
    text-align: center;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.update-date {
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Contact CTA - Blue emphasis */
.contact-cta {
    padding: 6rem 0;
    background: var(--gradient);
    color: white;
    text-align: center;
}

.contact-cta h2 {
    margin-bottom: 2rem;
    font-size: 2.2rem;
}

/* About Content - White background */
.about-content {
    padding: 6rem 0;
    background: white;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--primary-dark);
    font-weight: 700;
}

.about-text h3 {
    font-size: 1.8rem;
    margin: 2rem 0 1rem;
    color: var(--primary-blue);
    font-weight: 600;
}

.about-text ul {
    margin-left: 2rem;
    margin-bottom: 2rem;
}

.about-text ul li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
    color: var(--text-dark);
}

.about-text ul li::before {
    content: '▸';
    color: var(--primary-blue);
    position: absolute;
    left: 0;
}

/* Team Section - Light background */
.team {
    padding: 6rem 0;
    background: var(--section-bg);
}

.team h2 {
    text-align: center;
    margin-bottom: 4rem;
    font-size: 2.5rem;
    color: var(--primary-dark);
    font-weight: 700;
}

.team-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.team-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

/* Responsive styles for the hero team card */
.team-card--hero {
    display: flex !important;
    gap: 1.25rem;
    align-items: flex-start !important;
    padding: 2rem !important;
    border-radius: 12px !important;
    text-align: left !important;
}

@media (max-width: 768px) {
    .team-card--hero {
        flex-direction: column;
        align-items: center !important;
        text-align: center !important;
        padding: 1.5rem !important;
    }

    .team-card--hero img {
        width: 160px !important;
        height: 160px !important;
        margin-bottom: 1rem;
    }

    .team-card--hero h2 {
        font-size: 1.3rem !important;
        word-wrap: break-word;
        hyphens: auto;
        line-height: 1.4;
    }

    .team-card--hero p {
        font-size: 0.95rem !important;
        line-height: 1.5;
    }
}

.team-card img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    object-fit: cover;
    border: 4px solid var(--primary-light);
}

.team-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
    color: var(--primary-dark);
    font-weight: 600;
}

.team-card .position {
    color: var(--primary-blue);
    font-weight: 500;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.expertise {
    margin-top: 1.5rem;
    text-align: left;
}

.expertise h4 {
    margin-bottom: 1rem;
    color: var(--primary-dark);
    font-weight: 600;
}

.expertise ul {
    margin-left: 1rem;
}

.expertise ul li {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Service Detail Pages - White background */
.service-detail {
    padding: 6rem 0;
    background: white;
}

.service-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
    align-items: center;
}

.service-image img {
    width: 100%;
    border-radius: 16px;
    box-shadow: var(--shadow-hover);
    transition: transform 0.3s ease;
}

.service-image img:hover {
    transform: scale(1.02);
}

.service-text h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
    font-weight: 700;
    line-height: 1.3;
}

.service-text p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
    color: var(--text-light);
    font-size: 1.1rem;
}

.service-features {
    margin: 4rem 0;
}

.service-features h2 {
    text-align: center;
    margin-bottom: 4rem;
    font-size: 2.2rem;
    color: var(--primary-dark);
    font-weight: 700;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-item {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    border-left: 4px solid var(--primary-blue);
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-left-color: var(--primary-dark);
}

.feature-item i {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
}

.feature-item h3 {
    margin-bottom: 1rem;
    color: var(--primary-dark);
    font-weight: 600;
    font-size: 1.3rem;
}

.feature-item p {
    color: var(--text-light);
    line-height: 1.6;
}

.service-description {
    margin: 4rem 0;
    padding: 3rem;
    background: var(--section-bg);
    border-radius: 16px;
    border-left: 4px solid var(--primary-blue);
}

.service-description h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
    font-weight: 600;
    font-size: 1.5rem;
}

.service-description h4 {
    margin: 2rem 0 1rem;
    color: var(--primary-blue);
    font-weight: 600;
}

.service-description p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
    color: var(--text-light);
}

.service-description ul {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.service-description ul li {
    margin-bottom: 0.8rem;
    color: var(--text-light);
    position: relative;
    padding-left: 1.5rem;
}

.service-description ul li::before {
    content: '•';
    color: var(--primary-blue);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.legal-notice {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid #e53e3e;
    margin-top: 1.5rem;
    box-shadow: var(--shadow);
}

.legal-notice p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

.service-cta {
    text-align: center;
    padding: 4rem;
    background: var(--gradient);
    color: white;
    border-radius: 20px;
    margin-top: 3rem;
    box-shadow: var(--shadow-hover);
}

.service-cta h3 {
    margin-bottom: 1rem;
    font-size: 2rem;
    font-weight: 700;
}

.service-cta p {
    margin-bottom: 2rem;
    font-size: 1.2rem;
    opacity: 0.9;
}

.service-cta .btn {
    background: white;
    color: var(--primary-blue);
    font-weight: 600;
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
}

.service-cta .btn:hover {
    background: var(--section-bg);
    transform: translateY(-2px);
}

/* Modern Footer - Blue theme */
footer {
    background: var(--nav-gradient);
    padding: 4rem 0 1rem;
    color: white;
}

.footer-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo img {
    height: 50px;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
}

.footer-contact h4,
.footer-links h4 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    color: white;
    font-weight: 600;
}

.footer-contact p {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact i {
    color: white;
    width: 20px;
}

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

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

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links ul li a:hover {
    color: white;
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .service-content {
        grid-template-columns: 1fr;
    }
    
    .footer-info {
        grid-template-columns: 1fr;
    }
    
    .dropdown-content {
        position: static;
        width: 100%;
        margin-top: 0.5rem;
        opacity: 1;
        visibility: visible;
    }
    
    .features-grid,
    .feature-cards,
    .consulting-cards,
    .team-cards {
        grid-template-columns: 1fr;
    }
    
    /* Hide dropdown bridge on mobile */
    .dropdown::after {
        display: none;
    }

    /* Adjust text sizes for better mobile readability */
    nav ul li a {
        font-size: 0.9rem;
        padding: 0.6rem 0.8rem;
    }

    .card h3 {
        font-size: 1.3rem;
    }

    .card p, 
    .service-text p,
    .consulting p,
    .about-text p {
        font-size: 0.95rem;
        line-height: 1.5;
    }

    .service-description p {
        font-size: 0.95rem;
    }

    .feature-item h3 {
        font-size: 1.2rem;
    }

    .feature-item p {
        font-size: 0.9rem;
    }

    table th {
        font-size: 0.95rem;
    }

    table td {
        font-size: 0.9rem;
        padding: 1rem;
    }

    .footer-contact p,
    .footer-links ul li a {
        font-size: 0.9rem;
    }

    /* Adjust contact info for better mobile display */
    .contact-info p {
        font-size: 0.95rem;
        white-space: normal;
        line-height: 1.4;
    }

    /* Make service cards more compact on mobile */
    .service-card {
        padding: 1.5rem;
    }

      nav {
    z-index: 9999; 
    top: calc(100% + 0.25rem); 
  }

 
  .mobile-menu-toggle,
  .logo,
  .language-switcher {
    z-index: 1001; 
  }


.mobile-menu-toggle i,
.mobile-menu-toggle svg { pointer-events: auto !important; }

}









@media (max-width: 480px) {
    .card, .consult-card, .team-card, .service-card, .feature-item {
        padding: 1.5rem;
    }
    
    .page-hero h1 {
        font-size: 1.8rem;
    }
    
    .hero {
        padding: 3rem 0;
    }
    
    .hero-content h1 {
        font-size: 2rem;
        line-height: 1.3;
    }
    
    .service-cta {
        padding: 1.5rem 1rem;
    }

    .service-cta h3 {
        font-size: 1.6rem;
    }

    /* Further reduce text sizes for smallest screens */
    .card h3, 
    .consult-card h3, 
    .team-card h3 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }

    .card p, 
    .consult-card p, 
    .team-card p,
    .service-text p {
        font-size: 0.9rem;
        line-height: 1.4;
    }

/* Make buttons more compact */
.btn {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
}

/* Partner Page Styles */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.partner-item {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partner-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.partner-item img {
    max-width: 200px;
    height: auto;
    margin-bottom: 1.5rem;
}

.partner-item h3 {
    color: var(--primary-dark);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.partner-item p {
    color: var(--text-light);
    line-height: 1.6;
}

.partner-info {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.partner-info h2 {
    color: var(--primary-dark);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.partner-info p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.partner-info ul {
    text-align: left;
    margin-left: 2rem;
    margin-bottom: 2rem;
}

.partner-info ul li {
    color: var(--text-light);
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

/* Terms Page Styles */
.terms-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.terms-content section {
    margin-bottom: 2.5rem;
}

.terms-content h2 {
    color: var(--primary-dark);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.terms-content p {
    color: var(--text-light);
    margin-bottom: 1.2rem;
    line-height: 1.7;
}

.terms-content ul {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.terms-content ul li {
    color: var(--text-light);
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .partners-grid {
        grid-template-columns: 1fr;
    }

    .partner-item {
        padding: 1.5rem;
    }

    .partner-item img {
        max-width: 150px;
    }

    .terms-content {
        padding: 1rem;
    }

    .terms-content h2 {
        font-size: 1.5rem;
    }
}    /* Adjust contact info for smallest screens */
    .contact-info p {
        font-size: 0.9rem;
        gap: 0.4rem;
    }

    .contact-info i {
        font-size: 1rem;
    }

    /* Make pricing table more readable */
    table th, 
    table td {
        padding: 0.8rem;
        font-size: 0.85rem;
    }

    /* Adjust section headings */
    .section-heading {
        font-size: 1.6rem;
        margin-bottom: 2rem;
    }

    /* Make feature grid items more compact */
    .feature-cards .card,
    .consulting-cards .consult-card {
        padding: 1.25rem;
    }

    /* Adjust icon sizes */
    .card i,
    .feature-item i {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
}

/* Loading animation for images */
img {
    opacity: 0;
    transition: opacity 0.3s ease;
}

img.loaded {
    opacity: 1;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Mobile menu styles */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--nav-gradient);
        box-shadow: var(--shadow);
        padding: 1rem;
    }
    
    nav.active {
        display: block;
        animation: slideDown 0.3s ease;
    }
    
    nav ul {
        flex-direction: column;
        gap: 0;
    }
    
    nav ul li {
        width: 100%;
    }
    
    nav ul li a {
        padding: 1rem;
        border-radius: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    .dropdown-content {
        position: static;
        box-shadow: none;
        border: none;
        margin-top: 0;
        background: rgba(255, 255, 255, 0.1);
        opacity: 1;
        visibility: visible;
    }
    
    .dropdown-content a {
        color: white;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    .dropdown-content a:hover {
        background: rgba(255, 255, 255, 0.2);
    }
}

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

/* --- Navigation & Header Refinements --- */
header .container {
    justify-content: space-between;
    align-items: center;
    gap: 1rem; /* tighter spacing overall */
    padding: 0 1.5rem;
}

/* Logo slightly shifted left */
.logo {
    margin-left: -10px;
}

.logo img {
    height: 48px;
    scale: 1.3; /* slightly smaller to balance header */
}

/* Navigation spacing tightened */
nav ul {
    gap: 1rem; /* was 1.5rem */
}

nav ul li a {
    padding: 0.5rem 1rem; /* less padding for tighter look */
    font-size: 0.9rem;
}

/* Make dropdown smoother and smaller gap */
.dropdown-content {
    margin-top: 0.3rem;
    border-radius: 10px;
}

/* Language selector aligned vertically */
.language-selector select {
    padding: 0.4rem 0.8rem;
    font-size: 0.9rem;
}

/* Header padding reduced to tighten overall height */
header {
    padding: 0.6rem 0;
}

.hero {
  position: relative;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 1;
}

/* --- LOCATION PAGE SPECIFIC STYLES --- */

/* Location content section */
.location-content {
    padding: 4rem 0;
    background: var(--section-bg);
}

.grid {
    display: grid;
    gap: 2rem;
}

.grid--2col {
    grid-template-columns: 2fr 1fr;
}

.card--elevated {
    box-shadow: var(--shadow-hover);
}

.card--accent {
    border-top: 4px solid var(--primary-blue);
}

.card-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
    font-weight: 600;
}

.card-lead {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.small-contact .card-title {
    font-size: 1.4rem;
}

.small-contact p {
    margin-bottom: 0.5rem;
    display:flex;
    align-items: center;
    gap: 0.7rem;
}

.small-contact i {
    width: 50px;
    color: var(--primary-blue);
}

.small-contact a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.small-contact a:hover {
    color: var(--primary-blue);
}

.cta-row {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2.5rem;
}

/* Small / centered Request Appointment button for location page */
.btn--small {
    /* sizing */
    padding: 0.5rem 0.5rem;        /* less horizontal padding = narrower button */
    font-size: 0.95rem;         /* slightly smaller text */
    min-width: 140px;           /* minimum width to keep it tappable on mobile */
    max-width: 220px;           /* prevents it from growing too wide on large screens */
    width: auto;                /* allow width to fit content */
    
    /* layout & centering */
    display: inline-flex;       /* keep flex layout so icon+text alignment still works */
    align-items: center;        /* vertical centering of icon/text */
    justify-content: center;    /* horizontal centering of text inside button */
    text-align: center;         /* fallback text centering */

    /* visual polish */
    border-radius: 10px;        /* slightly rounder */
    box-shadow: var(--shadow);  /* same shadow as other buttons */
}

/* Ensure the button is centered inside the .cta-row flex column */
.cta-row .btn--small {
    align-self: center;         /* centers the button in the column container */
}

.ghost {
    background: transparent;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
}

.ghost:hover {
    background: var(--primary-blue);
    color: white;
}

.note {
    font-style: italic;
    color: var(--text-light);
    margin-top: 1rem;
}

.small {
    font-size: 0.9rem;
}

/* Address block styles - UPDATED WITH REQUESTED CHANGES */
.address-block {
    margin: 1.5rem 0;
}

/* Address block — fix icon overlap and alignment */
.address-line,
.address-meta {
    display: flex;
    align-items: center;      /* center icon and text vertically */
    gap: 0.6rem;              /* consistent spacing instead of manual margins */
    margin-bottom: 0.8rem;
    line-height: 1.4;
    word-break: break-word;   /* avoid overflow */
}

/* Icon box: fixed size, centered */
.address-line i,
.address-meta i {
    font-size: 1rem;          /* icon size (use rem for responsive scaling) */
    width: 28px;              /* fixed width so text never overlaps */
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 28px;          /* do not shrink/grow */
    color: var(--primary-blue);
    margin: 0;               /* remove manual top margin */
}

/* If the text needs to be bolder / bigger for phone/email */
.address-line a {
    font-size: 1.05rem;
    font-weight: 500;
}

/* Map section */
.map {
    padding: 4rem 0;
    background: white;
}

.section-heading {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.2rem;
    color: var(--primary-dark);
    font-weight: 700;
}

.map-wrapper {
    padding: 0;
    overflow: hidden;
}

.map-responsive {
    position: relative;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
}

.map-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Transport section */
.transport {
    padding: 4rem 0;
    background: var(--section-bg);
}

.transport-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.transport-card {
    text-align: center;
    padding: 2rem;
}

.transport-card h3 {
    margin: 1rem 0;
    color: var(--primary-dark);
    font-weight: 600;
}

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

.icon-wrap {
    width: 60px;
    height: 60px;
    background: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.icon-wrap i {
    color: white;
    font-size: 1.5rem;
}

/* Footer styles */
.footer-inner {
    background: var(--nav-gradient);
    color: white;
    border-radius: 0;
    box-shadow: none;
    padding: 3rem 2rem 1rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-grid h4, .footer-grid h5 {
    color: white;
    margin-bottom: 1rem;
}

.footer-grid p, .footer-grid a {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-grid a {
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-list {
    list-style: none;
    padding: 0;
}

.footer-list li {
    margin-bottom: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.muted {
    opacity: 0.8;
}

/* Responsive adjustments for location page */
@media (max-width: 768px) {
    .grid--2col {
        grid-template-columns: 1fr;
    }
    
    .card {
        padding: 1.5rem;
    }
    
    .section-heading {
        font-size: 1.8rem;
    }
    
    .transport-grid {
        grid-template-columns: 1fr;
    }
}

/* ========== CONTACT PAGE / FORM STYLES ========== */

/* Contact card tweaks */
.contact-card {
    padding: 1.75rem;
}

/* Form grid */
.contact-form .form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

/* Make textarea and consent take full width */
.contact-form .form-group--full {
    grid-column: 1 / -1;
}

/* Individual form group */
.contact-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* Labels */
.contact-form label {
    font-size: 0.95rem;
    color: var(--primary-dark);
    font-weight: 600;
}

/* Inputs / textarea */
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea,
.contact-form input[type="url"] {
    padding: 0.9rem 1rem;
    border-radius: 10px;
    border: 1px solid var(--border-light);
    background: #fff;
    font-size: 1rem;
    color: var(--text-dark);
    box-shadow: none;
    transition: box-shadow 0.15s ease, transform 0.12s ease;
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    box-shadow: 0 6px 18px rgba(49,130,206,0.08);
    transform: translateY(-2px);
    border-color: var(--primary-blue);
}

/* Consent label */
.form-consent .consent-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-weight: 400;
    color: var(--text-light);
    line-height: 1.4;
}

.form-consent input[type="checkbox"] {
    transform: scale(1.05);
    margin-top: 0.2rem;
}

/* Form actions row */
.form-actions {
    margin-top: 1rem;
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

/* Small adjustments for ghost button inside forms */
.contact-card .btn.ghost {
    padding: 0.9rem 1.25rem;
    font-size: 0.95rem;
}

/* Form notice */
.contact-card .note.small {
    margin-top: 1rem;
    color: var(--text-light);
}

/* Small CTA inside aside */
.card-cta {
    margin-top: 1rem;
}

.card-cta h4 {
    font-size: 1rem;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

/* Form responsiveness */
@media (max-width: 900px) {
    .contact-form .form-grid {
        grid-template-columns: 1fr;
    }
}

/* Subtle hover for input fields on desktop */
@media (hover: hover) {
    .contact-form input:hover,
    .contact-form textarea:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow);
    }
}

/* Accessibility: focus visible */
.contact-form input:focus-visible,
.contact-form textarea:focus-visible,
.language-selector select:focus-visible,
.btn:focus-visible {
    outline: 3px solid rgba(73,153,212,0.15);
    outline-offset: 3px;
}

/* Final small visual polish for map card and section spacing */
.map-wrapper.card {
    padding: 0;
    overflow: hidden;
}

.map .card {
    padding: 1rem;
}

/* Language switcher (flag + label) */
.language-switcher {
position: relative;
display: inline-block;
}
.language-switcher #langBtn {
display: inline-flex;
align-items: center;
gap: 0.5rem;
background: rgba(255,255,255,0.12);
color: white;
border: 1px solid rgba(255,255,255,0.22);
padding: 0.4rem 0.8rem;
border-radius: 8px;
cursor: pointer;
font-weight: 600;
}
.language-switcher #langBtn .flag { font-size: 1.05rem; }
.language-switcher #langBtn .label { letter-spacing: 0.6px; }
.language-switcher #langBtn .caret { margin-left: 0.25rem; font-size: 0.85rem; }


.language-switcher #langMenu {
position: absolute;
right: 0;
top: calc(100% + 0.5rem);
background: white;
color: var(--text-dark);
border-radius: 10px;
box-shadow: 0 10px 30px rgba(32,33,36,0.08);
border: 1px solid var(--border-light);
list-style: none;
padding: 0.5rem;
display: none; /* toggled by JS */
min-width: 170px;
z-index: 2000;
}
.language-switcher #langMenu[aria-hidden="false"] { display: block; }
.language-switcher #langMenu li { margin: 0; }
.language-switcher #langMenu li button {
width: 100%;
display: flex;
align-items: center;
gap: 0.6rem;
padding: 0.6rem 0.8rem;
background: transparent;
border: none;
cursor: pointer;
border-radius: 8px;
font-weight: 600;
}
.language-switcher #langMenu li button:hover {
background: var(--section-bg);
}
.language-switcher .full { color: var(--text-light); font-weight: 500; margin-left:auto; }


/* On small screens make menu full width under header */
@media (max-width: 768px) {
.language-switcher #langMenu { right: 1rem; left: 1rem; min-width: unset; }
}


.feature-cards .btn {
  margin-top: 1rem;
}

.feature-cards .card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.feature-cards .card p {
  flex-grow: 1;
}

.feature-cards .card:hover i {
  color: var(--primary-dark);
  transform: scale(1.1);
  transition: all 0.3s ease;
}

/* Larger contact icons in hero section */
.contact-info i.fas.fa-phone,
.contact-info i.fas.fa-map-marker-alt {
    font-size: 1.3rem;
    margin-right: 0.5rem;
}

/* Style for clickable address */
.contact-info a {
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-info a:hover {
    color: var(--primary-blue);
    text-decoration: underline;
}


.contact-info p {
    margin-bottom: 0.3rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 1.1rem;
}

.contact-info i.fas.fa-map-marker-alt {
    margin-right: 0.3rem;
    flex-shrink: 0;
}

/* Only use nowrap on larger screens */
@media (min-width: 769px) {
    .contact-info p {
        white-space: nowrap;
    }
}

/* Allow wrapping on mobile */
@media (max-width: 768px) {
    .contact-info p {
        white-space: normal;
        font-size: 1rem;
    }
}


/* ===== Mobile header layout: hamburger left, logo centered, lang right ===== */
@media (max-width: 768px) {
  header .container {
    /* keep a single row on mobile instead of stacking */
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    position: relative; /* so absolutely-positioned logo can center */
    gap: 0.5rem;
    padding: 0 1rem;
  }

  /* show hamburger */
  .mobile-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: white;
    font-size: 1.25rem;
    padding: 0.5rem;
    cursor: pointer;
    order: 0;
    z-index: 2100; /* above nav */
  }

  /* center the logo visually - absolute centering with transform */
  .logo {
    order: 1;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2200;
    margin: 0;
  }
  .logo img {
    height: 44px; /* slightly smaller on mobile */
    width: auto;
    scale: 1;
  }

  /* language switcher on the right */
  .language-switcher {
    order: 2;
    margin-left: auto;
    z-index: 2100;
  }

  /* keep nav hidden until hamburger toggles .active */
  nav {
    display: none; /* hidden by default on mobile */
    position: absolute;
    top: calc(100% + 0.2rem);
    left: 0;
    right: 0;
    background: var(--nav-gradient);
    box-shadow: var(--shadow);
    padding: 0.75rem 1rem;
    z-index: 2000;
  }

  /* when .active, show nav (this uses existing .active class you already had) */
  nav.active {
    display: block;
    animation: slideDown 0.22s ease;
  }

  /* nav list styles (mobile stacking) */
  nav ul {
    flex-direction: column;
    gap: 0;
  }
  nav ul li a {
    padding: 0.9rem 1rem;
  }

  /* ensure the language menu expands to full width under header if opened */
  .language-switcher #langMenu {
    right: 1rem;
    left: auto;
    min-width: 140px;
  }
}

/* Reduce table margin & padding for French and German pricing pages on small screens
     This makes the pricing/tariff table fit better on mobile without changing desktop layout. */
@media (max-width: 768px) {
    html[lang="fr"] .pricing table,
    html[lang="de"] .pricing table {
        margin: 0; /* remove extra outer spacing */
        border-radius: 10px; /* keep a small radius but tighter */
        box-shadow: none; /* remove heavy shadow that can cause overflow */
        overflow: visible;
    }

    html[lang="fr"] .pricing table th,
    html[lang="de"] .pricing table th,
    html[lang="fr"] .pricing table td,
    html[lang="de"] .pricing table td {
        padding: 0.6rem 0.5rem; /* smaller cells so more fits horizontally */
        font-size: 0.85rem;
    }

    /* reduce container side padding for the pricing section on those languages */
    html[lang="fr"] .pricing .container,
    html[lang="de"] .pricing .container {
        padding-left: 10px;
        padding-right: 10px;
    }
}

@media (max-width: 480px) {
    html[lang="fr"] .pricing table,
    html[lang="de"] .pricing table {
        margin-bottom: 0.5rem;
        border-radius: 8px;
    }

    html[lang="fr"] .pricing table th,
    html[lang="de"] .pricing table th,
    html[lang="fr"] .pricing table td,
    html[lang="de"] .pricing table td {
        padding: 0.45rem 0.4rem; /* tighten further on very small screens */
        font-size: 0.8rem;
    }

    /* allow horizontal scrolling as a safe fallback on tiny screens */
    html[lang="fr"] .pricing .container,
    html[lang="de"] .pricing .container {
        overflow-x: auto;
    }
}



.cookie-consent {
    position: fixed;
    inset: 0; /* top:0; right:0; bottom:0; left:0 */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    pointer-events: auto;
    background: rgba(0,0,0,0.35);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
}

.cookie-consent__panel {
    pointer-events: auto;
    width: 92%;
    max-width: 760px;
    background: linear-gradient(180deg, rgba(255,255,255,0.99), rgba(250,250,250,0.99));
    border: 1px solid var(--border-light);
    box-shadow: 0 18px 50px rgba(15,23,42,0.18);
    border-radius: 14px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
    animation: cookieFadeIn 260ms ease;
}

.cookie-consent__message {
    flex: 1 1 auto;
    color: var(--text-dark);
    font-size: 1.05rem;
    line-height: 1.5;
}

.cookie-consent__actions {
    display: flex;
    gap: 0.6rem;
    align-items: center;
    justify-content: flex-end;
}

.cookie-consent__actions button {
    min-width: 120px;
    padding: 0.75rem 1.1rem;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    font-weight: 700;
    font-size: 1rem;
}

.cookie-consent__actions .accept {
    background: var(--primary-blue);
    color: white;
    box-shadow: var(--shadow);
}

.cookie-consent__actions .decline {
    background: transparent;
    border: 2px solid var(--border-light);
    color: var(--text-dark);
}

.cookie-consent__actions .learn {
    background: transparent;
    color: var(--text-light);
    border: none;
    font-weight: 500;
}

@keyframes cookieFadeIn {
    from { transform: translateY(12px); opacity: 0; }
    to   { transform: translateY(0); opacity: 1; }
}

@media (max-width: 520px) {
    .cookie-consent__panel { flex-direction: column; align-items: stretch; gap: 0.6rem; padding: 1rem; }
    .cookie-consent__actions { justify-content: stretch; }
    .cookie-consent__actions button { width: 100%; }
}

/* while modal is open, blur the rest of the page but keep header visible */
body.cookie-modal-open > *:not(.cookie-consent):not(header) {
    filter: blur(6px);
    pointer-events: none;
    user-select: none;
}

/* Denied overlay (shown after Decline) */
.cookie-denied {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100000;
}
.cookie-denied__panel {
    background: linear-gradient(180deg, rgba(255,255,255,0.99), rgba(245,245,245,0.99));
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 12px 40px rgba(0,0,0,0.18);
    max-width: 640px;
    width: 90%;
    text-align: center;
}


/* Hidden state for screen readers when dismissed */
.cookie-consent[aria-hidden="true"] { display: none; }

/* Add this to your existing style.css file */

/* Cookie Denied Section */
.cookie-denied-section {
    padding: 6rem 0;
    background: white;
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
}

.cookie-denied-card {
    background: linear-gradient(135deg, #fee 0%, #fff5f5 100%);
    border: 2px solid #fed7d7;
    border-radius: 20px;
    padding: 4rem 3rem;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 20px 40px rgba(254, 178, 178, 0.15);
    position: relative;
    overflow: hidden;
}

.cookie-denied-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #e53e3e 0%, #c53030 100%);
}

.cookie-denied-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #e53e3e 0%, #c53030 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    box-shadow: 0 10px 25px rgba(229, 62, 62, 0.3);
}

.cookie-denied-icon i {
    font-size: 2.5rem;
    color: white;
}

.cookie-denied-card h1 {
    color: #c53030;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.cookie-denied-card p {
    color: #744210;
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.cookie-denied-card .btn {
    background: linear-gradient(135deg, #38a169 0%, #2f855a 100%);
    color: white;
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(72, 187, 120, 0.3);
    transition: all 0.3s ease;
}

.cookie-denied-card .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(72, 187, 120, 0.4);
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
}

.cookie-denied-card .btn i {
    margin-right: 0.5rem;
}

/* Responsive design for cookie denied page */
@media (max-width: 768px) {
    .cookie-denied-section {
        padding: 4rem 0;
    }
    
    .cookie-denied-card {
        padding: 3rem 2rem;
        margin: 0 1rem;
    }
    
    .cookie-denied-card h1 {
        font-size: 2rem;
    }
    
    .cookie-denied-card p {
        font-size: 1.1rem;
    }




    
}

@media (max-width: 480px) {
    .cookie-denied-card {
        padding: 2.5rem 1.5rem;
    }
    
    .cookie-denied-card h1 {
        font-size: 1.8rem;
    }
    
    .cookie-denied-icon {
        width: 70px;
        height: 70px;
    }
    
    .cookie-denied-icon i {
        font-size: 2rem;
    }
}




/* === Worktime Container (Bürozeiten) === */
.worktime-container {
  background: var(--card-bg);
  border-radius: 16px;
  padding: 2rem;
  margin: 2rem 0;
  box-shadow: var(--shadow);
  
  text-align: left; /* ✅ align text normally */
  max-width: 500px; /* optional: keep it compact */
  margin-left: auto;
  margin-right: auto; /* center the card itself on the page */
}

.worktime-container .hours-info {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start; /* ✅ prevent spacing expansion */
  gap: 0.8rem;
}

.worktime-container .hours-info i {
  font-size: 1.3rem;
  color: var(--primary-blue);
  margin-top: 0.3rem;
  flex-shrink: 0; /* ✅ stops icon from stretching space */
}

.worktime-container .hours-info div {
  flex: 1; /* ✅ text block takes remaining space naturally */
}

.worktime-container .hours-info p {
  margin: 0.2rem 0;
  font-size: 1rem;
  line-height: 1.5;
  text-align: left; /* ✅ ensure lines don’t center */
}

.worktime-container .note {
  font-style: italic;
  color: var(--text-light);
  margin-top: 0.5rem;
}

/* Responsive adjustment */
@media (max-width: 768px) {
  .worktime-container {
    padding: 1.5rem;
    max-width: 100%;
  }

  .worktime-container .hours-info {
    flex-direction: column;
    align-items: flex-start;
  }

  .worktime-container .hours-info i {
    margin-bottom: 0.5rem;
  }
}


