/* ===================================
   CSS Variables - Brand Colors & Fonts
   =================================== */
:root {
    /* Brand Colors */
    --color-primary: #D32F2F;
    --color-secondary: #1E88A8;
    --color-white: #FFFFFF;
    --color-light-gray: #F5F7FA;
    --color-dark-gray: #333333;
    --color-text: #2C3E50;
    --color-whatsapp: #25D366;
    
    /* Fonts */
    --font-heading: 'Cairo', 'Tajawal', sans-serif;
    --font-body: 'Noto Sans Arabic', sans-serif;
    
    /* Spacing (8px base unit) */
    --spacing-xs: 0.5rem;   /* 8px */
    --spacing-sm: 1rem;     /* 16px */
    --spacing-md: 1.5rem;   /* 24px */
    --spacing-lg: 2rem;     /* 32px */
    --spacing-xl: 3rem;     /* 48px */
    --spacing-xxl: 4rem;    /* 64px */
    
    /* Breakpoints */
    --breakpoint-mobile: 767px;
    --breakpoint-tablet: 1023px;
    --breakpoint-desktop: 1439px;
    
    /* Animation Durations */
    --duration-fast: 100ms;
    --duration-normal: 300ms;
    --duration-slow: 600ms;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* ===================================
   Reset & Base Styles
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    line-height: 1.6;
    background-color: var(--color-white);
    direction: rtl;
    text-align: right;
    padding-top: 70px; /* Account for fixed header */
}

/* Tablet: 768px and up */
@media (min-width: 768px) {
    body {
        padding-top: 90px;
    }
}

/* Desktop: 1024px and up */
@media (min-width: 1024px) {
    body {
        padding-top: 100px;
    }
}

/* ===================================
   Typography
   =================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: var(--spacing-sm);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: var(--spacing-sm);
}

/* ===================================
   Buttons
   =================================== */
.btn {
    display: inline-block;
    padding: var(--spacing-sm) var(--spacing-lg);
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--duration-fast) ease;
    text-align: center;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: #B71C1C;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: var(--color-white);
    color: var(--color-primary);
    border: 2px solid var(--color-white);
}

.btn-secondary:hover {
    background-color: transparent;
    color: var(--color-white);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background-color: var(--color-whatsapp);
    color: var(--color-white);
}

.btn-whatsapp:hover {
    background-color: #128C7E;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ===================================
   Container & Layout
   =================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

section {
    padding: var(--spacing-xxl) 0;
}

/* ===================================
   Utility Classes
   =================================== */
.text-center {
    text-align: center;
}

.mb-sm {
    margin-bottom: var(--spacing-sm);
}

.mb-md {
    margin-bottom: var(--spacing-md);
}

.mb-lg {
    margin-bottom: var(--spacing-lg);
}

/* ===================================
   Animations
   =================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn var(--duration-normal) ease-out forwards;
    opacity: 1 !important;
}

/* ===================================
   Responsive Design - Mobile First
   =================================== */

/* Mobile (default styles above) */

/* Tablet: 768px and up */
@media (min-width: 768px) {
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.5rem;
    }
    
    section {
        padding: var(--spacing-xxl) 0;
    }
}

/* Desktop: 1024px and up */
@media (min-width: 1024px) {
    h1 {
        font-size: 3.5rem;
    }
    
    h2 {
        font-size: 3rem;
    }
    
    .container {
        padding: 0 var(--spacing-lg);
    }
}

/* Large Desktop: 1440px and up */
@media (min-width: 1440px) {
    h1 {
        font-size: 4rem;
    }
}

/* ===================================
   Accessibility
   =================================== */
:focus {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ===================================
   Header Component
   =================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--color-white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: box-shadow var(--duration-normal) ease;
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-sm) 0;
    gap: var(--spacing-md);
}

/* Logo */
.header-logo {
    flex-shrink: 0;
}

.logo-img {
    height: 50px;
    width: auto;
    display: block;
}

/* Navigation Menu */
.header-nav {
    display: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-lg);
    align-items: center;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: block;
    padding: var(--spacing-xs) 0;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text);
    text-decoration: none;
    transition: color var(--duration-fast) ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: width var(--duration-fast) ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* CTA Button in Header */
