/* Modern Header Navbar Styles */
.modern-navbar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding: 0 !important;
    transition: all 0.3s ease !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.3) !important;
}

.modern-navbar.scrolled {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.98) 100%) !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15) !important;
}

.navbar-brand {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    font-weight: 800 !important;
    font-size: 1.5rem !important;
    color: white !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
}

.navbar-brand:hover {
    transform: translateY(-2px) !important;
}

.navbar-brand:hover .brand-icon {
    transform: rotate(5deg) scale(1.05) !important;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500 !important;
    font-size: 0.95rem !important;
    padding: 0.6rem 1rem !important;
    margin: 0 0.2rem !important;
    border-radius: 8px !important;
    transition: all 0.3s ease !important;
    position: relative !important;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: white !important;
    background: rgba(255, 255, 255, 0.2) !important;
    transform: translateY(-1px) !important;
}

.brand-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    background: rgba(255, 255, 255, 0.2) !important;
    color: white !important;
    border-radius: 12px !important;
    font-size: 1.2rem !important;
    font-weight: bold !important;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
}

.brand-text {
    color: white !important;
}

.navbar-brand:hover {
    transform: translateY(-2px) !important;
}

.navbar-brand:hover .brand-icon {
    transform: rotate(5deg) scale(1.05) !important;
}

.navbar-nav .nav-link {
    color: #000000 !important;
    font-weight: 500 !important;
    font-size: 0.95rem !important;
    padding: 0.6rem 1rem !important;
    margin: 0 0.2rem !important;
    border-radius: 8px !important;
    transition: all 0.3s ease !important;
    position: relative !important;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #000000 !important;
    background: rgba(0, 0, 0, 0.1) !important;
    transform: translateY(-1px) !important;
}

.nav-link.active::after {
    content: '' !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 30px !important;
    height: 3px !important;
    background: #000000 !important;
    border-radius: 2px !important;
}

.nav-cta {
    background: rgba(255, 255, 255, 0.2) !important;
    color: white !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 25px !important;
    padding: 0.5rem 1.2rem !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
}

.nav-cta:hover {
    background: rgba(255, 255, 255, 0.3) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2) !important;
}

.nav-cta-primary {
    background: white !important;
    color: #667eea !important;
    border: none !important;
    border-radius: 25px !important;
    padding: 0.5rem 1.5rem !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3) !important;
    transition: all 0.3s ease !important;
}

.nav-cta-primary:hover {
    transform: translateY(-2px) scale(1.05) !important;
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.4) !important;
}

.dropdown-menu {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(102, 126, 234, 0.1) !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
    padding: 0.5rem !important;
    margin-top: 0.5rem !important;
}

.dropdown-item {
    color: #475569 !important;
    font-size: 0.9rem !important;
    padding: 0.5rem 1rem !important;
    border-radius: 6px !important;
    transition: all 0.2s ease !important;
}

.dropdown-item:hover {
    background: rgba(102, 126, 234, 0.08) !important;
    color: #667eea !important;
    transform: translateX(2px) !important;
}

.dropdown-divider {
    border-color: rgba(102, 126, 234, 0.1) !important;
    margin: 0.5rem 0 !important;
}

.user-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 24px !important;
    height: 24px !important;
    background: linear-gradient(135deg, #667eea, #764ba2) !important;
    color: white !important;
    border-radius: 50% !important;
    font-size: 0.8rem !important;
    margin-right: 0.5rem !important;
}

.navbar-toggler {
    border: none !important;
    padding: 0.25rem 0.5rem !important;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23667eea' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* Responsive Header */
@media (max-width: 768px) {
    .modern-navbar {
        padding: 0.6rem 0 !important;
    }
    
    .navbar-brand {
        font-size: 1.2rem !important;
    }
    
    .brand-icon {
        width: 32px !important;
        height: 32px !important;
        font-size: 1rem !important;
    }
    
    .navbar-nav .nav-link {
        margin: 0.2rem 0 !important;
        padding: 0.5rem 1rem !important;
    }
    
    .nav-cta,
    .nav-cta-primary {
        margin: 0.5rem 1rem !important;
        text-align: center !important;
    }
}

/* Custom styles for Express MySQL App */

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
    /* Fix for high DPI displays */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    /* Improve desktop scaling */
    min-height: 100vh;
    overflow-x: hidden;
    /* Cross-browser compatibility */
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

:root {
    --itx-primary: #1d4ed8;
    --itx-primary-soft: #3b82f6;
    --itx-secondary: #0f766e;
    --itx-accent: #f59e0b;
    --itx-text: #1f2937;
    --itx-muted: #6b7280;
    --itx-surface: #ffffff;
    --itx-bg: #f3f7ff;
}

.itx-page {
    background:
        radial-gradient(circle at 0% 0%, rgba(29, 78, 216, 0.09), transparent 40%),
        radial-gradient(circle at 100% 10%, rgba(15, 118, 110, 0.08), transparent 45%),
        linear-gradient(180deg, #f8fbff 0%, #eef4ff 100%);
    color: var(--itx-text);
}

.itx-navbar {
    background: linear-gradient(120deg, #0f172a 0%, #1d4ed8 55%, #0f766e 100%) !important;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.16);
}

.itx-navbar .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.92) !important;
}

.itx-navbar .navbar-nav .nav-link:hover,
.itx-navbar .navbar-nav .nav-link.active {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.18) !important;
}

.itx-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1d4ed8 55%, #0f766e 100%);
    color: #fff;
    padding: 4.5rem 0 4rem;
}

.itx-hero h1,
.itx-hero p {
    color: #fff;
}

.itx-section {
    padding: 3.25rem 0;
}

.itx-section-alt {
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(2px);
}

.itx-card {
    background: var(--itx-surface);
    border: 1px solid rgba(29, 78, 216, 0.12);
    border-radius: 16px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
    padding: 1.5rem;
    height: 100%;
}

.itx-card h5,
.itx-card h4,
.itx-card h3 {
    color: #0f172a;
}

.itx-section-title {
    color: var(--itx-primary);
    font-weight: 700;
}

.itx-stat {
    background: linear-gradient(165deg, #ffffff 0%, #eff6ff 100%);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 14px;
    padding: 1.25rem;
    text-align: center;
}

.itx-stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--itx-primary);
    margin-bottom: 0.25rem;
}

.itx-price-tag {
    display: inline-block;
    background: linear-gradient(135deg, var(--itx-primary) 0%, var(--itx-secondary) 100%);
    color: white;
    border-radius: 999px;
    padding: 0.3rem 0.8rem;
    font-size: 0.85rem;
    font-weight: 700;
}

.service-card {
    background: var(--itx-surface);
    border: 1px solid rgba(29, 78, 216, 0.12);
    border-radius: 16px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
    padding: 1.5rem;
    height: 100%;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.12);
}

.service-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.service-link {
    color: var(--itx-primary);
    text-decoration: none;
    font-weight: 600;
}

.service-link:hover {
    color: var(--itx-secondary);
    text-decoration: underline;
}

.price-tag {
    display: inline-block;
    background: linear-gradient(135deg, var(--itx-primary) 0%, var(--itx-secondary) 100%);
    color: #fff;
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
}

.itx-cta {
    background: linear-gradient(135deg, #0f172a 0%, #1d4ed8 60%, #0f766e 100%);
    color: #fff;
}

.itx-cta h2,
.itx-cta p {
    color: #fff;
}

.itx-footer {
    background: #0b1220;
    color: #cbd5e1;
}

.itx-footer p {
    margin-bottom: 0;
    color: #cbd5e1;
}

.jumbotron {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.card-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 10px 10px 0 0 !important;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 25px;
    padding: 10px 25px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.25);
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.35);
}

.btn-outline-primary {
    border: 2px solid #667eea;
    color: #667eea;
    background: transparent;
    border-radius: 25px;
    padding: 10px 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-outline-primary:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #764ba2;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.35);
}

.btn-lg {
    padding: 8px 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.table {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.table thead th {
    border: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
}

.navbar-logo {
    height: 45px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    margin: 0;
}

.alert {
    border-radius: 10px;
    border: none;
}

.form-control {
    border-radius: 8px;
    border: 1px solid #dee2e6;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

footer {
    margin-top: auto;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .card {
        margin-bottom: 20px;
    }
    
    .btn {
        margin-bottom: 10px;
    }
}

/* Hero Section - Modern UI/UX Design */
.hero-section {
    padding: 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    position: relative;
    overflow: hidden;
    min-height: 850px;
    display: none;
    align-items: center;
    margin: 0;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="hero-grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(102, 126, 234, 0.03)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23hero-grid)"/></svg>'),
        radial-gradient(circle at 25% 25%, rgba(102, 126, 234, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(118, 75, 162, 0.05) 0%, transparent 50%);
    opacity: 0.8;
}

/* Floating Elements for Visual Depth */
.hero-section::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    top: 10%;
    right: 10%;
    animation: float-slow 8s ease-in-out infinite;
    pointer-events: none;
}

.hero-container:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 48px 96px rgba(0, 0, 0, 0.15),
        0 24px 48px rgba(102, 126, 234, 0.12),
        0 12px 24px rgba(118, 75, 162, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

@keyframes float-slow {
    0%, 100% { 
        transform: translate(0, 0) scale(1);
        opacity: 0.6;
    }
    50% { 
        transform: translate(20px, -20px) scale(1.1);
        opacity: 0.8;
    }
}

/* Hero Container - Glass-morphism Design */
.hero-container {
    background: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 100%),
        linear-gradient(225deg, rgba(102, 126, 234, 0.02) 0%, transparent 50%);
    backdrop-filter: blur(30px) saturate(180%);
    border-radius: 16px;
    padding: 0;
    box-shadow: 
        0 16px 32px rgba(0, 0, 0, 0.08),
        0 8px 16px rgba(102, 126, 234, 0.06),
        0 4px 8px rgba(118, 75, 162, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 
        1px solid rgba(255, 255, 255, 0.8),
        1px solid rgba(102, 126, 234, 0.1);
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    width: 100%;
    max-width: 1700px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.08), transparent);
    animation: shimmer 4s infinite;
}

.hero-container::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.03) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(120deg); }
    66% { transform: translate(-20px, 20px) rotate(240deg); }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

