/*
 * DigiMart - Digital Products Marketplace Template
 * Version: 1.0.0
 * Author: Premium Templates
 * Bootstrap 5.3 Based
 */

/* ============================================
   CSS VARIABLES & DESIGN TOKENS
   ============================================ */
:root {
    /* Primary Colors */
    --primary-dark: #112E41;
    --primary-accent: #00B1A7;
    --primary-accent-hover: #009990;
    --primary-accent-light: rgba(0, 177, 167, 0.1);
    
    /* Secondary Colors */
    --secondary-accent: #FF6B35;
    --secondary-accent-hover: #e55a2b;
    
    /* Neutral Colors */
    --white: #FFFFFF;
    --bg-light: #F8F9FA;
    --bg-alt: #F0F4F8;
    --border-color: #E5E9ED;
    
    /* Text Colors */
    --text-primary: #1A1A1A;
    --text-secondary: #6C757D;
    --text-muted: #9CA3AF;
    --text-light: #FFFFFF;
    
    /* Feedback Colors */
    --success: #28A745;
    --warning: #FFC107;
    --danger: #DC3545;
    --star-color: #FFB800;
    
    /* Typography */
    --font-primary: 'Poppins', sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 2rem;
    --font-size-4xl: 2.5rem;
    --font-size-5xl: 3rem;
    --font-size-hero: 3.5rem;
    
    /* Font Weights */
    --font-light: 300;
    --font-regular: 400;
    --font-medium: 500;
    --font-semibold: 600;
    --font-bold: 700;
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    --spacing-4xl: 5rem;
    --spacing-section: 6rem;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 50%;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.15);
    --shadow-card: 0 5px 20px rgba(17, 46, 65, 0.08);
    --shadow-hover: 0 15px 35px rgba(17, 46, 65, 0.12);
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Z-index layers */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal-backdrop: 400;
    --z-modal: 500;
    --z-tooltip: 600;
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    font-weight: var(--font-regular);
    line-height: 1.7;
    color: var(--text-primary);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
}

ul, ol {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-weight: var(--font-bold);
    line-height: 1.3;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
}

h1 { font-size: var(--font-size-hero); }
h2 { font-size: var(--font-size-4xl); }
h3 { font-size: var(--font-size-3xl); }
h4 { font-size: var(--font-size-2xl); }
h5 { font-size: var(--font-size-xl); }
h6 { font-size: var(--font-size-lg); }

p {
    margin-bottom: var(--spacing-md);
    color: var(--text-secondary);
}

.text-accent { color: var(--primary-accent); }
.text-white { color: var(--text-light); }
.text-muted { color: var(--text-muted); }

/* ============================================
   UTILITY CLASSES
   ============================================ */
.section-padding {
    padding: var(--spacing-section) 0;
}

.section-title {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
}

.section-title h2 {
    font-size: var(--font-size-4xl);
    font-weight: var(--font-bold);
    margin-bottom: var(--spacing-md);
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-accent);
    border-radius: var(--radius-full);
}

.section-title p {
    font-size: var(--font-size-lg);
    max-width: 600px;
    margin: var(--spacing-lg) auto 0;
}

.bg-light { background-color: var(--bg-light); }
.bg-dark { background-color: var(--primary-dark); }
.bg-accent { background-color: var(--primary-accent); }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: 14px 32px;
    font-size: var(--font-size-base);
    font-weight: var(--font-semibold);
    border-radius: var(--radius-md);
    transition: var(--transition-base);
    cursor: pointer;
    border: 2px solid transparent;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: var(--primary-accent);
    color: var(--white);
    border-color: var(--primary-accent);
}

.btn-primary:hover {
    background-color: var(--primary-accent-hover);
    border-color: var(--primary-accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: var(--secondary-accent);
    color: var(--white);
    border-color: var(--secondary-accent);
}

.btn-secondary:hover {
    background-color: var(--secondary-accent-hover);
    border-color: var(--secondary-accent-hover);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-accent);
    border-color: var(--primary-accent);
}