.header-cta {
    display: none;
}

/* Mobile Menu Toggle (Hamburger) */
.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background-color: var(--color-text);
    border-radius: 2px;
    transition: all var(--duration-normal) ease;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
    transform: translateY(10.5px) rotate(45deg);
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
    transform: translateY(-10.5px) rotate(-45deg);
}

/* Mobile Menu Styles */
@media (max-width: 767px) {
    .header-nav {
        display: block;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background-color: var(--color-white);
        box-shadow: var(--shadow-md);
        max-height: 0;
        overflow: hidden;
        transition: max-height var(--duration-normal) ease;
    }
    
    .header-nav.active {
        max-height: 400px;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 0;
        padding: var(--spacing-md) 0;
    }
    
    .nav-item {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid var(--color-light-gray);
    }
    
    .nav-item:last-child {
        border-bottom: none;
    }
    
    .nav-link {
        padding: var(--spacing-sm) var(--spacing-md);
    }
    
    .nav-link::after {
        display: none;
    }
}

/* Tablet: 768px and up */
@media (min-width: 768px) {
    .header-content {
        padding: var(--spacing-md) 0;
    }
    
    .logo-img {
        height: 60px;
    }
    
    .header-nav {
        display: block;
        flex: 1;
        margin: 0 var(--spacing-lg);
    }
    
    .nav-menu {
        justify-content: center;
    }
    
    .header-cta {
        display: inline-block;
    }
    
    .mobile-menu-toggle {
        display: none;
    }
}

/* Desktop: 1024px and up */
@media (min-width: 1024px) {
    .logo-img {
        height: 70px;
    }
    
    .nav-menu {
        gap: var(--spacing-xl);
    }
    
    .nav-link {
        font-size: 1.1rem;
    }
}

/* ===================================
   Hero Section Component
   =================================== */
.hero-section {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Fallback gradient background */
    background: linear-gradient(135deg, #1E88A8 0%, #156d8a 100%);
    /* Background image - replace hero-bg.jpg with actual pharmacy image */
    background-image: url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: var(--spacing-xxl) 0;
}

/* Hero Overlay - Semi-transparent blue */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(30, 136, 168, 0.85);
    z-index: 1;
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--color-white);
    max-width: 800px;
    margin: 0 auto;
}

.hero-heading {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: var(--spacing-md);
    line-height: 1.4;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--color-white);
    margin-bottom: var(--spacing-xl);
    line-height: 1.8;
    opacity: 0.95;
}

/* Hero CTA Buttons */
.hero-cta-buttons {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    align-items: center;
}

.hero-cta-buttons .btn {
    width: 100%;
    max-width: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-md) var(--spacing-lg);
    font-size: 1rem;
}

.btn-icon {
    flex-shrink: 0;
}

/* Tablet: 768px and up */
@media (min-width: 768px) {
    .hero-section {
        min-height: 600px;
    }
    
    .hero-heading {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.25rem;
    }
    
    .hero-cta-buttons {
        flex-direction: row;
        justify-content: center;
    }
    
    .hero-cta-buttons .btn {
        width: auto;
        min-width: 250px;
    }
}

/* Desktop: 1024px and up */
@media (min-width: 1024px) {
    .hero-section {
        min-height: 700px;
    }
    
    .hero-heading {
        font-size: 3rem;
    }
    
    .hero-description {
        font-size: 1.35rem;
    }
    
    .hero-cta-buttons .btn {
        min-width: 280px;
        font-size: 1.1rem;
    }
}

/* Large Desktop: 1440px and up */
@media (min-width: 1440px) {
    .hero-section {
        min-height: 750px;
    }
    
    .hero-heading {
        font-size: 3.5rem;
    }
    
    .hero-description {
        font-size: 1.5rem;
    }
}

/* ===================================
   Stats Section Component
   =================================== */
.stats-section {
    background-color: var(--color-light-gray);
    padding: var(--spacing-xxl) 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
}

