/* Tailwind CSS Base */
@import url('https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css');

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&family=Open+Sans:wght@300;400;500;600;700&family=IBM+Plex+Sans:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200');

/* Custom Variables */
:root {
    --primary: #0057b8;
    --primary-light: #3b7bc7;
    --accent: #00aaff;
    --accent-light: #66ccff;
    --gray: #4a5568;
    --gray-light: #e2e8f0;
    --text-dark: #2d3748;
    --background: #f5f5f7;
    --white: #ffffff;
}

/* Tailwind Custom Classes */
.bg-primary {
    background-color: var(--primary) !important;
}

.text-primary {
    color: var(--primary) !important;
}

.hover\:bg-primary:hover {
    background-color: var(--primary) !important;
}

/* Base Styles */
body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-dark);
    background-color: var(--background);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Section Styles */
section {
    padding: 6rem 0;
}

section:nth-child(even) {
    background-color: #e9e9ef;
}

section:nth-child(odd) {
    background-color: var(--background);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    line-height: 1.3;
}

h1 {
    font-size: 2.75rem;
    margin-bottom: 1.5rem;    background: linear-gradient(90deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-size: 2.25rem;
    margin-bottom: 1.25rem;
    position: relative;
    display: inline-block;
}

h2:after {
    content: "";
    display: block;
    width: 70%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    margin-top: 0.5rem;
    border-radius: 2px;
}

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

/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(245, 245, 247, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: all 0.3s ease;
}

header.scrolled {
    padding: 0.5rem 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
}

.logo img {
    height: 80px;
    margin-right: 10px;
}

.nav-link {
    position: relative;
    margin: 0 1rem;
    padding: 0.5rem 0;
    color: var(--text-dark);
    font-weight: 500;
    transition: all 0.3s ease;
}

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

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



.mobile-menu-btn {
    display: none;
    cursor: pointer;
}

/* Desktop dropdown styles - hide arrow */
@media (min-width: 769px) {
    .has-dropdown::after {
        display: none;
    }
}

/* Hero Section - Enhanced */
.hero {
    position: relative;
    padding: 10rem 0 6rem;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.568) 30%, rgba(255, 255, 255, 0.85) 100%),
                url('../images/Hero.png');
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiB2aWV3Qm94PSIwIDAgMTAwIDEwMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSIjMDA1N2I4IiBvcGFjaXR5PSIwLjAzIj48Y2lyY2xlIGN4PSI1MCIgY3k9IjUwIiByPSI1MCIvPjxjaXJjbGUgY3g9IjIwIiBjeT0iODAiIHI9IjIwIi8+PGNpcmNsZSBjeD0iODAiIGN5PSIyMCIgcj0iMzAiLz48L2c+PC9zdmc+');
    opacity: 0.3;
    z-index: -1;
}

.hero-content {
    max-width: 700px;
    position: relative;
    z-index: 2;
    padding: 2rem;
    border-radius: 12px;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero p:nth-of-type(1) {
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 1.2rem;
}

.hero p:nth-of-type(2) {
    font-size: 1.125rem;
    max-width: 600px;
    margin-bottom: 2rem;
    color: var(--gray);
}

/* Trust Indicators */
.trust-indicators {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 2rem;
}

.trust-item {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray);
}

.trust-item .material-icons {
    color: var(--primary);
    margin-right: 0.5rem;
    font-size: 1.1rem;
}

/* Badge */
.badge {
    display: inline-block;
    background: rgba(0, 87, 184, 0.1);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0, 87, 184, 0.2);
}

/* Button Styles - Enhanced */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.75rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
    font-size: 1rem;
    min-width: 160px;
    cursor: pointer;
    letter-spacing: 0.02em;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.15);
    transition: all 0.5s ease;
}

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

.btn-primary {
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    color: white;
    border: none;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.15);
}

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

.btn-outline:hover {
    background-color: var(--primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
}

.btn .material-icons {
    margin-left: 0.5rem;
    font-size: 1.1rem;
}

/* About Section */
.about {
    padding: 6rem 0;
    background-color: var(--background);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-image {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.about-content h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.about-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--gray);
}

.value-card {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.value-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
}

.value-text {
    font-weight: 600;
}

/* Services Section */
.services {
    padding: 6rem 0;
    background-color: #f8fafc;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
}

/* Service Cards - Enhanced */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background-color: white;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
    z-index: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(180deg, transparent, rgba(0, 87, 184, 0.04));
    z-index: -1;
    transition: all 0.5s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 87, 184, 0.15);
    border-color: rgba(0, 87, 184, 0.1);
}

