/* ================================
   ROBOTS ELECTRONICS FZCO
   ================================ */
:root {
  /* Apple Design System */
  --apple-white: #ffffff;
  --apple-bg: #f5f5f7;
  --apple-gray: #86868b;
  --apple-black: #1d1d1f;

  /* Samsung Design System */
  --samsung-blue: #0D6EFD;
  --samsung-dark: #1428A0;
  --samsung-black: #000000;

  /* Primary Brand Color */
  --primary-color: #57c7d5;
  --primary-dark: #45a0ab;
  --primary-light: #7dd4e0;

  /* Company Brand */
  --company-dark: #111111;
  --secondary-gray: #666666;
  --accent-silver: #D9D9D9;

  /* Transitions */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);

  /* Shadows */
  --shadow-subtle: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-medium: 0 4px 16px rgba(0, 0, 0, 0.12);
  --shadow-bold: 0 8px 32px rgba(0, 0, 0, 0.16);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--company-dark);
  overflow-x: hidden;
}

/* ================================
   MODERN LOADING SCREEN - WHITE BACKGROUND WITH LOGO
   ================================ */
#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#loading-screen.loaded {
  opacity: 0;
  visibility: hidden;
}

.loader {
  width: 80px;
  height: 80px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.spinner {
  width: 100%;
  height: 100%;
  border: 4px solid rgba(87, 199, 213, 0.15);
  border-top-color: #57c7d5;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

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

/* ================================
   MODERN NAVIGATION WITH DYNAMIC TRANSPARENCY
   ================================ */
.modern-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  /* Optimized transition - smoother cubic-bezier curve */
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  /* Solid white background when at top (above hero heading) */
  background: rgba(255, 255, 255, 1);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  /* Performance optimization */
  will-change: box-shadow, background-color;
}

/* Enhanced shadow effect when scrolled below hero heading */
.modern-navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.12);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  /* Backdrop-filter removed for performance - using near-opaque background instead */
}

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

/* Modern Brand */
.modern-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  transition: var(--transition-smooth);
}

/* Actual Logo SVG */
.brand-logo-svg {
  height: 50px;
  width: auto;
  transition: var(--transition-smooth);
  filter: drop-shadow(0 2px 8px rgba(87, 199, 213, 0.2));
}

.modern-brand:hover .brand-logo-svg {
  transform: scale(1.05);
  filter: drop-shadow(0 4px 12px rgba(87, 199, 213, 0.35));
}

.brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 0.125rem;
}

.brand-name strong {
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--company-dark);
  letter-spacing: -0.5px;
}

.brand-name small {
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--secondary-gray);
  letter-spacing: 0.5px;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.mobile-menu-toggle span {
  width: 28px;
  height: 3px;
  background: var(--company-dark);
  border-radius: 3px;
  transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Navbar Menu */
.navbar-menu {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-link-modern {
  color: var(--company-dark);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9375rem;
  padding: 0.625rem 1.125rem;
  border-radius: 8px;
  transition: var(--transition-smooth);
  position: relative;
}

.nav-link-modern:hover {
  background: rgba(87, 199, 213, 0.1);
  color: var(--primary-color);
}

.nav-link-modern:focus,
.nav-link-modern:focus-visible {
  outline: none;
  box-shadow: none;
}

.nav-link-modern.active {
  color: var(--primary-color);
  background: rgba(87, 199, 213, 0.15);
}

.nav-cta {
  background: var(--primary-color);
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 12px rgba(87, 199, 213, 0.3);
  margin-left: 0.5rem;
}

.nav-cta:hover {
  transform: translateY(-2px);
  background: var(--primary-dark);
  box-shadow: 0 6px 20px rgba(87, 199, 213, 0.4);
  color: white;
}

.nav-cta:focus,
.nav-cta:focus-visible {
  outline: none;
  box-shadow: 0 4px 12px rgba(87, 199, 213, 0.3);
}

/* ================================
   HERO SECTION WITH FULL VANTA BACKGROUND
   ================================ */
.hero-full-vanta {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  background: #000000;
}

/* Vanta Background Container - Full Section */
#vanta-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* Hero Content Overlay - Positioned on Left */
.hero-content-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 3rem 0;
  z-index: 10;
}

.hero-content-overlay .container {
  max-width: 100%;
}

.hero-content-left {
  max-width: 700px;
  padding: 0 0 0 3rem; 
}

/* Hero Title - EXTRA LARGE with Professional Shadow */
.hero-title-large {
  font-size: 4.5rem;
  font-weight: 900;
  line-height: 1.1;
  color: #ffffff;
  margin-bottom: 2rem;
  letter-spacing: -3px;

  /* Professional multi-layered text shadow for depth and elegance */
  text-shadow:
    /* Main soft shadow for depth */
    0 4px 12px rgba(0, 0, 0, 0.3),
    /* Mid-layer shadow for dimension */
    0 8px 24px rgba(0, 0, 0, 0.2),
    /* Outer glow for atmosphere */
    0 16px 48px rgba(0, 0, 0, 0.15),
    /* Subtle brand accent shadow */
    0 2px 8px rgba(87, 199, 213, 0.25),
    /* Fine edge definition */
    0 1px 3px rgba(0, 0, 0, 0.2);

  
  animation: fadeInLeft 1s ease-out;
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Hero Tagline */
.hero-tagline {
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 2.5rem;
  
  text-shadow:
    0 2px 4px rgba(0, 0, 0, 0.2),
    0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Primary CTA Button */
.btn-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.125rem 3rem;
  font-size: 1.0625rem;
  font-weight: 600;
  background: var(--primary-color);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  transition: var(--transition-smooth);
  box-shadow: 0 8px 30px rgba(87, 199, 213, 0.4);
}

.btn-cta-primary:hover {
  transform: translateY(-3px);
  background: var(--primary-dark);
  box-shadow: 0 12px 40px rgba(87, 199, 213, 0.5);
  color: white;
}

.btn-cta-primary svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.btn-cta-primary:hover svg {
  transform: translateX(5px);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  z-index: 100;
  animation: bounce 2s ease-in-out infinite;
}

.scroll-indicator p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.875rem;
  font-weight: 500;
  margin: 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.scroll-mouse {
  width: 30px;
  height: 50px;
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 20px;
  position: relative;
}

.scroll-wheel {
  width: 6px;
  height: 10px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 3px;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollWheel 2s ease-in-out infinite;
}

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

@keyframes scrollWheel {
  0%, 100% { opacity: 1; top: 8px; }
  50% { opacity: 0.5; top: 18px; }
}

/* ================================
   SECTION COMMONS
   ================================ */
section {
  padding: 5rem 0;
}

.section-header {
  margin-bottom: 3rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--company-dark);
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--secondary-gray);
  max-width: 700px;
  margin: 0 auto;
}

