/*
SAHMAR MARKET ZİNCİRİ - PREMIUM CSS
Modern, Premium Tasarım - 2025
*/

/* ===== CSS VARIABLES ===== */
:root {
    /* Premium Color Palette */
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    --accent-gradient: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    --dark-gradient: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    
    /* Colors */
    --primary-color: #667eea;
    --secondary-color: #11998e;
    --accent-color: #fa709a;
    --success-color: #38ef7d;
    --warning-color: #fee140;
    --danger-color: #ff6b6b;
    
    /* Text Colors */
    --text-primary: #1a202c;
    --text-secondary: #4a5568;
    --text-light: #718096;
    --text-white: #ffffff;
    
    /* Background Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-dark: #1a202c;
    --bg-glass: rgba(255, 255, 255, 0.1);
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 15px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 20px rgba(102, 126, 234, 0.3);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    
    /* Typography */
    --font-primary: 'Inter', 'Segoe UI', system-ui, sans-serif;
    --font-heading: 'Poppins', 'Inter', sans-serif;
    --font-mono: 'Fira Code', monospace;
    
    /* Transitions */
    --transition-fast: all 0.15s ease;
    --transition-normal: all 0.3s ease;
    --transition-slow: all 0.5s ease;
    --transition-spring: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* ===== GLOBAL RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: var(--text-primary);
    line-height: 1.7;
    background: var(--bg-secondary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===== PREMIUM LOADING SCREEN ===== */
#loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, 
        #667eea 0%, 
        #764ba2 25%, 
        #f093fb 50%, 
        #f5576c 75%, 
        #4facfe 100%);
    background-size: 400% 400%;
    animation: gradientShift 8s ease infinite;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    transition: opacity 1s ease, transform 0.8s ease;
}

#loading.fade-out {
    opacity: 0;
    transform: scale(1.05);
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Logo Container */
.logo-container {
    position: relative;
    margin-bottom: var(--space-xl);
}

/* Ana Spinner */
.main-spinner {
    width: 120px;
    height: 120px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top: 4px solid var(--text-white);
    border-radius: var(--radius-full);
    animation: mainSpin 1.5s linear infinite;
    position: relative;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.5));
}

.inner-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border: 3px solid rgba(255, 255, 255, 0.2);
    border-bottom: 3px solid rgba(255, 255, 255, 0.8);
    border-radius: var(--radius-full);
    animation: innerSpin 1s linear infinite reverse;
}

.market-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2.5rem;
    color: var(--text-white);
    animation: iconPulse 2s ease-in-out infinite;
}

/* Parçacıklar */
.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: var(--radius-full);
    animation: particleFloat 3s ease-in-out infinite;
}

.particle:nth-child(1) { top: -10px; left: 50%; animation-delay: 0s; }
.particle:nth-child(2) { top: 50%; right: -10px; animation-delay: 0.5s; }
.particle:nth-child(3) { bottom: -10px; left: 50%; animation-delay: 1s; }
.particle:nth-child(4) { top: 50%; left: -10px; animation-delay: 1.5s; }

/* Loading Metni */
.loading-text {
    color: var(--text-white);
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: var(--space-sm);
    opacity: 0;
    animation: textFadeIn 1.5s ease forwards, textGlow 2s ease-in-out infinite;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 1px;
    opacity: 0;
    animation: textFadeIn 1.8s ease forwards;
    animation-delay: 0.5s;
}

/* Progress Bar */
.progress-container {
    width: 250px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-sm);
    margin-top: var(--space-lg);
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0.8), #fff);
    border-radius: var(--radius-sm);
    width: 0%;
    animation: progressLoad 3s ease-in-out forwards;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

/* Floating Elements */
.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.float-item {
    position: absolute;
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    animation: floatUp 4s linear infinite;
}

.float-item:nth-child(odd) {
    background: rgba(255, 255, 255, 0.05);
    animation-duration: 6s;
}

/* Loading Animasyonları */
@keyframes mainSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes innerSpin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(-360deg); }
}

@keyframes iconPulse {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 1;
    }
}

@keyframes particleFloat {
    0%, 100% { 
        transform: translateY(0) scale(1);
        opacity: 0.5;
    }
    50% { 
        transform: translateY(-20px) scale(1.2);
        opacity: 1;
    }
}

