/* ==========================================================================
   DESIGN SYSTEM & VARIABLES
   ========================================================================== */
:root {
    /* Color Palette */
    --primary: hsl(356, 82%, 50%);         /* Special Electronics Red */
    --primary-hover: hsl(356, 82%, 42%);
    --primary-light: rgb(254, 242, 242);
    --secondary-dark: hsl(220, 14%, 10%);  /* Dark Slate / Premium Black */
    --text-main: hsl(220, 12%, 18%);
    --text-muted: hsl(220, 8%, 46%);
    --bg-light: hsl(0, 0%, 98%);
    --bg-card: hsl(0, 0%, 100%);
    --border-color: hsl(220, 12%, 93%);
    --star-color: hsl(38, 95%, 55%);       /* Gold rating stars */
    
    /* Layout Tokens */
    --container-width: 1200px;
    --header-height: 80px;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-full: 9999px;
    
    /* Shadow System */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.05), 0 1px 2px rgba(0,0,0,0.03);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.08), 0 2px 4px -1px rgba(0,0,0,0.04);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -2px rgba(0,0,0,0.04);
    --shadow-premium: 0 20px 25px -5px rgba(230, 28, 36, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.03);
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.25;
    color: var(--secondary-dark);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    outline: none;
}

button {
    cursor: pointer;
    background: none;
    border: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Utility classes */
.text-center { text-align: center; }
.highlight-text { color: var(--primary); }

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition-normal);
}

.btn-primary {
    background-color: var(--primary);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(230, 28, 36, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 28, 36, 0.4);
}

.btn-secondary {
    background-color: #ffffff;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
}

.btn-outline-red {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-outline-red:hover {
    background-color: var(--primary);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(230, 28, 36, 0.25);
}

.btn-card-action {
    background-color: var(--primary-light);
    color: var(--primary);
    border: 1px solid rgba(230, 28, 36, 0.15);
    padding: 8px 16px;
    font-size: 0.85rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    width: 100%;
}

.btn-card-action:hover {
    background-color: var(--primary);
    color: #ffffff;
}

.btn-submit {
    padding: 14px 32px;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
}

/* ==========================================================================
   HEADER NAVIGATION
   ========================================================================== */
.main-header {
    height: var(--header-height);
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* Logo styling */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 46px;
    width: auto;
    object-fit: contain;
    display: block;
}

.footer-logo .logo-img {
    height: 40px;
    /* Inverts black text to white, keeping the red parts red */
    filter: invert(1) hue-rotate(180deg) brightness(1.2) contrast(1.2);
}

.logo-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: 0.5px;
    color: var(--secondary-dark);
}

.logo-sub {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.7rem;
    letter-spacing: 2px;
    color: var(--primary);
}

.text-white {
    color: #ffffff !important;
}

/* Navigation Links */
.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-main);
    padding: 8px 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition-normal);
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--secondary-dark);
}

.header-phone:hover {
    color: var(--primary);
}

.cart-btn {
    position: relative;
    color: var(--secondary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-color);
    transition: var(--transition-fast);
}

.cart-btn:hover {
    color: var(--primary);
    border-color: var(--primary);
    background-color: var(--primary-light);
}

.cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background-color: var(--primary);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    border: 2px solid #ffffff;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    width: 30px;
}

.mobile-menu-toggle .bar {
    width: 100%;
    height: 3px;
    background-color: var(--secondary-dark);
    border-radius: var(--radius-full);
    transition: var(--transition-normal);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    padding-top: calc(var(--header-height) + 64px);
    padding-bottom: 96px;
    background-color: #ffffff;
    position: relative;
    overflow: hidden;
}

/* Skewed diagonal shapes matching mockup exactly */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.hero-shape {
    position: absolute;
    height: 150%;
    top: -25%;
    transform: skewX(-35deg);
    transform-origin: top left;
}

.shape-red-main {
    left: 65%;
    width: 100%;
    background-color: var(--primary);
    box-shadow: -15px 0 35px rgba(0, 0, 0, 0.12);
}

.shape-white-stripe {
    left: 85%;
    width: 5%;
    background-color: #ffffff;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.05);
}

