
/* ===== Slideshow ===== */
.slideshow-container {
    width: calc(100% - 30px);
    margin: 15px auto;
    height: 600px;
    position: relative;
    overflow: hidden;
    text-align: center;
    box-sizing: border-box;
}

.slideshow-container img {
    max-width: 100%;
    max-height: 100%;
    width: auto;   /* don’t stretch horizontally */
    height: auto;  /* don’t stretch vertically */
    margin: auto;
    position: absolute;
    top: 0; bottom: 0; left: 0; right: 0; /* center the image */
    display: block;
    background-color: #fff8e0; /* ensures empty space shows */
    border-radius: 10px;
}

/* ===== About Us ===== */
.about-us {
    background: linear-gradient(to bottom, var(--bg-beige) 0%, #fff8e0 100%);
    color: var(--text-dark);
    padding: 80px 20px;
    display: flex;
    justify-content: center;
    text-align: center;
    position: relative;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.2s;
}

.about-content {
    margin-top: 25px;
    max-width: 800px;
    position: relative;
}

.decor-line {
    width: 80px;
    height: 4px;
    background-color: var(--accent-gold);
    margin: 0 auto 15px auto;
    border-radius: 2px;
}

.about-icon {
    margin: 0 auto 15px auto;
}

.about-us h2 {
    font-size: 2.2rem;
    color: var(--accent-gold);
    margin-bottom: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.about-us p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-top: 15px;
}

.title_our_product {
    text-align: center;
    margin: 50px auto 40px auto;
    max-width: 700px;
    padding: 0 15px;
}

.title_our_product h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-gold, #d4af37);
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
    padding-bottom: 8px;
}

.title_our_product h2::after {
    content: "";
    display: block;
    width: 60%;
    margin: 8px auto 0 auto;
    border-bottom: 3px solid var(--accent-gold, #d4af37);
    border-radius: 2px;
}

.search-wrapper {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.search-wrapper input#searchBox {
    width: 100%;
    padding: 14px 20px;
    font-size: 1rem;
    border: 2px solid #ddd;
    border-radius: 30px;
    outline: none;
    transition: all 0.3s ease;
    background-color: #fff;
    box-shadow: 0 3px 6px rgba(0,0,0,0.05); 
}

.search-wrapper input#searchBox::placeholder {
    color: #999;
    font-weight: 400;
}

.search-wrapper input#searchBox:focus {
    border-color: var(--accent-gold, #d4af37);
    box-shadow: 0 4px 10px rgba(212,175,55,0.2);
}


/* ===== Items Section ===== */
.items-section {
    background-color: var(--bg-cream);
    padding: 60px 20px;
    display: flex;
    justify-content: center;
}

.items-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--gap);
    max-width: 1400px;
    width: 100%;
}

.item-card {
    background-color: var(--accent-gold);
    border-radius: 15px;
    overflow: hidden;
    text-decoration: none;
    color: var(--bg-cream);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    height: 350px;

    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

.item-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.item-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    background-color: var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--card-radius);
}

.item-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    display: block;
}

.item-info {
    padding: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.item-info h3 {
    margin: 0 0 10px 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--bg-cream);
}

.item-info p {
    margin: 0 0 8px 0;
    font-size: 1rem;
    line-height: 1.4;
    color: var(--bg-cream);
}

.item-price {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--bg-cream);
    margin-top: auto; /* stick price at bottom */
}

.items-container .item-card:nth-child(1) { animation-delay: 0.1s; }
.items-container .item-card:nth-child(2) { animation-delay: 0.2s; }
.items-container .item-card:nth-child(3) { animation-delay: 0.3s; }
.items-container .item-card:nth-child(4) { animation-delay: 0.4s; }
.items-container .item-card:nth-child(5) { animation-delay: 0.5s; }
.items-container .item-card:nth-child(6) { animation-delay: 0.6s; }
.items-container .item-card:nth-child(7) { animation-delay: 0.7s; }
.items-container .item-card:nth-child(8) { animation-delay: 0.8s; }
.items-container .item-card:nth-child(9) { animation-delay: 0.9s; }
.items-container .item-card:nth-child(10) { animation-delay: 1s; }

.challenges-section {
    background-color: var(--bg-beige);
    padding: 80px 20px;
    text-align: center;
}

.section-header h2 {
    font-size: 2rem;
    color: var(--accent-gold);
    margin-bottom: 10px;
    font-weight: 700;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 50px;
}

.challenges-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    justify-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.challenge-card {
    background-color: var(--bg-cream);
    border-radius: var(--card-radius);
    padding: 25px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.challenge-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.challenge-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
}

.challenge-card h3 {
    font-size: 1.1rem;
    color: var(--text-dark);
    font-weight: 600;
}

.contact-us {
    background-color: var(--text-dark); /* #3C3C3C */
    color: var(--bg-cream);
    padding: 80px 20px;
    display: flex;
    justify-content: center;
    text-align: center;
}

.contact-container {
    max-width: 700px;
    width: 100%;
}

.contact-us h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    font-weight: 700;
    color: var(--bg-cream);
}

.contact-us h2 span {
    color: var(--accent-gold);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    padding: 12px 15px;
    border: none;
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: var(--font-sans);
    outline: none;
    width: 100%;
    box-sizing: border-box;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #777;
}

