/* --- SHARED PRODUCT PAGES CSS --- */

/* Hero Section */
.product-hero-section {
    background-color: #ffffff;
    overflow: hidden;
}

/* Typography */
.product-hero-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 56px;
    font-weight: 700;
    color: #0c0e1b;
    line-height: 1.1;
    letter-spacing: -1px;
}

/* Vanguard Green Subtitle */
.product-hero-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 22px;
    font-weight: 500;
    color: #20b038; 
}

.product-hero-desc {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    color: #4a4a52;
    line-height: 1.6;
    max-width: 90%;
}

/* --- LEARN MORE CIRCLE BUTTON (VANGUARD THEME) --- */
.learn-more-text {
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    font-size: 15px;
    color: #0c0e1b;
}

.learn-more-btn {
    width: 44px;
    height: 44px;
    background-color: #20b038; /* Vanguard Green */
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(32, 176, 56, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Moves the arrow down slightly on hover to imply "scroll down" */
.learn-more-btn:hover {
    transform: translateY(4px);
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(32, 176, 56, 0.4);
    background-color: #15803d; /* Darker green on hover */
}

/* Hero Image */
.product-hero-img {
    max-width: 100%; /* Let it take up full width of its column */
    width: 100%;
    max-height: 75vh; /* Prevents it from getting insanely tall on ultra-wide screens */
    object-fit: contain;
    object-position: right center; /* Anchors the image firmly to the right side */
    /* animation: floatIso 6s ease-in-out infinite; */
}

@keyframes floatIso {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
    100% { transform: translateY(0px); }
}

/* --- MOBILE RESPONSIVE TWEAKS --- */
@media (max-width: 991.98px) {
    .product-hero-title {
        font-size: 32px;
    }
    .product-hero-subtitle {
        font-size: 18px;
    }
    .product-hero-desc {
        max-width: 100%;
    }
    .product-hero-img {
        max-width: 100%;
        animation: none; /* Disable float on mobile for stability */
    }
}











/* --- PRODUCT FEATURES SECTION --- */
.product-features-section {
    background-color: #ffffff;
}

/* Feature Item Layout */
.product-feature-item {
    transition: transform 0.3s ease;
}

.product-feature-item:hover {
    transform: translateX(5px); /* Very subtle hover interaction */
}

/* Icon Box */
.feature-icon-box {
    width: 90px;
    height: 90px;
    background-color: #e2e8f0; /* Soft, clean pale grey */
    border-radius: 16px; /* Smooth rounded corners */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
}

.feature-icon {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Typography */
.feature-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #0c0e1b;
    margin-bottom: 6px;
}

.feature-desc {
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    color: #4a4a52;
    line-height: 1.5;
}

/* --- MOBILE RESPONSIVE TWEAKS --- */
@media (max-width: 767.98px) {
    .feature-icon-box {
        width: 75px;
        height: 75px;
        border-radius: 12px;
        padding: 12px;
    }
    .feature-text {
        margin-left: 1rem !important; /* Reduces gap slightly on small screens */
    }
    .feature-title {
        font-size: 17px;
    }
    .feature-desc {
        font-size: 14px;
    }
}






/* --- TECHNICAL SPECIFICATIONS SECTION --- */
.tech-spec-section {
    background-color: #f8fafc; /* Very soft slate/grey background */
}

/* Card Styling */
.tech-spec-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.02); /* Crisp edge */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tech-spec-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
}

/* Icons & Labels */
.tech-spec-icon {
    font-size: 16px;
    color: #20b038; /* Deep sleek blue like the reference */
}

.tech-spec-label {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #4a4a52;
}

/* Bold Values */
.tech-spec-value {
    font-family: 'DM Sans', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #0c0e1b;
    margin-top: 12px;
}

/* --- MOBILE RESPONSIVE TWEAKS --- */
@media (max-width: 767.98px) {
    .tech-spec-card {
        padding: 20px;
    }
    .tech-spec-value {
        font-size: 20px;
    }
}









/* --- WHO SHOULD CHOOSE SECTION --- */
.who-should-choose-section {
    background-color: #ffffff; 
}

.who-choose-desc {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    color: #4a4a52;
    line-height: 1.6;
    /* Prevents the text from spanning too wide on large screens, ensuring readability */
    max-width: 900px; 
}

/* 2x2 Grid Cards */
.who-choose-card {
    background-color: #f8fafc; /* Very light slate grey */
    border-radius: 12px;
    padding: 24px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.who-choose-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
}

.who-choose-icon {
    font-size: 20px;
    color: #20b038; /* Deep sleek blue matching previous icons */
    width: 30px; /* Fixed width ensures all text aligns perfectly vertically */
    text-align: center;
}

.who-choose-text {
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #0c0e1b;
}

/* --- MOBILE RESPONSIVE TWEAKS --- */
@media (max-width: 767.98px) {
    .who-choose-desc {
        font-size: 15px;
    }
    .who-choose-card {
        padding: 16px 20px;
    }
    .who-choose-text {
        font-size: 15px;
    }
}










/* --- SPECIAL FEATURES SECTION --- */
.special-features-section {
    background-color: #f9fafb; /* Extremely subtle off-white/grey to separate sections */
}

/* Hover effect to add a touch of premium interactivity to plain text */
.special-feature-item {
    transition: transform 0.3s ease;
}

.special-feature-item:hover {
    transform: translateY(-3px);
}

/* Typography */
.special-feature-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #0c0e1b;
    margin-bottom: 16px;
    letter-spacing: -0.3px;
}

.special-feature-desc {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    color: #4a4a52;
    line-height: 1.6;
}