.service-card:hover::before {
    height: 100%;
}

.service-icon {
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 20px rgba(0, 87, 184, 0.2);
}

.service-icon span {
    font-size: 2rem;
    color: white;
}

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

.service-card p {
    color: var(--gray);
    margin-bottom: 1.25rem;
    font-size: 1rem;
}

.service-card ul {
    list-style-type: none;
    padding: 0;
}

/* Offering Section */
.offering {
    padding: 6rem 0;
    background-color: var(--background);
}

.offering-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.offering-card {
    background-color: white;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.offering-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.offering-card.featured {
    transform: scale(1.05);
    border: 2px solid var(--primary);
    box-shadow: 0 20px 40px rgba(0, 87, 184, 0.15);
}

.offering-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.offering-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    padding: 0.5rem 1.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    border-bottom-left-radius: 12px;
}

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

.offering-card .price {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--primary);
    margin: 1.5rem 0;
    text-align: center;
    padding: 0.75rem 0;
    border-top: 1px dashed var(--gray-light);
    border-bottom: 1px dashed var(--gray-light);
}

.offering-card ul {
    margin-top: 1.5rem;
    flex-grow: 1;
}

.offering-card li {
    position: relative;
    padding-left: 0;
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.offering-card li:last-child {
    margin-bottom: 0;
}

.offering-card .btn {
    margin-top: 1.5rem;
}

/* Process Section */
.process {
    padding: 6rem 0;
    background-color: #f8fafc;
}

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

.step-card {
    text-align: center;
    padding: 2rem;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1.5rem;
}

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

.step-card p {
    color: var(--gray);
}

.step-connector {
    display: none;
}

/* Process Steps Detailed */
.process-steps-detailed {
    margin: 2rem 0;
}

.step-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 12px;
    border-left: 4px solid var(--primary);
    transition: all 0.3s ease;
}

.step-item:hover {
    background: #f1f5f9;
    transform: translateX(5px);
}

.step-item:last-child {
    margin-bottom: 0;
}

.step-item .step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: bold;
    margin: 0 1.5rem 0 0;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 87, 184, 0.3);
}

.step-content {
    flex: 1;
    padding-top: 0.25rem;
}

.step-content h4 {
    color: var(--primary);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.step-content p {
    color: var(--gray);
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

/* EU AI Act Section */
.ai-act {
    padding: 6rem 0;
    background-color: var(--background);
    position: relative;
    overflow: hidden;
}

.ai-act::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,87,184,0.05) 0%, rgba(0,170,255,0.05) 100%);
    z-index: -1;
}

.ai-act-content {
    max-width: 650px;
}

.ai-act h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.ai-act p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--gray);
}

.ai-act-benefits {
    margin: 2rem 0;
}

.benefit-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.benefit-icon {
    color: var(--primary);
    margin-right: 1rem;
    font-size: 1.5rem;
}

/* Target Audience Section */
.target-audience {
    padding: 6rem 0;
    background-color: #f8fafc;
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.audience-card {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.audience-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.audience-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--accent-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
}

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

.audience-card p {
    color: var(--gray);
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background-color: var(--background);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

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

.contact-info p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--gray);
}

.contact-detail {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.contact-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--accent-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-size: 1.2rem;
}

.contact-text {
    color: var(--text-dark);
}

.contact-form {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 1.5rem;
}

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

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--gray-light);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 87, 184, 0.1);
    outline: none;
}

/* Enhanced CTA Banner */
.cta-banner {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 12px;
    padding: 2.5rem;
    margin: 2rem 0 4rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    box-shadow: 0 15px 30px rgba(0, 87, 184, 0.2);
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(-30deg);
}

.cta-content {
    flex: 1;
    min-width: 280px;
}

.cta-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: white;
}