.btn-outline:hover {
    background-color: var(--primary-accent);
    color: var(--white);
}

.btn-outline-white {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline-white:hover {
    background-color: var(--white);
    color: var(--primary-dark);
}

.btn-dark {
    background-color: var(--primary-dark);
    color: var(--white);
    border-color: var(--primary-dark);
}

.btn-dark:hover {
    background-color: transparent;
    color: var(--primary-dark);
}

.btn-sm {
    padding: 10px 20px;
    font-size: var(--font-size-sm);
}

.btn-lg {
    padding: 18px 40px;
    font-size: var(--font-size-lg);
}

/* ============================================
   TOP HEADER BAR
   ============================================ */
.top-header {
    background-color: var(--primary-dark);
    padding: 12px 0;
    color: var(--white);
}

.top-header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.top-header-left .brand-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: var(--font-size-xl);
    font-weight: var(--font-bold);
    color: var(--white);
}

.top-header-left .brand-logo i {
    color: var(--primary-accent);
    font-size: var(--font-size-2xl);
}

.top-header-center {
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
}

.top-header-center .info-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: var(--font-size-sm);
}

.top-header-center .info-item i {
    color: var(--primary-accent);
}

.top-header-right {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

/* ============================================
   MAIN NAVIGATION
   ============================================ */
.main-nav {
    background-color: var(--white);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: var(--z-sticky);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
}

.main-nav.scrolled {
    box-shadow: var(--shadow-lg);
}

.navbar {
    padding: 15px 0;
}

.navbar-brand {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-bold);
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.navbar-brand i {
    color: var(--primary-accent);
}

.navbar-nav .nav-link {
    color: var(--text-primary);
    font-weight: var(--font-medium);
    padding: 10px 18px;
    position: relative;
    font-size: var(--font-size-base);
    transition: var(--transition-base);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 18px;
    right: 18px;
    height: 2px;
    background-color: var(--primary-accent);
    transform: scaleX(0);
    transition: var(--transition-base);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-accent);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    transform: scaleX(1);
}

.nav-icons {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.nav-icon {
    position: relative;
    font-size: var(--font-size-xl);
    color: var(--text-primary);
    transition: var(--transition-base);
}

.nav-icon:hover {
    color: var(--primary-accent);
}

.nav-icon .badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--secondary-accent);
    color: var(--white);
    font-size: 10px;
    width: 18px;
    height: 18px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: var(--font-bold);
}

.social-icons {
    display: flex;
    gap: var(--spacing-md);
    margin-left: var(--spacing-lg);
    padding-left: var(--spacing-lg);
    border-left: 1px solid var(--border-color);
}

.social-icons a {
    color: var(--text-secondary);
    font-size: var(--font-size-base);
    transition: var(--transition-base);
}

.social-icons a:hover {
    color: var(--primary-accent);
    transform: translateY(-2px);
}

/* Mobile Menu Toggle */
.navbar-toggler {
    border: none;
    padding: 10px;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    width: 24px;
    height: 2px;
    background-color: var(--primary-dark);
    display: block;
    position: relative;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: var(--primary-dark);
    left: 0;
    transition: var(--transition-base);
}

.navbar-toggler-icon::before { top: -8px; }
.navbar-toggler-icon::after { bottom: -8px; }

/* ============================================
   HERO SLIDER
   ============================================ */
.hero-slider {
    position: relative;
    overflow: hidden;
}