.shape-grey-1 {
    left: 54%;
    width: 5%;
    background-color: #f2f2f7;
}

.shape-grey-2 {
    left: 45%;
    width: 2%;
    background-color: #f9f9fb;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 3;
}

.hero-content {
    max-width: 580px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 24px;
}

.hero-title .highlight {
    color: var(--primary);
}

.hero-title .sub-highlight {
    color: var(--secondary-dark);
    position: relative;
}

.hero-description {
    font-size: 1.05rem;
    color: #000000;
    font-weight: 700;
    margin-bottom: 36px;
    line-height: 1.7;
    max-width: 440px;
}

.hero-ctas {
    display: flex;
    gap: 16px;
}

.hero-image-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-glow {
    position: absolute;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(230, 28, 36, 0.25) 0%, rgba(255,255,255,0) 70%);
    z-index: 0;
    top: 10%;
    left: 10%;
    filter: blur(20px);
}

.hero-slideshow {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-slideshow .hero-image {
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.2s ease-in-out;
    pointer-events: none;
}

.hero-slideshow .hero-image.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.hero-slideshow .hero-image:not(:first-child) {
    position: absolute;
    top: 0;
}

.hero-image {
    position: relative;
    z-index: 1;
    width: 125%;
    max-width: none;
    left: -12%;
    filter: drop-shadow(0 25px 50px rgba(0,0,0,0.18));
    animation: float 6s ease-in-out infinite;
}

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

/* ==========================================================================
   STATS BAR
   ========================================================================== */
.stats-bar {
    background-color: var(--bg-card);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 32px 0;
    position: relative;
    z-index: 5;
    box-shadow: var(--shadow-sm);
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 0 12px;
}

.stat-item:not(:last-child) {
    border-right: 1px solid var(--border-color);
}

.stat-icon {
    width: 52px;
    height: 52px;
    background-color: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.35rem;
    font-weight: 800;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* ==========================================================================
   PRODUCTS GRID & FILTERING
   ========================================================================== */
.products-section {
    padding: 96px 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 48px;
}

.products-controls {
    display: flex;
    align-items: center;
    gap: 20px;
}

.location-toggle {
    display: flex;
    background-color: var(--card-bg);
    padding: 4px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.loc-toggle-btn {
    background: none;
    border: none;
    padding: 10px 24px;
    font-size: 0.9rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    color: var(--text-muted);
    cursor: pointer;
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
}

.loc-toggle-btn.active {
    background-color: var(--primary);
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(230, 28, 36, 0.25);
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--primary);
    border-radius: var(--radius-full);
}

.category-filters {
    display: flex;
    gap: 12px;
}

.filter-btn {
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    font-family: 'Montserrat', sans-serif;
    border: 1.5px solid var(--primary);
    color: var(--primary);
    transition: all var(--transition-normal);
}

.filter-btn:hover {
    background-color: var(--primary-light);
}

.filter-btn.active {
    background-color: var(--primary);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(230, 28, 36, 0.2);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 32px;
}

.product-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--transition-normal);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg), var(--shadow-premium);
    border-color: rgba(230, 28, 36, 0.2);
}

.product-img-wrapper {
    background-color: hsl(220, 10%, 98%);
    padding: 24px;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid var(--border-color);
}

.product-img {
    max-height: 100%;
    object-fit: contain;
    transition: transform var(--transition-normal);
}

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

/* Custom CSS illustration for desktop tower fallback */
.desktop-placeholder-img {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.pulsing-led {
    animation: pulseLed 2s infinite alternate;
}

@keyframes pulseLed {
    0% { opacity: 0.3; }
    100% { opacity: 1; }
}

.product-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.product-specs {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 18px;
    font-weight: 500;
}

.product-pricing {
    border-top: 1px dashed var(--border-color);
    border-bottom: 1px dashed var(--border-color);
    padding: 12px 0;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.88rem;
}

.location {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    color: var(--text-main);
}

.loc-icon {
    color: var(--primary);
}

/* Custom CSS UAE Flag */
.flag-icon.uae-flag {
    width: 16px;
    height: 10px;
    display: inline-block;
    border: 1px solid #dcdcdc;
    background: linear-gradient(
        to bottom,
        #00732f 33.3%,
        #ffffff 33.3%,
        #ffffff 66.6%,
        #000000 66.6%
    );
    position: relative;
}

.flag-icon.uae-flag::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 25%;
    height: 100%;
    background-color: #ff0000;
}

