/* 1. Base Layout Fixes */
.hero-section {
    min-height: 550px;
    background-color: #EAF1F8; /* Left side background */
}

/* 2. Content Container (Text bahar na nikalne ke liye) */
.hero-content-inner {
    max-width: 500px; /* Text ko ek limit mein rakhega */
    margin: 0 auto;   /* Center alignment */
    word-wrap: break-word;
}

/* 3. Responsive Typography (Text size control) */
.hero-main-title {
    color: #0A083B;
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    line-height: 1.1;
}

@media (min-width: 992px) {
    .hero-main-title { font-size: 3.5rem; } /* Desktop Size */
}

@media (max-width: 991px) {
    .hero-main-title { font-size: 2.5rem; } /* Tablet Size */
    .hero-content-inner { max-width: 90%; }
}

@media (max-width: 576px) {
    .hero-main-title { font-size: 1.8rem; } /* Mobile Size */
    .hero-section .row { flex-direction: column-reverse; } /* Image top par */
    .hero-right-img-box { min-height: 300px !important; }
}

/* 4. Right Image Side */
.hero-right-img-box {
    min-height: 550px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hover-lift {
    transition: all 0.3s ease;
}
.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(220, 53, 69, 0.4) !important;
}

/* About Section Premium Styles */
.ls-wide { letter-spacing: 2px; }

.about-img-container {
    position: relative;
    padding-bottom: 40px;
    padding-right: 40px;
}

.main-profile {
    max-width: 400px;
    transition: transform 0.3s ease;
}

.main-profile:hover {
    transform: scale(1.02);
}

.award-overlay {
    width: 150px;
    bottom: -10px;
    left: -20px;
    z-index: 5;
    background-color: #fff;
    transition: all 0.3s ease;
}

.award-overlay:hover {
    transform: translateY(-10px) scale(1.1);
    z-index: 10;
}

.award-tag {
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 10px;
    border-radius: 4px;
}

.italic { font-style: italic; }

@media (max-width: 768px) {
    .award-overlay {
        width: 110px;
        left: 10px;
        bottom: 10px;
    }
    .main-profile {
        max-width: 100%;
    }
}

/* Course Section Premium Styles */
.hover-lift {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2) !important;
}

.hover-zoom-container {
    border: 3px solid #fff;
    transition: border-color 0.3s ease;
}

.hover-zoom-container:hover {
    border-color: #1950D1;
}

.transition-zoom {
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hover-zoom-container:hover .transition-zoom {
    transform: scale(1.05);
}

.animate-pulse {
    animation: pulse-blue 2s infinite;
}

@keyframes pulse-blue {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(25, 80, 209, 0.7); }
    70% { transform: scale(1.02); box-shadow: 0 0 0 15px rgba(25, 80, 209, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(25, 80, 209, 0); }
}

.banner-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, transparent 60%, rgba(0,0,0,0.3));
    pointer-events: none;
}

/* Sourcing Hubs Premium Styling */
.hub-card {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
}

.hub-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.12) !important;
}

.hub-img-box {
    height: 160px;
}

.hub-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.hub-card:hover .hub-img {
    transform: scale(1.15);
}

.hub-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 8, 59, 0.4);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hub-card:hover .hub-overlay {
    opacity: 1;
}

.bg-danger-subtle {
    background-color: rgba(220, 53, 69, 0.08) !important;
}

@media (max-width: 576px) {
    .hub-img-box {
        height: 110px;
    }
}

/* Guangzhou Clothing Market Styles */
.clothing-market-wrap {
    background-image: url('https://niranjanchina.com/wp-content/uploads/2025/08/33.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 700px;
}

.dark-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.9) 0%, rgba(10, 8, 59, 0.8) 100%);
    z-index: 1;
}

