/* filepath: php-web-project/css/style.css */
/* Smooth Scrolling aktivieren */
@import url('https://fonts.googleapis.com/css2?family=Encode+Sans:wght@400;600;700&display=swap');
@import "slider.css";
@import "modal.css";
@import "referenz.css";
@import "columns.css";
/* -------------------------------
   Reset & globale Einstellungen
---------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Encode Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;

    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

/* -------------------------------
   CSS Variablen für einheitliche Farben, Abstände & Typografie
---------------------------------- */
:root {
    --primary-color: #0080C9;
    --primary-color-dark: #1A1E52;
    --text-color: #333;
    --bg-color: #f4f4f9;
    --section-padding: 20px 20px;
    --container-max-width: 1200px;
    --border-radius: 5px;
    --transition-speed: 0.3s;
    
    /* Typografie */
    --font-size-h1: 3.5rem;
    --font-size-h2: 2.2rem;
    --font-size-h3: 1.5rem;
    --font-size-body: 1.1rem;
    --font-weight-headings: 600;
    --line-height-headings: 1.2;
    
    /* Mobile padding */
    --mobile-container-padding: 15px;
}

/* -------------------------------
   Allgemeine Container und Typografie
---------------------------------- */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0;
}

h1, h2, h3 {
    text-transform: uppercase;
    font-weight: var(--font-weight-headings);
    line-height: var(--line-height-headings);
    margin-bottom: 15px;
    color: var(--primary-color);
}

h1 {
    font-size: var(--font-size-h1);
}

h2 {
    font-size: var(--font-size-h2);
}

h3 {
    font-size: var(--font-size-h3);
}

p {
    font-size: var(--font-size-body);
    margin-bottom: 15px;
}

/* Einheitliche Abstände zwischen Elementen */
section > * + * {
    margin-top: 30px;
}

/* -------------------------------
   Header & Hero Section
---------------------------------- */
/* Der fixierte Header (für den Navigationsbereich) */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: #ffffff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    z-index: 1000;
    padding: 10px 20px;
}

/* Hero Section mit Vignette und erhöhter Sättigung */
header.hero {
    position: relative;
    width: 100vw;
    height: 100vh;
    background-position: center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: left;
    color: #ffffff;
    overflow: hidden; /* Ensure video doesn't overflow */
}

/* Video background styles */
header.hero video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    filter: saturate(1.3); /* Erhöht die Farbsättigung des Videos um 30% */
}

header.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*background: radial-gradient(ellipse at center, 
                rgba(0,0,0,0) 0%, 
                rgba(0,0,0,0.4) 50%, 
                rgba(0,0,0,0.6) 100%);*/
    z-index: 1;
}

header.hero .hero-content {
    /* Statt align-self: flex-start verwenden wir margin: 0 auto, um den Container zu zentrieren */
    margin: 0 auto;
    max-width: var(--container-max-width);
    width: 50%;
    padding: 20px 15px; /* Hier passt du bei Bedarf die horizontale Padding an */
    position: relative;
    z-index: 2;
}

/* Animation keyframes for hero content */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 128, 201, 0.6);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(0, 128, 201, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 128, 201, 0);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

    /* Share Button Styles */
    #share-container {
        position: fixed;
        top: 50%;
        left: 0;
        transform: translateY(-50%);
        z-index: 1000;
    }
    #share-container #shareBtn {
        background: #007bff;
        border: none;
        padding: 10px;
        color: white;
        cursor: pointer;
    }
    #share-menu {
        display: none;
        background: #fff;
        border: 1px solid #ccc;
        padding: 5px;
    }
    #share-menu.open {
        display: block;
    }
    #share-menu a {
        display: block;
        padding: 5px;
        color: #333;
    }
    #share-menu a:hover {
        background: #f0f0f0;
    }
/* Hero content animations */
.hero-content {
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: var(--border-radius);
    text-align: center;
    animation: float 6s ease-in-out infinite;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
    color: #ffffff;
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards 0.3s, 
               shimmer 3s infinite linear 2s;
    background: linear-gradient(
        90deg, 
        rgba(255, 255, 255, 1) 0%, 
        rgba(255, 255, 255, 1) 45%, 
        rgba(0, 128, 201, 1) 50%, 
        rgba(255, 255, 255, 1) 55%, 
        rgba(255, 255, 255, 1) 100%
    );
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
 
    -webkit-text-fill-color: transparent;
}

.hero-content h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-weight: 600;
    color: var(--primary-color);
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards 0.6s;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards 0.9s;
}

.hero-content button {
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards 1.2s,
               pulse 2s infinite 2s;
}