.price {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--primary);
}

.view-all-container {
    display: flex;
    justify-content: center;
    margin-top: 48px;
}

/* ==========================================================================
   WHY CHOOSE US
   ========================================================================== */
.why-choose-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.why-choose-outer-box {
    border: 1px solid #e4e4e7;
    border-radius: 20px;
    padding: 48px 32px;
    background-color: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.01);
}

.why-choose-main-title {
    font-size: 2.25rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 40px;
    color: #000000;
    font-family: 'Montserrat', sans-serif;
}

.why-choose-main-title .highlight-red {
    color: var(--primary);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.why-card {
    background: #ffffff;
    border: 1px solid #e4e4e7;
    border-radius: 16px;
    padding: 32px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.why-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
    border-color: rgba(230, 28, 36, 0.15);
}

.why-icon-container {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.why-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 12px;
    line-height: 1.3;
    font-family: 'Montserrat', sans-serif;
}

.why-card-text {
    font-size: 0.82rem;
    color: #71717a;
    line-height: 1.5;
}

/* ==========================================================================
   OUR PRESENCE
   ========================================================================== */
.presence-section {
    padding: 96px 0;
}

.presence-section .section-title {
    margin-bottom: 56px;
}

.presence-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.2fr 0.9fr;
    gap: 32px;
    align-items: center;
}

.presence-card {
    background-color: #ffffff;
    border: 1px solid #f4f4f5; /* extremely clean, light zinc/gray border */
    border-radius: 20px; /* beautiful rounded corners matching mockup */
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02); /* very soft subtle shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.presence-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.presence-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    /* No border-bottom as per mockup */
}

.presence-card-header h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: #000000;
    margin: 0;
}

.presence-card-body .branch-name {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    color: #3f3f46;
    margin-bottom: 6px;
}

.presence-card-body .branch-address {
    font-size: 0.95rem;
    color: #71717a;
    line-height: 1.6;
    margin-bottom: 24px;
}

.branch-phone {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: #000000;
    font-size: 0.95rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.branch-phone:hover {
    color: #E61C24; /* vibrant brand red on hover */
}

/* Interactive SVG Map Styling */
.presence-map-container {
    width: 100%;
    position: relative;
    padding: 0 10px;
}

.presence-map, #world-map {
    width: 100%;
    height: auto;
    display: block;
}

/* Hide the underline bar on the section title for Our Presence section to match mockup */
.presence-section .section-title::after {
    display: none;
}

/* Customize country styles inside the inlined SVG world map */
#world-map path {
    fill: #eaeaea; /* clean light-grey world map silhouette */
    stroke: #ffffff; /* crisp white country boundaries */
    stroke-width: 0.8px;
    transition: fill 0.3s ease;
}

#world-map #in {
    fill: #E61C24 !important; /* solid red color for India */
}

#world-map #in:hover {
    fill: #c51218 !important;
}

#world-map path:not(#in):hover {
    fill: #dcdcdc; /* subtle hover effect for other countries */
}

.map-marker {
    cursor: pointer;
}

.map-marker circle {
    transition: transform 0.3s ease, fill 0.3s ease;
}

.map-marker:hover circle:not(.ripple-ring) {
    transform: scale(1.3);
    fill: #c51218;
}

.ripple-ring {
    transform-origin: center;
    animation: mapRipple 2.5s infinite ease-out;
}

@keyframes mapRipple {
    0% {
        transform: scale(0.5);
        opacity: 0.8;
    }
    100% {
        transform: scale(2.4);
        opacity: 0;
    }
}

.connecting-line {
    stroke: var(--primary); /* active brand red color connecting India and UAE */
    stroke-width: 1.5px;
    stroke-dasharray: 4 4;
    fill: none;
    animation: dash 20s linear infinite;
    stroke-dashoffset: 100;
}

@keyframes dash {
    to {
        stroke-dashoffset: -100;
    }
}

