/* ============================================
   Modern Home Page Styles - BTI TEX
   Premium UI Design with 2025 Trends
   ============================================ */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ============================================
   CSS Variables - Modern Color Palette
   ============================================ */
:root {
    /* Primary Gradient Colors */
    --gradient-primary: linear-gradient(135deg, #3090c7 0%, #1e6fa0 50%, #0d4f7a 100%);
    --gradient-hero: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #f1f5f9 100%);
    --gradient-dark: linear-gradient(135deg, #1a1f2c 0%, #232b38 50%, #2d3748 100%);
    --gradient-accent: linear-gradient(135deg, #3090c7 0%, #38bdf8 100%);

    /* Glass Effect Colors */
    --glass-bg: var(--card-bg);
    --glass-border: var(--border-color);
    --glass-shadow: var(--card-shadow);

    /* Modern Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.15);
    --shadow-glow: 0 0 40px rgba(48, 144, 199, 0.3);

    /* Animation Timings */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    /* Spacing */
    --section-padding: clamp(3rem, 8vw, 5rem);
}

/* ============================================
   Hero Section - Modern Premium Design
   ============================================ */
/* ============================================
   Hero Section - Glassy Light Theme
   ============================================ */
.hero-modern {
    position: relative;
    min-height: 85vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 50px 0 2rem;
    background: #f0f4f8;
    background-image: 
        radial-gradient(at 0% 0%, rgba(167, 197, 235, 0.3) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(181, 224, 252, 0.3) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(226, 231, 236, 0.3) 0px, transparent 50%),
        radial-gradient(at 0% 100%, rgba(240, 244, 248, 0.5) 0px, transparent 50%);
    background-size: 150% 150%;
    animation: gradientBG 15s ease infinite;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-modern::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: linear-gradient(180deg, rgba(48, 144, 199, 0.15), rgba(135, 206, 250, 0.15));
    border-radius: 50%;
    top: -100px;
    right: -100px;
    z-index: 0;
    filter: blur(80px);
    animation: floatShape 20s infinite alternate;
}

.hero-modern::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: linear-gradient(180deg, rgba(255, 105, 180, 0.05), rgba(48, 144, 199, 0.1));
    border-radius: 50%;
    bottom: -50px;
    left: -50px;
    z-index: 0;
    filter: blur(60px);
    animation: floatShape 15s infinite alternate-reverse;
}

@keyframes floatShape {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(30px, 50px) rotate(10deg); }
}

/* Glass Card Container */
.hero-glass-card {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 40px;
    padding: 3rem 4rem;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.05),
        0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    position: relative;
    z-index: 2;
    overflow: visible; /* Allow image breakout */
}

@media (max-width: 991px) {
    .hero-glass-card {
        padding: 2rem;
        margin-top: 2rem;
        text-align: center;
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-30px) rotate(5deg);
    }
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, rgba(48, 144, 199, 0.1), rgba(48, 144, 199, 0.05));
    border: 1px solid rgba(48, 144, 199, 0.2);
    border-radius: 100px;
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #3090c7;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
    animation: fadeInUp 0.8s ease-out;
}

.hero-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

.hero-title {
    font-family: 'Inter', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    color: #1e293b;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease-out 0.1s backwards;
    letter-spacing: -1px;
}

.hero-title .text-gradient {
    background: linear-gradient(135deg, #3090c7 0%, #1e6fa0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    filter: drop-shadow(0 2px 10px rgba(48, 144, 199, 0.2));
}

.hero-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: #475569;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.hero-description {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #64748b;
    max-width: 540px;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease-out 0.3s backwards;
}

/* Hero Button */
.btn-modern {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: var(--gradient-primary);
    color: white;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all var(--transition-normal);
    box-shadow: 0 4px 20px rgba(48, 144, 199, 0.35);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.btn-modern::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: 0.5s;
}

.btn-modern:hover::before {
    left: 100%;
}

.btn-modern:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(48, 144, 199, 0.45);
}

.btn-modern i {
    transition: transform var(--transition-fast);
}

.btn-modern:hover i {
    transform: translateX(5px);
}

/* Hero Image */
/* Hero Image Wrapper with Breakout Effect */
.hero-image-wrapper {
    position: relative;
    z-index: 10;
    margin-right: -4rem; /* Pull image to the right */
    animation: fadeInRight 1s ease-out 0.3s backwards;
}

@media (max-width: 991px) {
    .hero-image-wrapper {
        margin-right: 0;
        margin-top: 3rem;
    }
}

.hero-image-container {
    position: relative;
    padding: 0;
    display: flex;
    justify-content: center;
}