/* Responsive adjustments for animations */
@media (max-width: 768px) {
    .hero-content {
        animation: float 4s ease-in-out infinite;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content h2 {
        font-size: 1.4rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
}

header.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
    color: #ffffff;
}

header.hero h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-weight: 600;
    color: var(--primary-color);
}

header.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* Button im Hero */
header.hero button {
    background-color: var(--primary-color);
    color: #ffffff;
    border: none;
    padding: 12px 25px;
    border-radius: var(--border-radius);
    font-size: 1rem;
    cursor: pointer;
    transition: background-color var(--transition-speed);
}

header.hero button:hover {
    background-color: var(--primary-color-dark);
}

header.hero button a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 600;
}

/* -------------------------------
   Navigation Styles
---------------------------------- */
/* Navigation mit Logo */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: transparent;
    padding: 20px 20px;
    z-index: 10000;
    transition: background-color var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.navbar.scrolled {
    background: rgba(26, 30, 82, 1);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 15px;
    width: 100%;
}

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

.logo img {
    height: 60px;
    width: auto;
    margin-top: 20px;
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin: 0 0 0 20px; /* Abstand nur auf der linken Seite für Links */
}

.nav-links li a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 400;
    font-size: 1.0rem;
    padding: 8px 12px;
    border-radius: var(--border-radius);
    transition: color var(--transition-speed) ease, background-color var(--transition-speed) ease, transform var(--transition-speed) ease, text-shadow var(--transition-speed) ease;
    display: inline-block;
    position: relative;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5); /* Leichter Schattenwurf für bessere Lesbarkeit */
}

.nav-links li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--primary-color);
    transition: width 0.3s ease, left 0.3s ease;
}

.nav-links li a:hover {
    transform: translateY(-2px);
}

.nav-links li a:hover::after {
    width: 80%;
    left: 10%;
}

.navbar.scrolled .nav-links li a {
    color: #ffffff;
    text-shadow: none; /* Schattenwurf entfernen, wenn die Navbar gescrollt ist und einen Hintergrund hat */
}

/* Fix for mobile responsiveness */
@media (max-width: 768px) {
    .container, .section-container {
        padding-left: var(--mobile-container-padding);
        padding-right: var(--mobile-container-padding);
        width: 100%;
        box-sizing: border-box;
    }
    
    .navbar {
        padding: 10px 0;
    }
    
    .nav-container {
        flex-direction: row;
        justify-content: space-between;
        padding: 0 var(--mobile-container-padding);
    }
    
    .logo {
        margin-bottom: 0;
        display: block;
        position: relative;
        z-index: 10001;
    }
    
    .logo img {
        height: 50px;
        margin-top: 10px;
        display: block;
    }
    
    .nav-links {
        width: 100%;
        justify-content: center;
    }
    
    .nav-links li {
        margin: 10px 0;
        display: none;
    }
    
    section {
        padding: 30px 0;
        width: 100%;
        box-sizing: border-box;
    }
    
    .section-container, 
    .about-content, 
    .services-grid, 
    .cta-container {
        padding-left: var(--mobile-container-padding);
        padding-right: var(--mobile-container-padding);
        width: 100%;
    }
    
    .about-image {
        width: 100%;
        height: auto;
        margin-bottom: 20px;
        padding: 0;
    }
    
    header.hero .hero-content {
        width: 90%;
    }
}

