body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f8f9fa;
}

.bg-light-gray {
    background-color: #f2f4f8;
}

.bg-dark-blue {
    background-color: #1a237e;
}

.bg-light-dark-blue {
    background-color: #2c388e;
}

.text-primary-accent {
    color: #00bcd4; /* A vibrant blue/cyan for accents */
}

.btn-primary {
    background-color: #00bcd4;
    border-color: #00bcd4;
    font-weight: 600;
    text-decoration: none;
    padding: 12px 30px;
    border-radius: 50px;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #0097a7;
    border-color: #0097a7;
}

.btn-warning {
    background-color: #ffc107;
    border-color: #ffc107;
    color: #333;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.btn-warning:hover {
    background-color: #e0a800;
    border-color: #e0a800;
}

.btn-outline-primary {
    color: #00bcd4;
    border-color: #00bcd4;
    font-weight: 600;
    text-decoration: none;
    padding: 10px 25px;
    border-radius: 50px;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: #00bcd4;
    color: #fff;
}

.header {
    background-color: #1a237e;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1030;
}

.logo {
    height: 40px;
    width: auto;
}

.site-name {
    color: #fff;
}

.hero-section {
    min-height: 100vh;
    background-image: url('static/media/swiss-mountain-road-ev.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    padding-top: 100px; /* Adjust for sticky header */
    padding-bottom: 80px;
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(26, 35, 126, 0.7) 0%, rgba(0, 0, 0, 0.6) 100%);
    z-index: 0;
}

.hero-section h1 {
    font-size: 3.5rem;
}

.hero-section p {
    font-size: 1.25rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.scroll-indicator {
    color: #fff;
    font-size: 2rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.checkmark-list {
    padding-left: 0;
}

.checkmark-list li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: #495057;
}

.checkmark-list li .material-symbols-outlined {
    color: #00bcd4;
    margin-right: 10px;
    font-size: 1.5rem;
}

.process-infographic {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    position: relative;
    padding: 40px 0;
}

.process-step {
    text-align: center;
    position: relative;
    padding: 20px;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.process-step .icon-wrapper {
    width: 80px;
    height: 80px;
    background-color: #00bcd4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    position: relative;
    color: #fff;
    font-size: 2.5rem;
}

.process-step .icon-wrapper .step-number {
    position: absolute;
    bottom: -10px;
    right: -10px;
    background-color: #1a237e;
    color: #fff;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: bold;
}

.process-step h3 {
    color: #1a237e;
    font-weight: 600;
    margin-bottom: 10px;
}

.process-step p {
    color: #666;
}

/* Timeline Section */
.timeline-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 0;
}

.timeline-container::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: #00bcd4;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-dot {
    position: absolute;
    width: 25px;
    height: 25px;
    right: -13px;
    background-color: #1a237e;
    border: 4px solid #00bcd4;
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -13px;
}

.timeline-content {
    padding: 20px 30px;
    background-color: #f8f9fa;
    position: relative;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.timeline-content h3 {
    color: #1a237e;
    font-weight: 600;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3,  1fr);
    gap: 30px;
}

.service-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-align: center;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card  img{
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
}

.service-card h3 {
    color: #1a237e;
    font-weight: 600;
    margin-top: 15px;
    margin-bottom: 10px;
}

.service-card p {
    color: #666;
    flex-grow: 1;
}

/* FAQ Section */
.faq-container {
    display: flex;
    flex-wrap: wrap;
}

.faq-questions {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.faq-questions ul {
    padding-left: 0;
}

.faq-question-btn {
    display: block;
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 15px 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a237e;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: color 0.3s ease;
}

.faq-question-btn:last-child {
    border-bottom: none;
}

.faq-question-btn:hover, .faq-question-btn.active {
    color: #00bcd4;
}

.faq-answers {
    padding-left: 30px;
}

.faq-answer {
    display: none;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    height: 100%; /* Ensure equal height */
}

.faq-answer.active {
    display: block;
}

.faq-answer p {
    color: #495057;
    font-size: 1.05rem;
}

/* Team Section */
.founders-spotlight .img-fluid {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border: 5px solid #00bcd4;
}

.founders-spotlight h3 {
    color: #fff;
}

.founders-spotlight p {
    color: #e0e0e0;
}

.team-grid .team-member {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.team-grid .team-avatar {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border: 3px solid #00bcd4;
}

.team-grid h4 {
    color: #fff;
}

.team-grid p {
    color: #e0e0e0;
}

/* Stats Section */
.stats-cluster .stat-item {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.stats-cluster .stat-label {
    font-weight: 600;
    color: #495057;
    font-size: clamp(0.9rem,2.5vw, 1.1rem);
}

/* Testimonials Section */
.testimonials-grid .testimonial-bubble {
    position: relative;
    background-color: #2c388e;
    color: #fff;
    padding: 30px;
    border-radius: 15px;
    height: 100%; /* Ensure equal height */
}

.testimonials-grid .testimonial-bubble::before {
    content: '\201C'; /* Left double quotation mark */
    font-family: serif;
    font-size: 4em;
    color: rgba(255, 255, 255, 0.2);
    position: absolute;
    top: 10px;
    left: 20px;
    line-height: 1;
    z-index: 0;
}

.testimonials-grid .testimonial-bubble p {
    position: relative;
    z-index: 1;
    font-style: italic;
}

.testimonials-grid .testimonial-bubble p.fw-bold {
    font-style: normal;
    color: #00bcd4;
}

/* Contact Section */
#contactFormContainer {
    background-color: #f8f9fa;
}

#contactFormContainer .form-control, #contactFormContainer .form-select {
    border-radius: 8px;
    border: 1px solid #ced4da;
    padding: 10px 15px;
}

#contactFormContainer .form-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

#contactFormContainer .invalid-feedback {
    color: #dc3545;
}