/* Hero Typography - Modern Hierarchy */
.hero-title {
    font-size: clamp(1.5rem, 3.5vw, 2.5rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #667eea 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 3s ease-in-out infinite;
    position: relative;
}

.hero-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 2px;
    animation: pulse-glow 2s ease-in-out infinite;
}

.hero-subtitle {
    font-size: clamp(0.85rem, 1.8vw, 1.1rem);
    font-weight: 600;
    color: #475569;
    margin-bottom: 0.25rem;
    line-height: 1.3;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.3s forwards;
}

.hero-description {
    font-size: clamp(0.75rem, 1.6vw, 0.9rem);
    color: #64748b;
    margin-bottom: 0.5rem;
    line-height: 1.5;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.5s forwards;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 0.35rem 0.7rem;
    border-radius: 50px;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 0.6rem;
    box-shadow: 
        0 4px 16px rgba(102, 126, 234, 0.25),
        0 2px 8px rgba(118, 75, 162, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    animation: badge-float 3s ease-in-out infinite;
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.hero-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: badge-shine 3s infinite;
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes pulse-glow {
    0%, 100% { 
        box-shadow: 0 4px 16px rgba(102, 126, 234, 0.4);
        transform: translateX(-50%) scale(1);
    }
    50% { 
        box-shadow: 0 8px 32px rgba(102, 126, 234, 0.6);
        transform: translateX(-50%) scale(1.05);
    }
}

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

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

@keyframes badge-shine {
    0% { left: -100%; }
    100% { left: 100%; }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

.badge-text {
    color: white;
}

/* Hero Stats Grid */
.hero-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 0.2rem;
    width: 100%;
    margin-bottom: 0.3rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 0.3rem;
    text-align: center;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.2);
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(102, 126, 234, 0.3);
}

.stat-icon {
    font-size: 1.3rem;
    margin-bottom: 0.1rem;
    display: block;
}

.stat-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

/* Hero Features Grid */
.hero-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

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

.feature-card .feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #667eea;
}

.feature-card h6 {
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.feature-card p {
    font-size: 0.9rem;
    color: #64748b;
    margin: 0;
}

/* Hero Features List */
.hero-features-list {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 0.3rem;
    margin-bottom: 0.3rem;
    width: 100%;
}

.hero-feature-item {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.2rem;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.hero-feature-item:hover {
    background: rgba(102, 126, 234, 0.08);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.2);
}

.hero-icon {
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    color: white;
}

.hero-feature-item h6 {
    margin: 0;
    font-size: 0.85rem;
    font-weight: 600;
    color: #1e293b;
}

.hero-feature-item p {
    margin: 0.1rem 0 0 0;
    font-size: 0.7rem;
    color: #64748b;
    line-height: 1.3;
}

/* Hero Actions - Modern Button Design */
.hero-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.6rem;
    margin-top: 0.8rem;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.7s forwards;
}