/* Fix for very small screens */
@media (max-width: 480px) {
    .logo img {
        height: 40px;
        margin-top: 8px;
    }
    
    .navbar {
        padding: 8px 0;
    }
    
    .nav-container {
        padding: 0 10px;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-content h2 {
        font-size: 1.2rem;
    }
    
    .hero-content p {
        font-size: 0.9rem;
    }
}

/* Styling für das Quiz und Formular */
.quiz-container, .contact-form-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
   
    border-radius: 8px;
  
}
h2 {
    margin-bottom: 20px;
    color: #333;
    font-weight: 600;
}
.options-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 20px 0;
}
.option-btn {
    background-color: var(--primary-color, #0080C9);
    color: white;
    border: none;
    padding: 15px 20px;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
    text-align: left;
}
.option-btn:hover {
    background-color: var(--primary-color-dark, #1A1E52);
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}
.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}
.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
}
.submit-btn {
    background-color: var(--primary-color, #0080C9);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}
.submit-btn:hover {
    background-color: var(--primary-color-dark, #1A1E52);
}
.back-link {

    color: #666;
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 5px;
    transition: background-color 0.3s;
}
.back-link:hover {
    background-color: #f0f0f0;
}
.success-message {
    text-align: center;
    padding: 40px 20px;
}
.success-message h2 {
    color: #4CAF50;
    margin-bottom: 15px;
}

/* Styling for reusable quiz buttons */
.quiz-button {
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
}

.quiz-button:hover {
    background-color: #0056b3;
}

.quiz-button.header-button {
    margin-top: 20px;
}

.quiz-button.highlight-button {
    background-color: #ff5722;
}

.quiz-button.highlight-button:hover {
    background-color: #e64a19;
}

/* Quiz Button Styles */
.quiz-button-container {
    margin: 30px 0;
    text-align: center;
}

.quiz-button {
    padding: 12px 24px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.quiz-button:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.quiz-description {
    margin-top: 10px;
    font-style: italic;
    color: #666;
    font-size: 14px;
} /* Added closing bracket here */

/* Modal open state */
body.modal-open {
    overflow: hidden;
}

/* Quiz Modal Styling */
.option-btn.active {
    background-color: #4CAF50;
    color: white;
    border-color: #4CAF50;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Close button styling */
.close-button {
    background-color: #f0f0f0;
    color: #555;
    border: none;
    border-radius: 4px;
    padding: 8px 15px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.close-button:hover {
    background-color: #e0e0e0;
}

/* Button styles for consistent appearance */
#backButton, .close-button {
    background-color: #f0f0f0;
    color: #555;
    border: none;
    border-radius: 4px;
    padding: 8px 15px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.2s;
    height: 40px; /* Consistent height */
}

#backButton:hover, .close-button:hover {
    background-color: #e0e0e0;
}

/* Form actions layout */
.form-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: 30px;
    gap: 20px;
}

/* Create a placeholder for back button when it's hidden */
.form-actions::before {
    content: "";
    width: 85px; /* Approximate width of the back button */
    visibility: hidden;
    display: block;
}

/* Only show the placeholder when back button is hidden */
.form-actions:has(#backButton[style*="display: inline-block"]) ::before {
    display: none;
}

/* Privacy policy checkbox styling */
.privacy-consent {
    margin: 15px 0;
    text-align: left;
    width: 100%;
}

.privacy-consent label {
    display: inline-block;
    font-size: 14px;
    line-height: 1.4;
    text-align: left;
    width: 100%;
}

.privacy-consent input[type="checkbox"] {
    margin-right: 10px;
    margin-top: 3px;
    min-width: 16px;
  
}

.privacy-consent span {
    text-align: left;
    flex: 1;
}

.privacy-consent a {
    color: #4CAF50;
    text-decoration: underline;
    display: inline;
}

.privacy-consent a:hover {
    text-decoration: none;
}

/* Mobile responsive styles */
@media screen and (max-width: 768px) {
    .modal-content {
        padding: 15px;
        margin: 10% auto;
        width: 90%;
    }
    
    #modalContent h2 {
        font-size: 20px;
        margin-top: 10px;
        margin-bottom: 10px;
    }
    
    .modal-step h3 {
        font-size: 18px;
        margin-top: 10px;
        margin-bottom: 10px;
    }
    
    .modal-step p {
        font-size: 14px;
        margin-bottom: 10px;
    }
    
    .options-container {
        margin-top: 10px;
    }
    
    .option-btn {
        margin-bottom: 8px;
        padding: 10px;
        font-size: 14px;
        width: 100%;
    }
    
    .form-group {
        margin-bottom: 10px;
    }
    
    .result-box {
        padding: 10px;
    }
    
    .result-value {
        font-size: 20px;
    }
    
    #backButton, .close-button {
        padding: 8px 15px;
        font-size: 14px;
    }
}

/* For very small screens */
@media screen and (max-width: 480px) {
    .modal-content {
        margin: 5% auto;
        padding: 10px;
    }
    
    #modalContent h2 {
        font-size: 18px;
    }
    
    .modal-step h3 {
        font-size: 16px;
    }
    
    .privacy-consent label {
        font-size: 12px;
    }
}

/* Responsive Navigation für mobile Geräte */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
    }
    
    .logo {
        margin-bottom: 15px;
    }
    
    .nav-links {
        width: 100%;
        justify-content: center;
    }
    
    .nav-links li {
        margin: 0 10px;
    }
}

/* -------------------------------
   Main & Section Styles
---------------------------------- */
main {
    padding-top: 80px;
}

section {
    margin: 0;
    width: 100%;
    
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  
    text-align: center;
}

/* Alternierende Hintergrundfarben für Sections (Fullwidth) */
section:nth-of-type(odd) {
  
    color: #333;
}