@keyframes textFadeIn {
    0% { 
        opacity: 0;
        transform: translateY(20px);
    }
    100% { 
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes textGlow {
    0%, 100% { text-shadow: 0 0 20px rgba(255, 255, 255, 0.5); }
    50% { text-shadow: 0 0 30px rgba(255, 255, 255, 0.8); }
}

@keyframes progressLoad {
    0% { width: 0%; }
    20% { width: 15%; }
    40% { width: 35%; }
    60% { width: 60%; }
    80% { width: 85%; }
    100% { width: 100%; }
}

@keyframes floatUp {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

h1 { font-size: clamp(2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.75rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2.5rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 2rem); }
h5 { font-size: clamp(1.125rem, 2vw, 1.5rem); }
h6 { font-size: clamp(1rem, 1.5vw, 1.25rem); }

p {
    margin-bottom: var(--space-md);
    color: var(--text-secondary);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition-normal);
}

a:hover {
    color: var(--secondary-color);
    text-decoration: none;
}

/* ===== NAVBAR - MODERN GLASSMORPHISM ===== */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-md);
    padding: var(--space-md) 0;
    transition: var(--transition-normal);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1030;
}

.navbar.scrolled {
    padding: var(--space-sm) 0;
   
    box-shadow: var(--shadow-lg);
}

.navbar-brand {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.8rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    align-items: center;
    transition: var(--transition-normal);
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.navbar-brand i {
    margin-right: var(--space-sm);
    font-size: 1.5rem;
    color: var(--primary-color);
}

.navbar-nav .nav-link {
    color: var(--text-primary) !important;
    font-weight: 600;
    font-size: 0.95rem;
    margin: 0 var(--space-sm);
    padding: var(--space-sm) 0;
    position: relative;
    transition: var(--transition-normal);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary-gradient);
    border-radius: var(--radius-full);
    transition: var(--transition-spring);
}

.navbar-nav .nav-link:hover::before,
.navbar-nav .nav-link.active::before {
    width: 100%;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
    transform: translateY(-2px);
}

/* Mobile Menu */
.navbar-toggler {
    border: none;
    padding: 0;
    background: var(--primary-gradient);
    border-radius: var(--radius-sm);
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: none;
    width: 20px;
    height: 2px;
    background: white;
    position: relative;
    transition: var(--transition-normal);
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 2px;
    background: white;
    transition: var(--transition-normal);
}

.navbar-toggler-icon::before {
    top: -6px;
}

.navbar-toggler-icon::after {
    bottom: -6px;
}

/* ===== HERO SECTION - IMMERSIVE ===== */
.hero-slider {
    height: 100vh;
    min-height: 600px;
    position: relative;
    overflow: hidden;
}

.carousel-item {
    height: 100vh;
    min-height: 600px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(102, 126, 234, 0.8) 0%,
        rgba(118, 75, 162, 0.6) 50%,
        rgba(240, 147, 251, 0.4) 100%
    );
    z-index: 1;
}

.carousel-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    text-align: center;
    max-width: 800px;
    width: 90%;
}

.carousel-caption h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 800;
    margin-bottom: var(--space-xl);
    color: var(--text-white);
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    animation: heroFadeUp 1s ease 0.2s both;
    line-height: 1.1;
}

.carousel-caption p {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    margin-bottom: var(--space-xl);
    color: rgba(255, 255, 255, 0.95);
    animation: heroFadeUp 1s ease 0.4s both;
    font-weight: 400;
    line-height: 1.6;
}

.carousel-caption .btn {
    animation: heroFadeUp 1s ease 0.6s both;
}

@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Navigation */
.carousel-control-prev,
.carousel-control-next {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-full);
    top: 50%;
    transform: translateY(-50%);
    transition: var(--transition-normal);
}

.carousel-control-prev {
    left: 30px;
}

.carousel-control-next {
    right: 30px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.carousel-indicators {
    bottom: 30px;
}

.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: var(--radius-full);
    margin: 0 6px;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    transition: var(--transition-normal);
}

.carousel-indicators .active {
    background: var(--text-white);
    transform: scale(1.2);
}

/* ===== BUTTONS - MODERN & INTERACTIVE ===== */
.btn {
    font-weight: 600;
    font-size: 0.95rem;
    padding: 14px 32px;
    border-radius: var(--radius-full);
    border: none;
    position: relative;
    overflow: hidden;
    transition: var(--transition-spring);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: var(--transition-slow);
    z-index: -1;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--primary-gradient);
    color: var(--text-white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
    background: var(--primary-gradient);
}