/* ================================
   ABOUT SECTION WITH GLOBE
   ================================ */
.about-section {
  background: var(--apple-white);
  position: relative;
  padding: 2rem 0;
}

.about-section .section-title {
  color: var(--company-dark);
  margin-bottom: 1.75rem;
}

.about-description {
  font-size: 1.125rem;
  line-height: 1.8;
  margin-bottom: 2.75rem;
  color: var(--secondary-gray);
}

.about-description strong {
  color: var(--company-dark);
  font-weight: 700;
}

/* Statistics - REMOVED per user request */

/* Mission */
.about-mission {
  background: linear-gradient(135deg, rgba(87, 199, 213, 0.08), rgba(87, 199, 213, 0.03));
  padding: 2.25rem;
  border-radius: 16px;
  /*border-left: 4px solid var(--primary-color);*/
  margin-bottom: 0;
}

.mission-title {
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 1rem;
          color: var(--primary-color);

}

.mission-text {
  color: var(--secondary-gray);
  margin: 0;
  line-height: 1.75;
  font-size: 1.0625rem;
}

/* Features */
.about-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.5rem 0;
}

.feature-item svg {
  color: var(--primary-color);
  flex-shrink: 0;
}

.feature-item span {
  font-weight: 500;
  color: var(--company-dark);
  font-size: 0.9375rem;
}

/* Globe Container */
.globe-container {
  width: 100%;
  height: 600px;
  position: relative;
  overflow: hidden;
  background: transparent;
}

.globe-container canvas {
  border-radius: 0;
  box-shadow: none !important;
}

/* ================================
   BRAND LOGOS
   ================================ */
.brand-logo-container {
  margin-bottom: 2rem;
  display: flex;
  justify-content: center;
}

.brand-logo {
  height: 50px;
  width: auto;
  opacity: 0.9;
  transition: var(--transition-smooth);
}

.brand-logo:hover {
  opacity: 1;
  transform: scale(1.05);
}

.apple-logo {
  filter: brightness(0) saturate(100%);
}

.samsung-logo {
  filter: brightness(0) saturate(100%) invert(1);
}

/* Inline brand logos in section titles */
.inline-brand-logo {

      width: auto;
  vertical-align: baseline;
  display: inline-block;

}
.apple-title .inline-brand-logo {
  height: 1.35em;
  margin-right: 0;
  margin-bottom: -0.2em;
}

/* Apple logo in title should be black */
/*.apple-title .inline-brand-logo {*/
/*  filter: brightness(0) saturate(100%);*/
/*}*/

.samsung-title .inline-brand-logo {
    height: 1.45em;
    margin-right: -0.25rem;
    margin-bottom: -0.38em;
}

/* ================================
   APPLE PRODUCTS SECTION
   ================================ */
.apple-section {
  background: var(--apple-bg);
  font-family: 'Inter', sans-serif;
        padding: 5rem 0 8rem;
}

.apple-title {
  color: #000000 !important;
  font-weight: 500 !important;
  font-size: 3rem !important;
  /*letter-spacing: -1px;*/

}

.apple-badge-large {
  display: inline-block;
  padding: 0.75rem 2rem;
  background: var(--apple-black);
  color: var(--apple-white);
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 2rem;
}

.apple-product-card {
  background: var(--apple-white);
  padding: 3rem 2rem;
  border-radius: 16px;
  text-align: center;
  box-shadow: var(--shadow-subtle);
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  height: 100%;
  /* Performance optimization */
  will-change: transform;
}

.apple-product-card:hover {
  transform: scale(1.02) translateZ(0);
  box-shadow: var(--shadow-medium);
}

.product-icon {
  margin-bottom: 1.5rem;
  color: var(--apple-black);
}

.product-name {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--apple-black);
}

.product-desc {
  color: var(--apple-gray);
  font-size: 1rem;
    font-weight: 100;
  margin: 0;
}

.apple-guarantee {
  margin-top: 3rem;
}

.apple-guarantee .guarantee-text {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--apple-black);
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.guarantee-icon {
  color: var(--apple-black);
  vertical-align: middle;
  flex-shrink: 0;
}

/* ================================
   SAMSUNG PRODUCTS SECTION
   ================================ */
.samsung-section {
  background: linear-gradient(135deg, #000000 0%, var(--samsung-dark) 100%);
  color: var(--apple-white);
  font-family: 'Poppins', sans-serif;
  position: relative;
  overflow: hidden;
  padding: 8rem  0 15rem;
}

/* Top triangle skew effect */
.samsung-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: linear-gradient(135deg, #000000 0%, var(--samsung-dark) 100%);
  transform: skewY(-3deg);
  transform-origin: top left;
  z-index: 0;
}

/* Bottom triangle skew effect */
.samsung-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  /*background: linear-gradient(135deg, #000000 0%, var(--samsung-dark) 100%);*/
  background: white;
  transform: skewY(3deg);
  transform-origin: bottom left;
  z-index: 0;
}

/* VANTA.DOTS background layer */
.samsung-vanta-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.3;
}

.samsung-section .container {
  position: relative;
  z-index: 1;
}

.samsung-section .section-header {
  position: relative;
  z-index: 1;
}

.samsung-title {
  color: #ffffff !important;
  font-weight: 500 !important;
  font-size: 3rem !important;
  letter-spacing: -1px;
}

.samsung-section .section-subtitle {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.125rem;
  font-weight: 400;
}

.samsung-badge-large {
  display: inline-block;
  padding: 0.75rem 2rem;
  background: var(--samsung-blue);
  color: var(--apple-white);
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  margin-bottom: 3rem;
  box-shadow: 0 4px 20px rgba(13, 110, 253, 0.4);
  /*text-transform: uppercase;*/
}

.samsung-product-card {
    background: rgb(0 95 255 / 10%);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 2.5rem 1.5rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              border-color 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  height: 100%;
  /* Performance optimization */
  will-change: transform;
}

.samsung-product-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(13, 110, 253, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.samsung-product-card:hover::before {
  opacity: 1;
}

.samsung-product-card:hover {
  transform: translateY(-10px) translateZ(0);
  border-color: var(--samsung-blue);
  box-shadow: 0 20px 40px rgba(13, 110, 253, 0.3);
}

.card-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--samsung-blue), var(--samsung-dark), var(--samsung-blue));
  background-size: 200% 100%;
  animation: gradientShift 3s ease infinite;
}

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

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

.product-icon-samsung {
  margin-bottom: 1.5rem;
  color: var(--samsung-blue);
}

.samsung-product-card .product-name {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--apple-white);
  margin-bottom: 0.75rem;
  letter-spacing: -0.5px;
}

.samsung-product-card .product-desc {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9375rem;
  font-weight: 200;
  line-height: 1.6;
}

.samsung-guarantee .guarantee-text {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--apple-white);
  margin: 0;
}

