/* Homepage Specific Styles */

/* --- HERO SLIDER SECTION --- */
.hero-slider {
    position: relative;
    height: 550px;
    overflow: hidden;
}

.hero-slider .carousel {
    height: 100%;
}

.hero-slider .carousel-inner {
    height: 100%;
}

.hero-slider .carousel-item {
    height: 100%;
}

.hero-slide {
    position: relative;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    padding: 40px 0;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    background-color: rgba(1, 47, 99, 0.9);
    color: var(--text-light);
    padding: 50px 40px;
    width: 48%;
    max-width: 700px;
    margin-right: 5%;
}

.hero-content-center {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.hero-content h2 {
    font-family: 'Teko', sans-serif;
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-weight: 500;
}

.hero-content ul {
    list-style: none;
    font-size: 15px;
    line-height: 1.8;
    padding-left: 0;
}

.hero-content ul li {
    margin-bottom: 12px;
}

.hero-slider .carousel-control-prev,
.hero-slider .carousel-control-next {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
}

.hero-slider .carousel-control-prev:hover,
.hero-slider .carousel-control-next:hover {
    opacity: 1;
    background-color: rgba(255, 255, 255, 0.3);
}

.hero-slider .carousel-control-prev {
    left: 30px;
}

.hero-slider .carousel-control-next {
    right: 30px;
}

.hero-slider .carousel-indicators {
    bottom: 30px;
}

.hero-slider .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.hero-slider .carousel-indicators button.active {
    background-color: var(--text-light);
}

/* --- PROCESS SECTION (SCAN-SIGN-STAY) --- */
.process-section {
    text-align: center;
    padding: 80px 0 60px;
    /* background-color: var(--background-light); */
}

.process-section h3 {
    font-size: 1.4em;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-weight: 600;
}

.process-section p {
    font-size: 1em;
    color: var(--text-dark);
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.process-steps {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.step {
    flex: 0 1 280px;
    max-width: 300px;
}

.step img {
    max-width: 100%;
    height: auto;
    padding: 15px;
    border-radius: 5px;
}

.step h2 {
    font-size: 1.8em;
    font-weight: 700;
    margin-top: 20px;
    color: var(--text-dark);
}

/* --- FEATURED PRODUCTS SECTION --- */
.products-section {
    padding: 60px 0;
    text-align: center;
    /* background-color: var(--background-light); */
    position: relative;
}

.products-section h2 {
    font-family: 'Teko', sans-serif;
    font-size: 50px;
    font-weight: 500;
    color: var(--text-dark);
    background-image: url("../images/text_products.png");
    background-position: top center;
    background-repeat: no-repeat;
    padding-top: 30px;
    padding-bottom: 60px;
    margin-bottom: 40px;
    position: relative;
}

.products-section h2 span {
    position: relative;
    z-index: 1;
    color: var(--primary-blue);
    font-size: 0.6em;
}

.product-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    padding: 20px 0;
}

/* Featured Products Carousel Styles */
.products-section .carousel {
    position: relative;
    padding-bottom: 50px;
}

.products-section .carousel-inner {
    padding: 0;
}

.products-section .carousel-item {
    transition: transform 0.6s ease-in-out;
}

.products-section .carousel-control-prev,
.products-section .carousel-control-next {
    width: 50px;
    height: 50px;
    background-color: var(--primary-blue);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
    z-index: 10;
}

.products-section .carousel-control-prev:hover,
.products-section .carousel-control-next:hover {
    opacity: 1;
    background-color: var(--primary-blue-light);
}

.products-section .carousel-control-prev {
    left: -25px;
}

.products-section .carousel-control-next {
    right: -25px;
}

.products-section .carousel-control-prev-icon,
.products-section .carousel-control-next-icon {
    width: 20px;
    height: 20px;
}

.products-section .carousel-indicators {
    bottom: -40px;
    margin-bottom: 0;
}

.products-section .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(0, 0, 0, 0.5);
    margin: 0 5px;
}

.products-section .carousel-indicators button.active {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
}

.product-card {
    width: 100%;
    max-width: 250px;
    background-color: #fff;
    border: 1px solid var(--border-light);
    padding: 20px;
    text-align: center;
    border-radius: 5px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.product-card img {
    max-width: 100%;
    height: auto;
    margin-bottom: 15px;
    min-height: 150px;
    object-fit: contain;
}

.product-card h3 {
    font-size: 0.95em;
    line-height: 1.4;
    margin-bottom: 12px;
    color: var(--text-dark);
    min-height: 50px;
}

.product-card .price {
    font-weight: 700;
    color: var(--text-dark);
    margin: 15px 0;
    font-size: 1.1em;
}

.product-card .add-cart {
    display: block;
    background-color: var(--primary-blue);
    color: var(--text-light);
    padding: 12px 0;
    margin-top: 15px;
    border-radius: 3px;
    font-size: 0.9em;
    text-transform: uppercase;
    transition: background-color 0.3s;
}

.product-card .add-cart:hover {
    background-color: var(--primary-blue-light);
}

.product-card .view-btn {
    display: block;
    color: var(--text-dark);
    padding: 8px 0;
    margin-top: 8px;
    font-size: 0.85em;
    text-decoration: none;
    border: 1px solid var(--border-light);
    border-radius: 3px;
    transition: all 0.3s;
}

.product-card .view-btn:hover {
    background-color: var(--border-light);
    color: var(--text-dark);
    text-decoration: none;
}

/* --- SOFTWARE SOLUTIONS SECTION --- */
.solutions-section {
    background-color: var(--background-light);
}

.solutions-section-header {
    padding: 50px 0 20px;
    text-align: center;
}

.solutions-section-header h2 {
    font-size: 2em;
    margin-bottom: 15px;
    color: var(--text-dark);
    font-weight: 600;
}

.solutions-section-header span {
    color: var(--text-dark);
    font-size: 1.1em;
    display: block;
    max-width: 800px;
    margin: 0 auto;
}

.solutions-grid-wrapper {
    padding: 0 0 60px 0;
}

.solutions-grid {
    display: flex;
    justify-content: center;
    gap: 25px;
    text-align: left;
    flex-wrap: wrap;
}

.solution-item {
    flex: 0 1 30%;
    min-width: 280px;
    padding: 25px;
    background-color: #fff;
    border: 1px solid var(--border-light);
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s, box-shadow 0.3s;
}

.solution-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.solution-item img {
    width: 174px;
    height: 42px;
    margin-bottom: 20px;
    object-fit: contain;
}

.solution-item p {
    margin-bottom: 20px;
    font-size: 0.95em;
    line-height: 1.6;
    flex-grow: 1;
    color: var(--text-dark);
}

.solution-item .explore-more {
    background-color: var(--primary-blue);
    color: var(--text-light);
    padding: 10px 20px;
    text-align: center;
    display: inline-block;
    width: auto;
    min-width: 150px;
    border-radius: 3px;
    margin-top: auto;
    font-size: 0.9em;
    transition: background-color 0.3s;
}

.solution-item .explore-more:hover {
    background-color: var(--primary-blue-light);
}

/* --- BOTTOM SECTIONS --- */
.bottom-section {
    background-color: #FFFFFF;
    padding: 50px 0;
}

.bottom-grid {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    text-align: left;
    flex-wrap: wrap;
}

.section-box {
    flex: 1 1 30%;
    min-width: 280px;
    padding: 0 15px;
}

.section-box h2 {
    font-family: 'Teko', sans-serif;
    font-size: 40px;
    font-weight: 500;
    color: var(--primary-blue);
    margin-bottom: 25px;
}

/* On Sale Products specific style */
.on-sale-list {
    list-style: none;
    padding: 0;
}

.sale-product-item {
    display: flex;
    margin-bottom: 20px;
    background-color: #FFFFFF;
    padding: 15px;
    border-radius: 5px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.sale-product-item:hover {
    transform: translateX(5px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.sale-product-item img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-right: 15px;
    flex-shrink: 0;
}

.sale-product-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sale-product-details a.product-title {
    font-weight: 700;
    font-size: 0.9em;
    color: var(--text-dark);
    margin-bottom: 8px;
    line-height: 1.3;
}

.sale-product-details .price {
    font-weight: 700;
    color: var(--text-dark);
    font-size: 0.95em;
}

/* CEO/Testimonial specific styles */
.ceo-info p {
    font-size: 16px;
    margin-bottom: 15px;
    line-height: 1.7;
}

.ceo-info img {
    float: left;
    margin-right: 15px;
    margin-bottom: 10px;
    border-radius: 5px;
}

.testimonial-box {
    padding: 20px;
    border: 1px solid var(--border-light);
    margin-bottom: 20px;
    background-color: #fff;
    border-radius: 5px;
    font-size: 0.95em;
    transition: transform 0.3s, box-shadow 0.3s;
}

.testimonial-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.testimonial-box .content {
    margin-bottom: 15px;
    font-style: italic;
    line-height: 1.7;
    color: var(--text-dark);
}

.testimonial-box .name {
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.testimonial-box .job {
    color: #626262;
    font-size: 0.85em;
}

/* --- RESPONSIVE DESIGN --- */

/* Tablet Styles */
@media (max-width: 1024px) {
    .hero-content {
        width: 55%;
        padding: 40px 30px;
    }

    .hero-content h2 {
        font-size: 36px;
    }

    .process-steps {
        gap: 30px;
    }

    .solution-item {
        flex: 0 1 45%;
    }

    .bottom-grid {
        gap: 40px;
    }

    .section-box {
        flex: 1 1 45%;
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    .hero-slider {
        height: 450px;
    }

    .hero-slider .carousel {
        height: 100%;
    }

    .hero-slider .carousel-inner {
        height: 100%;
    }

    .hero-slider .carousel-item {
        height: 100%;
    }

    .hero-slide {
        height: 100%;
        padding: 30px 15px;
    }

    .hero-content {
        width: 100%;
        max-width: 100%;
        margin-right: 0;
        padding: 30px 25px;
    }

    .hero-content-center {
        width: 100%;
        padding: 30px 20px;
    }

    .hero-content h2 {
        font-size: 28px;
    }

    .hero-content ul {
        font-size: 14px;
    }

    .hero-slider .carousel-control-prev {
        left: 15px;
    }

    .hero-slider .carousel-control-next {
        right: 15px;
    }

    .process-section {
        padding: 50px 0 40px;
    }

    .process-section h3 {
        font-size: 1.2em;
    }

    .process-steps {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .step {
        max-width: 100%;
    }

    .products-section {
        padding: 40px 0;
    }

    .products-section h2 {
        font-size: 36px;
        padding-top: 20px;
        padding-bottom: 40px;
    }

    .products-section .carousel-control-prev {
        left: 10px;
    }

    .products-section .carousel-control-next {
        right: 10px;
    }

    .products-section .carousel-control-prev,
    .products-section .carousel-control-next {
        width: 40px;
        height: 40px;
    }

    .product-grid {
        gap: 20px;
    }

    .product-card {
        max-width: 100%;
    }

    .solutions-grid {
        flex-direction: column;
    }

    .solution-item {
        flex: 1 1 100%;
        min-width: 100%;
    }

    .bottom-grid {
        flex-direction: column;
    }

    .section-box {
        flex: 1 1 100%;
        margin-bottom: 30px;
    }
}

/* Small Mobile Styles */
@media (max-width: 480px) {
    .hero-slider {
        height: 400px;
    }

    .hero-slider .carousel {
        height: 100%;
    }

    .hero-slider .carousel-inner {
        height: 100%;
    }

    .hero-slider .carousel-item {
        height: 100%;
    }

    .products-section .carousel-control-prev {
        left: 5px;
    }

    .products-section .carousel-control-next {
        right: 5px;
    }

    .products-section .carousel-control-prev,
    .products-section .carousel-control-next {
        width: 35px;
        height: 35px;
    }

    .products-section .carousel-control-prev-icon,
    .products-section .carousel-control-next-icon {
        width: 15px;
        height: 15px;
    }
    }

    .hero-slide {
        height: 100%;
    }

    .hero-content h2 {
        font-size: 24px;
    }

    .products-section h2 {
        font-size: 28px;
    }

    .section-box h2 {
        font-size: 32px;
    }
}