.btn-secondary {
    background: var(--secondary-gradient);
    color: var(--text-white);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: var(--text-white);
    transform: translateY(-3px);
}

/* ===== SECTIONS - MODERN LAYOUTS ===== */
.section {
    padding: var(--space-2xl) 0;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: var(--space-2xl);
    position: relative;
}

.section-title h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-md);
    position: relative;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent-gradient);
    border-radius: var(--radius-full);
}

.section-title p {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ===== SERVICE CARDS - GLASSMORPHISM ===== */
.service-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-xl);
    padding: var(--space-xl) var(--space-lg);
    text-align: center;
    transition: var(--transition-spring);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: var(--primary-gradient);
    opacity: 0;
    transform: rotate(45deg);
    transition: var(--transition-slow);
    z-index: -1;
}

.service-card:hover::before {
    opacity: 0.05;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-xl);
    border-color: rgba(102, 126, 234, 0.3);
}

.service-icon {
    width: 100px;
    height: 100px;
    background: var(--primary-gradient);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-lg);
    color: var(--text-white);
    font-size: 2.5rem;
    transition: var(--transition-spring);
    position: relative;
    z-index: 1;
}

.service-icon::before {
    content: '';
    position: absolute;
    inset: -5px;
    background: var(--primary-gradient);
    border-radius: var(--radius-full);
    opacity: 0;
    transition: var(--transition-normal);
    z-index: -1;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-card:hover .service-icon::before {
    opacity: 0.3;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.05); opacity: 0.1; }
}

.service-card h5 {
    font-weight: 700;
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

.service-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* ===== BRANCH CARDS - MODERN DESIGN ===== */
.branch-card {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-spring);
    height: 100%;
    position: relative;
}

.branch-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--primary-gradient);
    opacity: 0;
    transition: var(--transition-normal);
    z-index: -1;
}

.branch-card:hover::before {
    opacity: 0.05;
}

.branch-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.branch-image {
    height: 250px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.branch-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(102, 126, 234, 0.3) 0%,
        rgba(118, 75, 162, 0.5) 100%
    );
    opacity: 0;
    transition: var(--transition-normal);
}

.branch-card:hover .branch-image::after {
    opacity: 1;
}

.branch-card .card-body {
    padding: var(--space-lg);
    position: relative;
}

.branch-card h5 {
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
}

.branch-card p {
    color: var(--text-light);
    margin-bottom: var(--space-sm);
    display: flex;
    align-items: center;
}

.branch-card p i {
    width: 20px;
    color: var(--primary-color);
    margin-right: var(--space-sm);
}

/* ===== BLOG CARDS - CREATIVE LAYOUT ===== */
.blog-card {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-spring);
    height: 100%;
    position: relative;
}

.blog-card:hover {
    transform: translateY(-8px) rotate(1deg);
    box-shadow: var(--shadow-xl);
}

.blog-image {
    height: 250px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.blog-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--dark-gradient);
    opacity: 0;
    transition: var(--transition-normal);
}

.blog-card:hover .blog-image::before {
    opacity: 0.3;
}

.blog-date {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-gradient);
    color: var(--text-white);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.blog-card .card-body {
    padding: var(--space-lg);
}

.blog-card h5 {
    font-weight: 700;
    margin-bottom: var(--space-md);
    transition: var(--transition-normal);
    line-height: 1.4;
}

.blog-card:hover h5 {
    color: var(--primary-color);
}

.blog-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* ===== TESTIMONIAL SECTION - ELEGANT ===== */
.testimonial-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.testimonial-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: float 20s linear infinite;
    z-index: 0;
}

@keyframes float {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(-50px, -50px) rotate(360deg); }
}

.testimonial-card {
    background: var(--bg-primary);
    padding: var(--space-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    text-align: center;
    margin: var(--space-xs);
    transition: var(--transition-spring);
    height: 90%;
    position: relative;
    z-index: 1;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.testimonial-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--primary-gradient);
    opacity: 0;
    border-radius: var(--radius-xl);
    transition: var(--transition-normal);
    z-index: -1;
}

