/* General Styles */
body {
    font-family: 'Open Sans', sans-serif;
    color: #333;
    background-color: #F8FDF9; /* Very light green, almost white */
    scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    color: #004D40; /* Darker green for headings */
}

.text-dark-green {
    color: #004D40 !important;
}

.text-light-green {
    color: #C8E6C9 !important;
}

.bg-light-green {
    background-color: #E8F5E9 !important; /* A light, fresh green */
}

.bg-dark-green {
    background-color: #004D40 !important; /* Dark green for footer */
}

.btn-success {
    background-color: #4CAF50;
    border-color: #4CAF50;
    color: white;
}

.btn-success:hover {
    background-color: #388E3C;
    border-color: #388E3C;
}

.btn-success-gradient {
    background: linear-gradient(45deg, #4CAF50, #8BC34A);
    border: none;
    color: white;
    transition: all 0.3s ease;
}

.btn-success-gradient:hover {
    background: linear-gradient(45deg, #388E3C, #689F38);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Navbar */
.navbar-brand img.filter-white {
    filter: brightness(0) invert(1);
}

.navbar-nav .nav-link {
    color: #333;
    font-weight: 600;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #4CAF50;
}

.navbar-toggler {
    border: none;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* Hero Section */
.hero-section {
    background-color: #C8E6C9; /* Base light green for hero */
    padding-top: 8rem !important; /* Adjust for fixed header */
    padding-bottom: 5rem !important;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 77, 64, 0.6), rgba(0, 77, 64, 0.4)); /* Dark green overlay */
    z-index: 0;
}

.hero-section .container-fluid {
    position: relative;
    z-index: 1;
}

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

.hero-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-height: 500px;
}

@media (max-width: 767.98px) {
    .hero-section {
        padding-top: 6rem;
        text-align: center;
    }
    .hero-section h1 {
        font-size: 2.5rem;
    }
    .hero-section p {
        font-size: 1rem;
    }
    .hero-section::before {
        background: linear-gradient(rgba(0, 77, 64, 0.7), rgba(0, 77, 64, 0.5));
    }
    .hero-section .col-md-6:last-child {
        display: none !important; /* Hide image on small screens */
    }
}

/* About Us / Our Story (Timeline) */
.timeline {
    position: relative;
    padding: 20px 0;
    list-style: none;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    background-color: #B2DFDB; /* Light teal for timeline line */
    margin-left: -1.5px;
    z-index: 0;
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

.timeline-item:nth-child(even) {
    text-align: right;
}

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

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: #4CAF50; /* Green dot */
    border: 3px solid #fff;
    border-radius: 50%;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.timeline-content {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    position: relative;
    width: 45%;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: 55%;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-right: 55%;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 20px;
    width: 0;
    height: 0;
    border-style: solid;
}

.timeline-item:nth-child(odd) .timeline-content::before {
    left: -15px;
    border-width: 10px 15px 10px 0;
    border-color: transparent #fff transparent transparent;
}

.timeline-item:nth-child(even) .timeline-content::before {
    right: -15px;
    border-width: 10px 0 10px 15px;
    border-color: transparent transparent transparent #fff;
}

@media (max-width: 767.98px) {
    .timeline::before {
        left: 20px;
    }
    .timeline-item::after {
        left: 20px;
        transform: translateX(-50%);
    }
    .timeline-content {
        width: auto;
        margin-left: 60px !important;
        margin-right: 0 !important;
    }
    .timeline-item:nth-child(odd) .timeline-content::before,
    .timeline-item:nth-child(even) .timeline-content::before {
        left: -15px;
        border-width: 10px 15px 10px 0;
        border-color: transparent #fff transparent transparent;
    }
    .timeline-item:nth-child(even) {
        text-align: left;
    }
}

/* Our Services (Tabs) */
.services-section .nav-tabs {
    border-bottom: 2px solid #E0E0E0;
}

.services-section .nav-tabs .nav-link {
    border: none;
    border-bottom: 3px solid transparent;
    color: #555;
    font-weight: 600;
    padding: 1rem 1.5rem;
    transition: all 0.3s ease;
}

.services-section .nav-tabs .nav-link:hover {
    color: #4CAF50;
    border-color: #A5D6A7;
}

.services-section .nav-tabs .nav-link.active {
    color: #004D40;
    border-color: #4CAF50;
    background-color: transparent;
}

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

/* How It Works (Swipeable Cards) */
.steps-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding-bottom: 1rem;
}

.steps-wrapper {
    display: flex;
    gap: 1.5rem;
    padding: 1rem 0;
}

.step-card {
    flex: 0 0 300px; /* Fixed width for cards */
    scroll-snap-align: start;
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.step-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #A5D6A7; /* Light green for step number */
    line-height: 1;
}

.progress-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.dot {
    width: 10px;
    height: 10px;
    background-color: #B2DFDB; /* Light teal */
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: #4CAF50; /* Green */
}

@media (max-width: 767.98px) {
    .steps-wrapper {
        padding: 1rem;
        justify-content: flex-start;
    }
    .step-card {
        flex: 0 0 85%; /* Make cards wider on small screens */
    }
}

/* Meet the Team */
.founders-section img {
    border: 5px solid #E8F5E9;
}

.team-card {
    height: 100%; /* Ensure equal height */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.team-card img {
    border: 3px solid #E8F5E9;
}

/* Our Portfolio / Projects */
.portfolio-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding-bottom: 1rem;
}

.portfolio-wrapper {
    display: flex;
    gap: 1.5rem;
    padding: 1rem 0;
}

.project-card {
    flex: 0 0 300px; /* Fixed width for cards */
    scroll-snap-align: start;
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.project-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}

@media (max-width: 767.98px) {
    .portfolio-wrapper {
        padding: 1rem;
        justify-content: flex-start;
    }
    .project-card {
        flex: 0 0 85%; /* Make cards wider on small screens */
    }
}

/* FAQ Section (Accordion) */
.accordion-button {
    background-color: #fff;
    color: #004D40;
    font-weight: 600;
    padding: 1.25rem 1.5rem;
    border-radius: 8px;
}

.accordion-button:not(.collapsed) {
    color: #004D40;
    background-color: #E8F5E9;
    box-shadow: inset 0 -1px 0 rgba(0,0,0,.125);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: #A5D6A7;
}

.accordion-body {
    background-color: #FDFDFD;
    padding: 1.5rem;
    border-top: 1px solid #eee;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

/* Customer Reviews */
.reviews-section .card {
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.reviews-section .card-text {
    font-style: italic;
    margin-bottom: 1rem;
}

/* Contact Form Section */
.contact-form-section .card {
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-form-section .form-label {
    color: #004D40;
}

.contact-form-section .form-control,
.contact-form-section .form-select {
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    border: 1px solid #ced4da;
}

.contact-form-section .form-control:focus,
.contact-form-section .form-select:focus {
    border-color: #8BC34A;
    box-shadow: 0 0 0 0.25rem rgba(139, 195, 74, 0.25);
}

.invalid-feedback {
    font-size: 0.875em;
}

/* Testimonials Section (Why Choose Us) */
.testimonials-section .card {
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

/* Footer */
.footer {
    color: rgba(255, 255, 255, 0.8);
}

.footer a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

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

.footer .navbar-brand img {
    filter: brightness(0) invert(1);
}

.newsletter-form .form-control {
    border-top-left-radius: 0.5rem;
    border-bottom-left-radius: 0.5rem;
    border: none;
    padding: 0.75rem 1rem;
}

.newsletter-form .btn {
    border-top-right-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
    padding: 0.75rem 1.5rem;
}

.newsletter-form .input-group .invalid-feedback {
    color: #FFEBEE; /* Light red for error in dark footer */
}

/* Cookie Consent Modal */
#cookieConsentModal .modal-content {
    border-radius: 1rem;
}

#cookieConsentModal .form-check-input:checked {
    background-color: #4CAF50;
    border-color: #4CAF50;
}

#cookieConsentModal .btn-success-gradient {
    padding: 0.75rem 1.5rem;
}

#cookieConsentModal .btn-outline-success {
    border-color: #4CAF50;
    color: #4CAF50;
}

#cookieConsentModal .btn-outline-success:hover {
    background-color: #4CAF50;
    color: white;
}