.cta-content p {
    opacity: 0.9;
    font-size: 1.1rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-lg .material-icons {
    margin-right: 0.5rem;
}

/* Navigation Contact Button */
.btn-nav-contact {
    background: linear-gradient(90deg, var(--primary), var(--accent));
    color: white !important;
    padding: 8px 16px !important;
    border-radius: 50px;
    transition: all 0.3s ease !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-nav-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    background: linear-gradient(90deg, var(--accent), var(--primary));
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.9;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

.back-to-top:hover {
    transform: translateY(-5px);
    opacity: 1;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}

.back-to-top .material-icons {
    font-size: 24px;
}

/* Footer */
footer {
    background-color: var(--primary);
    color: white;
    padding: 4rem 0 2rem;
}

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

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.footer-logo img {
    height: 40px;
    margin-right: 10px;
    filter: brightness(0) invert(1);
}

.footer-about {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.footer-heading {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-links a {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
}

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

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

.footer-credit {
    color: var(--accent);
    font-weight: 600;
    transition: color 0.3s ease;
    text-decoration: none;
    position: relative;
}

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

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

.footer-credit:hover::after {
    width: 100%;
}

.footer-locations {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-locations p {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Navigation Styles - Simplified */
.nav-menu li {
    position: relative;
}

/* Mobile navigation adjustments */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 80%;
        height: calc(100vh - 80px);
        background: white;
        flex-direction: column;
        align-items: flex-start;
        padding: 2rem;
        transition: all 0.3s ease;
        box-shadow: 5px 0 15px rgba(0, 0, 0, 0.1);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-link {
        margin: 0.5rem 0;
        padding: 0.75rem 0;
        width: 100%;
        display: block;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    /* Mobile dropdown styling */
    .dropdown-container {
        width: 100%;
    }
    
    .has-dropdown {
        position: relative;
        display: flex !important;
        justify-content: space-between;
        align-items: center;
    }
    
    .has-dropdown::after {
        content: 'expand_more';
        font-family: 'Material Icons';
        font-size: 1.2rem;
        transition: transform 0.3s ease;
        color: var(--primary);
    }
    
    .has-dropdown.dropdown-open::after {
        transform: rotate(180deg);
        bottom: 20%!important;
    }
    
    .sub-menu {
        position: static !important;
        box-shadow: none !important;
        width: 100% !important;
        padding: 0.5rem 0 0.5rem 1rem !important;
        background: rgba(248, 250, 252, 0.95) !important;
        border-radius: 8px !important;
        margin-top: 0.5rem !important;
        border: 1px solid #e2e8f0 !important;
        min-width: auto !important;
        max-height: 300px;
        overflow-y: auto;
    }
    
    .sub-menu li {
        width: 100%;
        margin: 0;
    }
    
    .sub-menu .nav-link {
        padding: 0.5rem 0.75rem !important;
        margin: 0 !important;
        border-radius: 4px;
        font-size: 0.9rem;
    }
    
    .sub-menu .nav-link:hover {
        background-color: rgba(0, 87, 184, 0.1);
    }
    
    .sub-menu .nav-link {
        padding: 0.5rem 1rem !important;
        margin: 0.25rem 0 !important;
        font-size: 0.9rem !important;
        border-radius: 6px !important;
        background: none !important;
    }
    
    .sub-menu .nav-link:hover {
        background: var(--primary) !important;
        color: white !important;
    }
    
    .sub-menu .nav-link.active {
        background: var(--accent) !important;
        color: white !important;
    }
    
    /* Mobile version of contact button */
    .btn-nav-contact {
        display: inline-block !important;
        margin-top: 1rem !important;
        text-align: center !important;
        width: calc(100% ) !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 0.75rem 1rem !important;
        border-radius: 8px !important;
        background: linear-gradient(90deg, var(--primary), var(--accent)) !important;
        color: white !important;
        font-weight: 600 !important;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
    }
    
    .btn-nav-contact:hover {
        transform: none !important;
        opacity: 0.9 !important;
    }
    
    /* Mobile styling for process steps */
    .step-item {
        flex-direction: column;
        text-align: center;
        padding: 1.25rem;
    }
    
    .step-item .step-number {
        margin: 0 0 1rem 0;
    }
    
    .step-content {
        padding-top: 0;
    }
}

/* Utilities */
.text-primary {
    color: var(--primary);
}

.text-accent {
    color: var(--accent);
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

/* ===== SUBPAGE STYLES ===== */

/* Hero Subpage */
.hero-subpage {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-subpage::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiB2aWV3Qm94PSIwIDAgMTAwIDEwMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSJ3aGl0ZSIgb3BhY2l0eT0iMC4wNSI+PGNpcmNsZSBjeD0iNTAiIGN5PSI1MCIgcj0iNTAiLz48Y2lyY2xlIGN4PSIyMCIgY3k9IjgwIiByPSIyMCIvPjxjaXJjbGUgY3g9IjgwIiBjeT0iMjAiIHI9IjMwIi8+PC9nPjwvc3ZnPg==') repeat;
    opacity: 0.4;
    z-index: 1;
}

.hero-subpage .hero-content {
    position: relative;
    z-index: 2;
    margin: auto;
    width: 50%;
}

.hero-subpage h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
    color: white !important;
    background: none !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: white !important;
    background-clip: initial !important;
}

.hero-subpage p {
    font-size: 1.25rem;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
    color: white;
}

/* Hero Badges */
.hero-subpage .badge,
.hero-subpage .urgent-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-subpage .urgent-badge {
    background: rgba(239, 68, 68, 0.9);
    color: white;
    animation: pulse 2s infinite;
}

/* Breadcrumb */
.breadcrumb {
    background-color: #f8f9fa;
    padding: 1rem 0;
    border-bottom: 1px solid #e9ecef;
}

.breadcrumb nav {
    font-size: 0.9rem;
}

.breadcrumb a {
    text-decoration: none;
    transition: color 0.2s ease;
}

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

/* Content Section */
.content-section {
    padding: 4rem 0;
    background-color: white;
}

.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.content-main {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
}

.content-card {
    padding: 3rem;
}

.content-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid #f1f5f9;
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-menu li {
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #f1f5f9;
}

.sidebar-menu li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.sidebar-link {
    color: var(--gray);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
    display: block;
}

.sidebar-link:hover {
    color: var(--primary);
}

/* Highlight Box */
.highlight-box {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
}

.highlight-box h2,
.highlight-box h3 {
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.feature-list li:last-child {
    margin-bottom: 0;
}

.feature-list .material-icons {
    color: var(--accent);
    margin-right: 0.75rem;
    margin-top: 0.1rem;
    font-size: 1.25rem;
}

/* Content List */
.content-list {
    list-style: none;
    padding-left: 0;
    margin: 1.5rem 0;
}

.content-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.content-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

/* Recommendation Box */
.recommendation-box {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 2px solid #f59e0b;
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
}

.recommendation-box h3 {
    color: #92400e;
    margin-bottom: 1rem;
}

.recommendation-box p {
    color: #78350f;
    line-height: 1.6;
}

/* Services Overview (for leistungen.html) */
.services-overview {
    padding: 4rem 0;
    background: #f8fafc;
}

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

.service-card-detailed {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    border: 1px solid #e2e8f0;
    position: relative;
    transition: all 0.3s ease;
}

.service-card-detailed:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.service-card-detailed.featured {
    border: 2px solid #10b981;
    background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 100%);
}

.service-card-detailed.urgent {
    border: 2px solid #ef4444;
    background: linear-gradient(135deg, #fef2f2 0%, #fef2f2 100%);
}

.service-number {
    position: absolute;
    top: -15px;
    left: 25px;
    background: var(--primary);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.service-icon {
    margin: 1rem 0 1.5rem 0;
}

.service-icon .material-icons {
    font-size: 3rem;
    color: var(--white);
}

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

.service-description {
    color: var(--gray);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.service-highlights,
.service-duration,
.service-goal,
.service-urgency {
    margin: 1.5rem 0;
}

.service-highlights h3 {
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.service-highlights ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-highlights li {
    padding: 0.5rem 0;
    color: var(--gray);
    font-size: 0.95rem;
    display: flex;
    align-items: flex-start;
}

.service-highlights li::before {
    content: '✓';
    color: var(--accent);
    font-weight: bold;
    margin-right: 0.5rem;
    margin-top: 0.1rem;
}

.service-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-badge.urgent {
    background: #ef4444;
    animation: pulse 2s infinite;
}

.service-recommendation,
.service-duration,
.service-goal,
.service-urgency {
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
    font-size: 0.95rem;
}

.service-recommendation {
    background: #fef3c7;
    border-left: 4px solid #f59e0b;
    color: #92400e;
}

.service-duration {
    background: #e0f2fe;
    border-left: 4px solid #0284c7;
    color: #0c4a6e;
}

.service-goal {
    background: #f0fdf4;
    border-left: 4px solid #16a34a;
    color: #14532d;
}

.service-urgency {
    background: #fef2f2;
    border-left: 4px solid #dc2626;
    color: #991b1b;
}

.service-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.service-actions .btn {
    flex: 1;
    min-width: 140px;
    text-align: center;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiB2aWV3Qm94PSIwIDAgMTAwIDEwMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSJ3aGl0ZSIgb3BhY2l0eT0iMC4wNSI+PGNpcmNsZSBjeD0iNTAiIGN5PSI1MCIgcj0iNTAiLz48Y2lyY2xlIGN4PSIyMCIgY3k9IjgwIiByPSIyMCIvPjxjaXJjbGUgY3g9IjgwIiBjeT0iMjAiIHI9IjMwIi8+PC9nPjwvc3ZnPg==') repeat;
    opacity: 0.4;
}

.cta-content {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.cta-content p {
    font-size: 1.1rem;
    opacity: 0.95;
    margin-bottom: 2rem;
}

/* Animation for urgent badge */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(239, 68, 68, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
    }
}

/* Responsive Design for Subpages */
@media (max-width: 768px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .content-card {
        padding: 2rem;
    }
    
    .sidebar-card {
        padding: 1.5rem;
    }
    
    .hero-subpage h1 {
        font-size: 2rem;
    }
    
    .hero-subpage p {
        font-size: 1.1rem;
    }
    
    .service-card-detailed {
        padding: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-actions {
        flex-direction: column;
    }
    
    .service-actions .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    .hero-subpage .hero-content {
        position: relative;
        z-index: 2;
        margin: auto;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-subpage {
        padding: 2rem 0;
    }
    
    .content-section {
        padding: 2rem 0;
    }
    
    .services-overview {
        padding: 2rem 0;
    }
    
    .cta-section {
        padding: 2rem 0;
    }
    .hero-subpage .hero-content {
        position: relative;
        z-index: 2;
        margin: auto;
        width: 100%;
    }
}

/* ===== END SUBPAGE STYLES ===== */

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    0% { 
        transform: translateY(15px); 
        opacity: 0; 
    }
    40% {
        opacity: 0.5;
    }
    100% { 
        transform: translateY(0); 
        opacity: 1; 
    }
}

@keyframes fadeSlideIn {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    40% {
        opacity: 0.5;
        transform: translateY(5px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0.95);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.animate-fade {
    animation: fadeIn 0.7s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
    will-change: opacity;
    backface-visibility: hidden;
}

.animate-slide {
    animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    will-change: transform, opacity;
    backface-visibility: hidden;
    transform-style: preserve-3d;
}

.animate-fade-slide {
    animation: fadeSlideIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    will-change: transform, opacity;
    backface-visibility: hidden;
    transform-style: preserve-3d;
}

.animate-scale {
    animation: scaleIn 0.7s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
    will-change: transform, opacity;
    backface-visibility: hidden;
}

/* Responsive styles */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .about-grid,
    .contact-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        margin-bottom: 2rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 992px) and (min-width: 769px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .section-header h2,
    .about-content h2,
    .ai-act h2,
    .contact-info h2 {
        font-size: 2rem;
    }
      .offering-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .offering-card.featured {
        transform: none;
        order: -1;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .btn {
        display: block;
        width: 100%;
        text-align: center;
    }
      .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .step-card {
        padding: 1rem;
    }
}

/* Testimonials Section */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    margin-top: 3rem;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.testimonial-card {
    background-color: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    font-size: 6rem;
    font-family: serif;
    line-height: 1;
    color: var(--primary);
    opacity: 0.1;
}

.testimonial-content {
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.avatar-placeholder {
    font-size: 2rem;
}

.testimonial-author-info h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.testimonial-author-info p {
    font-size: 0.9rem;
    color: var(--gray);
}

/* Ranking Section */
.ranking-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin: 3rem 0;
}

.ranking-item {
    background-color: white;
    padding: 2.5rem 1.5rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease;
}

.ranking-item:hover {
    transform: translateY(-10px);
}

.ranking-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ranking-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.ranking-item p {
    font-size: 0.95rem;
    color: var(--gray);
}

.local-expertise {
    background-color: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    border-left: 5px solid var(--primary);
    max-width: 900px;
    margin: 0 auto;
}

.local-expertise h3 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
}

.local-expertise p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.local-expertise p:last-child {
    margin-bottom: 0;
}

@media (max-width: 992px) {
    .ranking-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .ranking-stats {
        grid-template-columns: 1fr;
    }
}

/* Form Validation and Response Styles */
.form-control.invalid {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
    background-color: #fef2f2;
}

.error-message {
    color: #dc2626;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
    font-weight: 500;
}

.form-response {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-top: 1.5rem;
    font-weight: 500;
    border: 1px solid;
    animation: slideDown 0.4s ease-out;
}

.form-response.success {
    background-color: #f0fdf4;
    border-color: #16a34a;
    color: #14532d;
}

.form-response.error {
    background-color: #fef2f2;
    border-color: #dc2626;
    color: #991b1b;
}

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

/* Form checkbox styling */
input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
}

input[type="checkbox"]:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

input[type="checkbox"]:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

input[type="checkbox"]:disabled + span {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Disabled button state */
.btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}

.btn:disabled:hover {
    transform: none !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
}

/* Offerings Section */