/* Innerer Container zur Begrenzung des Inhalts auf max. 1200px */
.section-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 20px 0;
}


button {
    background-color: var(--primary-color);
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    border-radius: var(--border-radius);
    font-size: 16px;
    cursor: pointer;
    transition: background-color var(--transition-speed);
}

button:hover {
    background-color: var(--primary-color-dark);
}

/* -------------------------------
   About Section Styles (Beispiel für weitere Sections)
---------------------------------- */
.about {
    padding: var(--section-padding) 20px;
    color: var(--text-color);
    text-align: left;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
}

.about-text 
{
    flex: 1;
    min-width: 300px;
    margin: 50px 10px 50px 10px;
    text-align: center;
}

.about-text h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.about-text p {
    font-size: 1.2rem;
    line-height: 1.8;
}

.about-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
    margin: 0 15px;
   
}

.about-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    
}

/* Mission, Services, Why us */
.about-mission,
.about-services,
.about-why-us {
    margin-bottom: 40px;
}

.about-mission h3,
.about-services h3,
.about-why-us h3 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.about-mission p,
.about-why-us p {
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-services ul {
    list-style: disc;
    padding-left: 20px;
}

.about-services ul li {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 10px;
}

/* -------------------------------
   Services/Leistungen Section Styling
---------------------------------- */
.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.section-intro {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin: 40px 0;
}

.service-card {
    flex: 1;
    min-width: 300px;
    max-width: 380px;
    background-color: #fff;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.service-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

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

.service-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-icon {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    text-align: left;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color-dark);
    text-align: left;
}

.service-card p {
    color: #555;
    line-height: 1.6;
    text-align: left;
    flex-grow: 1;
}

.cta-container {
    text-align: center;
    margin-top: 50px;
    padding: 30px;

    border-radius: var(--border-radius);
    margin-bottom: 20px;
}

.cta-container p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.cta-button {
    background-color: var(--primary-color); /* Changed from #4CAF50 to light blue primary color */
    color: white;
    border: none;
    padding: 15px 30px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 20px 0;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: var(--primary-color-dark); /* Changed from #3e8e41 to primary dark color */
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

@media (max-width: 992px) {
    .service-card {
        min-width: 280px;
    }
}

@media (max-width: 768px) {
    .services-grid {
        flex-direction: column;
        align-items: center;
    }
    
    .service-card {
        max-width: 100%;
    }
}

/* Leistungen Section Styles */
.leistungen-section {
    background-color: #f0f0f0; /* Light gray background */
}

/* -------------------------------
   Förderung Section Styles
---------------------------------- */
.foerderung-section {
    background-color: #f0f0f0; /* Hellgrauer Hintergrund */
    padding: 50px 20px;
}

.foerderung-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.foerderung-container h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #333;
}

.foerderung-container p {
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: 20px;
}

.foerderung-benefits {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.foerderung-benefits li {
    font-size: 20px;
    margin-bottom: 15px;
    position: relative;
    padding-left: 25px;
}

.foerderung-benefits li::before {
    content: "✓";
    color: #4CAF50;
    position: absolute;
    left: 0;
}

.foerderung-cta {
    font-weight: bold;
    font-size: 20px;
    margin-top: 30px;
}

/* Förderung Button Styles */
.foerderung-container .button-container {
    text-align: left;
    margin-top: 30px;
}

.foerderung-container .calculate-button {
    background-color: #4CAF50;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.foerderung-container .calculate-button:hover {
    background-color: #45a049;
}

/* Make all content in foerderung section left-aligned */
.foerderung-container.left-aligned {
    text-align: left;
}

.foerderung-container.left-aligned h2,
.foerderung-container.left-aligned p,
.foerderung-container.left-aligned ul {
    text-align: left;
}

.foerderung-benefits li {
    text-align: left;
}

/* -------------------------------
   Ablauf Section Styles
---------------------------------- */
.ablauf-section {
    padding: 60px 20px;
    background-color: #ffffff; /* Changed from #f0f0f0 to white */
}

.ablauf-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    text-align: center;
}

.ablauf-header {
    margin-bottom: 40px;
}

.ablauf-header h2 {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.ablauf-header h3 {
    font-size: 24px;
    color: var(--text-color);
    margin-bottom: 20px;
}

.ablauf-header p {
    font-size: 18px;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

.ablauf-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
}

.ablauf-step {
    flex: 1;
    min-width: 220px;
    max-width: 280px;
    background-color: #fff;
    border-radius: 8px;
    padding: 30px 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.ablauf-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.ablauf-icon {
    height: 80px;
    width: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 128, 201, 0.1);
    border-radius: 50%;
}

/* Icon styles */
.icon-beratung::before,
.icon-planung::before,
.icon-installation::before,
.icon-sparen::before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 36px;
    color: var(--primary-color);
}

.icon-beratung::before {
    content: "\f4ad"; /* comment-dots icon */
}

.icon-planung::before {
    content: "\f0ae"; /* tasks icon */
}

.icon-installation::before {
    content: "\f0ad"; /* wrench icon */
}

.icon-sparen::before {
    content: "\f155"; /* dollar-sign icon */
}

.ablauf-step h4 {
    font-size: 20px;
    color: var(--primary-color-dark);
    margin-bottom: 15px;
}

.ablauf-step p {
    font-size: 16px;
    line-height: 1.5;
    color: var(--text-color);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .ablauf-steps {
        flex-direction: column;
        align-items: center;
    }
    
    .ablauf-step {
        max-width: 100%;
    }
}

/* -------------------------------
   Winmax Section Styles
---------------------------------- */
.winmax-section {
    padding: 60px 20px;
    background-color: #ffffff;
}

.winmax-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative; /* Add positioning context */
    text-align: left;
}