/* Ensure buttons do not have underline */
.btn, .nav-link {
    text-decoration: none !important;
}
/* Base styles for the content unit */
.trustPillarUnit {
    padding-top: 3rem; /* Top padding for the section */
    padding-bottom: 3rem; /* Bottom padding for the section */
    padding-left: 1rem; /* Left padding for the section */
    padding-right: 1rem; /* Right padding for the section */
}

/* Heading 1 styles within the unit */
.trustPillarUnit h1 {
    font-size: 2.25rem; /* Font size for H1 */
    line-height: 1.2; /* Line height for H1 */
    margin-bottom: 1.5rem; /* Bottom margin for H1 */
}

/* Heading 2 styles within the unit */
.trustPillarUnit h2 {
    font-size: 1.75rem; /* Font size for H2 */
    line-height: 1.3; /* Line height for H2 */
    margin-bottom: 1.25rem; /* Bottom margin for H2 */
}

/* Heading 3 styles within the unit */
.trustPillarUnit h3 {
    font-size: 1.5rem; /* Font size for H3 */
    line-height: 1.4; /* Line height for H3 */
    margin-bottom: 1rem; /* Bottom margin for H3 */
}

/* Heading 4 styles within the unit */
.trustPillarUnit h4 {
    font-size: 1.25rem; /* Font size for H4 */
    line-height: 1.5; /* Line height for H4 */
    margin-bottom: 0.75rem; /* Bottom margin for H4 */
}

/* Heading 5 styles within the unit */
.trustPillarUnit h5 {
    font-size: 1rem; /* Font size for H5 */
    line-height: 1.6; /* Line height for H5 */
    margin-bottom: 0.5rem; /* Bottom margin for H5 */
}

/* Paragraph styles within the unit */
.trustPillarUnit p {
    font-size: 1rem; /* Base font size for paragraphs */
    line-height: 1.6; /* Line height for paragraphs */
    margin-bottom: 1rem; /* Bottom margin for paragraphs */
}

/* Unordered list styles within the unit */
.trustPillarUnit ul {
    list-style: disc; /* Default disc style for lists */
    margin-bottom: 1rem; /* Bottom margin for the list */
    padding-left: 1.5rem; /* Left padding for list items */
}

/* List item styles within the unit */
.trustPillarUnit li {
    font-size: 1rem; /* Font size for list items */
    line-height: 1.6; /* Line height for list items */
    margin-bottom: 0.5rem; /* Bottom margin for individual list items */
}

/* Responsive adjustments for smaller screens */
@media (max-width: 767.98px) {
    .trustPillarUnit {
        padding-top: 2rem;
        padding-bottom: 2rem;
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    .trustPillarUnit h1 {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }

    .trustPillarUnit h2 {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }

    .trustPillarUnit h3 {
        font-size: 1.25rem;
        margin-bottom: 0.5rem;
    }
}


.hero-section .row{
    position: relative;
}

.navbar-nav {
    flex-wrap: wrap;
    justify-content: center;
}