.testimonial-card:hover::before {
    opacity: 0.05;
}

.testimonial-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

.testimonial-card .stars {
    margin-bottom: var(--space-lg);
    color: #ffd700;
    font-size: 1.5rem;
    filter: drop-shadow(0 2px 4px rgba(255, 215, 0, 0.3));
}

.testimonial-card p {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: var(--space-lg);
    color: var(--text-secondary);
    line-height: 1.8;
    position: relative;
}

.testimonial-card p::before,
.testimonial-card p::after {
    content: '"';
    font-size: 3rem;
    color: var(--primary-color);
    opacity: 0.3;
    position: absolute;
}

.testimonial-card p::before {
    top: -20px;
    left: -10px;
}

.testimonial-card p::after {
    bottom: -40px;
    right: -10px;
}

.testimonial-card .customer-name {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.testimonial-card .customer-title {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: var(--space-xs);
}

/* ===== ABOUT PAGE - PREMIUM LAYOUT ===== */
.about-section {
    padding: var(--space-2xl) 0;
    position: relative;
}

.about-image {
    height: 500px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    position: relative;
}

.about-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--primary-gradient);
    opacity: 0.1;
    z-index: 1;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.about-image:hover img {
    transform: scale(1.05);
}

.mission-text {
    padding-left: var(--space-xl);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mission-text h3 {
    color: var(--text-primary);
    margin-bottom: var(--space-lg);
    position: relative;
    padding-bottom: var(--space-md);
}

.mission-text h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100px;
    height: 4px;
    background: var(--secondary-gradient);
    border-radius: var(--radius-full);
}

.mission-text p.lead {
    font-size: 1.3rem;
    color: var(--text-secondary);
    font-weight: 500;
    line-height: 1.8;
    margin-bottom: var(--space-lg);
}

.mission-text p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: var(--space-lg);
}

/* Values Section */
.values-section {
    margin-top: var(--space-2xl);
    padding: var(--space-2xl) 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.02) 0%, rgba(118, 75, 162, 0.02) 100%);
    border-radius: var(--radius-xl);
}

.value-card {
    text-align: center;
    padding: var(--space-xl);
    transition: var(--transition-spring);
    border-radius: var(--radius-lg);
}

.value-card:hover {
    background: var(--bg-primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.value-icon {
    width: 90px;
    height: 90px;
    background: var(--secondary-gradient);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-lg);
    color: var(--text-white);
    font-size: 2.5rem;
    transition: var(--transition-spring);
    position: relative;
}

.value-icon::before {
    content: '';
    position: absolute;
    inset: -5px;
    background: var(--secondary-gradient);
    border-radius: var(--radius-full);
    opacity: 0;
    transition: var(--transition-normal);
    z-index: -1;
}

.value-card:hover .value-icon {
    transform: scale(1.1) rotateY(180deg);
}

.value-card:hover .value-icon::before {
    opacity: 0.3;
    animation: pulse 2s infinite;
}

.value-card h5 {
    color: var(--text-primary);
    font-weight: 700;
    margin-bottom: var(--space-md);
}

.value-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* ===== CONTACT PAGE - MODERN FORMS ===== */
.contact-section {
    padding: var(--space-2xl) 0;
}

.contact-card {
    background: var(--bg-primary);
    padding: var(--space-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    text-align: center;
    margin-bottom: var(--space-lg);
    transition: var(--transition-spring);
    height: 100%;
    border: 1px solid rgba(102, 126, 234, 0.1);
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: var(--primary-gradient);
    opacity: 0;
    transform: rotate(45deg);
    transition: var(--transition-slow);
    z-index: -1;
}

.contact-card:hover::before {
    opacity: 0.05;
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.contact-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-gradient);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-lg);
    color: var(--text-white);
    font-size: 2rem;
    transition: var(--transition-spring);
}

.contact-card:hover .contact-icon {
    transform: rotate(15deg) scale(1.1);
}

.contact-card h5 {
    margin-bottom: var(--space-md);
    color: var(--text-primary);
    font-weight: 700;
}

.contact-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Contact Form */
.contact-form {
    background: var(--bg-primary);
    padding: var(--space-2xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(102, 126, 234, 0.1);
    position: relative;
    overflow: hidden;
}

.contact-form::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: var(--transition-slow);
}

.contact-form:hover::before {
    left: 100%;
}

