/* ============================================
   Tatva Global Exim - Enhanced Custom Styles
   ============================================ */

/* ===== CSS Variables - Light Green Theme ===== */
:root {
    --primary-green: #28a745;
    --secondary-green: #20c997;
    --light-green: #d4edda;
    --dark-green: #155724;
    --mint-green: #6f9a8a;
    --sage-green: #87a96b;
    --accent-lime: #32cd32;
    --warm-yellow: #ffc107;
    --text-dark: #2d3748;
    --text-light: #718096;
    --white: #ffffff;
    --shadow-sm: 0 2px 8px rgba(40, 167, 69, 0.08);
    --shadow-md: 0 4px 16px rgba(40, 167, 69, 0.12);
    --shadow-lg: 0 10px 40px rgba(40, 167, 69, 0.15);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: #fafbfc;
    overflow-x: hidden;
}

/* ===== Hero Section ===== */
.hero-section {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--secondary-green) 100%);
    color: var(--white);
    padding: 120px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: movePattern 20s linear infinite;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.05));
}

@keyframes movePattern {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(50px, 50px);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    font-weight: 800;
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 4px 12px rgba(0, 0, 0, 0.2);
    letter-spacing: -0.5px;
}

.hero-section p {
    font-size: 1.25rem;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== Product Cards ===== */
.product-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    border: none;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-green), var(--secondary-green));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.product-card:hover::before {
    transform: scaleX(1);
}

.product-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(40, 167, 69, 0.15);
}

.product-card img {
    height: 280px;
    width: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover img {
    transform: scale(1.08);
}

.product-card .card-body {
    padding: 1.75rem;
}

.product-card .card-title {
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    font-size: 1.35rem;
}

.product-card .card-text {
    color: var(--text-light);
    line-height: 1.8;
}

/* ===== Feature Icons ===== */
.feature-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--secondary-green) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: #ffffff !important;
    font-size: 1.8rem;
    box-shadow: 0 8px 24px rgba(40, 167, 69, 0.25);
    position: relative;
    transition: var(--transition);
}

.feature-icon i {
    font-size: 1.8rem;
    max-width: 100%;
    max-height: 100%;
    color: #ffffff !important;
}

.feature-icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: inherit;
    filter: blur(15px);
    opacity: 0.4;
    z-index: -1;
}

.feature-icon:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 32px rgba(40, 167, 69, 0.35);
}

/* ===== Buttons ===== */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--secondary-green) 100%);
    border: none;
    border-radius: 50px;
    padding: 14px 35px;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(40, 167, 69, 0.4);
}

.btn-outline-primary {
    border: 2px solid var(--primary-green);
    color: var(--primary-green);
    background: transparent;
    border-radius: 50px;
    padding: 14px 35px;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.3px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-outline-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: var(--primary-green);
    transform: translate(-50%, -50%);
    transition: width 0.4s, height 0.4s;
    z-index: -1;
}

.btn-outline-primary:hover::before {
    width: 300%;
    height: 300%;
}

.btn-outline-primary:hover {
    color: var(--white);
    border-color: var(--primary-green);
    transform: translateY(-3px);
}

/* ===== Section Titles ===== */
.section-title {
    position: relative;
    margin-bottom: 60px;
    font-weight: 800;
    font-size: 2.75rem;
    color: var(--text-dark);
    letter-spacing: -0.5px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-green), var(--secondary-green));
    border-radius: 3px;
}

.section-title::before {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 5px;
    background: var(--light-green);
    border-radius: 3px;
    z-index: -1;
}

/* ===== Stats Section ===== */
.stats-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 100px 0;
    position: relative;
}

.stat-item {
    text-align: center;
    padding: 40px 30px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-light);
    font-size: 1.1rem;
    font-weight: 500;
}

/* ===== Form Styling ===== */
.form-control {
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    padding: 14px 20px;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--white);
}