.stat-card {
    background-color: var(--color-white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform var(--duration-fast) ease, box-shadow var(--duration-fast) ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.stat-icon {
    color: var(--color-secondary);
    margin-bottom: var(--spacing-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon svg {
    width: 40px;
    height: 40px;
}

.stat-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-value {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--spacing-xs);
    line-height: 1.2;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--color-text);
    margin-bottom: 0;
    line-height: 1.4;
}

/* Tablet: 768px and up - Horizontal layout */
@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: var(--spacing-lg);
    }
    
    .stat-icon svg {
        width: 48px;
        height: 48px;
    }
    
    .stat-value {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 1rem;
    }
}

/* Desktop: 1024px and up */
@media (min-width: 1024px) {
    .stats-section {
        padding: var(--spacing-xxl) 0;
    }
    
    .stats-grid {
        gap: var(--spacing-xl);
    }
    
    .stat-card {
        padding: var(--spacing-xl);
    }
    
    .stat-icon svg {
        width: 56px;
        height: 56px;
    }
    
    .stat-value {
        font-size: 2.25rem;
    }
    
    .stat-label {
        font-size: 1.1rem;
    }
}

/* Large Desktop: 1440px and up */
@media (min-width: 1440px) {
    .stat-icon svg {
        width: 64px;
        height: 64px;
    }
    
    .stat-value {
        font-size: 2.5rem;
    }
}

/* ===================================
   About Section Component
   =================================== */
.about-section {
    background-color: var(--color-white);
    padding: var(--spacing-xxl) 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

/* Section Heading */
.section-heading {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: var(--spacing-md);
    line-height: 1.3;
}

/* Text Column */
.about-text {
    order: 2;
}

.about-description {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-text);
    margin-bottom: var(--spacing-md);
}

.about-description:last-child {
    margin-bottom: 0;
}

/* Image Column */
.about-image {
    order: 1;
    width: 100%;
}

.about-img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    display: block;
}

/* Tablet: 768px and up - Two-column layout */
@media (min-width: 768px) {
    .about-content {
        grid-template-columns: 1fr 1fr;
        gap: var(--spacing-xl);
    }
    
    .about-text {
        order: 1;
    }
    
    .about-image {
        order: 2;
    }
    
    .section-heading {
        font-size: 2.25rem;
    }
    
    .about-description {
        font-size: 1.05rem;
    }
}

/* Desktop: 1024px and up */
@media (min-width: 1024px) {
    .about-section {
        padding: 5rem 0;
    }
    
    .about-content {
        gap: 3rem;
    }
    
    .section-heading {
        font-size: 2.5rem;
        margin-bottom: var(--spacing-lg);
    }
    
    .about-description {
        font-size: 1.1rem;
        line-height: 1.9;
    }
}

/* Large Desktop: 1440px and up */
@media (min-width: 1440px) {
    .about-content {
        gap: 4rem;
    }
    
    .section-heading {
        font-size: 3rem;
    }
    
    .about-description {
        font-size: 1.15rem;
        line-height: 2;
    }
}

/* ===================================
   Features Section Component
   =================================== */
.features-section {
    background-color: var(--color-light-gray);
    padding: var(--spacing-xxl) 0;
}

.features-section .section-heading {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
}

.feature-card {
    background-color: var(--color-white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform var(--duration-fast) ease, box-shadow var(--duration-fast) ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    color: var(--color-secondary);
    margin-bottom: var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg {
    width: 48px;
    height: 48px;
}

.feature-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 0;
    line-height: 1.4;
}

/* Tablet: 768px and up - 2x2 Grid */
@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-lg);
    }
    
    .feature-icon svg {
        width: 56px;
        height: 56px;
    }
    
    .feature-title {
        font-size: 1.35rem;
    }
}

/* Desktop: 1024px and up */
@media (min-width: 1024px) {
    .features-section {
        padding: 5rem 0;
    }
    
    .features-grid {
        gap: var(--spacing-xl);
    }
    
    .feature-card {
        padding: var(--spacing-xxl);
    }
    
    .feature-icon svg {
        width: 64px;
        height: 64px;
    }
    
    .feature-title {
        font-size: 1.5rem;
    }
}

/* Large Desktop: 1440px and up */
@media (min-width: 1440px) {
    .features-grid {
        gap: 2.5rem;
    }
    
    .feature-icon svg {
        width: 72px;
        height: 72px;
    }
    
    .feature-title {
        font-size: 1.65rem;
    }
}