.winmax-content {
    display: flex;
    position: relative; /* For absolute positioning of video */
    min-height: 500px; /* Ensure minimum height for content area */
}

.winmax-video {
    flex: 0 0 30%;
    padding-right: 40px;
    /* Portrait/vertical video styling */
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 30%; /* Fixed width instead of flex basis */
    height: 100%; /* Full height of the container */
}

.winmax-video video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures video covers the container */
    object-position: center; /* Centers the video content */
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    aspect-ratio: 9/16; /* Force portrait orientation (height greater than width) */
    max-height: 100%;
}

.winmax-text {
    flex: 0 0 70%;
    margin-left: 30%; /* Offset to make room for absolute positioned video */
    text-align: left;
}

.winmax-text h2 {
    font-size: 36px;
    color: #333;
    margin-bottom: 15px;
    text-align: left;
}

.winmax-text h3 {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: left;
}

.winmax-text p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: left;
}

.winmax-benefits {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.winmax-benefits li {
    font-size: 16px;
    margin-bottom: 15px;
    position: relative;
    padding-left: 25px;
    text-align: left;
}

.winmax-benefits li::before {
    content: "✓";
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

.winmax-cta {
    font-weight: bold;
    font-size: 18px;
    margin-top: 30px;
    text-align: left;
}

/* Button styling */
.winmax-container .button-container {
    margin-top: 20px;
    padding-left: 30%; /* Align with the start of text content */
}

.winmax-container .offer-button {
    background-color: #FF9800;
    color: white;
    padding: 14px 28px;
    border: none;
    border-radius: 4px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-left: 0; /* Reset any margin to move it left */
}

.winmax-container .offer-button:hover {
    background-color: #F57C00;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .winmax-content {
        flex-direction: column;
    }
    
    .winmax-video {
        position: relative; /* Reset position for mobile */
        flex: 0 0 100%;
        padding-right: 0;
        height: auto;
        width: 100%;
        margin-bottom: 30px;
    }
    
    .winmax-text {
        flex: 0 0 100%;
        margin-left: 0;
    }
    
    .winmax-container .button-container {
        padding-left: 0;
    }
}

/* -------------------------------
   Sparen Section Styles
---------------------------------- */
.sparen-section {
  padding: 70px 0;
  background-color: #f9f9f9;
  position: relative;
}

.sparen-container {
  display: flex;
  flex-wrap: wrap;
  max-width: var(--container-max-width);
  margin: 0 auto;
  gap: 50px;
  padding: 0;
}

.sparen-left, .sparen-right {
  flex: 1;
  min-width: 300px;
}

/* Left side styling - text content */
.sparen-left {
  text-align: left;
}

.sparen-left h2 {
  color: var(--primary-color);
  margin-bottom: 20px;
  font-size: 32px;
  font-weight: 700;
  text-transform: uppercase;
  position: relative;
}

.sparen-left h2:after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 80px;
  height: 3px;
  background-color: var(--primary-color);
}

.sparen-left h3 {
  color: var(--primary-color-dark);
  margin-bottom: 20px;
  font-size: 22px;
  line-height: 1.3;
  font-weight: 600;
}

.sparen-left p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 25px;
  color: #444;
}

.sparen-left h4 {
  color: var(--primary-color);
  margin-top: 30px;
  margin-bottom: 15px;
  font-size: 20px;
  font-weight: 600;
}

