.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: 1rem;
    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 */
    }
}

.tshirt-claim {
    margin: 2rem auto;
    padding: 1rem;
    background-color: none;
    border: #E7248B 2px solid;
    border-radius: 8px;
    max-width: 600px;
    text-align: center;
}

.tshirt-claim h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #E7248B;
}

.tshirt-claim .form-group {
    margin-bottom: 1rem;
    text-align: left;
}

.tshirt-claim .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.tshirt-claim .form-group input {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #E7248B;
    border-radius: 4px;
    box-sizing: border-box;
}

.tshirt-claim .btn {
    padding: 0.5rem 1rem;
    background-color: #E7248B;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.tshirt-claim .btn:hover {
    background-color: #C95C31;
}

.voucher-management {
    margin: 2rem auto;
    max-width: 1200px;
    padding: 1rem;
    background-color: none;
    border-radius: 8px;
    box-shadow: none;
}

.voucher-management h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    color: #333;
}

#voucherTable {
    width: 100%;
    border-collapse: collapse;
    margin: 0 auto;
    font-size: 1rem;
    text-align: left;
}

#voucherTable thead {
    background-color: #F26B35;
    color: #fff;
}

#voucherTable th,
#voucherTable td {
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
}

#voucherTable tbody tr:nth-child(odd) {
    background-color: #f9f9f9;
}

#voucherTable tbody tr:nth-child(even) {
    background-color: #fff;
}

#voucherTable tbody tr:hover {
    background-color: #f1f1f1;
}

@media (max-width: 768px) {
    #voucherTable {
        font-size: 0.9rem;
    }

    .voucher-management h2 {
        font-size: 1.5rem;
    }
}

.btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: #E7248B;
    color: #fff;
    text-decoration: none;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #C95C31;
}