/* ================================
   DISTRIBUTION SERVICES SECTION - MODERN REDESIGN
   ================================ */
.solutions-section {
  background: #ffffff;
  position: relative;
  padding: 6rem 0;
  overflow: hidden;
}

/* Subtle background pattern */
.solutions-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /*background-image:*/
  /*  radial-gradient(circle at 10% 20%, rgba(87, 199, 213, 0.04) 0%, transparent 50%),*/
  /*  radial-gradient(circle at 90% 80%, rgba(13, 110, 253, 0.04) 0%, transparent 50%);*/
  pointer-events: none;
}

.solutions-section .container {
  position: relative;
  z-index: 1;
}

/* Services Badge */
.services-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.75rem 1.75rem;
  background: linear-gradient(135deg, rgba(87, 199, 213, 0.15), rgba(87, 199, 213, 0.08));
  border: 1px solid rgba(87, 199, 213, 0.25);
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 1.5rem;
  transition: var(--transition-smooth);
}

.services-badge svg {
  color: var(--primary-color);
}

.services-badge:hover {
  background: linear-gradient(135deg, rgba(87, 199, 213, 0.2), rgba(87, 199, 213, 0.12));
  border-color: var(--primary-color);
  transform: scale(1.02);
}

.services-title {
  color: var(--company-dark) !important;
  font-weight: 700 !important;
  font-size: 3rem !important;
  letter-spacing: -1px;
}

/* Modern Service Cards */
.service-card-modern {
  background: #ffffff;
  border-radius: 24px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  height: 100%;
  border: 2px solid rgba(0, 0, 0, 0.06);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

/* Animated glow effect on hover */
.service-card-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /*background: radial-gradient(*/
  /*  circle at var(--mouse-x, 50%) var(--mouse-y, 50%),*/
  /*  rgba(87, 199, 213, 0.08) 0%,*/
  /*  transparent 50%*/
  /*);*/
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.service-card-modern:hover .service-card-glow {
  opacity: 1;
}

.service-card-modern:hover {
  transform: translateY(-12px);
  border-color: var(--primary-color);
  box-shadow: 0 20px 50px rgba(87, 199, 213, 0.2);
}

/* Top gradient accent line - REMOVED per user request */

/* Service Icon */
.service-icon-modern {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(87, 199, 213, 0.08);
  border-radius: 20px;
  margin-bottom: 2rem;
  color: var(--primary-color);
  transition: all 0.4s ease;
  position: relative;
  z-index: 2;
}

.service-card-modern:hover .service-icon-modern {
  background: rgba(87, 199, 213, 0.18);
  color: var(--primary-dark);
  transform: scale(1.08) rotate(5deg);
  box-shadow: 0 8px 24px rgba(87, 199, 213, 0.35);
}

/* Service Content */
.service-content-modern {
  position: relative;
  z-index: 2;
}

.service-title-modern {
  font-size: 1.625rem;
  font-weight: 700;
  color: var(--company-dark);
  margin-bottom: 0.75rem;
  letter-spacing: -0.5px;
  transition: var(--transition-smooth);
}

.service-card-modern:hover .service-title-modern {
  color: var(--primary-color);
}

.service-description {
  font-size: 1rem;
  color: var(--secondary-gray);
  margin-bottom: 1.75rem;
  line-height: 1.6;
  font-weight: 400;
}

/* Service Features List */
.service-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: var(--secondary-gray);
  font-weight: 500;
  transition: var(--transition-smooth);
}

.service-features li svg {
  color: var(--primary-color);
  flex-shrink: 0;
  transition: var(--transition-smooth);
}

.service-card-modern:hover .service-features li {
  color: var(--company-dark);
}

.service-card-modern:hover .service-features li svg {
  color: var(--primary-dark);
  transform: scale(1.15);
}

/* Card Number Badge */
.service-card-number {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 4rem;
  font-weight: 900;
  color: rgba(87, 199, 213, 0.08);
  line-height: 1;
  z-index: 1;
  transition: var(--transition-smooth);
  pointer-events: none;
}

.service-card-modern:hover .service-card-number {
  color: rgba(87, 199, 213, 0.15);
  transform: scale(1.1);
}

/* ================================
   CONTACT SECTION - MODERN REDESIGN
   ================================ */
.contact-section-modern {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f8f9fa 100%);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
  /* Performance: Enable GPU acceleration for smooth scrolling */
  transform: translateZ(0);
  will-change: scroll-position;
}

/* Modern Alert Styles for Contact Section */
.contact-section-modern .alert {
  border: none;
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  gap: 1rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: slideInDown 0.4s ease-out;
  position: relative;
  overflow: hidden;
}

/*.contact-section-modern .alert::before {*/
/*  content: '';*/
/*  position: absolute;*/
/*  left: 0;*/
/*  top: 0;*/
/*  bottom: 0;*/
/*  width: 4px;*/
/*  background: currentColor;*/
/*}*/

/* Success Alert - Cyan/Teal Theme */
.contact-section-modern .alert-success {
  background: linear-gradient(135deg, rgba(87, 199, 213, 0.15), rgba(87, 199, 213, 0.08));
  border-left: 4px solid var(--primary-color);
  color: #0c5460;
}

.contact-section-modern .alert-success .btn-close {
  filter: brightness(0.6);
}

/* Warning Alert - Cyan/Blue Theme */
.contact-section-modern .alert-warning {
  background: linear-gradient(135deg, rgba(255, 193, 7, 0.15), rgba(255, 193, 7, 0.08));
  border-left: 4px solid #ffc107;
  color: #856404;
}

/* Danger/Error Alert - Dark Blue Theme */
.contact-section-modern .alert-danger {
  background: #faeeef;
  border-left: 4px solid #dc3545;
  color: #721c24;
}

/* Alert Close Button - Modern Styling */
.contact-section-modern .alert .btn-close {
  background: transparent;
  opacity: 0.6;
  transition: opacity 0.3s ease, transform 0.3s ease;
  width: 24px;
  height: 24px;
  padding: 0;
  margin-left: auto;
}

.contact-section-modern .alert .btn-close:hover {
  opacity: 1;
  transform: scale(1.1);
}

.contact-section-modern .alert .btn-close:focus {
  box-shadow: none;
  outline: none;
}

/* Alert Animation */
@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Subtle background pattern */
.contact-section-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(87, 199, 213, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(13, 110, 253, 0.05) 0%, transparent 50%);
  pointer-events: none;
  /* Performance: GPU acceleration */
  transform: translateZ(0);
}

.contact-section-modern .container {
  position: relative;
  z-index: 1;
}

.contact-section-modern .section-title {
  color: var(--company-dark) !important;
  font-weight: 700 !important;
  font-size: 3rem !important;
  letter-spacing: -1px;
}