.sparen-left ul {
  padding-left: 5px;
  margin-bottom: 20px;
  list-style-type: none;
}

.sparen-left ul li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 12px;
  font-size: 16px;
  line-height: 1.5;
}

.sparen-left ul li:before {
  content: "✓";
  color: var(--primary-color);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.sparen-left .highlight {
  font-size: 22px;
  font-weight: 700;
  color: white;
  padding: 15px 20px;
  background-color: var(--primary-color);
  border-radius: 6px;
  display: inline-block;
  margin: 20px 0;
  box-shadow: 0 4px 10px rgba(0, 128, 201, 0.3);
}

.sparen-left .cta {
  font-weight: 500;
  font-size: 17px;
  line-height: 1.6;
  background-color: rgba(0, 128, 201, 0.08);
  padding: 20px;
  border-radius: 6px;
  margin-top: 30px;
  border-left: 4px solid var(--primary-color);
  color: #333;
}

/* Right side styling - modern chart */
.sparen-right {
  display: flex;
  align-items: center;
  justify-content: center;
}

.chart-container {
  background-color: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  width: 100%;
  max-width: 450px;
}

.chart-title {
  color: var(--primary-color-dark);
  font-size: 22px;
  margin-bottom: 10px;
  text-align: center;
  font-weight: 600;
}

.chart-subtitle {
  color: #666;
  font-size: 14px;
  margin-bottom: 40px;
  text-align: center;
  font-weight: 500;
}

/* Modern chart styling */
.modern-chart {
  position: relative;
  padding: 20px 10px 30px;
}

.chart-labels {
  display: flex;
  justify-content: space-around;
  margin-bottom: 15px;
  font-weight: 600;
}

.label-before, .label-after {
  font-size: 18px;
}

.label-before {
  color: #e74c3c;
}

.label-after {
  color: var(--primary-color);
}

.chart-bars {
  display: flex;
  justify-content: space-around;
  align-items: flex-end;
  height: 300px;
  position: relative;
}

.chart-bars:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 5%;
  width: 90%;
  height: 2px;
  background-color: #eee;
}

.bar-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 120px;
}