/* ==========================================================================
   TESTIMONIALS SLIDER
   ========================================================================== */
.testimonials-section {
    padding: 96px 0;
    background: linear-gradient(180deg, #ffffff 0%, hsl(220, 10%, 97%) 100%);
}

.testimonials-section .section-title {
    margin-bottom: 56px;
}

/* Hide the underline bar on the section title for Testimonials to match mockup */
.testimonials-section .section-title::after {
    display: none;
}

.testimonials-slider-container {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    padding: 20px 10px;
    transition: max-width 0.3s ease;
}

.testimonials-slider {
    display: flex;
    transition: transform var(--transition-slow);
}

.testimonial-slide {
    min-width: 100%;
    opacity: 0.3;
    transform: scale(0.95);
    transition: all var(--transition-slow);
}

.testimonial-slide.active {
    opacity: 1;
    transform: scale(1);
}

/* Desktop Side-by-Side Horizontal Grid Layout */
@media (min-width: 1024px) {
    .testimonials-slider-container {
        max-width: var(--container-width);
        overflow: visible;
    }
    .testimonials-slider {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 32px !important;
        transform: none !important;
    }
    .testimonial-slide {
        min-width: auto !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

.testimonial-card {
    background-color: #ffffff;
    border: 1px solid #f4f4f5; /* extremely clean, light zinc/gray border */
    border-radius: 20px; /* beautiful rounded corners matching mockup */
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02); /* very soft subtle shadow */
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

/* Remove giant quotes icon behind text */
.testimonial-card::before {
    display: none;
}

.testimonial-user {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.user-avatar {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-full);
    object-fit: cover;
    border: 3px solid var(--primary-light);
}

.user-details h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: #000000;
    margin-bottom: 4px;
}

.rating-stars {
    display: flex;
    gap: 4px;
}

.star-filled {
    fill: var(--primary); /* solid brand red stars to match mockup 100% */
    color: var(--primary);
}

.testimonial-feedback {
    font-size: 0.95rem;
    color: #3f3f46; /* sleek zinc grey text */
    font-style: normal; /* no italics as per mockup */
    line-height: 1.6;
    margin-bottom: 24px;
    flex-grow: 1; /* evenly pushes the location pin to the card bottom */
}

.testimonial-location {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.88rem;
    color: #71717a; /* matching muted gray text */
    font-weight: 600;
}

.testimonial-location svg {
    stroke: var(--primary); /* solid red location pin icon as per mockup */
}

/* Dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 32px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: var(--radius-full);
    background-color: hsl(220, 12%, 80%);
    cursor: pointer;
    transition: all var(--transition-normal);
}

.dot.active {
    background-color: var(--primary);
    width: 10px; /* keep circular as per mockup */
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-section {
    padding: 96px 0;
    background-color: var(--bg-card);
}

.contact-container {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg), 0 30px 60px rgba(0,0,0,0.06);
    border: 1px solid var(--border-color);
}

.contact-cta-panel {
    background: linear-gradient(135deg, var(--primary) 0%, hsl(356, 85%, 40%) 100%);
    padding: 48px;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.contact-map-wrapper {
    margin-top: 32px;
    width: 100%;
    flex-grow: 1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    min-height: 250px;
    z-index: 1;
}

.contact-map-wrapper iframe {
    width: 100%;
    height: 100%;
    min-height: 250px;
    display: block;
    border: 0;
}

.contact-cta-panel::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 150px;
    height: 150px;
    border-radius: var(--radius-full);
    background-color: rgba(255,255,255,0.05);
}

.contact-panel-title {
    font-size: 2.25rem;
    color: #ffffff;
    margin-bottom: 16px;
    position: relative;
    z-index: 2;
}

.contact-panel-text {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

.contact-art-element {
    position: absolute;
    bottom: -20px;
    right: -20px;
    z-index: 1;
}

.bg-art {
    opacity: 0.8;
}

.contact-form-panel {
    padding: 48px;
    background-color: var(--bg-card);
}

.contact-form {
    margin-bottom: 36px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    padding: 14px 18px;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    color: var(--secondary-dark);
    background-color: var(--bg-light);
    transition: all var(--transition-normal);
}

.form-group input::placeholder, .form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    border-color: var(--primary);
    background-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(230, 28, 36, 0.08);
}

.contact-info-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    border-top: 1px solid var(--border-color);
    padding-top: 36px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.info-icon {
    width: 40px;
    height: 40px;
    background-color: var(--primary-light);
    color: var(--primary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-content {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--secondary-dark);
}

.info-content a:hover {
    color: var(--primary);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.main-footer {
    background-color: var(--secondary-dark);
    color: hsl(220, 10%, 80%);
    padding-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 60px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo {
    display: inline-flex;
}

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
}

.social-links a:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    transform: translateY(-3px);
}

.footer-links h4 {
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 24px;
    position: relative;
}

.footer-links h4::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 25px;
    height: 2px;
    background-color: var(--primary);
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links ul a {
    font-size: 0.9rem;
    color: hsl(220, 10%, 75%);
}

.footer-links ul a:hover {
    color: var(--primary);
    padding-left: 4px;
}

.admin-portal-link {
    font-weight: 600;
    transition: var(--transition);
}

.admin-portal-link svg {
    transition: transform 0.3s ease, color 0.3s ease;
}

.admin-portal-link:hover svg {
    transform: scale(1.15) rotate(-5deg);
    color: #ffffff !important;
}

.presence-info li {
    display: flex;
    gap: 10px;
    font-size: 0.88rem;
    line-height: 1.4;
}

.presence-info li span {
    display: block;
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 2px;
}

.presence-info li a {
    color: var(--primary);
    font-weight: 500;
}

.presence-info li a:hover {
    text-decoration: underline;
}

.f-icon {
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 3px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 0;
    font-size: 0.85rem;
}

.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.heart {
    color: var(--primary);
    display: inline-block;
    animation: beat 1.5s infinite alternate;
}

@keyframes beat {
    to { transform: scale(1.15); }
}

.designer-link {
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.designer-link:hover {
    color: var(--primary);
    text-decoration: underline;
}

/* ==========================================================================
   MODAL SYSTEMS
   ========================================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 10, 12, 0.6);
    backdrop-filter: blur(8px);
    z-index: 1100;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-normal);
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-card {
    background-color: var(--bg-card);
    width: 100%;
    max-width: 520px;
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    position: relative;
    transform: translateY(30px) scale(0.95);
    transition: transform var(--transition-normal);
    border: 1px solid var(--border-color);
}

.modal-overlay.active .modal-card {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    font-size: 1.75rem;
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.modal-close:hover {
    color: var(--primary);
}

.modal-header {
    margin-bottom: 28px;
}

.modal-header h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.modal-header p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.modal-form label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--secondary-dark);
    margin-bottom: 6px;
    display: block;
}

.full-width {
    width: 100%;
}

/* Shopping Cart Sidebar */
.cart-sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 10, 12, 0.4);
    backdrop-filter: blur(4px);
    z-index: 1100;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-normal);
}