/* Contact Form Card - Reduced Padding */
.contact-form-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: var(--transition-smooth);
  /* Performance: Removed backdrop-filter for smoother scrolling */
  will-change: transform;
}

.contact-form-card:hover {
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.12);
  transform: translateY(-5px);
}

.form-card-header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid rgba(87, 199, 213, 0.15);
}

.form-card-header h3 {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--company-dark);
  margin-bottom: 0.5rem;
}

.form-card-header p {
  color: var(--secondary-gray);
  font-size: 1rem;
  margin: 0;
}

/* Modern Form Groups - Reduced Spacing */
.form-group-modern {
  position: relative;
  margin-bottom: 1.125rem;
}

.input-icon {
  position: absolute;
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--secondary-gray);
  z-index: 2;
  transition: var(--transition-smooth);
  pointer-events: none;
}

.form-group-modern:has(textarea) .input-icon {
  top: 1.5rem;
  transform: none;
}

.form-control-modern {
  width: 100%;
  padding: 0.875rem 0.875rem 0.875rem 3.25rem;
  border: 2px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  font-size: 1rem;
  color: var(--company-dark);
  background: rgba(255, 255, 255, 0.9);
  transition: all 0.3s ease;
  outline: none;
  font-family: 'Inter', sans-serif;
}

.form-control-modern::placeholder {
  color: transparent;
}

.form-control-modern:focus {
  border-color: var(--primary-color);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(87, 199, 213, 0.15);
  /* Subtle glow instead of harsh blue outline */
}

.form-control-modern:focus + .floating-label,
.form-control-modern:not(:placeholder-shown) + .floating-label {
  transform: translateY(-2.5rem) scale(0.85);
  color: var(--primary-color);
  font-weight: 600;
}

.form-control-modern:focus ~ .input-icon {
  color: var(--primary-color);
}

/* Floating Labels */
.floating-label {
  position: absolute;
  left: 3.5rem;
  top: 1rem;
  color: var(--secondary-gray);
  font-size: 1rem;
  font-weight: 500;
  pointer-events: none;
  transition: all 0.3s ease;
  transform-origin: left center;
}

/* Textarea Specific - Reduced Height */
textarea.form-control-modern {
  min-height: 110px;
  resize: vertical;
  padding-top: 1rem;
}

.form-group-modern:has(textarea) .floating-label {
  top: 1.25rem;
}

/* Submit Button - Reduced Padding */
.btn-submit-modern {
  width: 100%;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 1.0625rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 24px rgba(87, 199, 213, 0.3);
  margin-top: 0.75rem;
  position: relative;
  overflow: hidden;
}

.btn-submit-modern::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: left 0.5s ease;
}

.btn-submit-modern:hover::before {
  left: 100%;
}

.btn-submit-modern:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(87, 199, 213, 0.4);
}

.btn-submit-modern:focus {
  outline: none;
  box-shadow: 0 8px 24px rgba(87, 199, 213, 0.3), 0 0 0 3px rgba(87, 199, 213, 0.25);
}

.btn-submit-modern:active {
  transform: translateY(0);
}

.btn-icon {
  transition: transform 0.3s ease;
}

.btn-submit-modern:hover .btn-icon {
  transform: translateX(5px) rotate(-15deg);
}

/* Loading Spinner Styles */
.btn-spinner {
  display: none;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.btn-submit-modern.loading {
  pointer-events: none;
  opacity: 0.7;
}

.btn-submit-modern.loading .btn-text {
  opacity: 0.6;
}

.btn-submit-modern.loading .btn-icon {
  display: none;
}

.btn-submit-modern.loading .btn-spinner {
  display: block;
}

/* reCAPTCHA Styling - Hidden by Default, Shown When User Types */
.g-recaptcha {
  margin-top: 0.5rem;
  display: inline-block;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transform: translateY(-10px);
  transition: opacity 0.4s ease, max-height 0.4s ease, transform 0.4s ease, margin-top 0.4s ease;
  pointer-events: none;
}

.g-recaptcha.show {
  opacity: 1;
  max-height: 100px;
  transform: translateY(0);
  margin-bottom: 1rem;
  pointer-events: all;
}

/* Contact Info Cards */
.contact-info-modern {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  height: 100%;
}

.info-card-modern {
  background: #ffffff;
  border-radius: 20px;
  padding: 1.75rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  /* Performance: Removed backdrop-filter for smoother scrolling */
  will-change: transform;
}

.info-card-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--primary-color), var(--primary-dark));
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.info-card-modern:hover {
  transform: translateX(8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.info-card-modern:hover::before {
  transform: scaleY(1);
}

.info-card-icon {
  width: 60px;
  height: 60px;
  min-width: 60px;
  background: rgba(87, 199, 213, 0.08);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  transition: all 0.3s ease;
}

.info-card-modern:hover .info-card-icon {
  background: rgba(87, 199, 213, 0.15);
  color: var(--primary-dark);
  transform: scale(1.05) rotate(5deg);
}

.info-card-content {
  flex: 1;
}

.info-card-content h4 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--company-dark);
  margin-bottom: 0.75rem;
}

.info-card-content p {
  font-size: 0.9375rem;
  color: var(--secondary-gray);
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.info-card-content p:last-child {
  margin-bottom: 0;
}

.info-card-content a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition-smooth);
}

.info-card-content a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.info-note {
  font-size: 0.8125rem !important;
  color: var(--primary-color) !important;
  font-weight: 500 !important;
  font-style: italic;
}

/* Map Section Modern */
.map-section-modern {
  background: #ffffff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.06);
  /* Performance: Removed backdrop-filter for smoother scrolling */
  will-change: transform;
}

.map-header {
  padding: 2.5rem;
  background: linear-gradient(135deg, rgba(87, 199, 213, 0.08), rgba(87, 199, 213, 0.03));
  display: flex;
  align-items: center;
  gap: 1.5rem;
  border-bottom: 2px solid rgba(87, 199, 213, 0.15);
}

.map-icon {
  width: 70px;
  height: 70px;
  min-width: 70px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 8px 24px rgba(87, 199, 213, 0.3);
}

.map-header-content h3 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--company-dark);
  margin-bottom: 0.5rem;
}

.map-header-content p {
  color: var(--secondary-gray);
  font-size: 1rem;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.map-frame {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  display: block;
  filter: grayscale(10%) brightness(1.02);
  transition: filter 0.3s ease;
  /* Performance: GPU acceleration for smooth interaction */
  transform: translateZ(0);
  will-change: filter;
}

.map-section-modern:hover .map-frame iframe {
  filter: grayscale(0%) brightness(1);
}

/* ================================
   FOOTER
   ================================ */
.footer {
  background: var(--company-dark);
  color: var(--apple-white);
  padding: 3rem 0 1.5rem;
}

.footer-content {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
  height: 50px;
  width: auto;
  opacity: 0.9;
}

.footer-info {
  text-align: left;
}

.footer-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0;
  color: var(--apple-white);
}

