.hero-slider-container {
    position: relative;
    width: 100vw; /* Use viewport width to ensure full page width */
    margin: 0; /* Remove horizontal margins */
    overflow: hidden;
    box-sizing: border-box;
}

.hero-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
    position: relative;
    width: 100%; /* Full width of the page */
    height: 400px;
    border-radius: 8px; /* Added border radius for rounded corners */   
    
    overflow: hidden;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.hero-slider .slide {
    min-width: 100%; /* Ensure each slide takes up the full width */
    height: 400px;
    display: none;
    position: relative;
    text-align: center;
    justify-content: center;
    align-items: center;
    background-color: none;
    color: #fff;
    transition: opacity 0.5s ease-in-out;
}

.hero-slider .slide.active {
    display: flex;
}

.hero-slider .slide img {
    width: 100%; /* Ensure the image spans the full width */
    height: 100%; /* Ensure the image fills the height of the slider */
    object-fit: cover; /* Cover the container while maintaining aspect ratio */
    max-width: 100%; /* Prevent horizontal overflow */
    max-height: 100%; /* Prevent vertical overflow */
    margin: 0;
    z-index: 1;
    box-sizing: border-box;
}

.hero-slider .slide-content {
    position: absolute;
    bottom: 15%;
    left: 10%; /* Adjusted for better alignment */
    transform: translateX(0); /* No horizontal centering */
    color: #fff;
    text-align: left;
    z-index: 2;
    padding: 1rem;
}

.hero-slider .slide-content h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.hero-slider .slide-content p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.hero-slider .slide-content .btn {
    padding: 0.5rem 1rem;
    border: 1px solid #fff;
    background-color: none;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-size: small;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    color: #fff;
    border: none;
    font-size: 1.5rem;
    padding: 0.5rem 1rem;
    cursor: pointer;
    z-index: 3;
}

.slider-nav.prev {
    left: 10px;
}

.slider-nav.next {
    right: 10px;
}

.slider-pagination {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.slider-pagination .dot {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
}

.slider-pagination .dot.active {
    background: #fff;
}

@media (max-width: 1024px) {
    .hero-slider {
        height: 400px; /* Adjust height for tablets */
    }

    .hero-slider .slide-content {
        bottom: 15%; /* Adjust position for smaller screens */
        left: 5%; /* Reduce left margin */
    }

    .hero-slider .slide-content h2 {
        font-size: 1.8rem; /* Reduce font size for headings */
    }

    .hero-slider .slide-content p {
        font-size: 0.9rem; /* Reduce font size for descriptions */
    }

    .hero-slider .slide-content .btn {
        font-size: 0.8rem; /* Reduce button font size */
        padding: 0.4rem 1rem; /* Adjust button padding */
    }
}

@media (max-width: 768px) {
    .hero-slider {
        height: 300px; /* Adjust height for mobile */
    }

    .hero-slider .slide img {
        object-fit: cover; /* Ensure the entire image is visible on smaller screens */
        height: 300px;
    }

    .hero-slider .slide-content {
        top: 35%; /* Adjust position for smaller screens */
        left: 40%; /* Reduce left margin */
        width: 70%; /* Ensure content fits within the screen */
    }

    .hero-slider .slide-content h2 {
        font-size: 0.8rem;
    }

    .hero-slider .slide-content p {
        font-size: 0.5rem;
    }

    .slider-nav {
        font-size: 1rem; /* Reduce size of navigation arrows */
    }

    .slider-pagination .dot {
        width: 8px; /* Reduce size of pagination dots */
        height: 8px;
    }
}

@media (max-width: 480px) {
    .hero-slider {
        height: 250px; /* Adjust height for very small screens */
    }

    .hero-slider .slide-content {
        bottom: 8%; /* Adjust position for very small screens */
        left: 5%; /* Reduce left margin */
    }

    .hero-slider .slide-content h2 {
        font-size: 1.2rem; /* Further reduce font size for headings */
    }

    .hero-slider .slide-content p {
        font-size: 0.7rem; /* Further reduce font size for descriptions */
    }

    .hero-slider .slide-content .btn {
        font-size: 0.6rem; /* Further reduce button font size */
        padding: 0.2rem 0.6rem; /* Adjust button padding */
    }
}

.tech-info {
    margin-top: 0.5rem;
    padding: 1rem 0;
    background-color: none;
    border-radius: 8px;
    max-width: 1400px;
}

.tech-info .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.tech-info .col-lg-4 {
    flex: 0 0 calc(30% - 1rem); /* Narrower columns for three in a row */
    max-width: calc(30% - 1rem);
    text-align: center;
    background-color: none;
    border: none;
    border-radius: 8px;
    padding: 0.5rem;
    box-shadow: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tech-info .col-lg-4:hover {
    transform: translateY(-5px);
    box-shadow: none;
}

.tech-info .col-lg-4 img {
    max-width: 100%;
    height: auto;
    margin-bottom: 1rem;
    border-radius: 8px;
}

.tech-info .col-lg-4 h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.tech-info .col-lg-4 p {
    font-size: 0.9rem;
    color: #666;
    text-align: justify;
    line-height: 1.5;
}



/* Two columns on very small screens */
@media (max-width: 480px) {
    .tech-info .col-lg-4 {
        flex: 0 0 calc(80% - 1rem);
        max-width: calc(80% - 1rem);
    }
}

.logo-container {
    text-align: center;
    margin: 1rem 0;
}

.center-logo {
    max-width: 100%; /* Ensure the logo scales with the container */
    height: auto;
    max-height: 150px; /* Limit the height for responsiveness */
}

@media (max-width: 768px) {
    .center-logo {
        max-height: 100px; /* Reduce height for smaller screens */
    }
}

@media (max-width: 480px) {
    .center-logo {
        max-height: 80px; /* Further reduce height for very small screens */
    }
}

.why-choose-us {
    margin-top: 1rem;
    padding: 2rem 1rem;
    background-color: none;
    border: none;
    border-radius: 8px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.why-choose-us h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #333;
    text-align: center;
}

.why-choose-us .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between; /* Ensure even spacing between columns */
    align-items: flex-start; /* Align items at the top */
    gap: 1rem; /* Add spacing between columns */
}

.why-choose-us .col-lg-6 {
    flex: 0 0 48%; /* Set each column to take up 48% of the row width */
    max-width: 48%; /* Ensure columns do not exceed 48% */
    box-sizing: border-box; /* Include padding and border in width calculation */
    padding: 1rem;
    background-color: none;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-choose-us .col-lg-6:hover {
    transform: translateY(-5px);
}

.why-choose-us h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #000;
}

.why-choose-us p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    text-align: justify;
}