.form-control:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 4px rgba(40, 167, 69, 0.1);
    outline: none;
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* ===== Product Detail Page ===== */
.product-gallery img {
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.product-gallery img:hover {
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
}

.product-info {
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow-sm);
}

.feature-badge {
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    color: var(--white);
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    margin: 6px;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.25);
    transition: var(--transition);
}

.feature-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(40, 167, 69, 0.35);
}

/* ===== Responsive Design ===== */
@media (max-width: 992px) {
    .hero-section {
        padding: 80px 0 60px;
    }

    .hero-section h1 {
        font-size: 2.75rem;
    }

    .section-title {
        font-size: 2.25rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0 40px;
    }

    .hero-section h1 {
        font-size: 2.25rem;
    }

    .hero-section p {
        font-size: 1.1rem;
    }

    .product-card img {
        height: 220px;
    }

    .feature-icon {
        width: 70px;
        height: 70px;
        font-size: 1.4rem;
    }
    
    .feature-icon i {
        font-size: 1.4rem;
    }

    .stat-number {
        font-size: 2.75rem;
    }

    .section-title {
        font-size: 2rem;
    }
}

/* ===== Smooth Animations ===== */
.fade-in {
    animation: fadeIn 1s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-in-left {
    animation: slideInLeft 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-60px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-right {
    animation: slideInRight 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(60px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.scale-in {
    animation: scaleIn 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ===== Utility Classes ===== */
.gradient-text {
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-padding {
    padding: 100px 0;
}

@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }
}

/* ===== Bo
otstrap Override - Turmeric Theme ===== */
.bg-success {
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green)) !important;
}

.text-success {
    color: var(--primary-green) !important;
}

.btn-success {
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green)) !important;
    border-color: var(--primary-green) !important;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3) !important;
}

.btn-success:hover {
    background: linear-gradient(135deg, var(--warm-orange), var(--primary-turmeric)) !important;
    border-color: var(--warm-orange) !important;
    box-shadow: 0 8px 28px rgba(230, 126, 34, 0.4) !important;
    transform: translateY(-2px);
}

.btn-outline-success {
    color: var(--primary-turmeric) !important;
    border-color: var(--primary-turmeric) !important;
}

.btn-outline-success:hover {
    background-color: var(--primary-turmeric) !important;
    border-color: var(--primary-turmeric) !important;
}

.alert-success {
    background-color: rgba(230, 126, 34, 0.1) !important;
    border-color: var(--light-turmeric) !important;
    color: var(--dark-turmeric) !important;
}

.border-success {
    border-color: var(--primary-turmeric) !important;
}

/* ===== Custom Turmeric Elements ===== */
.turmeric-gradient {
    background: linear-gradient(135deg, var(--primary-turmeric), var(--secondary-turmeric));
}

.turmeric-text {
    color: var(--primary-turmeric);
}

.turmeric-shadow {
    box-shadow: 0 8px 24px rgba(230, 126, 34, 0.25);
}

/* ===== Navbar Custom Styling ===== */
.navbar-brand {
    font-weight: 800 !important;
    font-size: 1.5rem !important;
}

.navbar-nav .nav-link {
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
}

.navbar-nav .nav-link:hover {
    color: var(--golden-yellow) !important;
    transform: translateY(-1px);
}

/* ===== Footer Styling ===== */
.bg-dark {
    background: linear-gradient(135deg, #2c3e50, #34495e) !important;
}

/* ===== Verification Page Styling ===== */
.verification-header {
    background: linear-gradient(135deg, var(--primary-turmeric), var(--secondary-turmeric)) !important;
}

.code-input {
    border-color: var(--primary-turmeric) !important;
}

.code-input:focus {
    border-color: var(--secondary-turmeric) !important;
    box-shadow: 0 0 0 0.2rem rgba(230, 126, 34, 0.25) !important;
}

/* ===== Email Template Colors ===== */
.email-turmeric-gradient {
    background: linear-gradient(135deg, var(--primary-turmeric), var(--secondary-turmeric));
}