/* ===================================
   Branches Section Component
   =================================== */
.branches-section {
    background-color: var(--color-white);
    padding: var(--spacing-xxl) 0;
}

.branches-section .section-heading {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.branches-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
}

/* Branch Card */
.branch-card {
    background-color: var(--color-white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 2px solid var(--color-light-gray);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform var(--duration-fast) ease, box-shadow var(--duration-fast) ease, border-color var(--duration-fast) ease;
    position: relative;
    cursor: pointer;
}

.branch-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-secondary);
}

.branch-icon {
    color: var(--color-secondary);
    margin-bottom: var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.branch-icon svg {
    width: 48px;
    height: 48px;
}

.branch-name {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: var(--spacing-xs);
    line-height: 1.4;
}

.branch-location {
    font-size: 1rem;
    color: var(--color-text);
    opacity: 0.8;
    margin-bottom: var(--spacing-md);
    line-height: 1.5;
}

.branch-contact-btn {
    background-color: var(--color-secondary);
    color: var(--color-white);
    border: none;
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--radius-md);
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color var(--duration-fast) ease, transform var(--duration-fast) ease;
}

.branch-contact-btn:hover {
    background-color: #156d8a;
    transform: scale(1.05);
}

/* Wholesale Branch Card - Distinctive Design */
.branch-card-wholesale {
    background: linear-gradient(135deg, #1E88A8 0%, #156d8a 100%);
    border: 2px solid var(--color-secondary);
    color: var(--color-white);
}

.branch-card-wholesale:hover {
    border-color: var(--color-primary);
    box-shadow: 0 12px 24px rgba(30, 136, 168, 0.3);
}

.branch-card-wholesale .branch-icon {
    color: var(--color-white);
}

.branch-card-wholesale .branch-icon svg {
    width: 56px;
    height: 56px;
}

.branch-card-wholesale .branch-name {
    color: var(--color-white);
    font-size: 1.35rem;
}

.branch-card-wholesale .branch-location {
    color: var(--color-white);
    opacity: 0.95;
}

.branch-card-wholesale .branch-contact-btn {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.branch-card-wholesale .branch-contact-btn:hover {
    background-color: #B71C1C;
}

/* Wholesale Badge */
.wholesale-badge {
    position: absolute;
    top: var(--spacing-sm);
    right: var(--spacing-sm);
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.wholesale-badge svg {
    width: 16px;
    height: 16px;
}

/* Tablet: 768px and up - 2 columns */
@media (min-width: 768px) {
    .branches-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-lg);
    }
    
    .branch-icon svg {
        width: 56px;
        height: 56px;
    }
    
    .branch-name {
        font-size: 1.35rem;
    }
    
    .branch-location {
        font-size: 1.05rem;
    }
    
    .branch-card-wholesale .branch-icon svg {
        width: 64px;
        height: 64px;
    }
    
    .branch-card-wholesale .branch-name {
        font-size: 1.5rem;
    }
}

/* Desktop: 1024px and up - 3 columns */
@media (min-width: 1024px) {
    .branches-section {
        padding: 5rem 0;
    }
    
    .branches-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--spacing-xl);
    }
    
    .branch-card {
        padding: var(--spacing-xxl);
    }
    
    .branch-icon svg {
        width: 64px;
        height: 64px;
    }
    
    .branch-name {
        font-size: 1.5rem;
    }
    
    .branch-location {
        font-size: 1.1rem;
    }
    
    .branch-contact-btn {
        font-size: 1rem;
        padding: var(--spacing-sm) var(--spacing-xl);
    }
    
    .branch-card-wholesale .branch-icon svg {
        width: 72px;
        height: 72px;
    }
    
    .branch-card-wholesale .branch-name {
        font-size: 1.65rem;
    }
}

/* Large Desktop: 1440px and up */
@media (min-width: 1440px) {
    .branches-grid {
        gap: 2.5rem;
    }
    
    .branch-icon svg {
        width: 72px;
        height: 72px;
    }
    
    .branch-name {
        font-size: 1.65rem;
    }
    
    .branch-card-wholesale .branch-icon svg {
        width: 80px;
        height: 80px;
    }
    
    .branch-card-wholesale .branch-name {
        font-size: 1.75rem;
    }
}