.hero-actions .btn {
    position: relative;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-actions .btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 
        0 8px 32px rgba(102, 126, 234, 0.3),
        0 4px 16px rgba(118, 75, 162, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.hero-actions .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.hero-actions .btn-primary:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 
        0 16px 64px rgba(102, 126, 234, 0.4),
        0 8px 32px rgba(118, 75, 162, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.hero-actions .btn-primary:hover::before {
    left: 100%;
}

.hero-actions .btn-outline-primary {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
    box-shadow: 
        0 8px 32px rgba(102, 126, 234, 0.1),
        inset 0 0 0 0 rgba(102, 126, 234, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-actions .btn-outline-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #667eea, #764ba2);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.hero-actions .btn-outline-primary:hover {
    color: white;
    border-color: #764ba2;
    transform: translateY(-4px) scale(1.05);
    box-shadow: 
        0 16px 64px rgba(102, 126, 234, 0.3),
        0 8px 32px rgba(118, 75, 162, 0.2);
}

.hero-actions .btn-outline-primary:hover::before {
    opacity: 1;
}

/* Typography improvements */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

p {
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Spacing improvements */
.card {
    margin-bottom: 2rem;
}

.btn {
    margin: 0.5rem;
}

/* Main container spacing - no gaps */
main.container {
    padding-top: 0;
    padding-bottom: 0;
    margin-top: 0;
}

/* Section spacing - no gaps */
.products {
    margin-bottom: 0;
}

.product-sec-wrapper {
    margin-bottom: 0;
}

/* No gaps between sections */
section {
    margin-bottom: 0;
}

/* Container padding improvements */
@media (max-width: 768px) {
    main.container {
        padding: 0.5rem;
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
    }
    
    .products {
        margin-bottom: 0.8rem;
    }
    
    .product-sec-wrapper {
        margin-bottom: 0.5rem;
    }
}

/* Desktop specific styles */
@media (min-width: 1200px) {
    .hero-container {
        padding: 4rem;
        max-width: 1200px;
        margin: 0 auto;
    }
    
    .hero-stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .hero-features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1600px) {
    .hero-container {
        padding: 5rem;
        max-width: 1400px;
    }
    
    body {
        font-size: 18px;
    }
}

/* High DPI display fixes */
@media (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) {
    .hero-container {
        transform: scale(0.8);
        transform-origin: top center;
    }
}

/* Tablet styles */
@media (min-width: 768px) and (max-width: 1199px) {
    .hero-container {
        padding: 3rem;
        max-width: 100%;
    }
    
    .hero-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .hero-features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .stat-card, .feature-card {
        padding: 1.2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
}

/* Large desktop styles */
@media (min-width: 1920px) {
    .hero-container {
        padding: 6rem;
        max-width: 1600px;
    }
    
    .hero-stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
    
    .hero-features-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }
    
    .stat-card, .feature-card {
        padding: 2rem;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .hero-description {
        font-size: 1.2rem;
    }
    
    .btn {
        padding: 1.2rem 2.8rem;
        font-size: 1.1rem;
    }
}

/* Ultra-wide desktop styles */
@media (min-width: 2560px) {
    .hero-container {
        padding: 8rem;
        max-width: 2000px;
    }
    
    .hero-title {
        font-size: 4.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .hero-description {
        font-size: 1.4rem;
    }
}

/* Animation for page transitions */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

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

/* Legal Services Categories Section */
.legal-categories-section {
    padding: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 100%);
    border-radius: 20px;
    margin: 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #64748b;
    margin-top: 0.8rem;
    margin-bottom: 0;
}

.category-card {
    background: white;
    border-radius: 15px;
    padding: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(102, 126, 234, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.2);
    border-color: #667eea;
}

.category-icon {
    text-align: center;
    margin-bottom: 0.8rem;
}

.icon-emoji {
    font-size: 3rem;
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    line-height: 80px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.category-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.category-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
    text-align: center;
}

.category-content p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 0.8rem;
    text-align: center;
    flex: 1;
}

.category-features {
    list-style: none;
    padding: 0;
    margin-bottom: 1rem;
    text-align: left;
}

.category-features li {
    padding: 0.3rem 0;
    color: #475569;
    font-size: 0.9rem;
    position: relative;
    padding-left: 1.5rem;
}

.category-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
}

.category-card .btn {
    align-self: center;
    border-radius: 25px;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.category-card .btn-outline-primary {
    border-color: #667eea;
    color: #667eea;
}

.category-card .btn-outline-primary:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #764ba2;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

/* Responsive Design for Full-Size Hero Section */
@media (max-width: 1400px) {
    .hero-section {
        height: 100vh;
        min-height: 700px;
    }
    
    .hero-container {
        width: 95%;
        max-width: 1200px;
        padding: 2.5rem 2rem;
        max-height: 85vh;
    }
}

@media (max-width: 1200px) {
    .hero-section {
        height: 100vh;
        min-height: 650px;
    }
    
    .hero-container {
        width: 95%;
        max-width: 1000px;
        padding: 2.5rem 1.8rem;
        max-height: 85vh;
    }
    
    .hero-title {
        font-size: clamp(2rem, 4.5vw, 3rem);
    }
}

@media (max-width: 992px) {
    .hero-section {
        height: 100vh;
        min-height: 600px;
    }
    
    .hero-container {
        width: 95%;
        max-width: 900px;
        padding: 2rem 1.5rem;
        border-radius: 20px;
        max-height: 85vh;
    }
    
    .hero-title {
        font-size: clamp(1.8rem, 5vw, 2.5rem);
        margin-bottom: 1.2rem;
    }
    
    .hero-subtitle {
        font-size: clamp(1rem, 3vw, 1.2rem);
    }
    
    .hero-description {
        font-size: clamp(0.9rem, 2.5vw, 1rem);
        margin-bottom: 2rem;
    }
    
    .hero-actions {
        gap: 1rem;
        margin-top: 2rem;
    }
    
    .hero-actions .btn {
        padding: 0.8rem 2rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        height: 100vh;
        min-height: 550px;
    }
    
    .hero-container {
        width: 95%;
        max-width: 700px;
        padding: 1.8rem 1.2rem;
        border-radius: 18px;
        max-height: 85vh;
    }
    
    .hero-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: clamp(0.9rem, 3.5vw, 1.1rem);
        margin-bottom: 0.8rem;
    }
    
    .hero-description {
        font-size: clamp(0.85rem, 3vw, 0.95rem);
        margin-bottom: 1.5rem;
    }
    
    .hero-badge {
        padding: 0.5rem 1rem;
        font-size: 0.7rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        margin-top: 1.5rem;
    }
    
    .hero-actions .btn {
        width: 100%;
        max-width: 280px;
        padding: 0.8rem 1.5rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        height: 100vh;
        min-height: 500px;
    }
    
    .hero-container {
        width: 95%;
        padding: 1.5rem 1rem;
        border-radius: 16px;
        margin: 0 auto;
        max-height: 85vh;
    }
    
    .hero-title {
        font-size: clamp(1.3rem, 7vw, 1.8rem);
        margin-bottom: 0.8rem;
    }
    
    .hero-subtitle {
        font-size: clamp(0.85rem, 4vw, 1rem);
        margin-bottom: 0.6rem;
    }
    
    .hero-description {
        font-size: clamp(0.8rem, 3.5vw, 0.9rem);
        margin-bottom: 1.2rem;
    }
    
    .hero-badge {
        padding: 0.4rem 0.8rem;
        font-size: 0.65rem;
        margin-bottom: 1rem;
    }
}

/* Footer Logo Styles */
.footer-logo-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    gap: 0.5rem;
}

.footer-logo-img {
    height: 30px;
    width: auto;
    object-fit: contain;
}

.footer-logo-text {
    color: #000000;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Responsive adjustments for category cards - removed gaps */
@media (max-width: 768px) {
    .hero-section {
        padding: 0;
    }
    
    .hero-container {
        padding: 0.8rem 0.5rem;
        margin: 0 auto;
        width: 100%;
        max-width: 576px;
        height: auto;
    }
    
    .hero-title {
        font-size: 1.5rem;
        margin-bottom: 0.3rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 0.2rem;
    }
    
    .hero-description {
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-features-list {
        padding: 0.5rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-feature-item {
        padding: 0.4rem;
        gap: 0.3rem;
    }
    
    .hero-feature-item h6 {
        font-size: 0.85rem;
    }
    
    .hero-feature-item p {
        font-size: 0.75rem;
    }
    
    .hero-icon {
        width: 30px;
        height: 30px;
        font-size: 1.1rem;
    }
    
    .hero-stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.3rem;
    }
    
    .stat-card {
        padding: 0.4rem;
    }
    
    .stat-icon {
        font-size: 1.2rem;
        margin-bottom: 0.1rem;
    }
    
    .stat-content strong {
        font-size: 0.8rem;
    }
    
    .stat-content small {
        font-size: 0.7rem;
    }
    
    .hero-actions {
        gap: 0.5rem;
        margin-top: 0.8rem;
    }
    
    .btn-lg {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
        max-width: 250px;
    }
}

/* ========================================
   NEW HERO SECTION - Properly Sized Design
   ======================================== */
.hero-section-redesigned {
    padding: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
    min-height: 60vh;
    max-height: 70vh;
    display: flex;
    align-items: center;
    margin: 0;
}

.hero-section-redesigned::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
}

.hero-container-redesigned {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 2rem;
    width: 100%;
    box-sizing: border-box;
}

.hero-content-redesigned {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-left-redesigned {
    color: white;
}

.hero-badge-redesigned {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 0.3rem 0.6rem;
    border-radius: 50px;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    backdrop-filter: blur(10px);
}

.hero-title-redesigned {
    font-size: clamp(1.2rem, 2.5vw, 2rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 0.5rem;
    color: white;
}

.hero-subtitle-redesigned {
    font-size: clamp(0.8rem, 1.5vw, 0.95rem);
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 0.4rem;
    line-height: 1.4;
}

.hero-description-redesigned {
    font-size: clamp(0.75rem, 1.2vw, 0.85rem);
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1rem;
    line-height: 1.6;
    max-width: 600px;
}

/* Feature Cards */
.hero-features-redesigned {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.feature-card-redesigned {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 0.5rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.feature-card-redesigned:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.feature-icon-redesigned {
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    margin-bottom: 0.3rem;
    color: white;
}

.feature-card-redesigned h4 {
    font-size: 0.75rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.15rem;
}

.feature-card-redesigned p {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    line-height: 1.3;
}

/* Hero Actions */
.hero-actions-redesigned {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.hero-actions-redesigned .btn {
    padding: 0.5rem 1.2rem;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.hero-actions-redesigned .btn-primary-redesigned {
    background: white;
    color: #667eea;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-actions-redesigned .btn-primary-redesigned:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.hero-actions-redesigned .btn-outline-redesigned {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.hero-actions-redesigned .btn-outline-redesigned:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-2px);
}

/* Right Side Visual */
.hero-right-redesigned {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-visual-redesigned {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    max-width: 400px;
    width: 100%;
    height: 300px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-visual-content {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-visual-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    animation: image-float 4s ease-in-out infinite;
}

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

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-content-redesigned {
        gap: 3rem;
    }
    
    .hero-visual-redesigned {
        padding: 2.5rem;
    }
    
    .visual-icon-redesigned {
        font-size: 5rem;
    }
}

@media (max-width: 992px) {
    .hero-content-redesigned {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-left-redesigned {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-description-redesigned {
        max-width: 100%;
    }
    
    .hero-features-redesigned {
        grid-template-columns: repeat(2, 1fr);
        max-width: 500px;
    }
    
    .hero-actions-redesigned {
        justify-content: center;
    }
    
    .hero-visual-redesigned {
        max-width: 450px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .hero-section-redesigned {
        min-height: auto;
        padding: 3rem 0;
    }
    
    .hero-container-redesigned {
        padding: 2rem 1.5rem;
    }
    
    .hero-title-redesigned {
        font-size: clamp(1.75rem, 5vw, 2.5rem);
    }
    
    .hero-features-redesigned {
        grid-template-columns: 1fr;
        max-width: 100%;
    }
    
    .visual-stats-redesigned {
        grid-template-columns: 1fr;
    }
    
    .hero-actions-redesigned {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions-redesigned .btn {
        width: 100%;
        justify-content: center;
    }
    
    .visual-icon-redesigned {
        font-size: 4rem;
    }
}

/* Responsive adjustments for category cards */
@media (max-width: 768px) {
    .legal-categories-section {
        padding: 2rem 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .category-card {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .icon-emoji {
        font-size: 2.5rem;
        width: 60px;
        height: 60px;
        line-height: 60px;
    }
    
    .category-content h3 {
        font-size: 1.3rem;
    }
    
    /* Product sections spacing fixes - removed gaps */
    .products {
        margin-bottom: 0.5rem;
    }
    
    .product-sec-wrapper {
        margin-bottom: 0.3rem;
    }
    
    .product-item {
        margin-bottom: 0.5rem;
        padding: 0.5rem;
    }
    
    .product-thumbnail {
        margin-bottom: 0.3rem;
    }
    
    .product-meta h3 {
        margin-bottom: 0.2rem;
        font-size: 1rem;
    }
    
    .product-meta p {
        margin-bottom: 0.1rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .category-card {
        padding: 1rem;
    }
    
    .icon-emoji {
        font-size: 2rem;
        width: 50px;
        height: 50px;
        line-height: 50px;
    }
    
    .category-content h3 {
        font-size: 1.2rem;
    }
    
    .category-features {
        margin-bottom: 1.5rem;
    }
    
    .category-features li {
        font-size: 0.85rem;
    }
}

/* Footer Styles - Modern Brand Colors */
footer {
    background: #ffffff !important;
    color: #000000 !important;
    padding: 2rem 0 1.5rem !important;
    margin-top: 0 !important;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.5), transparent);
}

footer .footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (min-width: 1024px) {
    footer .footer-container {
        padding: 0 1rem;
    }
}

footer .footer-logo {
    margin-bottom: 1.5rem;
}

footer .footer-logo video {
    width: 150px;
    height: 33px;
}

footer .footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    footer .footer-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 1rem;
    }
}

footer .footer-section {
    margin-bottom: 1.5rem;
}

footer .footer-section h4 {
    font-size: 14px;
    font-weight: 700;
    padding-top: 0.25rem;
    padding-bottom: 0.5rem;
    margin-bottom: 0.75rem;
    border-bottom: 2px solid #667eea;
    display: inline-block;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

footer .footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

footer .footer-section ul li {
    margin-bottom: 0.5rem;
}

footer .footer-section ul li a {
    color: #000000;
    font-size: 12px;
    line-height: 1.6;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 2px 0;
    display: inline-block;
}

footer .footer-section ul li a:hover {
    color: #667eea;
    transform: translateX(2px);
}

/* Blog Section - Compact UI/UX Design */
.blog-section {
    padding: 1rem 0;
    background: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.9) 100%),
        radial-gradient(circle at 25% 25%, rgba(102, 126, 234, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(118, 75, 162, 0.03) 0%, transparent 50%);
    position: relative;
    overflow: hidden;
}

.blog-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="blog-grid" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M 50 0 L 0 0 0 50" fill="none" stroke="rgba(102, 126, 234, 0.02)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23blog-grid)"/></svg>');
    opacity: 0.5;
    pointer-events: none;
}

/* Blog Header */
.blog-header {
    text-align: center;
    margin-bottom: 0.8rem;
    position: relative;
    z-index: 1;
}

.blog-badge {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 0.3rem 0.6rem;
    border-radius: 50px;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 0.6rem;
    box-shadow: 
        0 4px 16px rgba(102, 126, 234, 0.2),
        0 2px 8px rgba(118, 75, 162, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    animation: badge-float 3s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.blog-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: badge-shine 3s infinite;
}

.blog-title {
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #667eea 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 3s ease-in-out infinite;
}

.blog-subtitle {
    font-size: clamp(0.8rem, 1.8vw, 1rem);
    color: #64748b;
    line-height: 1.4;
    max-width: 500px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

/* Blog Card */
.blog-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.04),
        0 3px 10px rgba(102, 126, 234, 0.03);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 1px solid rgba(102, 126, 234, 0.05);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 25px 60px rgba(102, 126, 234, 0.15),
        0 15px 35px rgba(118, 75, 162, 0.1),
        0 5px 15px rgba(0, 0, 0, 0.1);
    border-color: rgba(102, 126, 234, 0.2);
}

.blog-card.featured {
    grid-column: span 2;
    grid-row: span 1;
}

.blog-card.featured .blog-image-container {
    height: 160px;
}

/* Blog Image Container */
.blog-image-container {
    position: relative;
    height: 140px;
    overflow: hidden;
}

.blog-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.blog-card:hover .blog-image {
    transform: scale(1.1);
}

.blog-category {
    position: absolute;
    top: 0.6rem;
    left: 0.6rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 0.25rem 0.6rem;
    border-radius: 20px;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    box-shadow: 0 3px 8px rgba(102, 126, 234, 0.25);
    z-index: 2;
}

.blog-reading-time {
    position: absolute;
    top: 0.6rem;
    right: 0.6rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    color: #475569;
    padding: 0.25rem 0.6rem;
    border-radius: 20px;
    font-size: 0.65rem;
    font-weight: 500;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

/* Blog Content */
.blog-content {
    padding: 0.8rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: #64748b;
}

.blog-author {
    font-weight: 600;
    color: #475569;
}

.blog-date {
    opacity: 0.8;
}

.blog-post-title {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.3;
    color: #1e293b;
    margin-bottom: 0.8rem;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.blog-card:hover .blog-post-title {
    color: #667eea;
}

.blog-excerpt {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1rem;
    display: -webkit-box;
    line-clamp: 3;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

/* Blog Tags */
.blog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tag {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid rgba(102, 126, 234, 0.2);
    transition: all 0.3s ease;
}

.tag:hover {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

/* Blog Read More */
.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #667eea;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    align-self: flex-start;
    position: relative;
}

.blog-read-more .arrow {
    transition: transform 0.3s ease;
}

.blog-read-more:hover {
    color: #764ba2;
    gap: 0.8rem;
}

.blog-read-more:hover .arrow {
    transform: translateX(4px);
}

/* Blog CTA Section */
.blog-cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    box-shadow: 
        0 15px 45px rgba(102, 126, 234, 0.25),
        0 8px 25px rgba(118, 75, 162, 0.15);
}

.blog-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: float 8s ease-in-out infinite;
}

.cta-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.cta-content h3 {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.cta-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.cta-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
}

.cta-input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.cta-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.cta-input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.15);
}

.cta-button {
    padding: 1rem 2rem;
    background: white;
    color: #667eea;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
}

/* CTA Stats */
.cta-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: relative;
    z-index: 1;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Blog Footer */
.blog-footer {
    text-align: center;
    position: relative;
    z-index: 1;
}

.view-all-blogs {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 2.5rem;
    background: white;
    color: #667eea;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 10px 40px rgba(102, 126, 234, 0.15),
        0 5px 20px rgba(118, 75, 162, 0.1);
    border: 2px solid rgba(102, 126, 234, 0.1);
    position: relative;
    overflow: hidden;
}

.view-all-blogs::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.05), transparent);
    transition: left 0.6s ease;
}

.view-all-blogs:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 
        0 20px 60px rgba(102, 126, 234, 0.25),
        0 10px 30px rgba(118, 75, 162, 0.15);
    gap: 1.5rem;
}

.view-all-blogs:hover::before {
    left: 100%;
}

.arrow-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-radius: 50%;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.view-all-blogs:hover .arrow-circle {
    transform: rotate(45deg) scale(1.1);
}

/* Responsive Design for Blog Section */
@media (max-width: 1200px) {
    .blog-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 1.5rem;
    }
    
    .blog-card.featured {
        grid-column: span 1;
    }
    
    .blog-cta {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .cta-form {
        max-width: 100%;
    }
    
    .cta-stats {
        flex-direction: row;
        justify-content: center;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .blog-section {
        padding: 1.5rem 0;
    }
    
    .blog-header {
        margin-bottom: 1rem;
    }
    
    .blog-title {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }
    
    .blog-subtitle {
        font-size: 0.9rem;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .blog-card {
        border-radius: 12px;
    }
    
    .blog-image-container {
        height: 140px;
    }
    
    .blog-card.featured .blog-image-container {
        height: 160px;
    }
    
    .blog-content {
        padding: 1rem;
    }
    
    .blog-post-title {
        font-size: 1rem;
    }
    
    .blog-excerpt {
        font-size: 0.85rem;
    }
    
    .blog-cta {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .cta-content h3 {
        font-size: 1.3rem;
    }
    
    .cta-content p {
        font-size: 0.9rem;
    }
    
    .cta-form {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .cta-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .view-all-blogs {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .blog-section {
        padding: 1rem 0;
    }
    
    .blog-badge {
        padding: 0.3rem 0.6rem;
        font-size: 0.65rem;
        margin-bottom: 0.8rem;
    }
    
    .blog-title {
        font-size: clamp(1.2rem, 6vw, 1.5rem);
    }
    
    .blog-subtitle {
        font-size: 0.8rem;
    }
    
    .blog-grid {
        gap: 0.8rem;
        margin-bottom: 1rem;
    }
    
    .blog-card {
        border-radius: 10px;
    }
    
    .blog-image-container {
        height: 120px;
    }
    
    .blog-card.featured .blog-image-container {
        height: 140px;
    }
    
    .blog-content {
        padding: 0.8rem;
    }
    
    .blog-post-title {
        font-size: 0.9rem;
    }
    
    .blog-excerpt {
        font-size: 0.8rem;
    }
    
    .blog-meta {
        font-size: 0.75rem;
    }
    
    .tag {
        font-size: 0.65rem;
        padding: 0.2rem 0.5rem;
    }
    
    .blog-cta {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .cta-content h3 {
        font-size: 1.1rem;
    }
    
    .cta-content p {
        font-size: 0.8rem;
        margin-bottom: 1rem;
    }
    
    .cta-input,
    .cta-button {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.7rem;
    }
    
    .view-all-blogs {
        padding: 0.6rem 1.2rem;
        font-size: 0.8rem;
    }
    
    .arrow-circle {
        width: 25px;
        height: 25px;
        font-size: 0.9rem;
    }
}

/* Animations */
@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

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

@keyframes badge-shine {
    0% { left: -100%; }
    100% { left: 100%; }
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(120deg); }
    66% { transform: translate(-20px, 20px) rotate(240deg); }
}

footer .footer-links-section {
    margin-bottom: 1.5rem;
}

footer .footer-links-section h4 {
    font-size: 13px;
    font-weight: bold;
    padding-top: 0.25rem;
    padding-bottom: 0.5rem;
    margin-bottom: 0.75rem;
    border-bottom: 2px solid #facc15;
    display: inline-block;
}

footer .footer-links-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 12px;
    line-height: 1.5;
}

footer .footer-links-grid a {
    color: #000000;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer .footer-links-grid a:hover {
    color: #667eea;
}

footer .footer-bottom {
    margin-top: 1.5rem;
    padding-top: 1rem;
    font-size: 12px;
    line-height: 1.6;
}

footer .footer-bottom p {
    margin-bottom: 0.75rem;
}

footer .footer-bottom a {
    color: #000000;
    text-decoration: underline;
    transition: color 0.3s ease;
}

footer .footer-bottom a:hover {
    color: #667eea;
}

footer .footer-bottom .small-text {
    font-size: 11px;
}

footer .footer-meta {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1rem;
    margin-top: 1.5rem;
}

footer .footer-meta-content {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

@media (min-width: 768px) {
    footer .footer-meta-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

footer .footer-nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    font-size: 11px;
}

footer .footer-nav-links a {
    color: #000000;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 12px;
}

footer .footer-nav-links a:hover {
    color: #667eea;
}

footer .footer-social {
    display: flex;
    gap: 0.75rem;
    font-size: 12px;
}

footer .footer-social a {
    color: #000000;
    transition: color 0.3s ease;
}

footer .footer-social a:hover {
    color: #667eea;
}

footer .footer-social img {
    width: 10px;
    height: 10px;
}

footer .footer-app-buttons {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1rem;
    margin-top: 1.5rem;
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

footer .footer-app-buttons img {
    cursor: pointer;
}

footer .footer-app-buttons img.rounded-full {
    border-radius: 50%;
}

/* Responsive adjustments for footer */
@media (max-width: 768px) {
    footer .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    
    footer .footer-section h4 {
        font-size: 12px;
    }
    
    footer .footer-section ul li a {
        font-size: 11px;
    }
    
    footer .footer-links-grid {
        font-size: 11px;
        gap: 0.75rem;
    }
    
    footer .footer-nav-links a {
        font-size: 11px;
        gap: 0.5rem;
    }
    
    footer .footer-logo video {
        width: 120px;
        height: 26px;
    }
}

/* IndiaMart Style Product Section Styles */
.products {
    padding: 5px 0;
    background: #f8f9fa;
}

.product-layout {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.product-sidebar {
    flex: 0 0 300px;
    flex-shrink: 0;
}

.product-main {
    flex: 1;
    min-width: 0;
}

.product-sec-wrapper {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.product-sec-wrapper h2 {
    margin: 0;
    padding: 20px 20px 15px;
    border-bottom: 1px solid #e0e0e0;
    font-size: 22px;
    font-weight: 600;
    color: #333;
}

.hCathd {
    color: #333;
    text-decoration: none;
    display: block;
    transition: color 0.3s ease;
}

.hCathd:hover {
    color: #667eea;
}

.minht {
    min-height: 200px;
}

.cBFlex {
    display: flex;
    flex-direction: column;
}

.product-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    margin: 20px;
    border-radius: 8px;
    position: relative;
}

.pbnr1::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.banner-content {
    position: relative;
    z-index: 1;
    padding: 20px;
}

.banner-top {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.banner-logo {
    width: 80px;
    height: 40px;
    object-fit: contain;
    flex-shrink: 0;
}

.banner-top h3 {
    color: white;
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.2;
}

.banner-content ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.banner-content li {
    margin: 0;
}

.banner-content li a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    display: inline-block;
}

.banner-content li a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.view-all {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    padding: 8px 20px;
    border: 2px solid white;
    border-radius: 25px;
    display: inline-block;
    transition: all 0.3s ease;
    text-align: center;
}

.view-all:hover {
    background: white;
    color: #667eea;
    transform: translateY(-2px);
}

.cBW100 {
    width: 100%;
    padding: 0 20px 20px;
}

.bdr1 {
    border-right: 1px solid #e0e0e0;
    margin-bottom: 20px;
}

.product-item {
    display: flex;
    align-items: flex-start;
    padding: 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
    height: 100%;
}

.product-item:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.product-thumbnail {
    flex-shrink: 0;
    margin-right: 15px;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 10px;
}

.product-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.product-item:hover .product-thumbnail img {
    transform: scale(1.05);
}

.product-meta {
    flex: 1;
    min-width: 0;
}

.product-meta h3 {
    margin: 0 0 10px 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
}

.product-meta h3 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.product-meta h3 a:hover {
    color: #667eea;
}

.product-meta p {
    margin: 5px 0;
    font-size: 13px;
    line-height: 1.4;
}

.product-meta p a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
}

.product-meta p a:hover {
    color: #667eea;
}

/* Responsive adjustments for product section */
@media (max-width: 1200px) {
    .product-thumbnail {
        width: 70px;
        height: 70px;
    }
    
    .product-meta h3 {
        font-size: 15px;
    }
    
    .product-meta p {
        font-size: 12px;
    }
}

@media (max-width: 992px) {
    .product-layout {
        flex-direction: column;
    }
    
    .product-sidebar {
        flex: none;
        width: 100%;
    }
    
    .bdr1 {
        border-right: none;
        border-bottom: 1px solid #e0e0e0;
    }
    
    .banner-content ul {
        flex-direction: column;
        gap: 10px;
    }
    
    .banner-content li a {
        display: block;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .products {
        padding: 20px 0;
    }
    
    .product-sec-wrapper h2 {
        font-size: 20px;
        padding: 15px 15px 10px;
    }
    
    .product-banner {
        margin: 15px;
        padding: 15px;
    }
    
    .banner-content {
        padding: 15px;
    }
    
    .banner-top {
        flex-direction: column;
        text-align: center;
        gap: 10px;
        margin-bottom: 15px;
        padding-bottom: 10px;
    }
    
    .banner-logo {
        width: 60px;
        height: 30px;
    }
    
    .banner-top h3 {
        font-size: 16px;
    }
    
    .banner-content ul {
        margin-bottom: 15px;
        gap: 8px;
    }
    
    .cBW100 {
        padding: 0 15px 15px;
    }
    
    .product-item {
        padding: 10px;
        flex-direction: column;
        text-align: center;
    }
    
    .product-thumbnail {
        margin-right: 0;
        margin-bottom: 10px;
        width: 60px;
        height: 60px;
    }
    
    .product-meta h3 {
        font-size: 14px;
        margin-bottom: 8px;
    }
    
    .product-meta p {
        font-size: 11px;
    }
}

@media (max-width: 576px) {
    .product-thumbnail {
        width: 50px;
        height: 50px;
    }
    
    .product-meta h3 {
        font-size: 13px;
    }
    
    .product-meta p {
        font-size: 10px;
    }
    
    .banner-content li a {
        font-size: 12px;
        padding: 4px 8px;
    }
    
    .view-all {
        font-size: 12px;
        padding: 6px 15px;
    }
}

/* Home page mobile: keep desktop-like layout/visuals */
@media (max-width: 992px) {
    .home-page .hero-content-redesigned {
        grid-template-columns: 1fr 1fr !important;
        gap: 2rem;
        align-items: center;
    }

    .home-page .hero-left-redesigned {
        text-align: left !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
    }

    .home-page .hero-description-redesigned {
        max-width: 100%;
    }

    .home-page .hero-features-redesigned {
        grid-template-columns: repeat(2, 1fr) !important;
        max-width: 100%;
    }

    .home-page .hero-actions-redesigned {
        justify-content: flex-start !important;
    }

    .home-page .hero-visual-redesigned {
        max-width: 100%;
        margin: 0;
    }
}

@media (max-width: 768px) {
    .home-page .hero-section-redesigned {
        padding: 0;
        min-height: 60vh;
        max-height: none;
    }

    .home-page .hero-container-redesigned {
        max-width: 1400px;
        margin: 0 auto;
        padding: 1.4rem 0.7rem;
    }

    .home-page .hero-content-redesigned {
        grid-template-columns: 1fr 1fr !important;
        gap: 0.8rem;
    }

    .home-page .hero-left-redesigned {
        text-align: left !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        min-width: 0;
    }

    .home-page .hero-features-redesigned {
        grid-template-columns: repeat(2, 1fr) !important;
        max-width: 100%;
    }

    .home-page .hero-actions-redesigned {
        flex-direction: row !important;
        justify-content: flex-start !important;
        width: auto;
    }

    .home-page .hero-actions-redesigned .btn {
        width: auto !important;
        white-space: nowrap;
    }

    .home-page .hero-right-redesigned {
        display: flex !important;
    }

    .home-page .hero-visual-redesigned {
        max-width: 100%;
        height: 200px;
        padding: 0.7rem;
    }

    .home-page .home-main {
        margin-top: 1rem !important;
    }

    .home-page .products:first-of-type {
        margin-top: 0.25rem;
    }

    .home-page .product-layout {
        flex-direction: row !important;
        align-items: flex-start;
        gap: 4px;
    }

    .home-page .product-sidebar {
        flex: 0 0 170px;
        width: 170px;
    }

    .home-page .product-main {
        flex: 1;
        min-width: 0;
    }

    .home-page .product-banner {
        margin: 4px;
        padding: 4px;
    }

    .home-page .banner-content {
        padding: 4px;
    }

    .home-page .banner-top {
        gap: 4px;
        margin-bottom: 6px;
        padding-bottom: 4px;
    }

    .home-page .banner-logo {
        width: 40px;
        height: 20px;
    }

    .home-page .banner-top h3 {
        font-size: 10px;
    }

    .home-page .product-main .row {
        display: flex;
        flex-wrap: wrap;
        overflow-x: visible;
        margin: 0;
        padding: 0;
        gap: 0;
        scroll-snap-type: none;
    }

    .home-page .product-main .row > [class*="col-"] {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .home-page .product-item {
        flex-direction: row !important;
        text-align: left !important;
    }

    .home-page .product-thumbnail {
        margin-right: 6px;
        margin-bottom: 0;
    }

    .home-page .product-sec-wrapper h2 {
        font-size: 16px;
        padding: 10px 10px 8px;
    }
}

@media (max-width: 576px) {
    .home-page .hero-container-redesigned {
        margin: 0 0.45rem;
        padding: 0.8rem 0.6rem;
        border-radius: 14px;
    }

    .home-page .hero-content-redesigned {
        grid-template-columns: 1fr 1fr !important;
        gap: 0.5rem;
    }

    .home-page .hero-right-redesigned {
        display: flex !important;
    }

    .home-page .hero-visual-redesigned {
        height: 150px;
        padding: 0.5rem;
        border-radius: 10px;
    }

    .home-page .hero-title-redesigned {
        font-size: 0.95rem;
        margin-bottom: 0.3rem;
    }

    .home-page .hero-subtitle-redesigned,
    .home-page .hero-description-redesigned {
        font-size: 0.62rem;
        line-height: 1.35;
    }

    .home-page .hero-features-redesigned {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.4rem;
    }

    .home-page .feature-card-redesigned {
        padding: 0.32rem;
        border-radius: 7px;
    }

    .home-page .feature-card-redesigned h4 {
        font-size: 0.54rem;
    }

    .home-page .feature-card-redesigned p {
        font-size: 0.48rem;
    }

    .home-page .hero-actions-redesigned .btn {
        font-size: 0.56rem;
        padding: 0.32rem 0.55rem;
        border-radius: 5px;
    }

    .home-page .product-layout {
        flex-direction: row !important;
        gap: 5px;
    }

    .home-page .product-sidebar {
        flex: 0 0 42%;
        width: 42%;
    }

    .home-page .product-main {
        flex: 0 0 58%;
        width: 58%;
    }

    .home-page .product-main .row > [class*="col-"] {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .home-page .product-item {
        padding: 5px;
    }

    .home-page .product-thumbnail {
        width: 36px;
        height: 36px;
        margin-right: 5px;
    }

    .home-page .product-meta h3 {
        font-size: 10px;
        margin-bottom: 2px;
    }

    .home-page .product-meta p {
        font-size: 8px;
        margin: 1px 0;
    }

    .home-page .navbar-collapse {
        margin-top: 0.25rem;
        padding: 0.25rem 0.35rem;
    }

    .home-page .navbar-nav .nav-link {
        padding: 0.32rem 0.4rem !important;
        font-size: 0.78rem;
        line-height: 1.15;
        overflow-wrap: anywhere;
    }
}

@media (max-width: 414px) {
    .home-page .home-main {
        padding-left: 0.4rem;
        padding-right: 0.4rem;
    }

    .home-page .hero-container-redesigned {
        padding: 0.9rem 0.55rem;
    }

    .home-page .hero-content-redesigned {
        gap: 0.4rem;
    }

    .home-page .hero-title-redesigned {
        font-size: 0.88rem;
        line-height: 1.1;
    }

    .home-page .hero-section-redesigned {
        min-height: 48vh;
    }

    .home-page .hero-subtitle-redesigned,
    .home-page .hero-description-redesigned {
        font-size: 0.56rem;
        line-height: 1.3;
    }

    .home-page .hero-badge-redesigned {
        font-size: 0.44rem;
        padding: 0.18rem 0.35rem;
        margin-bottom: 0.3rem;
    }

    .home-page .hero-visual-redesigned {
        height: 120px;
        padding: 0.4rem;
    }

    .home-page .hero-actions-redesigned {
        gap: 0.25rem;
    }

    .home-page .hero-actions-redesigned .btn {
        font-size: 0.5rem;
        padding: 0.28rem 0.4rem;
        white-space: normal;
        text-align: center;
    }

    .home-page .feature-card-redesigned h4 {
        font-size: 0.5rem;
    }

    .home-page .feature-card-redesigned p {
        font-size: 0.44rem;
    }

    .home-page .product-sec-wrapper h2 {
        font-size: 12px;
        padding: 7px 7px 5px;
    }

    .home-page .product-banner {
        margin: 4px;
        padding: 4px;
    }

    .home-page .banner-content {
        padding: 4px;
    }

    .home-page .banner-top h3 {
        font-size: 10px;
    }

    .home-page .banner-content li a {
        font-size: 8px;
        padding: 2px 4px;
    }

    .home-page .view-all {
        font-size: 8px;
        padding: 3px 7px;
    }

    .home-page .product-main .row > [class*="col-"] {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .home-page .product-item {
        padding: 4px;
    }

    .home-page .product-thumbnail {
        width: 30px;
        height: 30px;
        margin-right: 4px;
    }

    .home-page .product-meta h3 {
        font-size: 9px;
        line-height: 1.15;
    }

    .home-page .product-meta p {
        font-size: 7px;
        line-height: 1.15;
    }

    .home-page .product-meta h3 a,
    .home-page .product-meta p a {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .home-page .product-meta h3 a {
        line-clamp: 2;
        -webkit-line-clamp: 2;
    }

    .home-page .product-meta p a {
        line-clamp: 1;
        -webkit-line-clamp: 1;
    }
}

@media (max-width: 390px) {
    .home-page .hero-container-redesigned {
        padding: 0.85rem 0.52rem;
    }

    .home-page .hero-title-redesigned {
        font-size: 0.84rem;
    }

    .home-page .hero-subtitle-redesigned,
    .home-page .hero-description-redesigned {
        font-size: 0.54rem;
    }

    .home-page .hero-visual-redesigned {
        height: 110px;
    }

    .home-page .hero-actions-redesigned .btn {
        font-size: 0.48rem;
        padding: 0.26rem 0.38rem;
    }

    .home-page .product-sec-wrapper h2 {
        font-size: 11px;
        padding: 6px 6px 4px;
    }

    .home-page .banner-top h3 {
        font-size: 9px;
    }

    .home-page .banner-content li a,
    .home-page .view-all {
        font-size: 7.5px;
    }

    .home-page .product-meta h3 {
        font-size: 8.5px;
    }

    .home-page .product-meta p {
        font-size: 7px;
    }
}

@media (max-width: 375px) {
    .home-page .home-main {
        padding-left: 0.35rem;
        padding-right: 0.35rem;
    }

    .home-page .hero-container-redesigned {
        padding: 0.78rem 0.48rem;
    }

    .home-page .hero-title-redesigned {
        font-size: 0.8rem;
    }

    .home-page .hero-features-redesigned {
        gap: 0.22rem;
    }

    .home-page .feature-card-redesigned {
        padding: 0.28rem;
    }

    .home-page .feature-card-redesigned h4 {
        font-size: 0.48rem;
    }

    .home-page .feature-card-redesigned p {
        font-size: 0.42rem;
    }

    .home-page .hero-visual-redesigned {
        height: 105px;
    }

    .home-page .product-sec-wrapper h2 {
        font-size: 10px;
    }

    .home-page .product-item {
        padding: 3px;
    }

    .home-page .product-thumbnail {
        width: 28px;
        height: 28px;
    }

    .home-page .product-meta h3 {
        font-size: 8px;
    }

    .home-page .product-meta p {
        font-size: 7px;
    }
}

@media (max-width: 360px) {
    .home-page .home-main {
        padding-left: 0.3rem;
        padding-right: 0.3rem;
    }

    .home-page .hero-container-redesigned {
        padding: 0.72rem 0.42rem;
    }

    .home-page .hero-title-redesigned {
        font-size: 0.76rem;
    }

    .home-page .hero-section-redesigned {
        min-height: 46vh;
    }

    .home-page .hero-subtitle-redesigned,
    .home-page .hero-description-redesigned {
        font-size: 0.52rem;
    }

    .home-page .hero-visual-redesigned {
        height: 100px;
    }

    .home-page .product-sec-wrapper h2 {
        font-size: 10px;
        padding: 5px 5px 4px;
    }

    .home-page .product-sidebar {
        flex: 0 0 40%;
        width: 40%;
    }

    .home-page .product-main {
        flex: 0 0 60%;
        width: 60%;
    }

    .home-page .banner-content li a {
        font-size: 7px;
        padding: 1px 3px;
    }

    .home-page .view-all {
        font-size: 7px;
        padding: 3px 6px;
    }

    .home-page .hero-actions-redesigned .btn {
        font-size: 0.46rem;
        padding: 0.24rem 0.32rem;
        line-height: 1.1;
    }

    .home-page .product-meta h3 {
        font-size: 8px;
    }

    .home-page .product-meta p {
        font-size: 6px;
    }

    .home-page .product-meta h3 a {
        line-clamp: 1;
        -webkit-line-clamp: 1;
    }
}

/* ========================================
   Floating Action Buttons (WhatsApp & Call)
   ======================================== */
.floating-action-buttons {
    position: fixed;
    bottom: 90px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 1050;
}

.fab-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: white;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fab-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
    color: white;
}

.fab-whatsapp {
    background: #25D366;
}

.fab-call {
    background: #667eea;
}

/* ========================================
   Sticky Bottom Mobile Bar
   ======================================== */
.mobile-bottom-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    border-top: 1px solid #e0e0e0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1050;
    padding: 6px 0;
    justify-content: space-around;
    align-items: center;
}

.bottom-bar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #555;
    font-size: 10px;
    padding: 4px 8px;
    transition: color 0.2s ease;
}

.bottom-bar-item i {
    font-size: 18px;
    margin-bottom: 2px;
}

.bottom-bar-item:hover,
.bottom-bar-item:active {
    color: #667eea;
}

.bottom-bar-whatsapp {
    color: #25D366;
}

.bottom-bar-whatsapp:hover {
    color: #1da851;
}

@media (max-width: 768px) {
    .mobile-bottom-bar {
        display: flex;
    }

    .floating-action-buttons {
        bottom: 80px;
        right: 14px;
    }

    .fab-btn {
        width: 48px;
        height: 48px;
        font-size: 22px;
    }
}

@media (max-width: 576px) {
    .fab-btn {
        width: 44px;
        height: 44px;
        font-size: 20px;
    }

    .floating-action-buttons {
        bottom: 72px;
        right: 10px;
        gap: 8px;
    }

    .bottom-bar-item {
        font-size: 9px;
        padding: 3px 5px;
    }

    .bottom-bar-item i {
        font-size: 16px;
    }
}

/* ========================================
   Service Section CTA Button
   ======================================== */
.section-cta-btn {
    display: inline-block;
    margin-left: 12px;
    padding: 4px 14px;
    font-size: 12px;
    font-weight: 600;
    color: #667eea;
    background: rgba(102, 126, 234, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 20px;
    text-decoration: none;
    vertical-align: middle;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.section-cta-btn:hover {
    background: #667eea;
    color: #fff;
    border-color: #667eea;
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .section-cta-btn {
        font-size: 10px;
        padding: 3px 10px;
        margin-left: 8px;
    }
}

@media (max-width: 576px) {
    .section-cta-btn {
        font-size: 9px;
        padding: 2px 8px;
        margin-left: 5px;
    }
}

/* ========================================
   Global Mobile App View - All Pages
   ======================================== */
@media (max-width: 768px) {
    /* Body padding for bottom bar */
    body {
        padding-bottom: 60px;
    }

    /* Compact Navbar */
    .navbar {
        padding: 0.35rem 0.5rem;
        position: sticky;
        top: 0;
        z-index: 1040;
    }

    .navbar-brand {
        font-size: 1rem;
    }

    .navbar-brand img,
    .navbar-logo {
        height: 45px !important;
        width: 112px !important;
        max-width: 112px !important;
    }

    .navbar-toggler {
        padding: 0.2rem 0.4rem;
        font-size: 0.9rem;
    }

    .navbar-collapse {
        margin-top: 0.25rem;
        padding: 0.25rem 0.35rem;
        max-height: 60vh;
        overflow-y: auto;
    }

    .navbar-nav .nav-link {
        padding: 0.32rem 0.4rem !important;
        font-size: 0.78rem;
        line-height: 1.15;
    }

    /* Compact containers */
    .container {
        padding-left: 10px;
        padding-right: 10px;
    }

    /* Compact cards */
    .card {
        margin-bottom: 0.75rem;
    }

    .card-header {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }

    .card-body {
        padding: 0.75rem;
    }

    /* Compact tables */
    .table {
        font-size: 0.8rem;
    }

    .table th,
    .table td {
        padding: 0.35rem 0.4rem;
    }

    /* Compact buttons */
    .btn {
        padding: 0.3rem 0.6rem;
        font-size: 0.82rem;
    }

    .btn-sm {
        padding: 0.2rem 0.45rem;
        font-size: 0.75rem;
    }

    /* Compact forms */
    .form-control,
    .form-select {
        font-size: 0.85rem;
        padding: 0.35rem 0.5rem;
    }

    .form-label {
        font-size: 0.82rem;
        margin-bottom: 0.2rem;
    }

    /* Compact headings */
    h1 { font-size: 1.4rem; }
    h2 { font-size: 1.2rem; }
    h3 { font-size: 1.05rem; }
    h4 { font-size: 0.95rem; }
    h5 { font-size: 0.88rem; }

    /* Compact alerts */
    .alert {
        padding: 0.5rem 0.75rem;
        font-size: 0.82rem;
    }

    /* Compact pagination */
    .page-link {
        padding: 0.3rem 0.5rem;
        font-size: 0.8rem;
    }

    /* Compact list groups */
    .list-group-item {
        padding: 0.5rem 0.75rem;
        font-size: 0.85rem;
    }

    /* Compact badges */
    .badge {
        font-size: 0.7rem;
        padding: 0.25em 0.45em;
    }

    /* Footer compact */
    footer {
        padding: 1.5rem 0 !important;
        font-size: 0.82rem;
    }

    footer h5 {
        font-size: 0.9rem;
    }

    footer p,
    footer li,
    footer a {
        font-size: 0.78rem;
    }
}

@media (max-width: 576px) {
    body {
        padding-bottom: 55px;
    }

    .navbar {
        padding: 0.25rem 0.4rem;
    }

    .navbar-brand {
        font-size: 0.9rem;
    }

    .navbar-brand img,
    .navbar-logo {
        height: 45px !important;
        width: 112px !important;
        max-width: 112px !important;
    }

    .navbar-nav .nav-link {
        padding: 0.25rem 0.35rem !important;
        font-size: 0.72rem;
    }

    .container {
        padding-left: 8px;
        padding-right: 8px;
    }

    h1 { font-size: 1.2rem; }
    h2 { font-size: 1.05rem; }
    h3 { font-size: 0.95rem; }
    h4 { font-size: 0.85rem; }

    .card-header {
        padding: 0.4rem 0.6rem;
        font-size: 0.82rem;
    }

    .card-body {
        padding: 0.6rem;
    }

    .btn {
        padding: 0.25rem 0.5rem;
        font-size: 0.78rem;
    }

    .form-control,
    .form-select {
        font-size: 0.8rem;
        padding: 0.3rem 0.45rem;
    }

    .table {
        font-size: 0.75rem;
    }

    .table th,
    .table td {
        padding: 0.25rem 0.3rem;
    }
}

/* ========================================
   Services Page Mobile App View
   ======================================== */
@media (max-width: 768px) {
    .itx-hero {
        padding: 2rem 0 1.5rem;
    }

    .itx-hero h1 {
        font-size: 1.4rem;
    }

    .itx-hero .lead {
        font-size: 0.85rem;
    }

    .itx-hero p {
        font-size: 0.78rem;
    }

    .itx-section {
        padding: 1.5rem 0;
    }

    .itx-section-title {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }

    .itx-card {
        padding: 0.75rem;
        border-radius: 10px;
        margin-bottom: 0.5rem;
    }

    .itx-card .fs-1 {
        font-size: 1.5rem !important;
        margin-bottom: 0.3rem !important;
    }

    .itx-card h5 {
        font-size: 0.88rem;
    }

    .itx-card p {
        font-size: 0.75rem;
        margin-bottom: 0.3rem;
    }

    .itx-card .small {
        font-size: 0.68rem;
    }

    .itx-price-tag {
        font-size: 0.72rem;
        padding: 0.2rem 0.6rem;
    }

    .service-card {
        padding: 0.75rem;
        border-radius: 10px;
        margin-bottom: 0.5rem;
    }

    .service-icon {
        font-size: 1.5rem;
        margin-bottom: 0.3rem;
    }

    .service-card h5 {
        font-size: 0.88rem;
    }

    .service-card p {
        font-size: 0.75rem;
        margin-bottom: 0.3rem;
    }

    .service-link {
        font-size: 0.88rem;
    }

    .price-tag {
        font-size: 0.72rem;
        padding: 0.2rem 0.6rem;
    }

    .itx-cta {
        padding: 1.5rem 0;
    }

    .itx-cta h2 {
        font-size: 1.1rem;
    }

    .itx-cta .lead {
        font-size: 0.82rem;
    }

    .itx-cta .btn {
        font-size: 0.85rem;
        padding: 0.4rem 1.5rem;
    }

    .itx-footer {
        padding: 1rem 0 !important;
    }

    /* 2-column grid for service cards on mobile */
    .itx-section .row {
        row-gap: 0.5rem !important;
    }

    .itx-section .row > [class*="col-md-"] {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 576px) {
    .itx-hero {
        padding: 1.5rem 0 1rem;
    }

    .itx-hero h1 {
        font-size: 1.15rem;
    }

    .itx-hero .lead {
        font-size: 0.78rem;
    }

    .itx-section {
        padding: 1rem 0;
    }

    .itx-section-title {
        font-size: 0.95rem;
    }

    .itx-card {
        padding: 0.55rem;
    }

    .itx-card .fs-1 {
        font-size: 1.2rem !important;
    }

    .itx-card h5 {
        font-size: 0.78rem;
    }

    .itx-card p {
        font-size: 0.68rem;
    }

    .itx-price-tag {
        font-size: 0.65rem;
        padding: 0.15rem 0.45rem;
    }

    .service-card {
        padding: 0.55rem;
    }

    .service-icon {
        font-size: 1.2rem;
    }

    .service-card h5 {
        font-size: 0.78rem;
    }

    .service-card p {
        font-size: 0.68rem;
    }

    .price-tag {
        font-size: 0.65rem;
        padding: 0.15rem 0.45rem;
    }

    .itx-cta h2 {
        font-size: 0.95rem;
    }

    .itx-cta .btn {
        font-size: 0.78rem;
        padding: 0.35rem 1.2rem;
    }
}

/* ========================================
   Service Detail Pages Mobile App View
   ======================================== */
@media (max-width: 768px) {
    .service-hero {
        padding: 2.5rem 0 1.5rem !important;
    }

    .service-hero h1,
    .service-hero .display-4 {
        font-size: 1.4rem !important;
        margin-bottom: 0.5rem !important;
    }

    .service-hero .lead {
        font-size: 0.82rem !important;
        margin-bottom: 0.75rem !important;
    }

    .service-hero .cta-btn {
        padding: 0.5rem 1.2rem !important;
        font-size: 0.85rem !important;
    }

    .service-hero .btn-outline-light {
        padding: 0.4rem 1rem !important;
        font-size: 0.82rem !important;
    }

    .badge-custom {
        font-size: 0.7rem !important;
        padding: 0.3rem 0.6rem !important;
    }

    .pricing-card {
        padding: 1.2rem !important;
        border-radius: 12px !important;
        margin-bottom: 1rem;
    }

    .pricing-card h3,
    .pricing-card h2 {
        font-size: 1.1rem !important;
    }

    .pricing-card .display-5,
    .pricing-card .display-6 {
        font-size: 1.5rem !important;
    }

    .info-card {
        padding: 1rem !important;
        border-radius: 10px !important;
        margin-bottom: 0.75rem;
    }

    .info-card h5 {
        font-size: 0.88rem !important;
    }

    .info-card p {
        font-size: 0.78rem !important;
    }

    .icon-box {
        width: 42px !important;
        height: 42px !important;
        font-size: 1.1rem !important;
        border-radius: 8px !important;
        margin-bottom: 0.5rem !important;
    }

    .feature-list li {
        padding: 0.4rem 0 !important;
        font-size: 0.82rem !important;
        gap: 0.4rem !important;
    }

    .section-title {
        font-size: 1.1rem !important;
        margin-bottom: 0.6rem !important;
    }

    /* Service page grid: 2 columns on mobile */
    .service-hero + section .row > [class*="col-md-"],
    .service-hero + section .row > [class*="col-lg-"] {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 576px) {
    .service-hero {
        padding: 1.5rem 0 1rem !important;
    }

    .service-hero h1,
    .service-hero .display-4 {
        font-size: 1.15rem !important;
    }

    .service-hero .lead {
        font-size: 0.75rem !important;
    }

    .service-hero .cta-btn {
        padding: 0.4rem 1rem !important;
        font-size: 0.78rem !important;
    }

    .badge-custom {
        font-size: 0.62rem !important;
        padding: 0.2rem 0.45rem !important;
    }

    .pricing-card {
        padding: 0.9rem !important;
    }

    .pricing-card h3,
    .pricing-card h2 {
        font-size: 0.95rem !important;
    }

    .info-card {
        padding: 0.75rem !important;
    }

    .info-card h5 {
        font-size: 0.8rem !important;
    }

    .icon-box {
        width: 36px !important;
        height: 36px !important;
        font-size: 0.95rem !important;
    }

    .feature-list li {
        font-size: 0.75rem !important;
    }

    .section-title {
        font-size: 0.95rem !important;
    }
}

/* ========================================
   Calculator & Download Pages Mobile View
   ======================================== */
@media (max-width: 768px) {
    .calculator-section,
    .calculator-wrapper {
        padding: 1rem !important;
    }

    .calculator-card {
        padding: 1rem !important;
        border-radius: 12px !important;
    }

    .calculator-card h2,
    .calculator-card h3 {
        font-size: 1.05rem !important;
    }

    .calculator-card .form-label {
        font-size: 0.82rem !important;
    }

    .calculator-card .form-control,
    .calculator-card .form-select {
        font-size: 0.85rem !important;
        padding: 0.35rem 0.5rem !important;
    }

    .calculator-result {
        padding: 0.75rem !important;
        font-size: 0.85rem !important;
    }

    .download-card {
        padding: 0.75rem !important;
        margin-bottom: 0.5rem;
    }

    .download-card h5 {
        font-size: 0.88rem !important;
    }

    .download-card p {
        font-size: 0.78rem !important;
    }
}

@media (max-width: 576px) {
    .calculator-card {
        padding: 0.75rem !important;
    }

    .calculator-card h2,
    .calculator-card h3 {
        font-size: 0.92rem !important;
    }

    .download-card h5 {
        font-size: 0.8rem !important;
    }
}

/* ========================================
   Login / Register Pages Mobile View
   ======================================== */
@media (max-width: 768px) {
    .auth-card,
    .login-card,
    .register-card {
        padding: 1.2rem !important;
        border-radius: 12px !important;
    }

    .auth-card h2,
    .login-card h2,
    .register-card h2 {
        font-size: 1.2rem !important;
    }
}

@media (max-width: 576px) {
    .auth-card,
    .login-card,
    .register-card {
        padding: 0.9rem !important;
    }

    .auth-card h2,
    .login-card h2,
    .register-card h2 {
        font-size: 1.05rem !important;
    }
}

/* ========================================
   Payment Gateway Page Mobile View
   ======================================== */
@media (max-width: 768px) {
    .payment-container {
        padding: 1.2rem !important;
        border-radius: 12px !important;
        margin: 0.5rem;
    }

    .payment-header {
        margin-bottom: 1rem !important;
        padding-bottom: 0.75rem !important;
    }

    .payment-header h2 {
        font-size: 1.1rem !important;
    }

    .order-summary {
        padding: 1rem !important;
        border-radius: 10px !important;
        margin-bottom: 1rem !important;
    }

    .summary-item {
        padding: 0.5rem 0 !important;
        font-size: 0.85rem !important;
    }

    .summary-value.price {
        font-size: 1.2rem !important;
    }

    .gateway-card {
        padding: 0.75rem !important;
        border-radius: 10px !important;
        margin-bottom: 0.5rem !important;
    }

    .gateway-card h5 {
        font-size: 0.9rem !important;
    }

    .gateway-card p {
        font-size: 0.78rem !important;
    }
}

@media (max-width: 576px) {
    .payment-container {
        padding: 0.9rem !important;
    }

    .payment-header h2 {
        font-size: 0.95rem !important;
    }

    .order-summary {
        padding: 0.75rem !important;
    }

    .summary-item {
        font-size: 0.78rem !important;
    }

    .summary-value.price {
        font-size: 1rem !important;
    }

    .gateway-card {
        padding: 0.6rem !important;
    }

    .gateway-card h5 {
        font-size: 0.82rem !important;
    }
}

/* ========================================
   HSN Code Page Mobile View
   ======================================== */
@media (max-width: 768px) {
    .hsn-header {
        padding: 1.5rem 0 !important;
        margin-bottom: 1rem !important;
    }

    .hsn-header h1 {
        font-size: 1.4rem !important;
    }

    .hsn-header p {
        font-size: 0.85rem !important;
    }

    .search-card {
        padding: 1rem !important;
        border-radius: 10px !important;
        margin-bottom: 1rem !important;
    }

    .search-card .form-control,
    .search-card .form-select {
        padding: 0.5rem 0.75rem !important;
        font-size: 0.85rem !important;
    }

    .search-card .btn-search {
        padding: 0.5rem 1.2rem !important;
        font-size: 0.85rem !important;
    }

    .results-header {
        padding: 0.75rem 1rem !important;
    }

    .results-header h3 {
        font-size: 0.95rem !important;
    }

    .hsn-table {
        font-size: 0.78rem !important;
    }

    .hsn-table th,
    .hsn-table td {
        padding: 0.35rem 0.4rem !important;
    }
}

@media (max-width: 576px) {
    .hsn-header h1 {
        font-size: 1.15rem !important;
    }

    .search-card {
        padding: 0.75rem !important;
    }

    .hsn-table {
        font-size: 0.72rem !important;
    }

    .hsn-table th,
    .hsn-table td {
        padding: 0.25rem 0.3rem !important;
    }
}

/* ========================================
   Requirement Form Pages Mobile View
   ======================================== */
@media (max-width: 768px) {
    .requirement-form-wrapper,
    .form-wrapper {
        padding: 1rem !important;
    }

    .requirement-form-card,
    .form-card {
        padding: 1rem !important;
        border-radius: 12px !important;
    }

    .requirement-form-card h2,
    .requirement-form-card h3,
    .form-card h2,
    .form-card h3 {
        font-size: 1.05rem !important;
    }

    .requirement-form-card .form-label,
    .form-card .form-label {
        font-size: 0.82rem !important;
    }

    .requirement-form-card .form-control,
    .requirement-form-card .form-select,
    .form-card .form-control,
    .form-card .form-select {
        font-size: 0.85rem !important;
        padding: 0.35rem 0.5rem !important;
    }

    .requirement-form-card .btn,
    .form-card .btn {
        font-size: 0.85rem !important;
        padding: 0.4rem 1rem !important;
    }

    .document-upload-area {
        padding: 1rem !important;
    }
}

@media (max-width: 576px) {
    .requirement-form-card,
    .form-card {
        padding: 0.75rem !important;
    }

    .requirement-form-card h2,
    .requirement-form-card h3,
    .form-card h2,
    .form-card h3 {
        font-size: 0.92rem !important;
    }

    .requirement-form-card .btn,
    .form-card .btn {
        font-size: 0.78rem !important;
        padding: 0.35rem 0.8rem !important;
    }
}

/* ========================================
   Requirement Form Pages - Navbar & Header Fix
   ======================================== */
@media (max-width: 768px) {
    /* Form page navbar - more compact */
    .itx-navbar {
        padding: 0.25rem 0.5rem !important;
        min-height: 55px !important;
    }

    .itx-navbar .container {
        padding: 0 !important;
    }

    .itx-navbar .navbar-brand {
        font-size: 0.75rem !important;
        padding: 0 !important;
        margin-right: 0.5rem !important;
    }

    .itx-navbar .navbar-logo {
        height: 45px !important;
        width: 112px !important;
        max-width: 112px !important;
        object-fit: contain !important;
    }

    .itx-navbar .navbar-toggler {
        padding: 0.2rem 0.4rem !important;
        font-size: 0.85rem !important;
        border: 1px solid rgba(255, 255, 255, 0.3) !important;
        border-radius: 4px !important;
    }

    .itx-navbar .navbar-toggler-icon {
        width: 1rem !important;
        height: 1rem !important;
    }

    .itx-navbar .nav-link {
        padding: 0.35rem 0.5rem !important;
        font-size: 0.75rem !important;
        color: rgba(255, 255, 255, 0.9) !important;
    }

    .itx-navbar .nav-link:hover,
    .itx-navbar .nav-link.active {
        background: rgba(255, 255, 255, 0.15) !important;
    }

    .itx-navbar .navbar-collapse {
        margin-top: 0.5rem;
        background: rgba(15, 23, 42, 0.98) !important;
        border-radius: 8px !important;
        padding: 0.5rem !important;
    }

    /* Body background for form pages */
    body {
        background: #f8fafc !important;
        padding: 0 !important;
    }

    /* Form container - more compact */
    .form-container {
        padding: 1rem !important;
        border-radius: 12px !important;
        margin: 0.5rem !important;
        background: white !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
    }

    .form-header {
        margin-bottom: 1rem !important;
        padding-bottom: 0.6rem !important;
    }

    .form-header h2 {
        font-size: 1rem !important;
    }

    .form-header p {
        font-size: 0.75rem !important;
    }

    .service-info {
        padding: 0.75rem !important;
        border-radius: 8px !important;
        margin-bottom: 0.75rem !important;
    }

    .service-info .service-name {
        font-size: 0.9rem !important;
    }

    .service-info .service-price {
        font-size: 1.1rem !important;
    }

    .form-section {
        margin-bottom: 1rem !important;
    }

    .form-section h4 {
        font-size: 0.85rem !important;
        margin-bottom: 0.6rem !important;
        padding-bottom: 0.4rem !important;
    }

    .form-label {
        font-size: 0.75rem !important;
        margin-bottom: 0.25rem !important;
    }

    .form-control,
    .form-select {
        padding: 0.5rem !important;
        font-size: 0.8rem !important;
        border-radius: 6px !important;
    }

    .btn-submit {
        padding: 0.6rem 1.2rem !important;
        font-size: 0.85rem !important;
    }

    .document-item {
        padding: 0.6rem !important;
        border-radius: 6px !important;
    }

    .document-item h5 {
        font-size: 0.82rem !important;
    }

    .document-item p {
        font-size: 0.7rem !important;
    }

    .required-badge {
        font-size: 0.6rem !important;
        padding: 1px 5px !important;
    }

    .progress-bar {
        height: 6px !important;
        margin-bottom: 1rem !important;
    }

    /* Footer spacing */
    .itx-footer {
        margin-top: 1rem !important;
    }
}

@media (max-width: 576px) {
    .itx-navbar {
        padding: 0.2rem 0.4rem !important;
        min-height: 50px !important;
    }

    .itx-navbar .container {
        padding: 0 !important;
    }

    .itx-navbar .navbar-brand {
        font-size: 0.68rem !important;
        margin-right: 0.4rem !important;
    }

    .itx-navbar .navbar-logo {
        height: 45px !important;
        width: 112px !important;
        max-width: 112px !important;
        object-fit: contain !important;
    }

    .itx-navbar .navbar-toggler {
        padding: 0.15rem 0.35rem !important;
        font-size: 0.75rem !important;
        border: 1px solid rgba(255, 255, 255, 0.3) !important;
        border-radius: 4px !important;
    }

    .itx-navbar .navbar-toggler-icon {
        width: 0.9rem !important;
        height: 0.9rem !important;
    }

    .itx-navbar .nav-link {
        padding: 0.3rem 0.4rem !important;
        font-size: 0.68rem !important;
        color: rgba(255, 255, 255, 0.9) !important;
    }

    .itx-navbar .nav-link:hover,
    .itx-navbar .nav-link.active {
        background: rgba(255, 255, 255, 0.15) !important;
    }

    .itx-navbar .navbar-collapse {
        background: rgba(15, 23, 42, 0.98) !important;
        border-radius: 8px !important;
        padding: 0.4rem !important;
    }

    /* Body background for form pages */
    body {
        background: #f8fafc !important;
        padding: 0 !important;
    }

    .form-container {
        padding: 0.75rem !important;
        margin: 0.35rem !important;
    }

    .form-header h2 {
        font-size: 0.9rem !important;
    }

    .form-header p {
        font-size: 0.7rem !important;
    }

    .service-info {
        padding: 0.6rem !important;
    }

    .service-info .service-name {
        font-size: 0.82rem !important;
    }

    .service-info .service-price {
        font-size: 0.95rem !important;
    }

    .form-section h4 {
        font-size: 0.78rem !important;
    }

    .form-control,
    .form-select {
        padding: 0.4rem !important;
        font-size: 0.75rem !important;
    }

    .btn-submit {
        padding: 0.5rem 1rem !important;
        font-size: 0.78rem !important;
    }

    /* Footer spacing */
    .itx-footer {
        margin-top: 0.75rem !important;
    }
}