.glass-market-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.market-entry {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.market-entry:hover {
    background: rgba(230, 1, 36, 0.15);
    border-color: #e60124;
    transform: scale(1.03);
}

.read-more-link {
    transition: all 0.3s ease;
    display: inline-block;
    letter-spacing: 1px;
}

.read-more-link:hover {
    color: #fff !important;
    transform: translateX(10px);
}

@media (max-width: 768px) {
    .clothing-market-wrap { background-attachment: scroll; }
    .display-5 { font-size: 2.2rem; }
}

/* Yiwu Wholesale Market Styles */
.yiwu-market-wrap {
    background-image: url('https://niranjanchina.com/wp-content/uploads/2025/08/35.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 700px;
}

.dark-overlay-yiwu {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(225deg, rgba(10, 8, 59, 0.95) 0%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 1;
}

.glass-yiwu-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.yiwu-entry {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.yiwu-entry:hover {
    background: rgba(23, 92, 255, 0.15);
    border-color: #005ae0;
    transform: translateX(-12px); /* Flip direction hover */
}

.yiwu-number {
    box-shadow: 0 0 20px rgba(0, 90, 224, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.animate-scale-hover a {
    display: inline-block;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.animate-scale-hover a:hover {
    transform: scale(1.1);
    color: #fff !important;
    text-shadow: 0 0 10px rgba(252, 185, 0, 0.5);
}

@media (max-width: 768px) {
    .yiwu-market-wrap { background-attachment: scroll; }
    .yiwu-entry:hover { transform: translateX(0); }
}

/* Canton Fair Custom Design */
.btn-tab-red {
    background-color: #ff2d2d !important;
    color: white !important;
    padding: 12px 25px !important;
    border-radius: 8px !important;
}

.btn-tab-blue {
    background-color: #6a96d3 !important; /* Soft Blue from Image 3 */
    color: white !important;
    padding: 12px 25px !important;
    border-radius: 8px !important;
}

.nav-pills .nav-link { transition: 0.3s ease; opacity: 0.9; }
.nav-pills .nav-link.active { transform: scale(1.08); opacity: 1; box-shadow: 0 8px 20px rgba(0,0,0,0.15); }

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.category-item {
    border-left: 4px solid transparent;
    transition: all 0.3s ease;
}

.tab-pane.show.active .category-item:hover {
    border-left-color: inherit; /* Inherits the phase color (Red, Blue, or Green) */
    transform: translateY(-5px);
}

@media (max-width: 768px) {
    .category-grid { grid-template-columns: 1fr; }
    .border-end { border-end: none !important; border-bottom: 2px solid #eee !important; padding-bottom: 20px; }
}

/* eBook Section Styles */
.ebook-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.ebook-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(62, 100, 222, 0.15) !important;
}

.ebook-img-box {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 250px;
}

.ebook-img-box img {
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.ebook-card:hover .ebook-img-box img {
    transform: scale(1.05);
}

.btn-download {
    background: linear-gradient(180deg, #3e64de 0%, #175CFF 100%);
    border: none;
    transition: 0.3s;
}

.btn-download:hover {
    background: linear-gradient(180deg, #175CFF 0%, #3e64de 100%);
    transform: scale(1.02);
}

.price-text {
    letter-spacing: 0.5px;
}

/* Gallery Custom Styles */
.gallery-img {
    height: 500px;
    object-fit: cover;
    background-color: #f8f9fa;
}

/* Invite Banner Premium Styles */
.invite-banner {
    background: linear-gradient(135deg, #0A083B 0%, #175CFF 100%);
    position: relative;
}

.banner-img-side {
    height: 100%;
    min-height: 450px;
    overflow: hidden;
}

.banner-img-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hover-grow {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-grow:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(252, 185, 0, 0.4);
}

@media (max-width: 768px) {
    .gallery-img { height: 280px; }
    .display-5 { font-size: 2.2rem; }
}

/* Neo-Premium Wholesale Grid Styles */
.premium-markets { background-color: #fbfbfb; }
.ls-2 { letter-spacing: 2px; }

.neo-market-card {
    display: flex;
    flex-direction: row;
    height: 160px;
    border: 1px solid rgba(0,0,0,0.05) !important;
}

.neo-img-box {
    width: 40%;
    clip-path: polygon(0 0, 100% 0, 85% 100%, 0% 100%);
    background: #f0f0f0;
}

.neo-content-box { width: 60%; }

.neo-market-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 30px rgba(23, 92, 255, 0.1) !important;
    border-color: #175CFF !important;
}

.neo-market-card:hover .neo-img-box img { transform: scale(1.1); transition: 0.5s ease; }
.neo-market-card:hover .neo-footer-link i { transform: translateX(5px); }

@media (max-width: 576px) {
    .neo-market-card { height: 130px; }
    .neo-content-box h4 { font-size: 1rem; }
    .neo-footer-link { font-size: 0.7rem; }
}