/* ===================================
   Branch Contact Modal
   =================================== */
.branch-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-md);
}

.branch-modal[hidden] {
    display: none;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    max-width: 500px;
    width: 100%;
    box-shadow: var(--shadow-lg);
    animation: modalSlideIn var(--duration-normal) ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-close {
    position: absolute;
    top: var(--spacing-sm);
    left: var(--spacing-sm);
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-xs);
    color: var(--color-text);
    transition: color var(--duration-fast) ease, transform var(--duration-fast) ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    color: var(--color-primary);
    transform: rotate(90deg);
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: var(--spacing-xs);
    padding-left: var(--spacing-xl);
}

.modal-location {
    font-size: 1rem;
    color: var(--color-text);
    opacity: 0.8;
    margin-bottom: var(--spacing-lg);
    padding-left: var(--spacing-xl);
}

.modal-contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md);
    background-color: var(--color-light-gray);
    border-radius: var(--radius-md);
    transition: background-color var(--duration-fast) ease;
}

.contact-item:hover {
    background-color: #e8eef2;
}

.contact-item svg {
    flex-shrink: 0;
    color: var(--color-secondary);
}

.contact-item a {
    color: var(--color-text);
    text-decoration: none;
    font-weight: 600;
    transition: color var(--duration-fast) ease;
}

.contact-item a:hover {
    color: var(--color-secondary);
}

.modal-whatsapp {
    color: var(--color-whatsapp) !important;
}

.modal-whatsapp:hover {
    color: #128C7E !important;
}

/* Tablet: 768px and up */
@media (min-width: 768px) {
    .modal-content {
        padding: var(--spacing-xxl);
    }
    
    .modal-title {
        font-size: 1.75rem;
    }
    
    .modal-location {
        font-size: 1.1rem;
    }
}

/* Desktop: 1024px and up */
@media (min-width: 1024px) {
    .modal-title {
        font-size: 2rem;
    }
}

/* ===================================
   Working Hours Section Component
   =================================== */
.hours-section {
    background-color: var(--color-light-gray);
    padding: var(--spacing-xxl) 0;
}

.hours-section .section-heading {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.hours-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    max-width: 900px;
    margin: 0 auto;
}

.hours-card {
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform var(--duration-fast) ease, box-shadow var(--duration-fast) ease;
    border-top: 4px solid var(--color-secondary);
}

.hours-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.hours-card-highlight {
    border-top-color: var(--color-primary);
}

.hours-icon {
    color: var(--color-secondary);
    margin-bottom: var(--spacing-md);
    display: flex;
    justify-content: center;
}

.hours-card-highlight .hours-icon {
    color: var(--color-primary);
}

.hours-day {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: var(--spacing-xs);
}

.hours-time {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-secondary);
    direction: ltr;
    margin-bottom: var(--spacing-xs);
}

.hours-card-highlight .hours-time {
    color: var(--color-primary);
}

.hours-note {
    font-size: 0.9rem;
    color: var(--color-text);
    opacity: 0.7;
}

@media (min-width: 768px) {
    .hours-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .hours-section {
        padding: 4rem 0;
    }
}

@media (min-width: 1024px) {
    .hours-section {
        padding: 5rem 0;
    }
}
}

/* ===================================
   Contact Section Component
   =================================== */
.contact-section {
    background: linear-gradient(135deg, var(--color-secondary) 0%, #156d8a 100%);
    padding: var(--spacing-xxl) 0;
    color: var(--color-white);
}

.contact-section .section-heading {
    text-align: center;
    color: var(--color-white);
    margin-bottom: var(--spacing-sm);
}

.section-subheading {
    text-align: center;
    color: rgba(255,255,255,0.85);
    font-size: 1.05rem;
    margin-bottom: var(--spacing-xl);
}

.contact-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    max-width: 900px;
    margin: 0 auto var(--spacing-xl);
}