/* --- MOBILE RESPONSIVE TWEAKS --- */
@media (max-width: 767.98px) {
    .special-feature-title {
        font-size: 20px;
        margin-bottom: 10px;
    }
    .special-feature-desc {
        font-size: 15px;
    }
    .special-feature-item {
        margin-bottom: 1rem;
    }
}









/* --- GALLERY SECTION --- */
.product-gallery-section {
    background-color: #ffffff;
}

.gallery-swiper {
    background-color: #f8fafc;
    border-radius: 20px; /* Large smooth rounded corners */
    position: relative;
    overflow: hidden;
}

/* Dark gradient overlay at the top so the white pagination bars are ALWAYS readable */
.gallery-swiper::before {
    content: '';
    position: absolute;
    top: 0; 
    left: 0; 
    right: 0;
    height: 120px;
    background: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0) 100%);
    z-index: 2;
    pointer-events: none;
}

.gallery-img {
    aspect-ratio: 10 / 6; /* Cinematic ultra-wide ratio for desktop */
    height: auto;
    display: block;
}

/* Custom "Stories" Style Pagination Bars */
.gallery-pagination {
    display: flex;
    justify-content: space-between;
}

/* Base transparent track */
.gallery-pagination .swiper-pagination-bullet {
    flex-grow: 1; 
    height: 4px;
    background-color: rgba(255, 255, 255, 0.3); /* Semi-transparent white track */
    border-radius: 4px;
    margin: 0 !important;
    opacity: 1;
    position: relative;
    overflow: hidden;
}

/* Remove default Swiper active background */
.gallery-pagination .swiper-pagination-bullet-active {
    background-color: rgba(255, 255, 255, 0.3); 
}

/* The Animated White Fill Layer */
.gallery-pagination .swiper-pagination-bullet::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 0%;
    background-color: #ffffff;
    border-radius: 4px;
}

/* Trigger the 4-second animation ONLY on the currently active slide */
.gallery-pagination .swiper-pagination-bullet-active::after {
    animation: storyProgress 4s linear forwards;
}

/* Force previously viewed slides to stay completely filled */
.gallery-pagination .swiper-pagination-bullet.story-filled::after {
    width: 100%;
    animation: none;
}

/* The smooth left-to-right filling animation */
@keyframes storyProgress {
    0% { width: 0%; }
    100% { width: 100%; }
}

/* Subtle Navigation Arrows */
.gallery-nav-btn {
    color: rgba(255,255,255,0.7) !important;
    transform: scale(0.6); /* Makes the default arrows sleeker */
    transition: color 0.3s ease;
    z-index: 3;
}

.gallery-nav-btn:hover {
    color: #ffffff !important;
}

/* --- MOBILE RESPONSIVE TWEAKS --- */
@media (max-width: 767.98px) {
    .gallery-swiper {
        border-radius: 12px; /* Tighter corners for small screens */
    }
    .gallery-img {
        aspect-ratio: 4 / 3; /* Taller, squarer ratio so mobile images don't look tiny */
    }
    .gallery-pagination .swiper-pagination-bullet {
        height: 3px; /* Slightly thinner bars on mobile */
    }
}








/* --- OTHER PRODUCTS SECTION --- */
.other-products-section {
    background-color: #f9fafb; /* Deep slate background matching the reference */
}

/* Card Layout */
.other-product-card {
    background-color: #f8fafc; /* Off-white card background */
    border-radius: 16px;
    padding: 32px;
    position: relative;
    overflow: hidden;
    height: 600px; /* Fixed height ensures side-by-side cards are exactly the same size */
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.op-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #0c0e1b;
    margin-bottom: 12px;
}

.op-desc {
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    color: #4a4a52;
    line-height: 1.6;
}

/* Central Image Container */
.op-img-wrapper {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    margin-top: -20px; /* Pulls image up slightly to balance space */
}

.op-img {
    max-height: 300px;
    width: auto;
    object-fit: contain;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Hover Reveal Overlay */
.op-details-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    /* Gradient smoothly fades from solid white to transparent */
    background: linear-gradient(to bottom, rgba(248, 250, 252, 0) 0%, rgba(248, 250, 252, 1) 15%, rgba(248, 250, 252, 1) 100%);
    padding: 60px 32px 32px; /* Extra top padding for the fade effect */
    transform: translateY(100%); /* Hides it below the card by default */
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 3;
}

/* Hover Triggers (Desktop Only) */
@media (min-width: 992px) {
    .other-product-card:hover .op-details-overlay {
        transform: translateY(0); /* Slides up on hover */
    }
    .other-product-card:hover .op-img {
        transform: translateY(-40px) scale(0.95); /* Pushes the image up to make room */
    }
}

/* List Styling */
.op-ideal-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #0c0e1b;
}

.op-ideal-list li {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: #0c0e1b;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.op-icon {
    width: 24px;
    font-size: 16px;
    color: #20b038; /* Vanguard Green */
    margin-right: 8px;
    text-align: center;
}

/* --- MOBILE RESPONSIVE TWEAKS --- */
@media (max-width: 991.98px) {
    .other-product-card {
        height: auto; /* Let it grow naturally on mobile */
        padding: 24px 20px;
    }
    
    .op-img-wrapper {
        margin: 20px 0;
    }
    
    .op-img {
        max-height: 200px;
    }
    
    /* On mobile, make the details always visible so users don't have to tap */
    .op-details-overlay {
        position: relative;
        transform: translateY(0);
        background: none;
        padding: 0;
    }
    
    .op-title {
        font-size: 22px;
    }
}