.footer-text {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9375rem;
  margin: 0;
}

.footer-bottom {
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
  margin: 0;
}

/* ================================
   BACK TO TOP BUTTON
   ================================ */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: var(--apple-white);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
  z-index: 1000;
  box-shadow: var(--shadow-medium);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--samsung-dark);
  transform: translateY(-5px);
}

/* ================================
   BUTTONS
   ================================ */
.btn-primary {
  background: var(--samsung-blue);
  border: none;
  color: var(--apple-white);
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  transition: var(--transition-smooth);
}

.btn-primary:hover {
  background: var(--samsung-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(13, 110, 253, 0.3);
}

.btn-primary:active {
  transform: translateY(0);
}

/* ================================
   MODAL CUSTOMIZATION
   ================================ */
.modal-content {
  border-radius: 20px;
  border: none;
}

.success-icon svg {
  margin: 0 auto;
}

/* ================================
   RESPONSIVE DESIGN
   ================================ */

/* ================================
   MOBILE-FIRST IMPROVEMENTS
   Add extra padding to containers on mobile for better readability
   ================================ */
@media (max-width: 767px) {
  .container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
}

/* Tablets and below */
@media (max-width: 991px) {
  /* Modern Navbar */
  .mobile-menu-toggle {
    display: flex;
  }

  .navbar-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    /*backdrop-filter: blur(20px);*/
    /*-webkit-backdrop-filter: blur(20px);*/
    flex-direction: column;
    justify-content: flex-start;
    padding: 6rem 2rem 2rem;
    gap: 0.5rem;
    box-shadow: -4px 0 30px rgba(0, 0, 0, 0.1);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
  }

  .navbar-menu.active {
    right: 0;
  }

  .nav-link-modern {
    width: 100%;
    text-align: left;
    padding: 1rem 1.25rem;
    font-size: 1.125rem;
  }

  .nav-cta {
    width: 100%;
    text-align: center;
    margin-left: 0;
    margin-top: 1rem;
  }

  /* Hero Full Vanta Layout - Tablet (991px and below) */
  .hero-content-overlay {
    width: 100%;
    min-height: 100vh;
    padding: 3rem 0;
    justify-content: center;
  }

  .hero-content-left {
    max-width: 100%;
    text-align: center;
    padding: 0; 
  }

  .hero-title-large {
    font-size: 4rem;
    letter-spacing: -2px;
    margin-bottom: 1.5rem;
    line-height: 1.15;
    /* Adjust shadow for smaller size */
    text-shadow:
      0 3px 10px rgba(0, 0, 0, 0.3),
      0 6px 20px rgba(0, 0, 0, 0.2),
      0 12px 40px rgba(0, 0, 0, 0.15),
      0 2px 6px rgba(87, 199, 213, 0.25),
      0 1px 3px rgba(0, 0, 0, 0.2);
  }

  .hero-tagline {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 2rem;
  }

  .btn-cta-primary {
    padding: 1.125rem 2.75rem;
    font-size: 1rem;
  }

  .scroll-indicator {
    left: 50%;
    bottom: 2rem;
  }

  .section-title {
    font-size: 2.5rem;
  }

  .certificates-grid {
    grid-template-columns: 1fr;
  }

  /* About Section */
  .about-section {
    padding: 5rem 0;
  }

  .about-section .section-title {
    font-size: 2.25rem;
  }

  .about-description {
    font-size: 1.0625rem;
    margin-bottom: 2.5rem;
  }

  .about-mission {
    padding: 2rem;
  }

  .mission-title {
    font-size: 1.25rem;
  }

  .mission-text {
    font-size: 1rem;
  }

  .globe-container {
    height: 600px;
    margin-top: 3rem;
  }

  /* Distribution Services - Tablet */
  .solutions-section {
    padding: 5rem 0;
  }

  .services-title {
    font-size: 2.5rem !important;
  }

  .contact-section-modern .section-title {
    font-size: 2.5rem !important;
  }

  .service-card-modern {
    padding: 2rem;
  }

  .service-icon-modern {
    width: 70px;
    height: 70px;
    margin-bottom: 1.5rem;
  }

  .service-icon-modern svg {
    width: 36px;
    height: 36px;
  }

  .service-title-modern {
    font-size: 1.5rem;
  }

  .service-card-number {
    font-size: 3.5rem;
    top: 1.25rem;
    right: 1.25rem;
  }
}

/* ================================
   MOBILE DEVICES - COMPREHENSIVE OPTIMIZATION
   Target: 375px - 767px (iPhone SE to iPad Mini)
   Perfect mobile experience with optimal spacing, typography, and touch targets
   ================================ */