.contact-card {
    background-color: rgba(255,255,255,0.12);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    text-align: center;
    text-decoration: none;
    color: var(--color-white);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-xs);
    transition: background-color var(--duration-fast) ease, transform var(--duration-fast) ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.contact-card:hover {
    background-color: rgba(255,255,255,0.2);
    transform: translateY(-4px);
}

.contact-card-icon {
    background-color: rgba(255,255,255,0.2);
    border-radius: 50%;
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-sm);
}

.contact-card-whatsapp .contact-card-icon {
    background-color: var(--color-whatsapp);
}

.contact-card-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 0;
}

.contact-card-value {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-white);
    direction: ltr;
    margin-bottom: 0;
}

.contact-card-action {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.75);
    margin-top: var(--spacing-xs);
}

.contact-phones-section {
    max-width: 900px;
    margin: 0 auto;
}

.contact-phones-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-white);
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.phones-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: var(--spacing-md);
}

.phone-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: var(--color-white);
    transition: all var(--duration-fast) ease;
}

.phone-item:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.phone-item-soon {
    opacity: 0.6;
    cursor: default;
}

.phone-item-soon:hover {
    transform: none;
    background-color: rgba(255, 255, 255, 0.1);
}

.phone-item-wholesale {
    background-color: rgba(211, 47, 47, 0.3);
}

.phone-item-wholesale:hover {
    background-color: rgba(211, 47, 47, 0.45);
}

.phone-name {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    color: rgba(255,255,255,0.85);
}

.phone-number {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-white);
    direction: ltr;
    text-align: right;
}

@media (min-width: 768px) {
    .contact-cards {
        grid-template-columns: repeat(3, 1fr);
    }
    .contact-section {
        padding: 4rem 0;
    }
}

@media (min-width: 1024px) {
    .contact-section {
        padding: 5rem 0;
    }
}

.contact-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
    align-items: center;
}

/* Contact Info Groups */
.contact-info-group {
    width: 100%;
    max-width: 600px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    background-color: rgba(255, 255, 255, 0.1);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    transition: background-color var(--duration-fast) ease, transform var(--duration-fast) ease;
}

.contact-info-item:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
}

.contact-icon {
    flex-shrink: 0;
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.2);
    padding: var(--spacing-sm);
    border-radius: var(--radius-md);
}

.contact-icon svg {
    width: 32px;
    height: 32px;
}

.contact-text {
    flex: 1;
}

.contact-label {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: var(--spacing-xs);
    line-height: 1.3;
}

.contact-value {
    font-size: 1.05rem;
    color: var(--color-white);
    opacity: 0.95;
    margin-bottom: var(--spacing-xs);
    line-height: 1.6;
}

.contact-value:last-child {
    margin-bottom: 0;
}

/* Contact Phones Grid */
.contact-phones-grid {
    max-width: 100%;
}

.contact-header {
    margin-bottom: var(--spacing-md);
}

.phones-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
    padding: 0 var(--spacing-sm);
}

.phone-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--duration-fast) ease;
}

.phone-item:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.phone-item-soon {
    opacity: 0.6;
}

.phone-item-soon:hover {
    transform: none;
    cursor: default;
}

.phone-item-wholesale {
    background-color: rgba(30, 136, 168, 0.3);
}

.phone-item-wholesale:hover {
    background-color: rgba(30, 136, 168, 0.4);
}

.phone-link {
    display: flex;
    flex-direction: column;
    padding: var(--spacing-md);
    text-decoration: none;
    color: var(--color-white);
    height: 100%;
}

.phone-name {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    color: var(--color-white);
}

.phone-number {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-white);
    direction: ltr;
    text-align: right;
}

.phone-item-soon .phone-number {
    font-size: 0.95rem;
    font-weight: 500;
    opacity: 0.8;
}

/* WhatsApp CTA */
.contact-cta {
    width: 100%;
    max-width: 400px;
    margin-top: var(--spacing-md);
}

.btn-whatsapp-large {
    width: 100%;
    padding: var(--spacing-lg) var(--spacing-xl);
    font-size: 1.25rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    box-shadow: var(--shadow-lg);
}