.hero-slide {
    position: relative;
    height: 700px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(17, 46, 65, 0.9) 0%, rgba(17, 46, 65, 0.7) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.hero-subtitle {
    display: inline-block;
    background: var(--primary-accent);
    color: var(--white);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: var(--font-semibold);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: var(--spacing-lg);
}

.hero-title {
    font-size: var(--font-size-hero);
    font-weight: var(--font-bold);
    color: var(--white);
    margin-bottom: var(--spacing-lg);
    line-height: 1.2;
}

.hero-title span {
    color: var(--primary-accent);
}

.hero-description {
    font-size: var(--font-size-lg);
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: var(--spacing-2xl);
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
}

/* Swiper Navigation */
.hero-slider .swiper-button-prev,
.hero-slider .swiper-button-next {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    transition: var(--transition-base);
}

.hero-slider .swiper-button-prev:hover,
.hero-slider .swiper-button-next:hover {
    background: var(--primary-accent);
}

.hero-slider .swiper-button-prev::after,
.hero-slider .swiper-button-next::after {
    font-size: 18px;
    color: var(--white);
}

.hero-slider .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
}

.hero-slider .swiper-pagination-bullet-active {
    background: var(--primary-accent);
    width: 30px;
    border-radius: var(--radius-full);
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features-section {
    padding: var(--spacing-section) 0;
    background: var(--bg-light);
}

.feature-card {
    background: var(--white);
    padding: var(--spacing-2xl);
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-card);
    transition: var(--transition-base);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-accent-light);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-lg);
    transition: var(--transition-base);
}

.feature-card:hover .feature-icon {
    background: var(--primary-accent);
}

.feature-icon i {
    font-size: 32px;
    color: var(--primary-accent);
    transition: var(--transition-base);
}

.feature-card:hover .feature-icon i {
    color: var(--white);
}

.feature-card h5 {
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-sm);
}

.feature-card p {
    font-size: var(--font-size-sm);
    margin-bottom: 0;
}

/* ============================================
   ABOUT SECTION (TABS)
   ============================================ */
.about-section {
    padding: var(--spacing-section) 0;
}

.about-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-badge {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: var(--primary-accent);
    color: var(--white);
    padding: var(--spacing-lg) var(--spacing-xl);
    border-radius: var(--radius-lg);
    text-align: center;
}

.about-badge .number {
    font-size: var(--font-size-4xl);
    font-weight: var(--font-bold);
    display: block;
    line-height: 1;
}

.about-badge .text {
    font-size: var(--font-size-sm);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-tabs {
    padding-left: var(--spacing-2xl);
}

.about-tabs .nav-tabs {
    border: none;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-xl);
}

.about-tabs .nav-link {
    border: none;
    background: var(--bg-light);
    color: var(--text-primary);
    padding: 15px 25px;
    border-radius: var(--radius-md);
    font-weight: var(--font-semibold);
    transition: var(--transition-base);
}

.about-tabs .nav-link:hover {
    background: var(--primary-accent-light);
    color: var(--primary-accent);
}

.about-tabs .nav-link.active {
    background: var(--primary-accent);
    color: var(--white);
}

.about-tabs .tab-content {
    padding: var(--spacing-lg) 0;
}

.about-tabs h3 {
    font-size: var(--font-size-3xl);
    margin-bottom: var(--spacing-lg);
}

.about-tabs p {
    font-size: var(--font-size-base);
    line-height: 1.8;
}

.progress-item {
    margin-bottom: var(--spacing-lg);
}

.progress-item .progress-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--spacing-sm);
}

.progress-item .progress-header span {
    font-weight: var(--font-medium);
    color: var(--text-primary);
}

.progress-item .progress {
    height: 8px;
    border-radius: var(--radius-full);
    background: var(--bg-light);
}

.progress-item .progress-bar {
    background: var(--primary-accent);
    border-radius: var(--radius-full);
}

/* ============================================
   PRODUCTS SECTION
   ============================================ */
.products-section {
    padding: var(--spacing-section) 0;
    background: var(--bg-light);
}

.product-filters {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-3xl);
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 28px;
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-full);
    font-weight: var(--font-medium);
    color: var(--text-primary);
    transition: var(--transition-base);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-accent);
    border-color: var(--primary-accent);
    color: var(--white);
}

