/* ==========================================================================
   Base & Typography
   ========================================================================== */
body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    overflow-x: hidden;
}

/* ==========================================================================
   Colors & Buttons
   ========================================================================== */
.text-success {
    color: #198754 !important;
}

.btn-success {
    background-color: #198754;
    border-color: #198754;
    transition: all 0.3s ease;
}

.btn-success:hover,
.btn-success:focus {
    background-color: #157347;
    border-color: #157347;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(25, 135, 84, 0.3);
}

/* ==========================================================================
   Hero Slider / Banner
   ========================================================================== */
.hero-slider,
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 580px;
}

.hero-bg,
.hero-slide {
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    height: 100%;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
}

.hero-content-wrapper {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 0 15px;
}

/* ==========================================================================
   Cards & Hover Effects
   ========================================================================== */
.card,
.product-card,
.category-card {
    transition: all 0.3s ease;
    border: none;
}

.product-card:hover,
.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12) !important;
}

/* Product Card Specific */
.product-card img {
    transition: transform 0.4s ease;
}

.product-card:hover img {
    transform: scale(1.05);
}

/* Icon Boxes */
.icon-box {
    padding: 2rem;
    transition: all 0.3s ease;
}

.icon-box:hover {
    transform: translateY(-5px);
}

/* Partners Logos */
.partners-logos img {
    max-height: 70px;
    width: auto;
    opacity: 0.6;
    filter: grayscale(100%) brightness(0.85);
    transition: all 0.3s ease;
}

.partners-logos img:hover,
.partners-logos img:focus {
    opacity: 1;
    filter: grayscale(0%) brightness(1);
    transform: scale(1.12);
}

/* ==========================================================================
   Image Banner (static promo banner)
   ========================================================================== */
.image-banner {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-bottom: 0;
}

.image-banner .banner-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.58);
    z-index: 1;
}

.banner-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 25px;
}

/* ==========================================================================
   Mobile Responsive Adjustments
   ========================================================================== */
@media (max-width: 1200px) {
    .hero-content h1 { font-size: 3.6rem; }
    .hero-content p  { font-size: 1.3rem; }
}

@media (max-width: 992px) {
    .hero-slider,
    .hero-section {
        min-height: 600px;
    }
    .hero-content h1 { font-size: 3rem; }
    .hero-content p  { font-size: 1.2rem; }
}

@media (max-width: 768px) {
    .hero-slider,
    .hero-section {
        min-height: 520px;
    }
    .hero-content h1 {
        font-size: 2.4rem;
        line-height: 1.2;
    }
    .hero-content p {
        font-size: 1.05rem;
        margin-bottom: 1.2rem;
    }
    .image-banner {
        height: 380px;
    }
    .banner-content h2 {
        font-size: 2.2rem;
    }
    .banner-content p {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .hero-slider,
    .hero-section {
        min-height: 480px;
    }
    .hero-content h1 {
        font-size: 2rem;
    }
    .hero-content p {
        font-size: 0.95rem;
    }
    .image-banner {
        height: 340px;
    }
    .banner-content h2 {
        font-size: 1.9rem;
    }
    .banner-content p {
        font-size: 1rem;
    }
}

/* Timeline */
.timeline-container {
    position: relative;
    padding: 2rem 0;
}

.timeline-item {
    position: relative;
    padding: 2rem 0;
    border-left: 4px solid var(--primary);
    margin-left: 2rem;
}

.timeline-date {
    position: absolute;
    left: -70px;
    top: 0;
    background: var(--primary);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
}

.timeline-content {
    padding-left: 2rem;
}

/* Team Cards */
.team-card img {
    border: 5px solid white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

@media (max-width: 768px) {
    .timeline-date {
        left: -60px;
        width: 50px;
        height: 50px;
        font-size: 0.9rem;
    }
}

/* Fancy Timeline Styles */
.timeline-container {
    position: relative;
    padding: 3rem 0;
}

.timeline-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background: linear-gradient(to bottom, var(--primary), #0d6efd);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
}

.timeline-date {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    min-width: 100px;
    padding: 0.5rem 1.2rem;
    font-weight: 700;
    font-size: 1.3rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.timeline-dot {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 22px;
    height: 22px;
    background: var(--primary);
    border: 4px solid white;
    box-shadow: 0 0 0 6px rgba(25,135,84,0.2);
    z-index: 2;
}

@media (max-width: 991px) {
    .timeline-line {
        left: 40px;
    }
    .timeline-date {
        left: 40px;
        transform: none;
    }
    .timeline-dot {
        left: 40px;
        transform: none;
    }
    .timeline-item .col-md-5 {
        padding-left: 80px !important;
    }
    .timeline-item.flex-row-reverse .col-md-5 {
        padding-right: 80px !important;
        padding-left: 0 !important;
    }
}

.shadow-2xl {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.animate__delay-5s {
    animation-delay: 1.5s;
}

.section-title {
    position: relative;
    display: inline-block;
    font-weight: 800;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), #0d6efd);
    border-radius: 3px;
}