.cart-sidebar-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.cart-sidebar {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 440px;
    height: 100%;
    background-color: var(--bg-card);
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    transform: translateX(100%);
    transition: transform var(--transition-normal);
    display: flex;
    flex-direction: column;
}

.cart-sidebar-overlay.active .cart-sidebar {
    transform: translateX(0);
}

.cart-sidebar-header {
    padding: 24px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-sidebar-header h3 {
    font-size: 1.35rem;
}

.cart-sidebar-close {
    font-size: 1.75rem;
    color: var(--text-muted);
}

.cart-sidebar-close:hover {
    color: var(--primary);
}

.cart-items-container {
    flex-grow: 1;
    padding: 24px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Empty cart state */
.empty-cart-msg {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 16px;
    color: var(--text-muted);
    height: 100%;
}

.empty-cart-msg p {
    font-weight: 500;
}

/* Filled cart item row */
.cart-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.cart-item-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cart-item-title {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--secondary-dark);
}

.cart-item-price {
    font-size: 0.88rem;
    color: var(--primary);
    font-weight: 700;
}

.cart-item-remove {
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 500;
}

.cart-item-remove:hover {
    color: var(--primary);
    text-decoration: underline;
}

.cart-footer {
    padding: 24px;
    border-top: 1px solid var(--border-color);
    background-color: var(--bg-light);
}

.currency-toggle-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.currency-toggle-container label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted);
}