.form-control,
.form-select {
    padding: 15px 20px;
    border-radius: var(--radius-md);
    border: 2px solid #e2e8f0;
    background: var(--bg-secondary);
    transition: var(--transition-normal);
    font-size: 1rem;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
    background: var(--bg-primary);
    outline: none;
}

.form-label {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
    font-size: 0.95rem;
}

.form-label.required::after {
    content: ' *';
    color: var(--danger-color);
}

/* Working Hours */
.working-hours {
    background: var(--bg-primary);
    padding: var(--space-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.working-hours h5 {
    color: var(--text-primary);
    margin-bottom: var(--space-lg);
    text-align: center;
}

.working-hours .day-schedule {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-sm) 0;
    border-bottom: 1px solid #e2e8f0;
}

.working-hours .day-schedule:last-child {
    border-bottom: none;
}

.working-hours .day {
    font-weight: 600;
    color: var(--text-primary);
}

.working-hours .time {
    color: var(--text-light);
    font-weight: 500;
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    margin-top: var(--space-lg);
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: var(--radius-full);
    background: var(--bg-secondary);
    color: var(--text-primary);
    transition: var(--transition-spring);
    position: relative;
    overflow: hidden;
}

.social-icons a::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-full);
    transition: var(--transition-normal);
    z-index: -1;
}

.social-icons a:hover {
    transform: translateY(-3px) scale(1.1);
    color: var(--text-white);
}

.social-icons a.facebook:hover::before { background: #3b5998; }
.social-icons a.twitter:hover::before { background: #1da1f2; }
.social-icons a.instagram:hover::before { background: var(--accent-gradient); }
.social-icons a.whatsapp:hover::before { background: #25d366; }

/* ===== JOBS PAGE - CAREER SECTION ===== */
.jobs-section {
    padding: var(--space-2xl) 0;
}

.job-form {
    background: var(--bg-primary);
    padding: var(--space-2xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(102, 126, 234, 0.1);
    margin-bottom: var(--space-xl);
    position: relative;
    overflow: hidden;
}

.job-form::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--primary-gradient);
    border-radius: var(--radius-xl);
    z-index: -1;
    opacity: 0;
    transition: var(--transition-normal);
}

.job-form:hover::before {
    opacity: 0.1;
}

.job-form h4 {
    color: var(--text-primary);
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-md);
    border-bottom: 2px solid #e2e8f0;
    position: relative;
}

.job-form h4::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100px;
    height: 2px;
    background: var(--primary-gradient);
}

.position-card {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    box-shadow: var(--shadow-lg);
    transition: var(--transition-spring);
    height: 100%;
    border: 1px solid rgba(102, 126, 234, 0.1);
    text-align: center;
    margin-bottom: var(--space-xl);
    position: relative;
    overflow: hidden;
}

.position-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: var(--secondary-gradient);
    opacity: 0;
    transform: rotate(45deg);
    transition: var(--transition-slow);
    z-index: -1;
}

.position-card:hover::before {
    opacity: 0.05;
}

.position-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

.position-icon {
    width: 90px;
    height: 90px;
    background: var(--secondary-gradient);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-lg);
    color: var(--text-white);
    font-size: 2.5rem;
    transition: var(--transition-spring);
}

.position-card:hover .position-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-glow);
}

.position-card h5 {
    color: var(--text-primary);
    margin-bottom: var(--space-lg);
    font-weight: 700;
}

.position-card p {
    color: var(--text-light);
    margin-bottom: var(--space-sm);
    line-height: 1.6;
}

.position-card p strong {
    color: var(--text-primary);
}

.apply-btn {
    margin-top: var(--space-lg);
}

/* Form Sections */
.form-section {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.03) 0%, rgba(118, 75, 162, 0.03) 100%);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-lg);
    border-left: 4px solid var(--primary-color);
    position: relative;
}

.form-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-gradient);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.form-section-title {
    color: var(--text-primary);
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    font-weight: 700;
}

.form-section-title i {
    margin-right: var(--space-sm);
    font-size: 1.3rem;
    color: var(--primary-color);
}

/* File Upload */
.file-upload-box {
    border: 2px dashed #cbd5e0;
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    text-align: center;
    margin-bottom: var(--space-md);
    transition: var(--transition-normal);
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.file-upload-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--primary-gradient);
    opacity: 0;
    transition: var(--transition-normal);
}