@media (max-width: 767px) {
  /* ===== CONTAINER & GLOBAL SPACING ===== */
  .container {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  /* ===== HERO SECTION - MOBILE (767px and below) ===== */
  .hero-content-overlay {
    width: 100%;
    min-height: 100vh;
    padding: 3rem 0;
    justify-content: center;
  }

  .hero-content-left {
    max-width: 100%;
    text-align: center;
    padding: 0; 
  }

  .hero-title-large {
    font-size: 3.5rem;
    letter-spacing: -1.5px;
    margin-bottom: 1.25rem;
    line-height: 1.2;
    text-shadow:
      0 2px 8px rgba(0, 0, 0, 0.35),
      0 4px 16px rgba(0, 0, 0, 0.25),
      0 8px 30px rgba(0, 0, 0, 0.2),
      0 1px 4px rgba(87, 199, 213, 0.3);
  }

  .hero-tagline {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    line-height: 1.65;
  }

  .btn-cta-primary {
    padding: 1.125rem 2.5rem;
    font-size: 1rem;
    width: auto;
    justify-content: center;
  }

  .btn-cta-primary svg {
    width: 18px;
    height: 18px;
  }

  /* ===== SECTIONS - MOBILE SPACING ===== */
  section {
    padding: 3.5rem 0;
  }

  .section-header {
    margin-bottom: 2.5rem;
  }

  .section-title {
    font-size: 2.5rem;
    line-height: 1.3;
    margin-bottom: 1.25rem;
  }

  .section-subtitle {
    font-size: 1rem;
    line-height: 1.65;
  }

  /* ===== NAVBAR - MOBILE ===== */
  .modern-navbar {
    padding: 0.875rem 0;
  }

  .brand-logo-svg {
    height: 40px;
  }

  .brand-name strong {
    font-size: 1.125rem;
  }

  .brand-name small {
    font-size: 0.875rem;
  }

  .mobile-menu-toggle {
    padding: 10px;
  }

  .mobile-menu-toggle span {
    width: 26px;
    height: 2.5px;
  }

  .nav-link-modern {
    padding: 1rem 1.25rem;
    font-size: 1.0625rem;
  }

  .nav-cta {
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
  }

  /* ===== ABOUT SECTION - MOBILE ===== */
  .about-section {
    padding: 3.5rem 0;
  }

  .about-section .section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
  }

  .about-description {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
  }

  .about-mission {
    padding: 1.5rem;
    border-radius: 12px;
  }

  .mission-title {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
  }

  .mission-text {
    font-size: 0.9375rem;
    line-height: 1.7;
  }

  .about-features {
    gap: 0.875rem;
  }

  .feature-item {
    padding: 0.5rem 0;
    gap: 0.75rem;
  }

  .feature-item svg {
    width: 20px;
    height: 20px;
  }

  .feature-item span {
    font-size: 0.9375rem;
  }

  .globe-container {
    height: 420px;
    margin-top: 0;
  }

  /* ===== APPLE PRODUCTS - MOBILE ===== */
  .apple-section {
    padding: 3.5rem 0;
  }

  .apple-title {
    font-size: 2.5rem !important;
  }

  .apple-title .inline-brand-logo {
    height: 1.25em;
  }

  .apple-badge-large {
    padding: 0.625rem 1.5rem;
    font-size: 0.8125rem;
    margin-bottom: 1.5rem;
  }

  .apple-product-card {
    padding: 2rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 1rem;
  }

  .product-icon {
    margin-bottom: 1.25rem;
  }

  .product-icon img {
    width: 52px !important;
    height: 52px !important;
  }

  .product-name {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
  }

  .product-desc {
    font-size: 0.9375rem;
  }

  /* ===== SAMSUNG SECTION - MOBILE ===== */
  .samsung-section {
    padding: 5rem 0 10rem;
  }

  .samsung-title {
    font-size: 2.5rem !important;
  }

  .samsung-title .inline-brand-logo {
    height: 1.35em;
  }

  .samsung-badge-large {
    padding: 0.625rem 1.5rem;
    font-size: 0.8125rem;
    margin-bottom: 2rem;
  }

  .samsung-product-card {
    padding: 2rem 1.5rem;
    border-radius: 16px;
    margin-bottom: 1rem;
  }

  .product-icon-samsung {
    margin-bottom: 1.25rem;
  }

  .product-icon-samsung svg {
    width: 44px;
    height: 44px;
  }

  .samsung-product-card .product-name {
    font-size: 1.25rem;
    margin-bottom: 0.625rem;
  }

  .samsung-product-card .product-desc {
    font-size: 0.9375rem;
  }

  /* ===== DISTRIBUTION SERVICES - MOBILE ===== */
  .solutions-section {
    padding: 3.5rem 0;
  }

  .services-badge {
    padding: 0.625rem 1.5rem;
    font-size: 0.8125rem;
    margin-bottom: 1.25rem;
  }

  .services-badge svg {
    width: 18px;
    height: 18px;
  }

  .services-title {
    font-size: 2.5rem !important;
  }

  .contact-section-modern .section-title {
    font-size: 2.5rem !important;
  }

  .service-card-modern {
    padding: 2rem 1.5rem;
    margin-bottom: 1.25rem;
    border-radius: 20px;
  }

  .service-icon-modern {
    width: 68px;
    height: 68px;
    margin-bottom: 1.5rem;
    border-radius: 16px;
  }

  .service-icon-modern svg {
    width: 34px;
    height: 34px;
  }

  .service-title-modern {
    font-size: 1.375rem;
    margin-bottom: 0.75rem;
  }

  .service-description {
    font-size: 0.9375rem;
    margin-bottom: 1.25rem;
    line-height: 1.65;
  }

  .service-features {
    gap: 0.875rem;
  }

  .service-features li {
    font-size: 0.875rem;
    gap: 0.625rem;
  }

  .service-features li svg {
    width: 17px;
    height: 17px;
  }

  .service-card-number {
    font-size: 3rem;
    top: 1.25rem;
    right: 1.25rem;
  }

  /* ===== CONTACT SECTION - MOBILE ===== */
  .contact-section-modern {
    padding: 3.5rem 0;
  }

  .contact-form-card {
    padding: 2rem 1.5rem;
    border-radius: 20px;
  }

  .form-card-header {
    padding-bottom: 1.5rem;
    margin-bottom: 2rem;
  }

  .form-card-header h3 {
    font-size: 1.875rem;
    margin-bottom: 0.625rem;
  }

  .form-card-header p {
    font-size: 0.9375rem;
  }

  .form-group-modern {
    margin-bottom: 1.25rem;
  }

  .form-control-modern {
    padding: 1.0625rem 1rem 1.0625rem 3.25rem;
    font-size: 1rem;
    border-radius: 10px;
  }

  .input-icon {
    left: 1rem;
  }

  .input-icon svg {
    width: 18px;
    height: 18px;
  }

  .floating-label {
    left: 3.25rem;
    font-size: 1rem;
  }

  textarea.form-control-modern {
    min-height: 130px;
    padding-top: 1.125rem;
  }

  .btn-submit-modern {
    padding: 1.125rem 2rem;
    font-size: 1.0625rem;
    border-radius: 10px;
  }

  .btn-submit-modern svg {
    width: 18px;
    height: 18px;
  }

  /* Contact Info Cards */
  .contact-info-modern {
    gap: 1rem;
    margin-top: 2rem;
  }

  .info-card-modern {
    padding: 1.5rem;
    border-radius: 16px;
    gap: 1rem;
  }

  .info-card-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    border-radius: 14px;
  }

  .info-card-icon svg {
    width: 28px;
    height: 28px;
  }

  .info-card-content h4 {
    font-size: 1.0625rem;
    margin-bottom: 0.625rem;
  }

  .info-card-content p {
    font-size: 0.9375rem;
    line-height: 1.65;
  }

  /* Map Section */
  .map-section-modern {
    border-radius: 20px;
  }

  .map-header {
    flex-direction: column;
    text-align: center;
    padding: 2rem 1.5rem;
    gap: 1.25rem;
  }

  .map-icon {
    width: 64px;
    height: 64px;
    min-width: 64px;
    border-radius: 18px;
  }

  .map-icon svg {
    width: 34px;
    height: 34px;
  }

  .map-header-content h3 {
    font-size: 1.375rem;
    margin-bottom: 0.5rem;
  }

  .map-header-content p {
    font-size: 0.9375rem;
  }

  .map-frame {
    height: 340px;
  }

  /* ===== FOOTER - MOBILE ===== */
  .footer {
    padding: 2.5rem 0 1.25rem;
  }

  .footer-content {
    gap: 1.25rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
  }

  .footer-logo {
    height: 44px;
  }

  .footer-title {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
  }

  .footer-text {
    font-size: 0.875rem;
  }

  .footer-bottom p {
    font-size: 0.8125rem;
  }

  /* ===== UTILITIES - MOBILE ===== */
  .back-to-top {
    bottom: 1.25rem;
    right: 1.25rem;
    width: 48px;
    height: 48px;
    /* Touch target minimum 44px met */
  }

  .back-to-top svg {
    width: 22px;
    height: 22px;
  }

  .scroll-indicator {
    bottom: 2rem;
  }

  .scroll-indicator p {
    font-size: 0.8125rem;
  }

  .scroll-mouse {
    width: 26px;
    height: 44px;
  }

  .scroll-wheel {
    width: 5px;
    height: 9px;
  }
}


