/* =============================================
   RUBBER BAND PAGE STYLES
============================================= */

/* Banner */
.rubber-band-banner {
    background-image: url('../images/Products/Banner-1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 50px 20px;
    text-align: center;
    color: green;
    position: relative;
    margin-top: 130px;
}

.rubber-band-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.rubber-band-banner h1 {
    position: relative;
    z-index: 2;
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0;

}

/* Product Details */


.rubber-band-product-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 40px 20px;
    margin-top: 90px;
}

.rubber-band-product-image {
    flex: 1;
    max-width: 500px;
}

/* Image styles handled globally in common.css */

.rubber-band-product-description {
    flex: 1;
}

.rubber-band-product-description h2 {
    font-size: 1.4rem;
    line-height: 1.4;
    color: #2e7d32;
    margin-bottom: 10px;
    font-weight: 700;
    white-space: normal;
}

.rubber-band-product-subtext {
    color: #555;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 16px;
}

/* Premium Bullet */
.rubber-band-premium-bullet {
    list-style: none;
    padding: 0;
    margin: 1px;
    text-align: left;
}

.rubber-band-premium-bullet li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 5px;
    line-height: 1.6;
    color: #333;
    font-size: 1.05rem;
    transition: transform 0.3s ease, color 0.3s ease;
}

.rubber-band-premium-bullet li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 4px;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 11px;
    font-weight: bold;
    flex-shrink: 0;
}

.rubber-band-premium-bullet li:hover {
    transform: translateX(5px);
    color: #27ae60;
}

.rubber-band-premium-bullet li:hover::before {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    box-shadow: 0 2px 8px rgba(39, 174, 96, 0.3);
}

.rubber-band-premium-bullet h4 {
    color: #2E7D32;
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.rubber-band-premium-bullet p {
    margin-bottom: 0;
    color: #555;
    line-height: 1.7;
}

/* Product Variants */
.rubber-band-product-variants-section {
    background-color: #e8f5e8;
    padding: 2px 20px;
    text-align: center;
}

.rubber-band-product-variants-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 40px;
    text-align: center;
}

.rubber-band-product-variants-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.rubber-band-product-variant-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.rubber-band-product-variant-card:hover {
    transform: translateY(-5px);
}

.rubber-band-product-variant-image-container {
    background-color: #f0f0f0;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.rubber-band-product-variant-image-container img {
    max-width: 100%;
    max-height: 136%;
    object-fit: contain;
}

.rubber-band-product-variant-label {
    background-color: #4CAF50;
    color: white;
    padding: 12px 8px;
    font-weight: 600;
    font-size: 0.9rem;
    text-align: center;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Best Section */
.rubber-band-best-section {
    background-image: url('../images/rubber_band/rubber_band.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 80px 20px;
    text-align: center;
    position: relative;
}

.rubber-band-best-section::before {
    content: '';
    position: absolute;
    top: 0px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.rubber-band-best-title {
    position: relative;
    z-index: 2;
    font-size: 2.2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 50px;
    text-align: center;
    line-height: 1.3;
}

.rubber-band-best-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    text-align: left;
}

.rubber-band-best-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #fff;
    position: relative;
    z-index: 2;
}

.rubber-band-best-list li i {
    background-color: #ffcc00;
    color: #2ecc71;
    font-size: 1.2rem;
    padding: 8px;
    border-radius: 50%;
    margin-top: 3px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
}

.rubber-band-best-list li:hover {
    transform: translateX(10px);
    transition: transform 0.3s ease;
}

.rubber-band-best-list li:hover i {
    color: #27ae60;
    transition: color 0.3s ease;
}

/* Categories */
.rubber-band-categories-section {
    padding: 11px 20px;
    background-color: beige;
}

.rubber-band-categories-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
}

.rubber-band-categories-content {
    flex: 1;
    max-width: 550px;
    line-height: 1.2;
}

.rubber-band-categories-image {
    flex: 1;
    max-width: 550px;
}

.rubber-band-categories-image img {
    width: 100%;
    max-height: 400px;
    margin: 0 auto;
    display: block;
    aspect-ratio: 1/1;
    object-position: center;
}

.rubber-band-categories-title {
    font-size: 1.4rem;
    line-height: 1.4;
    color: #2e7d32;
    margin-bottom: 20px;
    font-weight: 700;
    white-space: normal;
}

.rubber-band-categories-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 7px;
    line-height: 1.5;
    margin-top: -10px;
}

/* Showcase */
.rubber-band-showcase-section {
    padding: 20px 20px;
    background-color: #f8f9fa;
}

.rubber-band-showcase-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
    padding: 20px 20px;
}

.rubber-band-showcase-image {
    flex: 1;
    max-width: 550px;
}

.rubber-band-showcase-image img {
    width: 100%;
    height: auto;

}

.rubber-band-showcase-content {
    flex: 1;
    max-width: 550px;
}

.rubber-band-showcase-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
    line-height: 1.3;
}

.rubber-band-showcase-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 5px;
    line-height: 1.6;
}

/* Custom Logo Section */
.rubber-band-custom-logo-section .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.rubber-band-custom-logo-content {
    flex: 1;
    max-width: 650px;
}

.rubber-band-custom-logo-content h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 14px;
}

.rubber-band-custom-logo-intro {
    font-size: 0.98rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 16px;
}

.rubber-band-custom-logo-image-container {
    flex: 0 0 520px;
    max-width: 520px;
}

.rubber-band-custom-logo-image {
    width: 100%;
    height: auto;
    border-radius: 18px;
    display: block;
}