.hero-image-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 90%;
    background: radial-gradient(circle, rgba(48, 144, 199, 0.2) 0%, transparent 70%);
    filter: blur(50px);
    z-index: -1;
    animation: pulseGlow 4s infinite alternate;
}

@keyframes pulseGlow {
    0% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
    100% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.1); }
}

.hero-image {
    position: relative;
    z-index: 2;
    max-height: 550px;
    width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.25));
    transition: transform 0.5s ease-out;
    animation: heroFloat 6s ease-in-out infinite;
}

@keyframes heroFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.hero-image:hover {
    transform: scale(1.05); /* Simplified hover since float is continuous */
}

/* Floating Elements */
.hero-float-badge {
    position: absolute;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 20px;
    padding: 1rem 1.5rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    animation: floatBadge 3s ease-in-out infinite;
    z-index: 10;
}

.hero-float-badge.badge-1 {
    top: 15%;
    right: 5%;
    animation-delay: 0s;
}

.hero-float-badge.badge-2 {
    bottom: 20%;
    left: 0;
    animation-delay: 1.5s;
}

@keyframes floatBadge {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.hero-float-badge .badge-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-accent);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
}

.hero-float-badge .badge-text {
    font-family: 'Inter', sans-serif;
}

.hero-float-badge .badge-value {
    font-weight: 700;
    color: var(--text-color);
    font-size: 1.1rem;
}

.hero-float-badge .badge-label {
    font-size: 0.75rem;
    color: #64748b;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ============================================
   Top Products Section - Glassmorphism Cards
   ============================================ */
.products-modern {
    position: relative;
    padding: var(--section-padding) 0;
    background: var(--bg-color);
    overflow: hidden;
}

.products-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background:
        radial-gradient(circle at 20% 20%, rgba(48, 144, 199, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(48, 144, 199, 0.03) 0%, transparent 40%);
    pointer-events: none;
}

.section-header-modern {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(48, 144, 199, 0.1);
    color: #3090c7;
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
    font-family: 'Inter', sans-serif;
}

.section-title-modern {
    font-family: 'Inter', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.section-subtitle-modern {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Product Cards */
.product-card-modern {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 30px;
    padding: 2rem;
    margin: 1rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.05);
}

.product-card-modern::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.4) 0%, transparent 100%);
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.product-card-modern:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 40px -10px rgba(48, 144, 199, 0.15);
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(48, 144, 199, 0.3);
}

.product-card-modern:hover::before {
    opacity: 1;
}

.product-image-wrapper {
    position: relative;
    background: transparent;
    padding: 0;
    margin-bottom: 2rem;
    overflow: visible;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-image-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(48, 144, 199, 0.05), transparent);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.product-card-modern:hover .product-image-wrapper::after {
    opacity: 1;
}

.product-image-wrapper img {
    width: 100%;
    height: 280px;
    object-fit: contain;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.1));
}

.product-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--gradient-accent);
    color: white;
    padding: 0.35rem 0.75rem;
    width: fit-content;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    z-index: 10;
}

.product-card-modern:hover .product-image-wrapper img {
    transform: scale(1.15);
    z-index: 0;
}

.product-info {
    text-align: center;
}

.product-name {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 1.35rem;
    color: #1e293b;
    margin-bottom: 0.25rem;
    letter-spacing: -0.5px;
}

.product-tagline {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 1rem;
    font-weight: 500;
}

.product-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.product-rating i {
    color: #f59e0b;
    font-size: 0.8rem;
}

.product-price {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    color: #3090c7;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
}

.product-price span {
    font-size: 0.9rem;
    font-weight: 500;
    color: #94a3b8;
}

.btn-product {
    width: 100%;
    padding: 1rem 1.5rem;
    background: var(--gradient-primary);
    color: white;
    border: none;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    box-shadow: 0 4px 15px rgba(48, 144, 199, 0.25);
    position: relative;
    overflow: hidden;
    z-index: 5;
}

.btn-product:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(48, 144, 199, 0.4);
    background: var(--gradient-primary);
}

.btn-product i {
    transition: transform var(--transition-fast);
}

.btn-product:hover i {
    transform: translateX(5px);
}

/* View More Button */
.btn-view-more {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    background: var(--gradient-dark);
    color: white;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-md);
}

.btn-view-more:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* Slider Controls */
.slider-nav-modern {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.slider-btn-modern {
    width: 50px;
    height: 50px;
    border: 2px solid #e2e8f0;
    background: white;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
    color: #475569;
}

.slider-btn-modern:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    color: white;
}

/* ============================================
   About Section - Modern Split Layout
   ============================================ */
/* ============================================
   About Section - Glassy Light Theme
   ============================================ */