/* ================================
   SMALL MOBILE DEVICES - EXTRA OPTIMIZATIONS
   Target: 320px - 575px (iPhone SE, older Android phones)
   Extra-fine tuning for smallest screens
   ================================ */
@media (max-width: 575px) {
  /* ===== CONTAINER - COMFORTABLE PADDING ===== */
  .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  /* ===== NAVBAR - SMALL MOBILE ===== */
  .modern-navbar {
    padding: 0.75rem 0;
  }

  .modern-navbar.scrolled {
    padding: 0.75rem 0;
  }

  .brand-logo-svg {
    height: 36px;
  }

  .brand-name strong {
    font-size: 1rem;
  }

  .brand-name small {
    font-size: 0.8125rem;
  }

  .mobile-menu-toggle {
    padding: 8px;
  }

  .mobile-menu-toggle span {
    width: 24px;
    height: 2px;
  }

  .navbar-menu {
    width: 100%;
    padding: 5rem 1.5rem 2rem;
  }

  .nav-link-modern {
    padding: 0.875rem 1rem;
    font-size: 1rem;
  }

  .nav-cta {
    padding: 0.875rem 1.5rem;
    font-size: 0.9375rem;
  }

  /* ===== HERO - SMALL MOBILE (575px and below) ===== */
  .hero-content-overlay {
    min-height: 100vh;
    padding: 2.5rem 0;
  }

  .hero-title-large {
    font-size: 3.5rem;
    letter-spacing: -1px;
    margin-bottom: 1rem;
    line-height: 1.25;
  }

  .hero-tagline {
    font-size: 1rem;
    margin-bottom: 1.75rem;
    line-height: 1.7;
  }

  .btn-cta-primary {
    padding: 1.125rem 2rem;
    font-size: 1rem;
  }

  /* ===== SECTIONS - SMALL MOBILE ===== */
  section {
    padding: 3rem 0;
  }

  .section-header {
    margin-bottom: 2rem;
  }

  .section-title {
    font-size: 2rem;
    line-height: 1.35;
    margin-bottom: 1rem;
  }

  .section-subtitle {
    font-size: 0.9375rem;
    line-height: 1.7;
  }

  /* ===== ABOUT SECTION - SMALL MOBILE ===== */
  .about-section {
    padding: 3rem 0;
  }

  .about-section .section-title {
    font-size: 2rem;
    margin-bottom: 1.25rem;
  }

  .about-description {
    font-size: 0.9375rem;
    line-height: 1.75;
    margin-bottom: 1.75rem;
  }

  .about-mission {
    padding: 1.25rem;
    border-radius: 10px;
  }

  .mission-title {
    font-size: 1.0625rem;
    margin-bottom: 0.625rem;
  }

  .mission-text {
    font-size: 0.875rem;
    line-height: 1.7;
  }

  .feature-item {
    padding: 0.375rem 0;
  }

  .feature-item svg {
    width: 18px;
    height: 18px;
  }

  .feature-item span {
    font-size: 0.875rem;
  }

  .globe-container {
    height: 320px;
    margin-top: 0;
  }

  /* ===== APPLE PRODUCTS - SMALL MOBILE ===== */
  .apple-section {
    padding: 3rem 0;
  }

  .apple-title {
    font-size: 2rem !important;
  }

  .apple-title .inline-brand-logo {
    height: 1.2em;
  }

  .apple-badge-large {
    padding: 0.5rem 1.25rem;
    font-size: 0.75rem;
    margin-bottom: 1.25rem;
  }

  .apple-product-card {
    padding: 1.75rem 1.25rem;
    border-radius: 10px;
    margin-bottom: 0.875rem;
  }

  .product-icon {
    margin-bottom: 1rem;
  }

  .product-icon img {
    width: 48px !important;
    height: 48px !important;
  }

  .product-name {
    font-size: 1.125rem;
    margin-bottom: 0.375rem;
  }

  .product-desc {
    font-size: 0.875rem;
  }

  /* ===== SAMSUNG SECTION - SMALL MOBILE ===== */
  .samsung-section {
    padding: 4rem 0 8rem;
  }

  .samsung-title {
    font-size: 2rem !important;
  }

  .samsung-title .inline-brand-logo {
    height: 1.3em;
  }

  .samsung-badge-large {
    padding: 0.5rem 1.25rem;
    font-size: 0.75rem;
    margin-bottom: 1.5rem;
  }

  .samsung-product-card {
    padding: 1.75rem 1.25rem;
    border-radius: 14px;
    margin-bottom: 0.875rem;
  }

  .product-icon-samsung {
    margin-bottom: 1rem;
  }

  .product-icon-samsung svg {
    width: 40px;
    height: 40px;
  }

  .samsung-product-card .product-name {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
  }

  .samsung-product-card .product-desc {
    font-size: 0.875rem;
  }

  /* ===== DISTRIBUTION SERVICES - SMALL MOBILE ===== */
  .solutions-section {
    padding: 3rem 0;
  }

  .services-badge {
    padding: 0.5rem 1.25rem;
    font-size: 0.75rem;
    margin-bottom: 1rem;
  }

  .services-badge svg {
    width: 16px;
    height: 16px;
  }

  .services-title {
    font-size: 2rem !important;
  }

  .contact-section-modern .section-title {
    font-size: 2rem !important;
  }

  .service-card-modern {
    padding: 1.75rem 1.25rem;
    margin-bottom: 1rem;
    border-radius: 18px;
  }

  .service-icon-modern {
    width: 60px;
    height: 60px;
    margin-bottom: 1.25rem;
    border-radius: 14px;
  }

  .service-icon-modern svg {
    width: 30px;
    height: 30px;
  }

  .service-title-modern {
    font-size: 1.25rem;
    margin-bottom: 0.625rem;
  }

  .service-description {
    font-size: 0.875rem;
    margin-bottom: 1rem;
    line-height: 1.7;
  }

  .service-features {
    gap: 0.75rem;
  }

  .service-features li {
    font-size: 0.8125rem;
    gap: 0.5rem;
  }

  .service-features li svg {
    width: 16px;
    height: 16px;
  }

  .service-card-number {
    font-size: 2.5rem;
    top: 1rem;
    right: 1rem;
    opacity: 0.7;
  }

  /* ===== CONTACT SECTION - SMALL MOBILE ===== */
  .contact-section-modern {
    padding: 3rem 0;
  }

  .contact-form-card {
    padding: 1.5rem 1.25rem;
    border-radius: 18px;
  }

  .form-card-header {
    padding-bottom: 1.25rem;
    margin-bottom: 1.75rem;
  }

  .form-card-header h3 {
    font-size: 1.625rem;
    margin-bottom: 0.5rem;
  }

  .form-card-header p {
    font-size: 0.875rem;
  }

  .form-group-modern {
    margin-bottom: 1.125rem;
  }

  .form-control-modern {
    padding: 1rem 0.875rem 1rem 3rem;
    font-size: 1rem;
    border-radius: 9px;
  }

  .input-icon {
    left: 0.875rem;
  }

  .input-icon svg {
    width: 17px;
    height: 17px;
  }

  .floating-label {
    left: 3rem;
    font-size: 0.9375rem;
  }

  textarea.form-control-modern {
    min-height: 120px;
    padding-top: 1rem;
  }

  .btn-submit-modern {
    padding: 1rem 1.75rem;
    font-size: 1rem;
    border-radius: 9px;
  }

  .btn-submit-modern svg {
    width: 17px;
    height: 17px;
  }

  /* Contact Info Cards */
  .contact-info-modern {
    gap: 0.875rem;
    margin-top: 1.75rem;
  }

  .info-card-modern {
    padding: 1.25rem;
    border-radius: 14px;
    gap: 0.875rem;
  }

  .info-card-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    border-radius: 12px;
  }

  .info-card-icon svg {
    width: 26px;
    height: 26px;
  }

  .info-card-content h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }

  .info-card-content p {
    font-size: 0.875rem;
    line-height: 1.7;
  }

  /* Map Section */
  .map-section-modern {
    border-radius: 18px;
  }

  .map-header {
    padding: 1.5rem 1.25rem;
    gap: 1rem;
  }

  .map-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    border-radius: 16px;
  }

  .map-icon svg {
    width: 30px;
    height: 30px;
  }

  .map-header-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.375rem;
  }

  .map-header-content p {
    font-size: 0.875rem;
  }

  .map-frame {
    height: 300px;
  }

  /* ===== FOOTER - SMALL MOBILE ===== */
  .footer {
    padding: 2rem 0 1rem;
  }

  .footer-content {
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
  }

  .footer-logo {
    height: 38px;
  }

  .footer-title {
    font-size: 1rem;
    margin-bottom: 0.25rem;
  }

  .footer-text {
    font-size: 0.8125rem;
  }

  .footer-bottom p {
    font-size: 0.75rem;
  }

  /* ===== UTILITIES - SMALL MOBILE ===== */
  .back-to-top {
    bottom: 1rem;
    right: 1rem;
    width: 46px;
    height: 46px;
  }

  .back-to-top svg {
    width: 20px;
    height: 20px;
  }

  .scroll-indicator {
    bottom: 1.5rem;
  }

  .scroll-indicator p {
    font-size: 0.75rem;
  }

  .scroll-mouse {
    width: 24px;
    height: 40px;
  }

  .scroll-wheel {
    width: 4px;
    height: 8px;
  }
}