.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: var(--transition-base);
    height: 100%;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.product-image {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--secondary-accent);
    color: var(--white);
    padding: 5px 12px;
    border-radius: var(--radius-sm);
    font-size: var(--font-size-xs);
    font-weight: var(--font-bold);
    text-transform: uppercase;
}

.product-badge.new {
    background: var(--primary-accent);
}

.product-actions {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    gap: var(--spacing-sm);
    opacity: 0;
    transition: var(--transition-base);
}

.product-card:hover .product-actions {
    opacity: 1;
}

.product-actions button {
    width: 45px;
    height: 45px;
    border-radius: var(--radius-full);
    background: var(--white);
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
    transform: translateY(20px);
}

.product-card:hover .product-actions button {
    transform: translateY(0);
}

.product-actions button:hover {
    background: var(--primary-accent);
    color: var(--white);
}

.product-content {
    padding: var(--spacing-lg);
}

.product-category {
    font-size: var(--font-size-xs);
    color: var(--primary-accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: var(--font-semibold);
    margin-bottom: var(--spacing-xs);
}

.product-title {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-sm);
    line-height: 1.4;
}

.product-title a {
    color: var(--text-primary);
}

.product-title a:hover {
    color: var(--primary-accent);
}

.product-rating {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.product-rating .stars {
    display: flex;
    gap: 2px;
}

.product-rating .stars i {
    color: var(--star-color);
    font-size: var(--font-size-sm);
}

.product-rating .count {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--border-color);
}