.about-modern {
    position: relative;
    padding: var(--section-padding) 0;
    /* Soft light gradient background matching hero */
    background: linear-gradient(180deg, #f0f4f8 0%, #e2e8f0 100%);
    overflow: hidden;
}

/* Decorative Background Elements */
.about-modern::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(48, 144, 199, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.about-modern::after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

/* Unified Glass Container */
.about-single-glass-wrapper {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 40px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    overflow: hidden; /* Contains the image within the border radius */
    margin: 0 auto;
    transition: transform 0.4s ease;
}

.about-single-glass-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 30px 80px rgba(0, 0, 0, 0.12),
        0 0 0 1px rgba(255, 255, 255, 0.6) inset;
}

/* Image Side */
.about-image-side {
    position: relative;
    overflow: hidden;
    height: 100%;
    min-height: 500px;
}

.about-single-img {
    transition: transform 0.8s ease;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-image-side:hover .about-single-img {
    transform: scale(1.05);
}

/* Content Side */
.about-content-side {
    padding: 3rem;
}

/* Floating Badge inside Image */
.experience-badge-float {
    position: absolute;
    bottom: 30px;
    left: 50%; /* Center it or place it nicely */
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 1rem 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    text-align: center;
    min-width: 180px;
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.experience-badge-float .number {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 2rem;
    background: var(--gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    line-height: 1;
}

.experience-badge-float .text {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    color: #475569;
    margin-top: 0.25rem;
    display: block;
}

.about-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    color: #3090c7;
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.about-title {
    font-family: 'Inter', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.about-title .highlight {
    background: var(--gradient-accent);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-description {
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    line-height: 1.7;
    color: #64748b;
    margin-bottom: 1.5rem;
}

/* Features Grid */
.about-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-top: 2rem;
}

.feature-glass-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(200, 240, 255, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(5px);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.feature-glass-item:hover {
    background: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    border-color: #3090c7;
}

.feature-glass-item .icon-box {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.feature-glass-item span {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    color: #334155;
    font-size: 0.95rem;
}

/* ============================================
   Services Section - Animated Cards
   ============================================ */
.services-modern {
    position: relative;
    padding: var(--section-padding) 0;
    /* background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%); */
    overflow: hidden;
}

.services-modern::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(48, 144, 199, 0.08) 0%, transparent 70%);
    top: -200px;
    right: -200px;
    border-radius: 50%;
}

.service-card-modern {
    position: relative;
    background: white;
    border-radius: 24px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all var(--transition-normal);
    border: 1px solid #e2e8f0;
    height: 100%;
    overflow: hidden;
}

.service-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

.service-card-modern:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.service-card-modern:hover::before {
    transform: scaleX(1);
}

.service-icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, rgba(48, 144, 199, 0.1), rgba(48, 144, 199, 0.05));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
}

.service-card-modern:hover .service-icon-wrapper {
    background: var(--gradient-primary);
    transform: rotate(5deg) scale(1.1);
}

.service-icon-wrapper img {
    width: 40px;
    height: 40px;
    transition: filter var(--transition-normal);
}

.service-card-modern:hover .service-icon-wrapper img {
    filter: brightness(0) invert(1);
}

.service-title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: #1a202c;
    margin-bottom: 1rem;
}

.service-description {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #64748b;
}

/* ============================================
   Stats Section - Glassmorphism Counter
   ============================================ */
.stats-modern {
    position: relative;
    padding: 6rem 0;
    background: var(--gradient-dark);
    overflow: hidden;
}

/* ============================================
   Stats Section - Fixed Background
   ============================================ */
.stats-modern {
    position: relative;
    padding: 8rem 0;
    overflow: hidden;
    background-image: url('../images/bti-main-view.jpg');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stats-modern::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.7); /* Dark overlay for text contrast */
    z-index: 1;
}

.stats-pattern {
    display: none; /* Removed pattern for cleaner look */
}

.card-z-10 {
    position: relative;
    z-index: 10;
}

.stats-header {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.stats-title {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    color: white;
    margin-bottom: 0.5rem;
}

.stats-card {
    background: rgba(255, 255, 255, 0.95); /* Solid White for maximum contrast */
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 1);
    border-radius: 30px;
    padding: 3rem;
    text-align: center;
    position: relative;
    z-index: 2;
    margin: 0 auto;
    max-width: 650px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5); /* Strong shadow to lift off background */
}

