/* ==========================================================================
   Dr. Agro Organics - Homepage Redesign Styles
   ========================================================================== */

:root {
    --primary-redesign: #1B5E20;
    --secondary-redesign: #2E7D32;
    --accent-redesign: #8BC34A;
    --bg-gradient-redesign: linear-gradient(135deg, #F1F8E9 0%, #DCECCB 100%);
    --text-redesign: #1B4332;
    --white-transparent: rgba(255, 255, 255, 0.7);
    --border-glass: rgba(255, 255, 255, 0.4);
}

/* Base Body Modifications for Redesign */
.home {
    color: var(--text-redesign);
    font-family: var(--font-body);
}

/* Hero Section Split Layout */
.hero-redesign {
    background: var(--bg-gradient-redesign);
    padding: 120px 0 140px 0;
    position: relative;
    overflow: hidden;
}

.hero-split-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    align-items: center;
}

@media(min-width: 992px) {
    .hero-split-grid {
        grid-template-columns: 1.1fr 0.9fr;
    }
}

.hero-left-content {
    z-index: 2;
}

.hero-badge-tag {
    display: inline-block;
    background-color: rgba(27, 94, 32, 0.08);
    border: 1px solid rgba(27, 94, 32, 0.2);
    color: var(--primary-redesign);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    padding: 6px 18px;
    border-radius: 50px;
    margin-bottom: 25px;
}

.hero-title-big {
    font-size: clamp(2.2rem, 4vw + 1rem, 3.5rem);
    font-weight: 800;
    color: var(--primary-redesign);
    line-height: 1.25;
    margin-bottom: 20px;
}

.hero-subtitle-medium {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--secondary-redesign);
    margin-bottom: 25px;
}

.hero-trust-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 35px;
    list-style: none;
    padding: 0;
}

.hero-trust-highlights li {
    font-weight: 600;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-redesign);
}

.hero-trust-highlights li span {
    color: var(--accent-redesign);
    font-size: 1.2rem;
}

/* Redesigned Buttons */
.btn-redesign-primary {
    background-color: var(--primary-redesign);
    color: #fff !important;
    padding: 1rem 2rem;
    font-size: 1.05rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(27, 94, 32, 0.25);
}

.btn-redesign-primary:hover {
    background-color: var(--secondary-redesign);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(27, 94, 32, 0.35);
}

.btn-redesign-secondary {
    background-color: #fff;
    color: var(--primary-redesign) !important;
    border: 1px solid var(--primary-redesign);
    padding: 1rem 2rem;
    font-size: 1.05rem;
    border-radius: 8px;
}

.btn-redesign-secondary:hover {
    background-color: rgba(27, 94, 32, 0.04);
    transform: translateY(-3px);
}

/* Hero Collage Right Side */
.hero-collage-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-collage-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    width: 100%;
    max-width: 480px;
}

.collage-item {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.4s ease;
    border: 1px solid var(--border-glass);
}

.collage-item:hover {
    transform: scale(1.04);
}

.collage-item.big-card {
    grid-column: span 2;
    height: 180px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, rgba(27,94,32,0.9) 0%, rgba(46,125,50,0.9) 100%);
    color: #fff;
    text-align: center;
    padding: 20px;
}

.collage-box-visual {
    height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 2.2rem;
    background-color: #fff;
    color: var(--primary-redesign);
}

.collage-box-visual p {
    font-size: 0.85rem;
    font-weight: 700;
    margin-top: 5px;
    color: var(--text-redesign);
}

/* Floating Experience Badge */
.experience-floating-badge {
    position: absolute;
    bottom: -20px;
    right: -10px;
    background-color: var(--accent-redesign);
    color: var(--primary-redesign);
    padding: 15px 25px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 1.1rem;
    box-shadow: 0 10px 25px rgba(139, 195, 74, 0.3);
    border: 2px solid #fff;
    z-index: 3;
    animation: floatingAnimation 3s ease-in-out infinite;
}

@keyframes floatingAnimation {
    0% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0); }
}

/* Section 2 - Statistics Counter */
.stats-section-redesign {
    background-color: #fff;
    border-bottom: 1px solid var(--border-color);
}

.stats-grid-redesign {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    text-align: center;
}