/* Side CTA */
.side-cta {
    position: fixed;
    top: 50%;
    right: -250px; /* Initially hidden */
    transform: translateY(-50%);
    width: 220px;
    background-color: #1a237e;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
    z-index: 1020;
    transition: right 0.3s ease-out;
}

.side-cta.active {
    right: 0;
}

.side-cta p {
    font-size: 1.1rem;
}

/* Footer */
.footer-logo {
    height: 30px;
}

.footer a {
    color: #ced4da;
}

.footer a:hover {
    color: #fff;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }

    .hero-section p {
        font-size: 1rem;
    }

    .timeline-container::after {
        left: 30px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 60px;
        padding-right: 15px;
    }

    .timeline-item:nth-child(even) {
        left: 0;
    }

    .timeline-dot {
        left: 23px;
        right: auto;
    }

    .timeline-item:nth-child(even) .timeline-dot {
        left: 23px;
    }

    .faq-answers {
        padding-left: 15px;
        padding-top: 30px;
    }

    .founders-spotlight .col-lg-6 {
        text-align: center;
    }

    .founders-spotlight .img-fluid {
        margin: 0 auto 15px auto;
    }

    .services-grid {
        display: grid;
        grid-template-columns: repeat(2,  1fr);
        gap: 30px;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        min-height: 80vh;
        padding-top: 80px;
    }

    .hero-section h1 {
        font-size: 1.7rem;
    }

    .hero-section p {
        font-size: 0.9rem;
    }

    .process-infographic {
        grid-template-columns: 1fr;
    }

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

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

    .faq-questions {
        padding: 20px;
    }

    .faq-question-btn {
        font-size: 1rem;
        padding: 12px 0;
    }

    .faq-answers {
        padding-left: 0;
        padding-top: 20px;
    }

    .stat-item p {
        font-size: 2.5rem;
    }

    .stat-item .material-symbols-outlined {
        font-size: 2rem;
    }

    .side-cta {
        width: 180px;
        padding: 10px;
    }

    .side-cta p {
        font-size: 0.9rem;
    }

    .side-cta .btn {
        padding: 8px 15px;
        font-size: 0.8rem;
    }
}
/* Parent container for legal documents or terms */
.legalFoldBox {
    margin-top: 30px; /* Spacing from content above */
    padding: 20px; /* Inner padding for the box content (top, right, bottom, left) */
}

/* Heading 1 styles within .legalFoldBox */
.legalFoldBox h1 {
    font-size: 20px; /* Moderate font size for main heading */
    margin-top: 28px; /* Spacing above the heading */
    margin-bottom: 16px; /* Spacing below the heading */
    line-height: 1.2; /* Tighter line height for headings */
    color: #222; /* Slightly darker color for emphasis */
}

/* Heading 2 styles within .legalFoldBox */
.legalFoldBox h2 {
    font-size: 19px; /* Sub-heading, smaller than h1 */
    margin-top: 24px;
    margin-bottom: 14px;
    line-height: 1.3;
    color: #333;
}

/* Heading 3 styles within .legalFoldBox */
.legalFoldBox h3 {
    font-size: 19px; /* Further sub-heading */
    margin-top: 20px;
    margin-bottom: 12px;
    line-height: 1.4;
    color: #444;
}

/* Heading 4 styles within .legalFoldBox */
.legalFoldBox h4 {
    font-size: 18px; /* Even smaller heading */
    margin-top: 18px;
    margin-bottom: 10px;
    line-height: 1.5;
    color: #555;
}

/* Heading 5 styles within .legalFoldBox */
.legalFoldBox h5 {
    font-size: 17px; /* Smallest heading, slightly larger than body text */
    font-weight: bold; /* Bold to distinguish from body text */
    margin-top: 16px;
    margin-bottom: 8px;
    line-height: 1.6;
    color: #666;
}

/* Paragraph styles within .legalFoldBox */
.legalFoldBox p {
    font-size: 16px; /* Standard body text size */
    margin-bottom: 1em; /* Spacing between paragraphs */
    line-height: 1.6; /* Good readability for body text */
}

/* Unordered list styles within .legalFoldBox */
.legalFoldBox ul {
    list-style-type: disc; /* Default disc bullet */
    margin-left: 25px; /* Indent for list items */
    margin-bottom: 1em; /* Spacing after the list */
    padding: 0; /* Remove default padding to avoid double indent */
}

/* List item styles within .legalFoldBox */
.legalFoldBox li {
    font-size: 16px; /* Same as body text */
    margin-bottom: 0.5em; /* Spacing between list items */
    line-height: 1.6; /* Consistent line height */
}

@media(max-width: 992px){
    
    nav{
        flex-wrap: wrap;
        gap: 10px;
    }

    nav button{
        padding: 10px !important;
    }

    .hero-section .btn{
        padding: 10px !important;
    }
}

.display-5 {
    font-size: clamp(22px,2.5vw,30px) !important;
}

#services-section{
    overflow: hidden !important;
}