/* ============================================
   ENHANCED HOMEPAGE STYLES
   Add these to your style.css file
   ============================================ */

/* Hero Section Enhancements */
.hero-wrapper {
    padding: 40px 0 30px;
    position: relative;
    overflow: hidden;
}

.min-vh-75 {
    min-height: 75vh;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 20px;
    background: rgba(250, 213, 14, 0.1);
    border: 2px solid var(--primary-color);
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-color);
    animation: fadeInDown 0.8s ease;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
}

.title-highlight {
    display: block;
}

.hero-description {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #666;
    max-width: 600px;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-item .stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #666666;
    display: block;
    line-height: 1;
}

.stat-item .stat-label {
    font-size: 0.9rem;
    color: #666;
    margin-top: 5px;
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.pulse-btn {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(250, 213, 14, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(250, 213, 14, 0.5);
    }
}

/* Hero Image Wrapper */
.hero-image-wrapper {
    position: relative;
}

.floating-badge {
    position: absolute;
    background: white;
    padding: 12px 20px;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    z-index: 10;
    animation: float 3s ease-in-out infinite;
}

.floating-badge i {
    color: var(--primary-color);
    font-size: 1.3rem;
}

.badge-1 {
    top: 20px;
    right: -20px;
    animation-delay: 0s;
}

.badge-2 {
    bottom: 40px;
    left: -20px;
    animation-delay: 1.5s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
}

.carousel-inner {
    border: 4px solid var(--primary-color);
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid white;
}

/* Trust Section */
.trust-section {
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

.trust-item {
    transition: transform 0.3s ease;
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.trust-item:nth-child(1) { animation-delay: 0.1s; }
.trust-item:nth-child(2) { animation-delay: 0.2s; }
.trust-item:nth-child(3) { animation-delay: 0.3s; }
.trust-item:nth-child(4) { animation-delay: 0.4s; }

.trust-item:hover {
    transform: translateY(-5px);
}

/* Section Headers */
.section-header {
    opacity: 0;
    transform: translateY(30px);
}

.section-header.visible {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s ease;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
}

.section-subtitle {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    margin-top: 20px;
    border-radius: 2px;
    position: relative;
}

.title-underline::before {
    content: '';
    position: absolute;
    width: 40px;
    height: 4px;
    background: var(--primary-color);
    left: -50px;
    border-radius: 2px;
}

.title-underline::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 4px;
    background: var(--primary-color);
    right: -50px;
    border-radius: 2px;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

/* Feature Cards */
.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.feature-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon-wrapper {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), #e8c90e);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: white;
    font-size: 2rem;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon-wrapper {
    transform: rotate(10deg) scale(1.1);
}

/* Opportunity Cards */
.opportunity-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.opportunity-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    border: 2px solid transparent;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
}

.opportunity-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.opportunity-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(250, 213, 14, 0.1), transparent);
    transition: left 0.5s ease;
}

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

.opportunity-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(250, 213, 14, 0.3);
}

.opportunity-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), #e8c90e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.opportunity-card:hover .opportunity-icon {
    transform: scale(1.1) rotate(10deg);
}

.opportunity-arrow {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.opportunity-card:hover .opportunity-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #333 0%, #1a1a1a 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(250, 213, 14, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

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

.cta-wrapper {
    position: relative;
    z-index: 2;
    padding: 60px 20px;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
}

.cta-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

/* Fade In Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s ease;
}

.fade-in-right {
    opacity: 0;
    transform: translateX(50px);
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
    transition: all 0.8s ease;
}

/* Keyframe Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        gap: 30px;
    }
    
    .floating-badge {
        padding: 10px 15px;
        font-size: 0.8rem;
    }
    
    .badge-1 {
        right: 10px;
    }
    
    .badge-2 {
        left: 10px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-stats {
        gap: 20px;
    }
    
    .stat-item .stat-number {
        font-size: 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 576px) {
    .hero-wrapper {
        padding: 40px 0 30px;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .floating-badge {
        display: none;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
}

/* Dark Mode Enhancements */
@media (prefers-color-scheme: dark) {
    .hero-badge {
        background: rgba(250, 213, 14, 0.2);
        border-color: var(--primary-color);
        color: #fff;
    }
    
    .hero-title {
        color: #fff;
    }
    .hero-description {
        color: #ccc;
    }
    
    .stat-item .stat-label {
        color: #aaa;
    }
    
    .trust-section {
        background: #2a2a2a !important;
        border-color: #444;
    }
    
    .feature-card,
    .opportunity-card,
    .floating-badge {
        background: #2a2a2a;
        color: #fff;
    }
    
    .feature-card:hover,
    .opportunity-card:hover {
        box-shadow: 0 15px 40px rgba(250, 213, 14, 0.2);
    }
    
    .section-subtitle {
        color: #aaa !important;
    }
}