@media(min-width: 768px) {
    .stats-grid-redesign {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stat-item-card {
    padding: 20px;
}

.stat-number-big {
    font-size: clamp(2.2rem, 3.5vw, 3rem);
    font-weight: 800;
    color: var(--primary-redesign);
    margin-bottom: 5px;
}

.stat-label-small {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Section 3 - Product Categories Redesign */
.products-redesign-section {
    background-color: #F9FBF7;
}

.premium-product-card {
    background-color: #fff;
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
}

.premium-product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 30px rgba(27, 94, 32, 0.08);
    border-color: var(--primary-redesign);
}

.product-image-box {
    background: var(--bg-gradient-redesign);
    height: 180px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 4rem;
    position: relative;
}

.product-card-body {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-card-body h3 {
    color: var(--primary-redesign);
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 10px;
}

/* Section 4 - Horizontal Process Timeline */
.process-section-redesign {
    background-color: #fff;
}

.horizontal-timeline-container {
    overflow-x: auto;
    padding: 30px 10px;
}

.horizontal-timeline-flex {
    display: flex;
    min-width: 900px;
    justify-content: space-between;
    position: relative;
}

.horizontal-timeline-flex::before {
    content: '';
    position: absolute;
    top: 35px;
    left: 50px;
    right: 50px;
    height: 3px;
    background-color: rgba(27, 94, 32, 0.1);
    z-index: 1;
}

.timeline-step-node {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 0 10px;
}

.step-node-circle {
    width: 70px;
    height: 70px;
    background-color: #fff;
    border: 3px solid var(--accent-redesign);
    color: var(--primary-redesign);
    border-radius: 50%;
    margin: 0 auto 20px auto;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    font-weight: 700;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.timeline-step-node:hover .step-node-circle {
    transform: scale(1.1);
    background-color: var(--primary-redesign);
    color: #fff;
    border-color: var(--primary-redesign);
}

.timeline-step-node h4 {
    font-size: 1.05rem;
    color: var(--primary-redesign);
    font-weight: 700;
}

/* Section 5 - Certifications */
.certifications-section-redesign {
    background-color: #F9FBF7;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.certifications-grid-redesign {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    align-items: center;
    justify-items: center;
}

@media(min-width: 768px) {
    .certifications-grid-redesign {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media(min-width: 992px) {
    .certifications-grid-redesign {
        grid-template-columns: repeat(6, 1fr);
    }
}

.cert-logo-box {
    background-color: #fff;
    border: 1px solid var(--border-color);
    padding: 15px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 120px;
    height: 120px;
}

.cert-logo-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.cert-logo-box:hover {
    transform: translateY(-5px);
    border-color: var(--accent-redesign);
    box-shadow: 0 10px 20px rgba(27,94,32,0.05);
}

/* Section 6 - Global Presence */
.global-section-redesign {
    background: var(--bg-gradient-redesign);
}

.presence-map-box {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    padding: 50px 40px;
    position: relative;
    overflow: hidden;
}

.map-grid-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: center;
    width: 100%;
}

@media (min-width: 992px) {
    .map-grid-container {
        grid-template-columns: 1fr 1.3fr;
        gap: 50px;
    }
}

.map-text-col {
    z-index: 2;
    text-align: left;
}

.map-text-col h2 {
    color: var(--primary-redesign);
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
}

.map-text-col p {
    color: var(--text-redesign);
    font-size: 1.05rem;
    line-height: 1.7;
    font-weight: 500;
}

.map-visual-col {
    position: relative;
    background-image: url('../images/world-map-dots.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    aspect-ratio: 1 / 1;
    z-index: 2;
}

/* Glowing Map Marker Dot */
.map-marker-dot {
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: #25D366;
    border-radius: 50%;
    z-index: 3;
    cursor: pointer;
    box-shadow: 0 0 0 rgba(37, 211, 102, 0.4);
    animation: marker-pulse 2s infinite;
}

@media (min-width: 768px) {
    .map-marker-dot {
        width: 14px;
        height: 14px;
    }
}

.map-marker-dot::after {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border: 2px solid #128C7E;
    border-radius: 50%;
    opacity: 0;
    animation: marker-ring 2s infinite;
}

@keyframes marker-pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@keyframes marker-ring {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }
    50% {
        opacity: 0.8;
    }
    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}

/* Section 7 - Why Choose Us */
.why-choose-grid-redesign {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media(min-width: 768px) {
    .why-choose-grid-redesign {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(min-width: 1200px) {
    .why-choose-grid-redesign {
        grid-template-columns: repeat(3, 1fr);
    }
}

.why-card-redesign {
    background-color: #fff;
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.why-card-redesign:hover {
    border-color: var(--primary-redesign);
    box-shadow: 0 15px 30px rgba(27, 94, 32, 0.05);
}

/* Section 8 - B2B Lead CTA Banner */
.cta-banner-redesign {
    background: linear-gradient(135deg, var(--primary-redesign) 0%, var(--secondary-redesign) 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    padding: 60px 40px;
    margin: 40px 0;
}

.cta-banner-redesign h2 {
    color: #fff !important;
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    margin-bottom: 20px;
}