/* ================================
   EXTRA-SMALL MOBILE - CRITICAL FIXES
   Target: 320px - 400px (iPhone SE 1st gen, small Android)
   Final adjustments for smallest possible screens
   ================================ */
@media (max-width: 400px) {
  /* Hero - Scale down further for smallest screens */
  .hero-content-overlay {
    min-height: 100vh;
    padding: 2rem 0;
  }

  .hero-title-large {
    font-size: 3.5em;
    letter-spacing: -0.5px;
    margin-bottom: 0.875rem;
    line-height: 1.3;
  }

  .hero-tagline {
    font-size: 0.9375rem;
    margin-bottom: 1.5rem;
    line-height: 1.7;
  }

  .btn-cta-primary {
    padding: 1rem 1.75rem;
    font-size: 0.9375rem;
  }

  /* Section titles - Extra compact */
  .section-title {
    font-size: 1.5rem;
  }

  .section-subtitle {
    font-size: 0.875rem;
  }

  /* Cards - Tighter padding */
  .apple-product-card,
  .samsung-product-card,
  .service-card-modern {
    padding: 1.5rem 1rem;
  }

  /* Form - Smaller inputs */
  .form-control-modern {
    font-size: 0.9375rem;
  }

  .floating-label {
    font-size: 0.875rem;
  }

  /* Navbar brand - Minimal size */
  .brand-logo-svg {
    height: 32px;
  }

  .brand-name strong {
    font-size: 0.9375rem;
  }

  .brand-name small {
    font-size: 0.75rem;
  }

  /* Product/Service icons - Smaller */
  .product-icon img {
    width: 44px !important;
    height: 44px !important;
  }

  .product-icon-samsung svg {
    width: 36px;
    height: 36px;
  }

  .service-icon-modern {
    width: 56px;
    height: 56px;
  }

  .service-icon-modern svg {
    width: 28px;
    height: 28px;
  }

  /* Card titles - Compact */
  .product-name,
  .service-title-modern {
    font-size: 1.125rem;
  }

  /* Descriptions - Smaller */
  .product-desc,
  .service-description {
    font-size: 0.8125rem;
  }

  /* Globe - Minimum height */
  .globe-container {
    height: 280px;
  }

  /* Map - Minimum height */
  .map-frame {
    height: 280px;
  }

  /* Footer - Very compact */
  .footer {
    padding: 1.75rem 0 1rem;
  }

  .footer-logo {
    height: 34px;
  }

  .footer-title {
    font-size: 0.9375rem;
  }

  .footer-text {
    font-size: 0.75rem;
  }
}


/* ================================
   UTILITY CLASSES
   ================================ */
.text-gradient {
  background: linear-gradient(135deg, var(--apple-black), var(--samsung-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ================================
   ANIMATIONS & TRANSITIONS
   ================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

.fade-in-up {
  animation: fadeInUp 0.8s ease forwards;
}

.fade-in-down {
  animation: fadeInDown 0.8s ease forwards;
}

/* ================================
   ACCESSIBILITY
   ================================ */
.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;
}

/* Focus styles for accessibility - Subtle and Professional */
a:focus,
button:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(87, 199, 213, 0.25);
  border-radius: 4px;
}

input:focus,
textarea:focus {
  outline: none;
  /* Focus styles handled in form-control-modern */
}

/* ================================
   PRINT STYLES
   ================================ */
@media print {
  .navbar,
  .back-to-top,
  #loading-screen {
    display: none;
  }

  body {
    font-size: 12pt;
    color: #000;
  }

  a {
    text-decoration: underline;
  }
}