.file-upload-box:hover {
    border-color: var(--primary-color);
    background: rgba(102, 126, 234, 0.05);
}

.file-upload-box:hover::before {
    opacity: 0.02;
}

.file-upload-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: var(--space-sm);
    transition: var(--transition-normal);
}

.file-upload-box:hover .file-upload-icon {
    transform: scale(1.1);
}

/* Form Checks */
.form-check {
    margin-bottom: var(--space-md);
    padding-left: 2rem;
}

.form-check-input {
    width: 1.2rem;
    height: 1.2rem;
    margin-top: 0.25rem;
    border: 2px solid #e2e8f0;
    transition: var(--transition-normal);
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.form-check-label {
    color: var(--text-secondary);
    font-weight: 500;
    line-height: 1.6;
}

/* ===== BRAND SLIDER - PREMIUM ===== */
.brand-slider {
    background: var(--bg-primary);
    padding: var(--space-2xl) 0;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    margin-bottom: var(--space-2xl);
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.brand-slider::before,
.brand-slider::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 150px;
    z-index: 2;
    pointer-events: none;
}

.brand-slider::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-primary), transparent);
}

.brand-slider::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-primary), transparent);
}

.brand-track {
    display: inline-block;
    animation: brandScroll 25s linear infinite;
    padding: var(--space-sm) 0;
}

.brand-item {
    display: inline-block;
    margin: 0 var(--space-2xl);
    opacity: 0.6;
    transition: var(--transition-normal);
    vertical-align: middle;
    position: relative;
}

.brand-item::before {
    content: '';
    position: absolute;
    inset: -10px;
    background: var(--primary-gradient);
    opacity: 0;
    border-radius: var(--radius-lg);
    transition: var(--transition-normal);
    z-index: -1;
}

.brand-item:hover {
    opacity: 1;
    transform: scale(1.1);
}

.brand-item:hover::before {
    opacity: 0.05;
}

.brand-logo {
    height: 60px;
    filter: grayscale(100%) brightness(0.8);
    transition: var(--transition-normal);
    border-radius: var(--radius-sm);
}

.brand-item:hover .brand-logo {
    filter: grayscale(0) brightness(1.1);
    box-shadow: var(--shadow-md);
}

@keyframes brandScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ===== FOOTER - MODERN DARK ===== */
.footer {
    background: var(--dark-gradient);
    color: var(--text-white);
    padding: var(--space-2xl) 0 var(--space-lg);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    animation: float 30s linear infinite;
    z-index: 0;
}

.footer > * {
    position: relative;
    z-index: 1;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: var(--space-lg);
    display: inline-block;
    background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-logo i {
    margin-right: var(--space-sm);
    color: var(--text-white);
}

.footer p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--space-lg);
    line-height: 1.7;
}

.footer h6 {
    color: var(--text-white);
    margin-bottom: var(--space-lg);
    font-weight: 700;
    position: relative;
    padding-bottom: var(--space-sm);
    font-size: 1.1rem;
}

.footer h6::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--secondary-gradient);
    border-radius: var(--radius-full);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: var(--space-sm);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition-normal);
    text-decoration: none;
    position: relative;
    padding-left: 0;
}

.footer-links a::before {
    content: '';
    position: absolute;
    left: -15px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: var(--transition-normal);
}

.footer-links a:hover {
    color: var(--text-white);
    padding-left: var(--space-md);
}

.footer-links a:hover::before {
    width: 10px;
}

.footer-contact p {
    display: flex;
    align-items: flex-start;
    margin-bottom: var(--space-md);
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact i {
    margin-right: var(--space-md);
    color: var(--secondary-color);
    margin-top: 3px;
    width: 20px;
}

.social-links {
    display: flex;
    gap: var(--space-md);
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    transition: var(--transition-spring);
    position: relative;
    overflow: hidden;
}

.social-links a::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-full);
    transition: var(--transition-normal);
    z-index: -1;
}

.social-links a:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: var(--shadow-glow);
}

.social-links a.facebook:hover::before { background: #3b5998; }
.social-links a.twitter:hover::before { background: #1da1f2; }
.social-links a.instagram:hover::before { background: var(--accent-gradient); }
.social-links a.whatsapp:hover::before { background: #25d366; }

/* Copyright */
.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--space-lg);
    margin-top: var(--space-2xl);
    text-align: center;
}

.copyright p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0;
}