.currency-tabs {
    display: flex;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.currency-tab {
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: 600;
    background-color: #ffffff;
    color: var(--text-muted);
}

.currency-tab.active {
    background-color: var(--primary);
    color: #ffffff;
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 1.1rem;
    font-weight: 600;
}

.cart-total-row strong {
    font-family: 'Montserrat', sans-serif;
    color: var(--primary);
    font-size: 1.35rem;
}

/* Toast Notifications */
.toast-notification {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 1200;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: all var(--transition-normal);
}

.toast-notification.active {
    opacity: 1;
    transform: translateY(0);
}

.toast-content {
    background-color: var(--secondary-dark);
    color: #ffffff;
    padding: 16px 24px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    border-left: 4px solid var(--primary);
}

.toast-content svg {
    color: var(--primary);
}

/* ==========================================================================
   RESPONSIVE DESIGN MEDIA QUERIES
   ========================================================================== */

/* Tablet view styling */
@media (max-width: 1024px) {
    .hero-image {
        width: 100%;
        max-width: 100%;
        left: 0;
    }

    .hero-title {
        font-size: 2.5rem;
    }
    
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .stat-item:nth-child(2) {
        border-right: none;
    }
    
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .presence-grid {
        grid-template-columns: 1fr;
    }
    
    .presence-map-container {
        grid-row: 1;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
    
    .footer-brand {
        grid-column: span 2;
        margin-bottom: 20px;
    }
}

/* Mobile view styling */
@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }
    
    .header-phone {
        display: none; /* Hide phone text in favor of menu spacing on small screens */
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    /* Sliding Navigation Drawer for Mobile */
    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        height: 0;
        background-color: #ffffff;
        overflow: hidden;
        transition: height var(--transition-normal);
        border-bottom: 0 solid var(--border-color);
        box-shadow: none;
    }
    
    .nav-menu.active {
        height: 300px;
        border-bottom-width: 1px;
        box-shadow: 0 10px 15px -3px rgba(0,0,0,0.05);
    }
    
    .nav-menu ul {
        flex-direction: column;
        padding: 32px 24px;
        gap: 20px;
    }
    
    .nav-link {
        font-size: 1.1rem;
        display: block;
    }
    
    /* Hero layout stack */
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 32px;
    }
    
    .hero-bg {
        top: auto;
        bottom: 0;
        height: 48%;
        width: 100%;
    }
    
    .hero-shape {
        transform: none;
        height: 100%;
        top: 0;
    }
    
    .shape-red-main {
        left: 0;
        width: 100%;
        clip-path: polygon(0 25%, 100% 0, 100% 100%, 0 100%);
    }
    
    .shape-white-stripe, .shape-grey-1, .shape-grey-2 {
        display: none;
    }
    
    .hero-content {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-ctas {
        width: 100%;
        flex-direction: column;
    }
    
    .hero-ctas .btn {
        width: 100%;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .products-controls {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        gap: 16px;
    }

    .location-toggle {
        width: 100%;
        display: flex;
    }

    .location-toggle .loc-toggle-btn {
        flex: 1;
        text-align: center;
        padding: 10px 0;
    }
    
    .category-filters {
        width: 100%;
        overflow-x: auto;
        padding-bottom: 8px;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .contact-cta-panel {
        padding: 32px;
        text-align: center;
    }
    
    .contact-form-panel {
        padding: 32px;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .form-group.full-width {
        grid-column: span 1;
    }
    
    .contact-info-list {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .footer-bottom-flex {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    
    .modal-card {
        padding: 24px;
        height: 100%;
        border-radius: 0;
        max-height: 100%;
        overflow-y: auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .stats-container {
        grid-template-columns: 1fr;
    }
    
    .stat-item {
        border-right: none !important;
        border-bottom: 1px solid var(--border-color);
        padding-bottom: 16px;
    }
    
    .stat-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
    
    .why-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-brand {
        grid-column: span 1;
    }
    
    .testimonial-card {
        padding: 24px;
    }
}