.bar {
  width: 120px;
  border-radius: 8px 8px 0 0;
  position: relative;
  transition: height 1.5s cubic-bezier(0.19, 1, 0.22, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 15px;
}

.bar-before {
  background: linear-gradient(180deg, #e74c3c 0%, #c0392b 100%);
  height: 250px !important; /* Force a specific height instead of relying on percentage */
  box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
}

.bar-after {
  background: linear-gradient(180deg, #0080C9 0%, #28b0ff 100%);
  height: 75px !important; /* Set a fixed height that's 30% of the before bar */
  box-shadow: 0 5px 15px rgba(46, 109, 204, 0.3);
}

/* Animation for the chart on scroll */
.sparen-section.animate .bar-before {
  height: 250px !important;
}

.sparen-section.animate .bar-after {
  height: 75px !important;
}

.bar-value {
  color: white;
  font-weight: bold;
  font-size: 16px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.bar-label {
  margin-top: 15px;
  font-size: 14px;
  color: #666;
}

.savings-badge {
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  background-color: #f39c12;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(243, 156, 18, 0.3);
  color: white;
}

.savings-value {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
}

.savings-text {
  font-size: 14px;
  margin-top: 3px;
}

/* Button styling for Sparen section */
.sparen-container .button-container {
  text-align: center;
  margin-top: 40px;
  width: 100%;
}

.calculate-savings-button {
  background-color: var(--primary-color);
  color: white;
  padding: 14px 28px;
  border: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;
  box-shadow: 0 4px 8px rgba(0, 128, 201, 0.3);
}

.calculate-savings-button:hover {
  background-color: var(--primary-color-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 128, 201, 0.4);
}

.calculate-savings-button:active {
  transform: translateY(0);
  box-shadow: 0 3px 6px rgba(0, 128, 201, 0.3);
}

/* Mobile responsiveness */
@media (max-width: 992px) {
  .sparen-container {
    flex-direction: column;
  }
  
  .bar-wrapper {
    width: 100px;
  }
  
  .bar {
    width: 100px;
  }
  
  .savings-badge {
    right: -10px;
    width: 70px;
    height: 70px;
  }
  
  .savings-value {
    font-size: 20px;
  }
}

@media (max-width: 576px) {
  .chart-bars {
    height: 250px;
  }
  
  .bar-wrapper {
    width: 80px;
  }
  
  .bar {
    width: 80px;
  }
  
  .bar-value {
    font-size: 14px;
  }
  
  .savings-badge {
    width: 60px;
    height: 60px;
    right: 0;
  }
  
  .savings-value {
    font-size: 18px;
  }
  
  .savings-text {
    font-size: 12px;
  }
  
  .sparen-left .highlight {
    font-size: 18px;
  }
}

/* -------------------------------
   Scroll-Up Button Styles
---------------------------------- */
.scroll-up-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 999;
    font-size: 24px;
    cursor: pointer;
}

.scroll-up-btn.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-up-btn:hover {
    background-color: var(--primary-color-dark);
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* -------------------------------
   CTA Section Styles
---------------------------------- */
.cta-section {
  position: relative;
  padding: 80px 0;
  margin: 40px 0 0 0;
  background-image: url('../images/firma.png'); /* Replace with your actual image path */
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0px;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: transparent
}

.cta-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 20px auto;
    text-align: center;
    padding: 20px 20px;
}

.cta-content h2 {
  color: #fff;
  font-size: 2.5rem;
  margin-bottom: 30px;
  font-weight: 700;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

.cta-button {
  background-color: var(--primary-color); /* Changed from #4CAF50 to light blue primary color */
  color: white;
  border: none;
  padding: 15px 30px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 1.2rem;
  font-weight: 600;
  margin: 20px 0;
  cursor: pointer;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.cta-button:hover {
  background-color: var(--primary-color-dark); /* Changed from #3e8e41 to primary dark color */
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .cta-content h2 {
    font-size: 1.8rem;
  }
  
  .cta-button {
    padding: 12px 25px;
    font-size: 1rem;
  }

  .sparen-section {
    padding: 70px 20px;
    background-color: #f9f9f9;
    position: relative;
  }

  .legal-modal-body h1{
    font-size: 1rem;
  }

}

.legal-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.7);
  }
  
  .legal-modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 20px;
    border-radius: 8px;
    width: 80%;
    max-width: 900px;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
  }
  
  .legal-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: sticky;
    top: 0;
    right: 0;
    z-index: 10;
  }
  
  .legal-close:hover,
  .legal-close:focus {
    color: black;
    text-decoration: none;
  }
  
  .loading-spinner {
    text-align: center;
    padding: 40px;
  }
  
  .spinner {
    border: 5px solid #f3f3f3;
    border-top: 5px solid #3498db;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 2s linear infinite;
    margin: 0 auto 20px;
  }
  
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }
.datenschutz-content {
    text-align: left;
  }
  .datenschutz-section {
    margin-top: 200px; /* Add margin to position the section lower */
    padding-bottom: 30px; /* Add padding at the bottom to separate from footer */
  }



/* -------------------------------
   Footer Styles
---------------------------------- */
footer {
    text-align: center;
    font-family: 'Encode Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

/* Oberer Bereich: Adresse, Kontakt & Sitemap */
.footer-top {
    padding: 30px 0;
    background-color: #1A1E52; /* Dark blue background as requested */
    color: #ffffff;
}

.footer-top .container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-top .footer-column {
    flex: 1;
    min-width: 250px;
      text-align: left;
}


.footer-column li {
    line-height: 1.3rem;
}
      

.footer-top .footer-column h3 {
    margin-bottom: 15px;
    font-size: 1.2rem;
    color: #f4f4f9;
}

.footer-top .footer-column p, 
.footer-top .footer-column a {
    font-size: 1rem;
    color: #f4f4f9;
    text-decoration: none;
    margin: 0 0 10px 0;
}

.footer-top .footer-column a:hover {
    text-decoration: underline;
    color: var(--primary-color);
}

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

.footer-top .footer-column ul li {
    margin-bottom: 8px;
}

/* Add styling for the contact button */
.footer-contact-button {
    display: inline-block;
    background-color: #0080C9;
    color: white;
    padding: 8px 15px;
    border-radius: 4px;
    text-decoration: none;
    margin-top: 10px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.footer-contact-button:hover {
    background-color: #006ca8;
    text-decoration: none !important;
}

/* Highlight the AGB link for better visibility */
.footer-column .highlight {
    font-weight: bold;
    color: #0080C9;
}

.footer-column .highlight:hover {
    color: white;
}

/* Unterer Bereich: Copyright */
.footer-bottom {
    padding: 15px 0;
    background-color: #16193f; /* Slightly darker blue for contrast */
    color: #f4f4f9;
}

.footer-bottom .container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0;
}

.footer-bottom p {
    font-size: 0.9rem;
    margin: 0;
}

/* Responsive Design für kleinere Bildschirme */
@media (max-width: 768px) {
    .footer-top .container {
        flex-direction: unset;
        align-items: center;
    }
    
    .footer-top .footer-column {
        width: 100%;
        text-align: center;
        margin-bottom: 20px;
    }
}

/* -------------------------------
   Custom Footer Styles
---------------------------------- */
footer {
    background-color: #1A1E52; /* Dark blue background */
    color: #ffffff;
    padding: 40px 0;
}

.footer-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    height: 60px;
    width: auto;
}