.stats-number {
    font-family: 'Inter', sans-serif;
    font-size: clamp(3.5rem, 8vw, 5.5rem);
    font-weight: 900;
    /* Brand Gradient Text */
    background: var(--gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #3090c7; /* Fallback */
    
    line-height: 1.1;
    margin-bottom: 0.5rem;
    letter-spacing: -2px;
    filter: drop-shadow(0 2px 10px rgba(48, 144, 199, 0.3)); /* Colored glow */
    text-shadow: none;
}

.stats-label {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    color: #475569; /* Dark text for readability on white */
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ============================================
   Contact Section - Modern Layout
   ============================================ */
.contact-modern {
    position: relative;
    padding: var(--section-padding) 0;
    /* background: #ffffff; */
    overflow: hidden;
}

.contact-info-card {
    background: #f8fafc;
    border-radius: 24px;
    padding: 2rem;
    height: 100%;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: white;
    border-radius: 16px;
    margin-bottom: 1rem;
    transition: all var(--transition-normal);
    border: 1px solid #e2e8f0;
}

.contact-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
    border-color: #3090c7;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-accent);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon img {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
}

.contact-text h4 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.contact-text p,
.contact-text a {
    font-family: 'Inter', sans-serif;
    color: #64748b;
    font-size: 0.95rem;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.contact-text a:hover {
    color: #3090c7;
}

.map-container {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    height: 100%;
    min-height: 350px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    min-height: 350px;
    border: none;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1199.98px) {
    .hero-float-badge {
        display: none;
    }

    .about-content-side {
        padding-left: 2rem;
    }
}

@media (max-width: 991.98px) {
    .hero-modern {
        min-height: auto;
        padding: 3rem 0;
    }

    .hero-image-wrapper {
        margin-top: 3rem;
    }

    /* Responsive Single Glass */
    .about-content-side {
        padding: 2.5rem;
    }

    .about-image-side {
        min-height: 300px;
        height: 300px;
    }

    .experience-badge-float {
        bottom: 20px;
        padding: 0.75rem 1.5rem;
    }
}

@media (max-width: 767.98px) {
    .about-single-glass-wrapper {
        border-radius: 30px;
    }

    .about-content-side {
        padding: 2rem 1.5rem;
    }

    .about-image-side {
        height: 250px;
        min-height: 250px;
    }

    .stats-modern {
        background-attachment: scroll; /* Disable fixed attachment on mobile for performance/support */
    }
    
    .stats-number {
        font-size: 3rem;
    }

    .about-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    :root {
        --section-padding: 3rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-badge {
        font-size: 0.8rem;
        padding: 0.4rem 1rem;
    }

    .section-title-modern {
        font-size: 1.75rem;
    }

    .product-card-modern {
        margin: 0.5rem;
    }

    .experience-badge {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 1.5rem;
        display: inline-block;
    }

    .experience-badge .number {
        font-size: 2rem;
    }

    .stats-card {
        padding: 2rem 1.5rem;
    }

    .stats-number {
        font-size: 2.5rem;
    }

    .service-card-modern {
        padding: 2rem 1.5rem;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .contact-icon {
        margin: 0 auto;
    }

    .map-container {
        margin-top: 2rem;
    }

    .about-image-side {
        display: flex;
        flex-direction: column;
    }
}

@media (max-width: 575.98px) {
    .hero-description {
        font-size: 1rem;
    }

    .btn-modern {
        width: 100%;
        justify-content: center;
    }

    .about-features {
        gap: 0.75rem;
    }

    .feature-item {
        padding: 0.6rem 0.8rem;
    }
}

/* ============================================
   Utility Classes
   ============================================ */
.text-gradient {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hover-lift {
    transition: transform var(--transition-normal);
}

.hover-lift:hover {
    transform: translateY(-5px);
}

/* ============================================
   Footer Section - Glassy Floating Design
   ============================================ */
.footer-wrapper-modern {
    position: relative;
    background: #111827; /* Dark background for footer area */
    margin-top: 100px; /* Space for the floating card overlap */
    padding-bottom: 0;
}

/* Floating Newsletter/CTA Card */
.newsletter-glass-modern {
    position: absolute;
    top: -80px; /* Overlap upwards */
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #3090c7 0%, #0ea5e9 100%);
    border-radius: 30px;
    padding: 3rem;
    box-shadow: 
        0 20px 50px rgba(48, 144, 199, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.2) inset;
    overflow: hidden;
    z-index: 10;
    backdrop-filter: blur(10px);
}

.newsletter-glass-modern::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(30%, -30%);
}

.newsletter-glass-modern::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-30%, 30%);
}

.newsletter-title {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    color: white;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 2;
}

.newsletter-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
    position: relative;
    z-index: 2;
}

/* Floating Whatsapp Button */
.btn-whatsapp-floating {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: white;
    color: #3090c7;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
}

.btn-whatsapp-floating:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    color: #0d4f7a;
    background: white;
}

.btn-whatsapp-floating i {
    font-size: 1.25rem;
}