.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: 2rem;
    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 */
    }
}

.rental-inventory {
    margin: 3rem auto;
    max-width: 1100px;
    text-align: center;
}

.rental-inventory h3 {
    font-size: 1.35rem;
    margin-bottom: 1.5rem;
}

.inventory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.5rem;
}

.inventory-item {
    background: none;
    border-radius: 16px;
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.inventory-item:hover {
    transform: translateY(-6px);
    box-shadow: none;
}

.inventory-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #9C3234, #EB3237);
    color: #fff;
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.inventory-quantity {
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
}

.inventory-label {
    margin: 0.25rem 0 0;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.rental-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    padding: 0.85rem 1.75rem;
    background: linear-gradient(120deg, #9C3234, #EB3237);
    color: #fff;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 999px;
    text-transform: uppercase;
    font-size: 0.85rem;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rental-download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(156, 50, 52, 0.35);
}

@media (max-width: 600px) {
    .rental-inventory h3 {
        font-size: 1.35rem;
    }

    .inventory-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .inventory-quantity {
        font-size: 1.5rem;
    }
}

