body {
    font-family: 'Poppins', sans-serif;
    transition: background-color 0.3s, color 0.3s;
}

.navbar {
    background-color: #343a40;
    padding: 1rem;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.navbar .navbar-brand {
    color: #fff;
    font-size: 1.5rem;
    font-weight: bold;
}

.navbar .nav-link {
    color: #adb5bd;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.navbar .nav-link::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #007bff, #6610f2);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.navbar .nav-link:hover::before {
    transform: translateX(0);
}

.navbar .nav-link:hover {
    color: #fff;
}

.highlight-section {
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 100px 20px;
    position: relative;
    overflow: hidden;
    background-color: #343a40;
    color: white;
    transition: background-color 0.3s ease;
}

.highlight-section .text-content {
    max-width: 50%;
    z-index: 2;
}

.highlight-section .text-content h2 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.highlight-section .text-content p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.highlight-section .text-content button {
    padding: 10px 20px;
    border: none;
    background: linear-gradient(90deg, #007bff, #6610f2);
    color: white;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.highlight-section .text-content button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.highlight-section .image-content {
    max-width: 40%;
    z-index: 2;
}

.highlight-section .image-content img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.highlight-section .image-content img:hover {
    transform: scale(1.05);
}

.light-theme .highlight-section {
    background-color: #e9ecef;
    color: #343a40;
}

.icon {
    margin-right: 10px;
}

.navbar-nav {
    margin: 0 auto;
}

.reviews-section {
    text-align: center;
    padding: 50px 20px;
}

.reviews-section h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 30px;
}

.review-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
    background-color: #fff;
    color: #343a40;
}

.light-theme .review-card {
    background-color: #f8f9fa;
    color: #212529;
}

.review-card:hover {
    transform: scale(1.05);
}

.rating {
    color: #f4c150;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
}

.light-theme .carousel-control-prev-icon,
.light-theme .carousel-control-next-icon {
    background-color: rgba(255, 255, 255, 0.5);
}

.light-theme .navbar {
    background-color: #e9ecef;
}

.light-theme .navbar .navbar-brand,
.light-theme .navbar .nav-link {
    color: #212529;
}

.light-theme .navbar .nav-link:hover {
    color: #007bff;
}

.light-theme .footer {
    background-color: #e9ecef;
    color: #212529;
}

.add-review-btn {
    padding: 12px 25px;
    background: linear-gradient(90deg, #28a745, #218838);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.add-review-btn:hover {
    background: linear-gradient(90deg, #218838, #1e7e34);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Journey Section Styles */
/* Timeline Section - Updated Styles for Font, Size, and Theme Support */
.timeline {
    position: relative;
    padding: 20px 0;
    min-height: 400px;
    background-color: #f1f1f1; /* Default background for dark theme */
    transition: background-color 0.3s ease;
    margin: 50px auto;
    width: 90%;
    border-radius: 10px;
    overflow: hidden; /* Ensure content stays within bounds */
}

.light-theme .timeline {
    background-color: #ffffff; /* Light theme background */
}

.timeline::before {
    content: '';
    position: absolute;
    width: 4px;
    background-color: #6c63ff; /* Line color */
    top: 0;
    height: 100%; /* Ensure it spans the section height */
    left: 50%;
    transform: translateX(-50%);
    z-index: 0;
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 15px 20px;
    box-sizing: border-box;
    z-index: 1;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    margin-bottom: 20px;
}

.timeline-item.left {
    float: left;
    text-align: right;
    clear: both;
}

.timeline-item.right {
    float: right;
    text-align: left;
    clear: both;
}

.timeline-item-content {
    background: #2c2f33; /* Default content background for dark theme */
    padding: 20px;
    border-radius: 10px;
    position: relative;
    border: 1px solid #ddd;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    font-size: 1rem;
    color: #ffffff; /* Default text color for dark theme */
    transition: background-color 0.3s, color 0.3s;
    margin: 20px auto; /* Center content more effectively */
    max-width: 90%;
}

.light-theme .timeline-item-content {
    background: #f8f9fa; /* Light theme background */
    color: #212529; /* Light theme text color */
}

.timeline-item-content h5 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.timeline-item-content p {
    font-size: 1rem;
    line-height: 1.5;
}

.timeline-pointer {
    position: absolute;
    width: 16px;
    height: 16px;
    background-color: #6c63ff;
    border: 4px solid #f1f1f1;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

.light-theme .timeline-pointer {
    border-color: #ffffff; /* Adjust pointer border for light theme */
}

.timeline-item.left .timeline-pointer {
    right: -25px;
}

.timeline-item.right .timeline-pointer {
    left: -25px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .timeline-item,
    .timeline-item.left,
    .timeline-item.right {
        width: 100%;
        text-align: left;
        padding-left: 40px;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-pointer {
        left: 10px;
    }

    .timeline-item-content {
        text-align: left;
        margin-left: 30px;
    }
}
.light-theme .footer {
    background-color: #f8f9fa;
    color: #212529;
}
.light-theme .footer a {
    color: #000000;
}
.footer a:hover {
    text-decoration: underline;
}
.footer a {
    text-decoration: none;
}

/* services */

.features .icon {
    font-size: 3rem;
    color: #0d6efd;
    margin-bottom: 15px;
}

.features h5 {
    font-weight: 600;
    margin-top: 10px;
}

.features p {
    color: #6c757d;
}
.service-card {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.service-card i {
    font-size: 3rem;
    color: #0d6efd;
}

.service-card h5 {
    margin-top: 15px;
    font-weight: 600;
}

.service-card p {
    color: #6c757d;
}

.service-card .btn {
    padding: 10px 20px;
    border: none;
    background: linear-gradient(90deg, #007bff, #6610f2);
    color: white;
    text-align: center;
    border-radius: 20px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.cta {
    background-color: #0d6efd;
    color: #fff;
    padding: 60px 20px;
    text-align: center;
    border-radius: 20px;
    margin: 40px 0;
}

.cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.cta .btn {
    padding: 10px 25px;
    border: none;
    background: linear-gradient(90deg, #007bff, #6610f2);
    color: white;
    text-align: center;
    border-radius: 20px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.cta .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}


.blog-header {
    background: #343a40;
    color: #ffffff;
    padding: 60px 20px;
    text-align: center;
    border-radius: 15px;
    margin-bottom: 40px;
}
.blog-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
}
.blog-header p {
    font-size: 1.2rem;
}