.why-choose-us p.text-center {
    text-align: center;
    font-size: 1rem;
    margin-top: 1.5rem;
    color: #333;
}

/* Responsive styles */
@media (max-width: 768px) {
    .why-choose-us .col-lg-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

.founder-section {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    text-align: left;
    margin: 2rem auto;
    max-width: 1200px;
}

.founder-section img {
    flex: 0 0 20%;
    max-width: 20%;
    border-radius: 8px;
    margin-top: 1.5rem;
}

.founder-section div {
    flex: 1;
}

.founder-section h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #333;
}

.founder-section p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    text-align: justify;
}

/* Responsive styles for mobile view */
@media (max-width: 768px) {
    .founder-section {
        flex-direction: column;
        text-align: center;
    }

    .founder-section img {
        max-width: 50%;
        margin: 0 auto 1rem;
    }

    .founder-section div {
        text-align: center;
    }

    .founder-section h2 {
        font-size: 1.5rem;
    }

    .founder-section p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .founder-section img {
        max-width: 70%;
    }

    .founder-section h2 {
        font-size: 1.2rem;
    }

    .founder-section p {
        font-size: 0.85rem;
    }
}

.affiliates-banner {
    padding: 0.5rem;
    background-color: #f9f9f9; /* Set a light background color */
    border-top: none;
    border-bottom: none;
    text-align: center;
    margin-top: 2rem;
    width: 100vw; /* Ensure the background spans the full viewport width */
    position: relative;
    left: 50%;
    transform: translateX(-50%); /* Center the section */
}

.testimonials-section {
    padding: 2rem 1rem 1rem;
}

.testimonials-intro {
    max-width: 760px;
    margin: 0 auto 1rem;
}

.testimony-card {
    max-width: 900px;
    margin: 0 auto;
    border: 1px solid #e6e6e6;
    border-radius: 8px;
    padding: 1rem;
    background: #fff;
}

.testimony-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    text-align: left;
}

.testimony-copy {
    max-width: 620px;
    margin: 0 auto;
    text-align: left;
}

.testimony-copy h4 {
    margin: 0 0 0.5rem;
    color: #333;
}

.testimony-copy h5 {
    margin: 0 0 0.75rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #CD3529;
}

.testimony-copy p {
    margin: 0;
    line-height: 1.5;
    color: #555;
    text-align: left;
}

.testimony-copy p + p {
    margin-top: 0.6rem;
}

.testimony-nav {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1rem;
}

.affiliates-banner h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.affiliates-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    padding-bottom: 1.5rem;
}

.affiliates-logos img {
    max-width: 150px;
    height: auto;
    border-radius: 4px;
    transition: transform 0.3s ease;
}

.affiliates-logos img:hover {
    transform: scale(1.1);
}

/* Responsive styles */
@media (max-width: 768px) {
    .testimony-card {
        padding: 0.85rem;
    }

    .affiliates-logos img {
        max-width: 100px;
    }
}

.button {
    display: inline-block;
    padding: 0.5rem 1rem;
    border: 2px solid #CD3529;
    background-color: none;
    color: #CD3529;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    text-align: center;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.button:hover {
    background-color: none;
    transform: translateY(-2px);
}

.button:active {
    background-color: #8e241c;
    transform: translateY(0);
}

/* Responsive styles for buttons */
@media (max-width: 768px) {
    .button {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
    }
}

@media (max-width: 480px) {
    .button {
        font-size: 0.8rem;
        padding: 0.3rem 0.6rem;
    }
}