/* Contact Section */
.rubber-band-contact-gradient-section {
    background: linear-gradient(135deg, #2e7d32 0%, #43a047 100%);
    padding: 17px 20px;
}

.rubber-band-contact-container {
    max-width: 1200px;
    margin: 0 auto;
}

.rubber-band-contact-green-layout {
    display: flex;
    gap: 60px;
    align-items: center;
    justify-content: space-between;
}

.rubber-band-contact-form-section {
    flex: 0 0 45%;
    transition: all 1s ease-out;
}

.rubber-band-contact-content-section {
    flex: 0 0 50%;
    transition: all 1s ease-out;
}

.rubber-band-contact-form-container {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.rubber-band-contact-form-group {
    margin-bottom: 20px;
    width: 93%;
}

.rubber-band-contact-form-section h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: #fff;
    margin-top: 25px;
}

.rubber-band-contact-content-section h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
}

.rubber-band-contact-form-group input,
.rubber-band-contact-form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.rubber-band-contact-form-group input::placeholder,
.rubber-band-contact-form-group textarea::placeholder {
    color: #666;
}

.rubber-band-contact-form-group input:focus,
.rubber-band-contact-form-group textarea:focus {
    outline: none;
    border-color: #ffc107;
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.2);
}

.rubber-band-contact-form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.rubber-band-contact-btn-primary {
    width: 50%;
    padding: 15px;
    background: #ffc107;
    color: #1b5e20;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-left: 25%;
}

.rubber-band-contact-btn-primary:hover {
    background: #ffb300;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.rubber-band-contact-sustainability-content p {
    color: #fff;
    line-height: 1.9;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.rubber-band-contact-sustainability-image {
    margin-top: 30px;
    text-align: center;
    transition: all 1s ease-out;
}

.rubber-band-contact-sustainability-image img {
    width: 100%;
    max-width: 373px;
    border-radius: 12px;
    margin: 0 auto;
    display: block;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Animations */
@keyframes rubberBandSlideInLeft {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes rubberBandSlideInRight {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes rubberBandSlideInUp {
    0% {
        transform: translateY(50px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.rubber-band-animate-slide-left {
    animation: rubberBandSlideInLeft 1s ease-out forwards;
}

.rubber-band-animate-slide-right {
    animation: rubberBandSlideInRight 1s ease-out forwards;
}

.rubber-band-animate-slide-up {
    animation: rubberBandSlideInUp 0.8s ease-out forwards;
}

/* Initial hidden state for animated elements */
.rubber-band-product-image,
.rubber-band-product-description,
.rubber-band-best-title,
.rubber-band-best-list li,
.rubber-band-categories-content,
.rubber-band-categories-image,
.rubber-band-showcase-image,
.rubber-band-showcase-content,
.rubber-band-custom-logo-content,
.rubber-band-custom-logo-image-container,
.rubber-band-contact-form-section,
.rubber-band-contact-content-section,
.rubber-band-contact-sustainability-image {
    opacity: 0;
}

.rubber-band-animated-visible {
    opacity: 1 !important;
}

.rubber-band-page .g-faq-answer {
    display: block;
    max-height: 0;
    overflow: hidden;
    padding: 0 24px;
    transition: max-height 0.35s ease, padding 0.35s ease;
}

.rubber-band-page .g-faq-item.active .g-faq-answer {
    max-height: 1000px;
    padding: 0px 24px 24px;
}

/* Responsive */
@media (max-width: 992px) {
    .rubber-band-product-variants-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .rubber-band-categories-container,
    .rubber-band-showcase-container,
    .rubber-band-contact-green-layout {
        flex-direction: column;
        gap: 40px;
        text-align: left;
    }

    .rubber-band-categories-content,
    .rubber-band-categories-image,
    .rubber-band-showcase-image,
    .rubber-band-showcase-content {
        max-width: 100%;
    }

    .rubber-band-categories-title,
    .rubber-band-showcase-title {
        text-align: center;
    }

    .rubber-band-contact-btn-primary {
        width: 100%;
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    .rubber-band-banner h1 {
        font-size: 1.8rem;
    }

    .rubber-band-product-container {
        flex-direction: column;
        gap: 10px;
        text-align: left;
    }

    .rubber-band-product-description h2 {
        font-size: 1.8rem;
        text-align: left;
    }

    .rubber-band-product-image {
        max-width: 100%;
    }

    .rubber-band-showcase-container {
        margin: 0 auto;
    }

    .rubber-band-custom-logo-section .container {
        flex-direction: column;
        text-align: center;
    }

    .rubber-band-custom-logo-image-container {
        flex: 1;
        max-width: 100%;
    }

    .rubber-band-premium-bullet li {
        font-size: 0.95rem;
        padding-left: 25px;
    }

    .rubber-band-premium-bullet li::before {
        width: 18px;
        height: 18px;
    }

    .rubber-band-premium-bullet li::after {
        left: 5px;
        top: 0px;
        font-size: 10px;
    }

    .rubber-band-contact-form-group {
        width: 100%;
    }

    .rubber-band-contact-form-section h3,
    .rubber-band-contact-content-section h3 {
        font-size: 1.5rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .rubber-band-product-variants-grid {
        grid-template-columns: 1fr;
    }

    .rubber-band-banner {
        padding: 70px 16px;
    }

    .rubber-band-banner h1 {
        font-size: 1.5rem;
        line-height: 1.25;
    }

    .rubber-band-image-wrapper {
        padding: 18px;
    }

    .rubber-band-contact-form-container {
        padding: 18px;
    }

    .rubber-band-contact-form-group input,
    .rubber-band-contact-form-group textarea {
        padding: 12px;
    }
}