/* ========================================
   SHREEJI 3D MODERN ENHANCEMENTS
   3D Elements, Animations, and Interactive Effects
   ======================================== */

/* Update Color Variables */
:root {
    --primary-color: #1B5E20;
    --secondary-color: #4CAF50;
    --accent-color: #F9A825;
    --background-cream: #FFFDE7;
}

/* ===== 3D HERO ENHANCEMENTS ===== */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, #1B5E20 0%, #0d4713 50%, #064208 100%);
    position: relative;
    overflow: hidden;
}

#globe-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    z-index: 2;
    opacity: 0.3;
}

/* ===== ENHANCED STATISTICS ===== */
.stat-card-modern {
    background: white;
    border-radius: 20px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.stat-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(76, 175, 80, 0.1), transparent);
    transition: all 0.6s;
}

.stat-card-modern:hover::before {
    left: 100%;
}

.stat-card-modern:hover {
    transform: translateY(-15px) scale(1.05);
    box-shadow: 0 20px 60px rgba(27, 94, 32, 0.3);
}

.stat-icon {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    transition: all 0.4s;
}

.stat-card-modern:hover .stat-icon {
    transform: scale(1.2) rotateY(360deg);
    color: var(--secondary-color);
}

.stat-number-counter {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--primary-color);
    margin: 0;
    font-family: 'Poppins', sans-serif;
}

.stat-number-counter::after {
    content: '+';
    color: var(--accent-color);
    margin-left: 5px;
}

/* ===== 3D LOGISTICS SECTION ===== */
.logistics-section {
    background: linear-gradient(135deg, #E8F5E9 0%, #FFFDE7 100%);
    padding: 5rem 0;
    position: relative;
}

.logistics-animation-wrapper {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.world-map-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.rotating-globe {
    width: 300px;
    height: 300px;
    margin: 0 auto;
    display: block;
    animation: rotate 20s linear infinite;
    filter: drop-shadow(0 0 30px rgba(76, 175, 80, 0.3));
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.trade-route {
    position: absolute;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    animation: routeFlow 3s linear infinite;
    box-shadow: 0 0 10px var(--accent-color);
}

.route-1 {
    top: 30%;
    left: 10%;
    width: 40%;
    animation-delay: 0s;
}

.route-2 {
    top: 50%;
    right: 10%;
    width: 35%;
    animation-delay: 1s;
}

.route-3 {
    bottom: 30%;
    left: 20%;
    width: 45%;
    animation-delay: 2s;
}

@keyframes routeFlow {
    0% {
        opacity: 0;
        transform: scaleX(0);
    }
    50% {
        opacity: 1;
        transform: scaleX(1);
    }
    100% {
        opacity: 0;
        transform: scaleX(0);
    }
}

.logistics-icon {
    position: absolute;
    font-size: 3rem;
    color: var(--primary-color);
    animation: moveIcon 8s ease-in-out infinite;
    filter: drop-shadow(0 5px 15px rgba(27, 94, 32, 0.3));
}

.logistics-ship {
    top: 20%;
    left: 5%;
}

.logistics-plane {
    top: 40%;
    right: 5%;
    animation-delay: 2s;
}

.logistics-truck {
    bottom: 20%;
    left: 40%;
    animation-delay: 4s;
}

@keyframes moveIcon {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        transform: translate(50px, 20px) rotate(15deg);
    }
}

/* ===== 3D PRODUCT CARDS ===== */
.product-card-3d {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    height: 100%;
    position: relative;
    border: 1px solid #e0e0e0;
}

.product-image-wrapper {
    position: relative;
    height: 350px;
    overflow: hidden;
    background: #f5f5f5;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent-color);
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 700;
}

.product-content-3d {
    padding: 2.5rem;
    position: relative;
    z-index: 1;
    background: white;
}

.product-category-tag {
    display: inline-block;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-title-3d {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.product-desc-3d {
    color: #555;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.product-meta {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.export-countries {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    font-size: 0.9rem;
}

.export-countries i {
    color: var(--accent-color);
    font-size: 1.1rem;
}

.btn-inquiry {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 0.9rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    border: none;
    text-align: center;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===== 3D SERVICE CARDS ===== */
.service-card-3d {
    background: white;
    border-radius: 25px;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
}

.service-card-3d::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s;
}

.service-card-3d:hover::before {
    transform: scaleX(1);
}

.service-card-3d::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.05), rgba(249, 168, 37, 0.05));
    opacity: 0;
    transition: opacity 0.5s;
}

.service-card-3d:hover::after {
    opacity: 1;
}

.service-card-3d:hover {
    transform: translateY(-20px) rotateX(10deg);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
}

.service-icon-3d {
    width: 110px;
    height: 110px;
    margin: 0 auto 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    box-shadow: 0 15px 40px rgba(27, 94, 32, 0.4);
    transition: all 0.6s;
    position: relative;
    z-index: 1;
}

.service-icon-3d::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-color), #FFB300);
    opacity: 0;
    transition: all 0.6s;
}