.product-price {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.product-price .current {
    font-size: var(--font-size-xl);
    font-weight: var(--font-bold);
    color: var(--primary-accent);
}

.product-price .original {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    text-decoration: line-through;
}

.add-to-cart-btn {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: var(--primary-accent-light);
    color: var(--primary-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
}

.add-to-cart-btn:hover {
    background: var(--primary-accent);
    color: var(--white);
}

/* ============================================
   STATISTICS SECTION
   ============================================ */
.stats-section {
    background: linear-gradient(135deg, var(--primary-accent) 0%, #008F87 100%);
    padding: var(--spacing-section) 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="2"/></svg>');
    opacity: 0.5;
}

.stat-item {
    text-align: center;
    position: relative;
    z-index: 1;
}

.stat-icon {
    font-size: 48px;
    color: var(--white);
    margin-bottom: var(--spacing-md);
    opacity: 0.9;
}

.stat-number {
    font-size: var(--font-size-5xl);
    font-weight: var(--font-bold);
    color: var(--white);
    line-height: 1;
    margin-bottom: var(--spacing-sm);
}

.stat-label {
    font-size: var(--font-size-lg);
    color: rgba(255, 255, 255, 0.9);
    font-weight: var(--font-medium);
}

/* ============================================
   TEAM/CREATORS SECTION
   ============================================ */
.team-section {
    padding: var(--spacing-section) 0;
}

.team-card {
    text-align: center;
    transition: var(--transition-base);
}

.team-card:hover {
    transform: translateY(-10px);
}

.team-avatar {
    width: 180px;
    height: 180px;
    border-radius: var(--radius-full);
    margin: 0 auto var(--spacing-lg);
    position: relative;
    overflow: hidden;
    border: 5px solid var(--white);
    box-shadow: var(--shadow-lg);
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-social {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(17, 46, 65, 0.9);
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    padding: var(--spacing-sm);
    transform: translateY(100%);
    transition: var(--transition-base);
}

.team-card:hover .team-social {
    transform: translateY(0);
}

.team-social a {
    color: var(--white);
    font-size: var(--font-size-sm);
}

.team-social a:hover {
    color: var(--primary-accent);
}

.team-card h5 {
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-xs);
}

.team-card .role {
    color: var(--primary-accent);
    font-weight: var(--font-medium);
    margin-bottom: var(--spacing-sm);
}

.team-card .products-count {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials-section {
    padding: var(--spacing-section) 0;
    background: var(--bg-light);
}

.testimonial-card {
    background: var(--white);
    padding: var(--spacing-2xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    text-align: center;
    position: relative;
}

.testimonial-card::before {
    content: '\f10d';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 48px;
    color: var(--primary-accent-light);
    position: absolute;
    top: 20px;
    left: 30px;
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-full);
    margin: 0 auto var(--spacing-lg);
    overflow: hidden;
    border: 3px solid var(--primary-accent);
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-rating {
    display: flex;
    justify-content: center;
    gap: 3px;
    margin-bottom: var(--spacing-md);
}

.testimonial-rating i {
    color: var(--star-color);
}

.testimonial-text {
    font-size: var(--font-size-lg);
    line-height: 1.8;
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: var(--spacing-lg);
}

.testimonial-author h5 {
    font-size: var(--font-size-lg);
    margin-bottom: 0;
}

.testimonial-author span {
    font-size: var(--font-size-sm);
    color: var(--primary-accent);
}

/* ============================================
   NEWSLETTER SECTION
   ============================================ */
.newsletter-section {
    padding: var(--spacing-section) 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, #1a4560 100%);
    position: relative;
    overflow: hidden;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><polygon points="100,10 40,180 190,60 10,60 160,180" fill="none" stroke="rgba(0,177,167,0.1)" stroke-width="2"/></svg>');
    opacity: 0.3;
}

.newsletter-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.newsletter-content h2 {
    color: var(--white);
    font-size: var(--font-size-4xl);
    margin-bottom: var(--spacing-md);
}

.newsletter-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-2xl);
}

.newsletter-form {
    display: flex;
    gap: var(--spacing-md);
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 18px 25px;
    border: none;
    border-radius: var(--radius-md);
    font-size: var(--font-size-base);
    outline: none;
}

.newsletter-form button {
    white-space: nowrap;
}

.newsletter-discount {
    display: inline-block;
    background: var(--secondary-accent);
    color: var(--white);
    padding: 10px 25px;
    border-radius: var(--radius-full);
    font-weight: var(--font-bold);
    margin-bottom: var(--spacing-lg);
    font-size: var(--font-size-lg);
}

/* ============================================
   BLOG SECTION
   ============================================ */
.blog-section {
    padding: var(--spacing-section) 0;
}

.blog-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: var(--transition-base);
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.blog-image {
    height: 220px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-content {
    padding: var(--spacing-lg);
}

.blog-meta {
    display: flex;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
    font-size: var(--font-size-sm);
    color: var(--text-muted);
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.blog-meta i {
    color: var(--primary-accent);
}

.blog-title {
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-md);
    line-height: 1.4;
}

.blog-title a {
    color: var(--text-primary);
}

.blog-title a:hover {
    color: var(--primary-accent);
}

.blog-excerpt {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    line-height: 1.7;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--primary-accent);
    font-weight: var(--font-semibold);
    font-size: var(--font-size-sm);
}

.read-more i {
    transition: var(--transition-base);
}

.read-more:hover i {
    transform: translateX(5px);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--primary-dark);
    color: var(--white);
}

.footer-main {
    padding: var(--spacing-section) 0 var(--spacing-3xl);
}

.footer-brand {
    margin-bottom: var(--spacing-lg);
}

.footer-brand .brand-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: var(--font-size-2xl);
    font-weight: var(--font-bold);
    color: var(--white);
    margin-bottom: var(--spacing-md);
}

.footer-brand .brand-logo i {
    color: var(--primary-accent);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--font-size-sm);
    line-height: 1.8;
}

.footer-social {
    display: flex;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition-base);
}

.footer-social a:hover {
    background: var(--primary-accent);
    transform: translateY(-3px);
}