.contact-form button {
    background-color: var(--accent-gold);
    color: var(--text-dark);
    padding: 14px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: background 0.3s ease;
}

.contact-form button:hover {
    background-color: #c19a2c; /* darker gold on hover */
}


.cta-section {
    background-color: var(--bg-cream); /* White background */
    color: var(--text-dark);
    padding: 80px 20px;
    display: flex;
    justify-content: center;
    text-align: center;
}

.cta-container {
    max-width: 800px;
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    font-weight: 700;
    color: var(--text-dark);
}

.cta-section h2 span {
    color: var(--accent-gold); /* Highlight company name */
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #555;
}

.cta-btn {
    background-color: var(--accent-gold);
    color: var(--text-dark);
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius);
    text-decoration: none;
    transition: background 0.3s ease, transform 0.2s ease;
}

.cta-btn:hover {
    background-color: #c19a2c;
    transform: translateY(-3px);
}

#financingWidget {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 260px;
    background: #1e3c72;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    z-index: 9999;
    text-align: center;
    animation: slideUp 0.5s ease;
}

#financingWidget .financing-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: #fff;
    padding: 12px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#financingWidget .financing-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.3);
}

.financing-logo {
    height: 30px;
    margin-bottom: 5px;
}

.financing-subtext {
    display: block;
    font-size: 0.85rem;
    font-weight: normal;
    margin-top: 5px;
    color: #f0f0f0;
}

/* Close Button */
#closeFinancing {
    position: absolute;
    top: 5px;
    right: 8px;
    background: transparent;
    border: none;
    font-size: 1.3rem;
    color: #fff;
    cursor: pointer;
    font-weight: bold;
}

/* Slide animation */
@keyframes slideUp {
    0% { transform: translateY(100px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

/* ===== Terms & Conditions Page ===== */
.terms-section {
    background-color: var(--bg-beige);
    color: var(--text-dark);
    padding: 80px 20px;
    display: flex;
    justify-content: center;
    text-align: left;
}

.terms-container {
    max-width: 900px;
    width: 100%;
    background-color: var(--bg-cream);
    border-radius: 15px;
    padding: 40px 30px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    animation: fadeInUp 1s ease forwards;
}

.terms-container h2 {
    text-align: center;
    color: var(--accent-gold);
    margin-bottom: 30px;
    font-size: 2rem;
}

.terms-container h3 {
    margin-top: 25px;
    color: var(--accent-gold);
    font-size: 1.3rem;
}

.terms-container p {
    margin-top: 10px;
    line-height: 1.7;
    color: var(--text-dark);
}

.terms-container .intro {
    font-size: 1.1rem;
    margin-bottom: 25px;
}

.terms-link {
    color: var(--accent-gold);
    text-decoration: none;
    font-weight: 600;
}

.terms-link:hover {
    text-decoration: underline;
}

/* Responsive */


@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
/* ===== Media Queries ===== */
@media (max-width: 1024px) {
    .items-container {
        max-width: 1000px;
    }
}

@media (max-width: 768px) {
    .about-us h2 {
        font-size: 1.8rem;
    }
    .about-us p {
        font-size: 1rem;
    }
    .about-icon svg {
        width: 40px;
        height: 40px;
    }
        .title_our_product {
        margin: 40px 20px 30px 20px;
        max-width: 90%;
        padding: 0 10px;
    }

    .title_our_product h2 {
        font-size: 1.5rem;
        margin-bottom: 20px;
        padding-bottom: 6px;
    }

    .title_our_product h2::after {
        width: 50%;
        margin: 6px auto 0 auto;
        border-bottom-width: 2px;
    }

    .search-wrapper {
        max-width: 90%;
        margin: 0 auto;
    }

    .search-wrapper input#searchBox {
        padding: 12px 16px;
        font-size: 0.9rem;
    }

    .items-container {
        grid-template-columns: 1fr;
    }
    .item-card {
        height: auto;
    }
    .item-image {
        height: 200px;
    }
        .section-header h2 {
        font-size: 1.8rem;
    }
    .section-header p {
        font-size: 1rem;
    }
    .challenge-icon {
        width: 40px;
        height: 40px;
    }
}
@media (max-width: 600px) {
    .contact-us h2 {
        font-size: 1.6rem;
    }
    .cta-section h2 {
        font-size: 1.6rem;
    }
    .cta-section p {
        font-size: 1rem;
    }
}


@media (max-width: 480px) {
    .about-us h2 {
        font-size: 1.6rem;
    }
    .about-us p {
        font-size: 0.95rem;
    }
    .about-icon svg {
        width: 35px;
        height: 35px;
    }
        .title_our_product {
        margin: 30px 15px 20px 15px;
    }

    .title_our_product h2 {
        font-size: 1.25rem;
    }

    .title_our_product h2::after {
        width: 40%;
    }

    .search-wrapper input#searchBox {
        padding: 10px 14px;
        font-size: 0.85rem;
    }
    .item-image {
        height: 150px;
    }
    .item-info h3 {
        font-size: 1rem;
    }
    .item-info p {
        font-size: 0.95rem;
    }
    .section-header h2 {
        font-size: 1.6rem;
    }
    .section-header p {
        font-size: 0.95rem;
    }
    .challenge-icon {
        width: 35px;
        height: 35px;
    }
}