.service-card-3d:hover .service-icon-3d {
    transform: rotateY(360deg) scale(1.15);
}

.service-card-3d:hover .service-icon-3d::before {
    opacity: 1;
}

.service-title-3d {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.service-desc-3d {
    color: #666;
    font-size: 1rem;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

/* ===== GLOBAL TRADE MAP ===== */
.trade-map-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 5rem 0;
}

.map-wrapper {
    margin: 3rem 0;
}

.interactive-map {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.world-map-img {
    width: 100%;
    height: auto;
    opacity: 0.5;
    filter: brightness(0.7) contrast(1.2);
}

.map-marker {
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--accent-color);
    border-radius: 50%;
    border: 3px solid white;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
}

.map-marker::after {
    content: attr(data-country);
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) scale(0);
    background: white;
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.875rem;
    white-space: nowrap;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s;
}

.map-marker:hover {
    transform: scale(1.8);
    background: #FFB300;
}

.map-marker:hover::after {
    transform: translateX(-50%) scale(1);
}

.marker-ping {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--accent-color);
    opacity: 0.6;
    animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }
    75%, 100% {
        transform: translate(-50%, -50%) scale(3);
        opacity: 0;
    }
}

.marker-usa { top: 30%; left: 18%; }
.marker-uk { top: 22%; left: 48%; }
.marker-uae { top: 42%; left: 62%; }
.marker-singapore { top: 58%; left: 75%; }
.marker-australia { bottom: 18%; right: 18%; }

.continent-stat {
    padding: 2rem 1rem;
    transition: all 0.3s;
}

.continent-stat:hover {
    transform: translateY(-10px);
}

.continent-stat i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    transition: all 0.3s;
}

.continent-stat:hover i {
    transform: rotateY(360deg);
    color: #FFB300;
}

.continent-stat h4 {
    color: white;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.continent-stat p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* ===== INQUIRY FORM ENHANCEMENTS ===== */
.inquiry-section {
    padding: 5rem 0;
    background: linear-gradient(to bottom, #f8f9fa, #ffffff);
}

.inquiry-benefits .benefit-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s;
}

.inquiry-benefits .benefit-item:hover {
    transform: translateX(10px);
}

.inquiry-benefits .benefit-item i {
    color: var(--secondary-color);
    font-size: 1.8rem;
}

.inquiry-form-card {
    background: white;
    border-radius: 25px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transition: all 0.3s;
}

.inquiry-form-card:hover {
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.2);
}

.inquiry-form-3d .form-label {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.7rem;
}

.inquiry-form-3d .form-control {
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 1rem 1.2rem;
    transition: all 0.3s;
    font-size: 1rem;
}

.inquiry-form-3d .form-control:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.3rem rgba(76, 175, 80, 0.15);
    transform: translateY(-2px);
}

/* ===== RESPONSIVE ENHANCEMENTS ===== */
@media (max-width: 768px) {
    #globe-container {
        width: 300px;
        height: 300px;
    }
    
    .stat-number-counter {
        font-size: 2.5rem;
    }
    
    .service-card-3d:hover {
        transform: translateY(-10px);
    }
    
    .rotating-globe {
        width: 200px;
        height: 200px;
    }
    
    .logistics-icon {
        font-size: 2rem;
    }
}