.copyright-links {
    display: flex;
    justify-content: center;
    gap: var(--space-lg);
    margin-top: var(--space-md);
}

.copyright-links a {
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition-normal);
    font-size: 0.9rem;
}

.copyright-links a:hover {
    color: var(--text-white);
}

/* ===== UTILITY CLASSES ===== */
.page-content {
    min-height: 80vh;
    padding: calc(var(--space-2xl) + 80px) 0 var(--space-2xl);
}

.main-content {
    display: none;
    animation: contentFadeIn 1s ease forwards;
}

.main-content.show {
    display: block;
}

@keyframes contentFadeIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.hidden { display: none !important; }
.visible { display: block !important; }

.bg-gradient-primary { background: var(--primary-gradient); }
.bg-gradient-secondary { background: var(--secondary-gradient); }
.bg-gradient-accent { background: var(--accent-gradient); }

.text-gradient-primary {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.border-gradient-primary {
    border: 2px solid transparent;
    background: linear-gradient(white, white), var(--primary-gradient);
    background-clip: padding-box, border-box;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Large Devices */
@media (max-width: 1199.98px) {
    :root {
        --space-xs: 0.4rem;
        --space-sm: 0.8rem;
        --space-md: 1.2rem;
        --space-lg: 1.6rem;
        --space-xl: 2.4rem;
        --space-2xl: 3.2rem;
    }
    
    .hero-slider, .carousel-item {
        height: 80vh;
        min-height: 500px;
    }
    
    .mission-text {
        padding-left: var(--space-lg);
    }
}

/* Medium Devices */
@media (max-width: 991.98px) {
    .hero-slider, .carousel-item {
        height: 70vh;
        min-height: 450px;
    }
    
    .carousel-caption {
        max-width: 600px;
    }
    
    .mission-text {
        padding-left: 0;
        margin-top: var(--space-xl);
    }
    
    .about-image {
        height: 400px;
        margin-bottom: var(--space-xl);
    }
    
    .job-form {
        padding: var(--space-xl);
    }
    
    .contact-form {
        padding: var(--space-xl);
    }
    
    .navbar-brand {
        font-size: 1.6rem;
    }
}

/* Small Devices */
@media (max-width: 767.98px) {
    :root {
        --space-xs: 0.3rem;
        --space-sm: 0.6rem;
        --space-md: 1rem;
        --space-lg: 1.4rem;
        --space-xl: 2rem;
        --space-2xl: 2.8rem;
    }
    
    .navbar {
        padding: var(--space-sm) 0;
    }
    
    .navbar-brand {
        font-size: 1.4rem;
    }
    
    .hero-slider, .carousel-item {
        height: 60vh;
        min-height: 400px;
    }
    
    .carousel-caption {
        max-width: 80%;
        padding: 0 var(--space-md);
    }
    
    .carousel-control-prev {
        left: 15px;
    }
    
    .carousel-control-next {
        right: 15px;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 60px;
        height: 60px;
    }
    
    .section {
        padding: var(--space-xl) 0;
    }
    
    .service-card,
    .branch-card,
    .blog-card,
    .testimonial-card,
    .contact-card,
    .position-card {
        margin-bottom: var(--space-xl);
    }
    
    .service-icon,
    .value-icon,
    .contact-icon,
    .position-icon {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }
    
    .job-form,
    .contact-form,
    .working-hours {
        padding: var(--space-lg);
        margin-bottom: var(--space-xl);
    }
    
    .form-section {
        padding: var(--space-md);
    }
    
    .file-upload-box {
        padding: var(--space-lg);
    }
    
    .brand-item {
        margin: 0 var(--space-lg);
    }
    
    .brand-logo {
        height: 45px;
    }
    
    .footer {
        text-align: center;
        padding: var(--space-xl) 0 var(--space-lg);
    }
    
    .footer h6::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-links {
        margin-bottom: var(--space-xl);
    }
    
    .footer-contact p {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
        margin-bottom: var(--space-xl);
    }
    
    .copyright-links {
        flex-direction: column;
        gap: var(--space-sm);
    }
    
    .main-spinner {
        width: 100px;
        height: 100px;
    }
    
    .inner-spinner {
        width: 70px;
        height: 70px;
    }
    
    .market-icon {
        font-size: 2rem;
    }
    
    .loading-text {
        font-size: 1.2rem;
        letter-spacing: 2px;
    }
    
    .progress-container {
        width: 200px;
    }
}

/* Extra Small Devices */
@media (max-width: 575.98px) {
    :root {
        --space-xs: 0.25rem;
        --space-sm: 0.5rem;
        --space-md: 0.8rem;
        --space-lg: 1.2rem;
        --space-xl: 1.6rem;
        --space-2xl: 2.4rem;
    }
    
    .navbar-brand {
        font-size: 1.3rem;
    }
    
    .hero-slider, .carousel-item {
        height: 50vh;
        min-height: 350px;
    }
    
    .carousel-caption {
        padding: 0 var(--space-sm);
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
    
    .service-card,
    .branch-card,
    .blog-card,
    .testimonial-card,
    .contact-card,
    .position-card {
        padding: var(--space-lg);
    }
    
    .job-form,
    .contact-form {
        padding: var(--space-md);
    }
    
    .form-section {
        padding: var(--space-sm);
    }
    
    .file-upload-box {
        padding: var(--space-md);
    }
    
    .brand-item {
        margin: 0 var(--space-md);
    }
    
    .brand-logo {
        height: 35px;
    }
    
    .social-links a,
    .social-icons a {
        width: 40px;
        height: 40px;
    }
    
    .main-spinner {
        width: 80px;
        height: 80px;
    }
    
    .inner-spinner {
        width: 55px;
        height: 55px;
    }
    
    .market-icon {
        font-size: 1.8rem;
    }
    
    .loading-text {
        font-size: 1rem;
        letter-spacing: 1.5px;
    }
    
    .subtitle {
        font-size: 0.9rem;
    }
    
    .progress-container {
        width: 180px;
    }
}

/* ===== ACCESSIBILITY & PERFORMANCE ===== */

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .floating-elements,
    .float-item {
        display: none;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #0066cc;
        --secondary-color: #009900;
        --text-primary: #000000;
        --text-secondary: #333333;
        --bg-primary: #ffffff;
        --bg-secondary: #f5f5f5;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    :root {
        --bg-primary: #1a202c;
        --bg-secondary: #2d3748;
        --text-primary: #f7fafc;
        --text-secondary: #e2e8f0;
        --text-light: #cbd5e0;
    }
    
    .navbar {
        background: rgba(26, 32, 44, 0.95);
    }
    
    .service-card,
    .branch-card,
    .blog-card,
    .testimonial-card,
    .contact-card,
    .position-card,
    .contact-form,
    .job-form,
    .working-hours {
        background: var(--bg-primary);
        border-color: rgba(255, 255, 255, 0.1);
    }
    
    .form-control,
    .form-select {
        background: var(--bg-secondary);
        border-color: rgba(255, 255, 255, 0.2);
        color: var(--text-primary);
    }
    
    .form-control:focus,
    .form-select:focus {
        background: var(--bg-primary);
        border-color: var(--primary-color);
        color: var(--text-primary);
    }
}

/* ===== SCROLL ANIMATIONS ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-slow);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: var(--transition-slow);
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: var(--transition-slow);
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.8);
    transition: var(--transition-slow);
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* ===== CUSTOM SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-gradient);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-gradient);
}

/* Firefox */
html {
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) var(--bg-secondary);
}

/* ===== SELECTION STYLING ===== */
::selection {
    background: var(--primary-color);
    color: var(--text-white);
}

::-moz-selection {
    background: var(--primary-color);
    color: var(--text-white);
}

/* ===== FOCUS STYLES ===== */
*:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.btn:focus,
.form-control:focus,
.form-select:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.25);
}

/* ===== PRINT STYLES ===== */
@media print {
    #loading,
    .navbar,
    .footer,
    .carousel-control-prev,
    .carousel-control-next,
    .carousel-indicators,
    .floating-elements {
        display: none !important;
    }
    
    .hero-slider {
        height: 300px !important;
    }
    
    * {
        animation: none !important;
        transition: none !important;
        box-shadow: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
        color: #000 !important;
    }
    
    .page-content {
        padding: 0;
        min-height: auto;
    }
}

/* ===== END OF PREMIUM SAHMAR MARKET CSS ===== */