.btn-whatsapp-large:hover {
    box-shadow: 0 12px 24px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp-large .btn-icon {
    width: 28px;
    height: 28px;
}

/* Tablet: 768px and up */
@media (min-width: 768px) {
    .contact-content {
        gap: var(--spacing-xxl);
    }
    
    .contact-info-item {
        padding: var(--spacing-xl);
    }
    
    .contact-icon svg {
        width: 40px;
        height: 40px;
    }
    
    .contact-label {
        font-size: 1.5rem;
    }
    
    .contact-value {
        font-size: 1.15rem;
    }
    
    .btn-whatsapp-large {
        padding: var(--spacing-xl) var(--spacing-xxl);
        font-size: 1.35rem;
    }
    
    .btn-whatsapp-large .btn-icon {
        width: 32px;
        height: 32px;
    }
}

/* Desktop: 1024px and up */
@media (min-width: 1024px) {
    .contact-section {
        padding: 5rem 0;
    }
    
    .contact-content {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        gap: var(--spacing-xl);
    }
    
    .contact-info-group {
        flex: 1;
        min-width: 300px;
        max-width: 450px;
    }
    
    .contact-cta {
        flex-basis: 100%;
        max-width: 500px;
    }
    
    .contact-label {
        font-size: 1.65rem;
    }
    
    .contact-value {
        font-size: 1.2rem;
    }
    
    .btn-whatsapp-large {
        font-size: 1.5rem;
    }
}

/* Large Desktop: 1440px and up */
@media (min-width: 1440px) {
    .contact-info-group {
        max-width: 500px;
    }
    
    .contact-cta {
        max-width: 550px;
    }
    
    .contact-label {
        font-size: 1.75rem;
    }
    
    .contact-value {
        font-size: 1.25rem;
    }
    
    .btn-whatsapp-large {
        font-size: 1.65rem;
        padding: 1.5rem var(--spacing-xxl);
    }
    
    .btn-whatsapp-large .btn-icon {
        width: 36px;
        height: 36px;
    }
}

/* ===================================
   Footer Component
   =================================== */
.footer {
    background-color: var(--color-dark-gray);
    color: var(--color-white);
    padding: var(--spacing-xxl) 0 var(--spacing-lg);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

/* Footer Columns */
.footer-column {
    display: flex;
    flex-direction: column;
}

/* Footer About Section (Logo & Description) */
.footer-about {
    text-align: center;
}

.footer-logo {
    margin-bottom: var(--spacing-md);
}

.footer-logo-img {
    height: 60px;
    width: auto;
    display: inline-block;
}

.footer-description {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--color-white);
    opacity: 0.85;
    margin-bottom: 0;
}

/* Footer Navigation */
.footer-nav {
    text-align: center;
}

.footer-heading {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: var(--spacing-md);
    line-height: 1.3;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.footer-link-item {
    margin: 0;
}

.footer-link {
    display: inline-block;
    font-size: 1rem;
    color: var(--color-white);
    text-decoration: none;
    opacity: 0.85;
    transition: opacity var(--duration-fast) ease, color var(--duration-fast) ease, transform var(--duration-fast) ease;
    position: relative;
}

.footer-link:hover {
    opacity: 1;
    color: var(--color-primary);
    transform: translateX(-4px);
}

.footer-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: width var(--duration-fast) ease;
}

.footer-link:hover::after {
    width: 100%;
}

/* Footer Contact Information */
.footer-contact {
    text-align: center;
}

.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.footer-contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    font-size: 0.95rem;
    color: var(--color-white);
    opacity: 0.85;
    line-height: 1.6;
}

.footer-icon {
    flex-shrink: 0;
    color: var(--color-secondary);
}

/* Footer Contact Info - Compact Layout */
.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.contact-location {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    font-size: 1rem;
    color: var(--color-white);
    opacity: 0.9;
    margin: 0;
    font-weight: 600;
}

.contact-location .footer-icon {
    color: var(--color-secondary);
}