.footer-links {
    margin-bottom: 20px;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    margin: 0 15px;
    font-size: 16px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #0080C9; /* Light blue on hover */
    text-decoration: underline;
}

.footer-copyright {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

/* Responsive footer */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
    }
    
    .footer-logo, .footer-links, .footer-copyright {
        margin-bottom: 20px;
    }
    
    .footer-links a {
        display: block;
        margin: 10px 0;
    }
}

/* -------------------------------
   Kontaktformular Styling
---------------------------------- */
section form {

    padding: 20px;
    border-radius: var(--border-radius);

    max-width: 500px;
    margin: 20px auto;
    text-align: left;
}

section form input,
section form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: var(--border-radius);
    font-size: 1rem;
}

section form button {
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: var(--border-radius);
    font-size: 1rem;
    cursor: pointer;
    transition: background-color var(--transition-speed);
}

section form button:hover {
    background-color: var(--primary-color-dark);
}

/* -------------------------------
   Modal Styles - Fixed and Updated
---------------------------------- */
.modal {
    display: none;
    position: fixed;
    z-index: 11000; /* Higher than navigation */
    left: -7px;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.7);
}

.modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 30px;
    width: 90%;
    max-width: 800px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    position: relative;
    animation: modalFadeIn 0.3s ease-out;
}

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

.close {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #aaa;
    transition: color 0.3s;
}

.close:hover {
    color: var(--primary-color-dark);
}

#modalContent {
    margin-top: 20px;
}

/* Progress bar styles */
#progressBarContainer {
    width: 100%;
    background-color: #e0e0e0;
    border-radius: 5px;
    margin-bottom: 20px;
    overflow: hidden;
}

#progressBar {
    height: 20px;
    width: 0%;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

/* Back button styles */
#backButton {
    padding: 8px 15px;
    border: none;
    background-color: #aaa;
    color: #fff;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#backButton:hover {
    background-color: #888;
}

/* -------------------------------
   FAQ Section Styles
---------------------------------- */
.faq-section {
    padding: 60px 0;
    background-color: #ffffff; /* Changed from #f9f9f9 to white */
}

.faq-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.faq-left {
    flex: 1;
    min-width: 300px;
    text-align: left;
}

.faq-right {
    flex: 2;
    min-width: 300px;
}

.accordion {
    width: 100%;
}

.accordion-item {
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.accordion-header {
    background-color: #f5f5f5; /* Changed to light gray background */
    padding: 15px 20px;
    cursor: pointer;
    font-weight: 600;
    text-align: left;
    position: relative;
    transition: all 0.3s ease;
}

.accordion-header:after {
    content: '+';
    position: absolute;
    right: 20px;
    font-size: 20px;
    transition: transform 0.3s ease;
}

.accordion-header.active {
    background-color: #0077b6;
    color: white;
}

.accordion-header.active:after {
    content: '-';
}

.accordion-content {
    background-color: #fff;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-content p {
    padding: 15px 20px;
    margin: 0;
    text-align: left;
}

@media (max-width: 768px) {
    .faq-content {
        flex-direction: column;
    }
}

/* -------------------------------
   Responsive Design
---------------------------------- */
@media (max-width: 768px) {

    .cta-section::before {
        content: '';
        position: absolute;
        top: 1px;
        left: 0px;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.6);
    }
    .navbar ul {
        flex-direction: column;
        align-items: center;
    }
    
    .navbar ul li {
        margin: 10px 0;
        display: none;
    }
    
    section {
        padding: 30px 0px;
      
    }

    .cta-container {

        background-color: transparent;
    }
    .services-grid, .cta-container {
        padding: 0 20px;
    }    
    .about-content {
        flex-direction: column;
    }

    .about-image {
        width: 100%;
        height: auto;
        margin-bottom: 20px;   
        padding: 0 15px;
    }

    header.hero .hero-content {

        width: 100%;
    }
    .section-container {
            padding: 0;
    }
    .cta-section {
        margin: 0 auto;
    }
    .container {
        padding: 0 20px;
    }
    .content-columns {
        padding: 0 20px;
    }
}