.footer-title {
    font-size: var(--font-size-xl);
    font-weight: var(--font-semibold);
    margin-bottom: var(--spacing-lg);
    color: var(--white);
    position: relative;
    padding-bottom: var(--spacing-md);
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-accent);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--font-size-sm);
    transition: var(--transition-base);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.footer-links a::before {
    content: '\f105';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 10px;
    color: var(--primary-accent);
}

.footer-links a:hover {
    color: var(--primary-accent);
    padding-left: 5px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.footer-contact-item {
    display: flex;
    gap: var(--spacing-md);
}

.footer-contact-item i {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-accent);
    flex-shrink: 0;
}

.footer-contact-item .info {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact-item .info strong {
    display: block;
    color: var(--white);
    margin-bottom: 2px;
}

.footer-bottom {
    padding: var(--spacing-lg) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.copyright {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.7);
}

.copyright a {
    color: var(--primary-accent);
}

.payment-icons {
    display: flex;
    gap: var(--spacing-md);
}

.payment-icons img {
    height: 30px;
    opacity: 0.7;
    transition: var(--transition-base);
}

.payment-icons img:hover {
    opacity: 1;
}

.footer-legal {
    display: flex;
    gap: var(--spacing-lg);
}

.footer-legal a {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.7);
}

.footer-legal a:hover {
    color: var(--primary-accent);
}

/* ============================================
   BACK TO TOP BUTTON
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-accent);
    color: var(--white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-lg);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition-base);
    z-index: var(--z-fixed);
    cursor: pointer;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary-accent-hover);
    transform: translateY(-5px);
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */
@media (max-width: 1199.98px) {
    :root {
        --font-size-hero: 3rem;
        --font-size-4xl: 2.25rem;
    }
    
    .hero-slide {
        height: 600px;
    }
}

@media (max-width: 991.98px) {
    :root {
        --font-size-hero: 2.5rem;
        --font-size-4xl: 2rem;
        --font-size-3xl: 1.75rem;
        --spacing-section: 4rem;
    }
    
    .top-header-center {
        display: none;
    }
    
    .hero-slide {
        height: 550px;
    }
    
    .about-tabs {
        padding-left: 0;
        margin-top: var(--spacing-2xl);
    }
    
    .social-icons {
        display: none;
    }
}

@media (max-width: 767.98px) {
    :root {
        --font-size-hero: 2rem;
        --font-size-4xl: 1.75rem;
        --font-size-3xl: 1.5rem;
        --spacing-section: 3rem;
    }
    
    .top-header {
        padding: 8px 0;
    }
    
    .top-header-content {
        justify-content: center;
    }
    
    .top-header-right {
        display: none;
    }
    
    .hero-slide {
        height: 500px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .stat-item {
        margin-bottom: var(--spacing-2xl);
    }
}

@media (max-width: 575.98px) {
    :root {
        --font-size-hero: 1.75rem;
        --spacing-section: 2.5rem;
    }
    
    .section-title h2 {
        font-size: var(--font-size-2xl);
    }
    
    .hero-slide {
        height: 450px;
    }
    
    .btn {
        padding: 12px 24px;
    }
    
    .product-filters {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: var(--spacing-md);
    }
    
    .filter-btn {
        flex-shrink: 0;
    }
}

/* ============================================
   ANIMATION UTILITIES
   ============================================ */
[data-aos] {
    pointer-events: none;
}

[data-aos].aos-animate {
    pointer-events: auto;
}

/* Selection prevention for UI elements */
.btn,
.nav-link,
.filter-btn,
.product-card,
.feature-card,
.testimonial-card,
.blog-card,
.team-card,
.stat-item,
.footer-links a {
    user-select: none;
    -webkit-user-select: none;
    cursor: default;
}

.btn,
.nav-link,
.filter-btn,
.product-title a,
.blog-title a,
.read-more,
.footer-links a,
.add-to-cart-btn,
.product-actions button {
    cursor: pointer;
}