.contact-phones-compact {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.compact-phone {
    display: inline-block;
    font-size: 0.9rem;
    color: var(--color-white);
    opacity: 0.85;
    text-decoration: none;
    transition: opacity var(--duration-fast) ease;
}

.compact-phone:hover {
    opacity: 1;
    text-decoration: underline;
}

/* Tablet: 768px and up - Two-column layout */
@media (min-width: 768px) {
    .footer {
        padding: var(--spacing-xxl) 0 var(--spacing-xl);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-xl);
    }
    
    .footer-about {
        grid-column: 1 / -1;
        text-align: right;
    }
    
    .footer-logo {
        margin-bottom: var(--spacing-md);
    }
    
    .footer-logo-img {
        height: 70px;
    }
    
    .footer-description {
        font-size: 1rem;
        max-width: 600px;
    }
    
    .footer-nav,
    .footer-contact {
        text-align: right;
    }
    
    .footer-heading {
        font-size: 1.35rem;
    }
    
    .footer-links {
        align-items: flex-start;
    }
    
    .footer-contact-list {
        align-items: flex-start;
    }

    .footer-contact-item {
        justify-content: flex-start;
        font-size: 1rem;
    }

    /* Compact layout alignment for tablet */
    .contact-location {
        justify-content: flex-start;
    }

    .footer-copyright {
        font-size: 0.95rem;
    }
}

/* Desktop: 1024px and up - Three-column layout */
@media (min-width: 1024px) {
    .footer {
        padding: 5rem 0 var(--spacing-xl);
    }
    
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr;
        gap: var(--spacing-xxl);
    }
    
    .footer-about {
        grid-column: auto;
    }
    
    .footer-logo-img {
        height: 80px;
    }
    
    .footer-description {
        font-size: 1.05rem;
        line-height: 1.9;
        max-width: 100%;
    }
    
    .footer-heading {
        font-size: 1.5rem;
        margin-bottom: var(--spacing-lg);
    }
    
    .footer-link {
        font-size: 1.05rem;
    }
    
    .footer-contact-item {
        font-size: 1.05rem;
    }

    /* Compact layout alignment for desktop */
    .contact-location {
        justify-content: flex-start;
    }

    .footer-copyright {
        font-size: 1rem;
    }
}

/* Large Desktop: 1440px and up */
@media (min-width: 1440px) {
    .footer-content {
        gap: 3rem;
    }
    
    .footer-logo-img {
        height: 90px;
    }
    
    .footer-description {
        font-size: 1.1rem;
        line-height: 2;
    }
    
    .footer-heading {
        font-size: 1.65rem;
    }
    
    .footer-link {
        font-size: 1.1rem;
    }
    
    .footer-contact-item {
        font-size: 1.1rem;
    }
}

/* ===================================
   Floating WhatsApp Button Component
   =================================== */
.floating-whatsapp-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background-color: var(--color-whatsapp);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 999;
    text-decoration: none;
    transition: all var(--duration-normal) ease;
    cursor: pointer;
}

.floating-whatsapp-btn:hover {
    background-color: #128C7E;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.floating-whatsapp-btn:active {
    transform: scale(0.95);
}

.whatsapp-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

/* Pulse animation for attention */
@keyframes pulse {
    0% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4), 0 0 0 10px rgba(37, 211, 102, 0.1);
    }
    100% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    }
}

.floating-whatsapp-btn {
    animation: pulse 2s infinite;
}

.floating-whatsapp-btn:hover {
    animation: none;
}

/* Tablet: 768px and up */
@media (min-width: 768px) {
    .floating-whatsapp-btn {
        width: 64px;
        height: 64px;
        bottom: 32px;
        right: 32px;
    }
    
    .whatsapp-icon {
        width: 36px;
        height: 36px;
    }
}

/* Desktop: 1024px and up */
@media (min-width: 1024px) {
    .floating-whatsapp-btn {
        width: 70px;
        height: 70px;
        bottom: 40px;
        right: 40px;
    }
    
    .whatsapp-icon {
        width: 40px;
        height: 40px;
    }
}

/* Large Desktop: 1440px and up */
@media (min-width: 1440px) {
    .floating-whatsapp-btn {
        width: 72px;
        height: 72px;
    }
}

/* Accessibility: Ensure button is visible and accessible */
.floating-whatsapp-btn:focus {
    outline: 3px solid var(--color-primary);
    outline-offset: 4px;
}

/* Print: Hide floating button when printing */
@media print {
    .floating-whatsapp-btn {
        display: none;
    }
}
