/* ==========================================================================
   MAGIT GENERAL TRADING & CONTRACTING COMPANY
   Premium Modern Light Theme Design System
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&family=Inter:wght@400;500;600;700&display=swap');

:root {
  /* Color Palette - Modern Light Tech */
  --bg-body: #FAFCFF;
  --bg-surface: #FFFFFF;
  --bg-subtle: #F1F5F9;
  --bg-slate-light: #F8FAFC;
  --bg-blue-light: #F0F9FF;
  --bg-cyan-light: #ECFEFF;
  
  --border-light: #E2E8F0;
  --border-accent: #BAE6FD;
  --border-focus: #0284C7;
  
  --primary-navy: #0B2B4C;
  --primary-dark: #0F172A;
  --accent-cyan: #06B6D4;
  --accent-blue: #0284C7;
  --accent-blue-deep: #0369A1;
  --accent-emerald: #10B981;
  
  --text-main: #0F172A;
  --text-body: #475569;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  
  --grad-accent: linear-gradient(135deg, #0284C7 0%, #06B6D4 100%);
  --grad-subtle: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 100%);
  --grad-hero: linear-gradient(135deg, #F0F9FF 0%, #FFFFFF 50%, #F8FAFC 100%);
  --grad-badge: linear-gradient(135deg, #E0F2FE 0%, #BAE6FD 100%);
  
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 12px -2px rgba(15, 23, 42, 0.06), 0 2px 6px -1px rgba(15, 23, 42, 0.03);
  --shadow-lg: 0 12px 28px -6px rgba(15, 23, 42, 0.08), 0 4px 10px -2px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 20px 40px -10px rgba(2, 132, 199, 0.12), 0 8px 16px -4px rgba(15, 23, 42, 0.04);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base Setup */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  color-scheme: light;
}

body {
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-body);
  color: var(--text-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  position: relative;
}

/* Background Tech Grid Pattern */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(rgba(2, 132, 199, 0.03) 1px, transparent 1px),
    radial-gradient(rgba(6, 182, 212, 0.03) 1px, transparent 1px);
  background-size: 36px 36px;
  background-position: 0 0, 18px 18px;
  pointer-events: none;
  z-index: -1;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

img, svg {
  display: block;
  max-width: 100%;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

.container {
  width: 100%;
  max-width: 1680px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1.5rem, 3.5vw, 4rem);
  padding-right: clamp(1.5rem, 3.5vw, 4rem);
}

@media (min-width: 1800px) {
  .container {
    max-width: 1840px;
  }
}

.top-bar .container,
.navbar .container {
  max-width: 1840px;
}

/* Typography Utilities */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-main);
  font-weight: 800;
  line-height: 1.25;
}

.text-gradient {
  background: var(--grad-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Top Quick Hotline Bar */
.top-bar {
  background: #FFFFFF;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.825rem;
  padding: 0.5rem 0;
  color: var(--text-muted);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.top-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-body);
  font-weight: 600;
}

.top-link:hover {
  color: var(--accent-blue);
}

.country-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.15rem 0.6rem;
  background: var(--bg-blue-light);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-blue-deep);
}

/* Main Navigation */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.04);
  transition: var(--transition);
}

.navbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 76px;
}

/* Brand Identity */
.brand-identity {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.brand-emblem-wrap {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.2);
  border: 2px solid #FFFFFF;
  transition: var(--transition);
  flex-shrink: 0;
}

.brand-emblem-wrap:hover {
  transform: scale(1.06) rotate(3deg);
  box-shadow: 0 8px 20px rgba(2, 132, 199, 0.3);
}

.brand-emblem-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-text-col {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--primary-navy);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.brand-tagline {
  font-size: 0.725rem;
  font-weight: 700;
  color: var(--accent-blue-deep);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Nav Links & Page Toggle */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
}

.nav-link {
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-body);
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--accent-blue);
  background: var(--bg-blue-light);
}

.nav-link.active {
  color: var(--accent-blue);
  background: var(--bg-blue-light);
  font-weight: 700;
}

/* 2-Page Switcher Pill */
.page-switch-pill {
  display: inline-flex;
  align-items: center;
  background: var(--bg-subtle);
  padding: 4px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-light);
}

.switch-btn {
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-muted);
  border: none;
  background: transparent;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.switch-btn.active {
  background: #FFFFFF;
  color: var(--accent-blue-deep);
  box-shadow: var(--shadow-sm);
}

.switch-btn:hover:not(.active) {
  color: var(--text-main);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  text-align: center;
}

.btn-primary {
  background: var(--grad-accent);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.28);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(2, 132, 199, 0.38);
}

.btn-secondary {
  background: #FFFFFF;
  color: var(--primary-navy);
  border-color: var(--border-light);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  border-color: var(--accent-blue);
  background: var(--bg-blue-light);
  color: var(--accent-blue-deep);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #25D366;
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background: #20BA5A;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

/* Mobile Nav Toggle */
.mobile-toggle {
  display: none;
  background: var(--bg-blue-light);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-sm);
  color: var(--primary-navy);
  cursor: pointer;
  padding: 0.45rem 0.75rem;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.775rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  transition: var(--transition);
  flex-shrink: 0;
}

.mobile-toggle:hover, .mobile-toggle:active {
  background: #E0F2FE;
  border-color: var(--accent-blue);
}

/* Hero Section */
.hero-section {
  padding: 4.5rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: var(--bg-blue-light);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-blue-deep);
  margin-bottom: 1.25rem;
}

.hero-badge-pill .pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-emerald);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-title {
  font-size: 3.1rem;
  font-weight: 900;
  letter-spacing: -0.035em;
  color: var(--primary-navy);
  margin-bottom: 1.25rem;
  line-height: 1.15;
}

.hero-subtitle {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-body);
  margin-bottom: 2rem;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

/* 3D Floating Medallion Hero Card */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-visual-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-xl);
  text-align: center;
  position: relative;
  width: 100%;
  max-width: 440px;
  transition: var(--transition);
}

.hero-visual-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-accent);
}

.floating-medallion-box {
  width: 180px;
  height: 180px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  position: relative;
  animation: floatMedallion 6s ease-in-out infinite;
}

.floating-medallion-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 16px 36px rgba(11, 43, 76, 0.25);
}

@keyframes floatMedallion {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(1.5deg); }
}

.visual-headline {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 0.35rem;
}

.visual-subtext {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 600;
}

.hero-floating-pill {
  position: absolute;
  background: #FFFFFF;
  padding: 0.6rem 1.1rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-navy);
}

.hero-pill-left {
  top: -12px;
  left: -20px;
}

.hero-pill-right {
  bottom: -15px;
  right: -15px;
}

/* Trust Stats Strip */
.trust-strip {
  padding: 1rem 0 3rem;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.trust-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1.1rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.trust-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-blue);
  box-shadow: var(--shadow-md);
}

.trust-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--bg-blue-light);
  color: var(--accent-blue-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.trust-card:nth-child(2) .trust-icon-box {
  background: #ECFDF5;
  color: var(--accent-emerald);
}

.trust-card:nth-child(3) .trust-icon-box {
  background: #FFFBEB;
  color: #D97706;
}

.trust-card:nth-child(4) .trust-icon-box {
  background: #F5F3FF;
  color: #7C3AED;
}

.trust-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary-navy);
  line-height: 1.1;
  margin-bottom: 0.2rem;
}

.trust-desc {
  font-size: 0.825rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Section Header */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-blue);
  background: var(--bg-blue-light);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
  border: 1px solid var(--border-accent);
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--primary-navy);
  letter-spacing: -0.025em;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-body);
}

/* Interactive Filter Bar */
.filter-tabs-wrap {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover {
  color: var(--accent-blue-deep);
  border-color: var(--accent-blue);
}

.filter-btn.active {
  background: var(--primary-navy);
  color: #FFFFFF;
  border-color: var(--primary-navy);
  box-shadow: var(--shadow-sm);
}

/* Product Catalog Grid */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 3.5rem;
}

.product-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-accent);
  box-shadow: var(--shadow-xl);
}

.product-media-wrap {
  height: 230px;
  background: linear-gradient(180deg, #F8FAFC 0%, #F1F5F9 100%);
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  position: relative;
}

.product-badge-corner {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--accent-blue-deep);
  border: 1px solid var(--border-light);
}

.product-media-wrap img, .product-media-wrap svg {
  max-height: 100%;
  width: auto;
  object-fit: contain;
  transition: var(--transition);
}

.product-card:hover .product-media-wrap img,
.product-card:hover .product-media-wrap svg {
  transform: scale(1.04);
}

.product-body {
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.brand-chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}

.brand-chip {
  background: var(--bg-blue-light);
  color: var(--accent-blue-deep);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
}

.product-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 0.6rem;
}

.product-desc {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex: 1;
}

.specs-list {
  list-style: none;
  margin-bottom: 1.5rem;
  border-top: 1px dashed var(--border-light);
  padding-top: 1rem;
}

.specs-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.specs-list li span.check-icon {
  color: var(--accent-emerald);
  font-weight: bold;
}

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--border-light);
  padding-top: 1.25rem;
}

/* Strategic Brands Section */
.brands-section {
  padding: 3.5rem 0 4.5rem;
  background: #FFFFFF;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.brand-card-item {
  background: var(--bg-slate-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.5rem 1rem;
  text-align: center;
  transition: var(--transition);
}

.brand-card-item:hover {
  background: #FFFFFF;
  border-color: var(--accent-blue);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.brand-card-name {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--primary-navy);
  margin-bottom: 0.35rem;
}

.brand-card-desc {
  font-size: 0.775rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Why Us / Advantages */
.why-section {
  padding: 5rem 0;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.why-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.why-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-accent);
  box-shadow: var(--shadow-lg);
}

.why-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: var(--bg-blue-light);
  color: var(--accent-blue-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.why-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 0.6rem;
}

.why-desc {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.6;
}

/* CTA Bridge Banner */
.cta-banner {
  background: linear-gradient(135deg, #0B2B4C 0%, #0F172A 100%);
  border-radius: var(--radius-lg);
  padding: 3.5rem 3rem;
  color: #FFFFFF;
  margin: 3rem auto 5rem;
  box-shadow: 0 20px 40px -10px rgba(11, 43, 76, 0.35);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-text-col h3 {
  font-size: 2rem;
  font-weight: 900;
  color: #FFFFFF;
  margin-bottom: 0.5rem;
}

.cta-text-col p {
  font-size: 1.05rem;
  color: #CBD5E1;
  max-width: 600px;
}

/* ==========================================================================
   PAGE 2: ENTERPRISE INFRASTRUCTURE & CONTACT DESK STYLES
   ========================================================================== */

.enterprise-hero-header {
  padding: 3.5rem 0 2.5rem;
  text-align: center;
}

.server-catalog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.25rem;
  margin-bottom: 4rem;
}

.server-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.server-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-accent);
  box-shadow: var(--shadow-xl);
}

.server-media-box {
  height: 240px;
  background: linear-gradient(180deg, #F8FAFC 0%, #F1F5F9 100%);
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.server-body {
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Spec Tabs */
.spec-pills-row {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.spec-pill {
  font-size: 0.775rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  background: #F1F5F9;
  color: var(--text-main);
  border: 1px solid var(--border-light);
}

/* Executive Contact Profile & Form Section */
.contact-hub-section {
  padding: 3rem 0 5rem;
}

.contact-hub-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 2.5rem;
  align-items: start;
}

/* Executive Profile Card */
.executive-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  position: sticky;
  top: 100px;
}

.exec-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-light);
}

.exec-avatar-box {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--bg-blue-light);
  border: 2px solid var(--border-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--accent-blue-deep);
  flex-shrink: 0;
}

.exec-title-box h3 {
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--primary-navy);
  line-height: 1.15;
  margin-bottom: 0.25rem;
}

.exec-badge-role {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-blue-deep);
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.contact-detail-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-detail-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--bg-subtle);
  color: var(--accent-blue-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-detail-content {
  flex: 1;
}

.contact-detail-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 0.15rem;
}

.contact-detail-val {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  word-break: break-word;
}

.copy-btn {
  background: none;
  border: none;
  color: var(--accent-blue);
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  transition: var(--transition);
  margin-left: 0.5rem;
}

.copy-btn:hover {
  background: var(--bg-blue-light);
}

.office-card-box {
  background: var(--bg-slate-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-top: 1.5rem;
}

.office-hours-tag {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* RFQ Quotation Form Card */
.rfq-form-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}

.form-header {
  margin-bottom: 1.75rem;
}

.form-header h3 {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--primary-navy);
  margin-bottom: 0.35rem;
}

.form-header p {
  font-size: 0.925rem;
  color: var(--text-muted);
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.4rem;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--bg-slate-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  color: var(--text-main);
  transition: var(--transition);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  background: #FFFFFF;
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

.form-submit-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

/* Footer */
.site-footer {
  background: #FFFFFF;
  border-top: 1px solid var(--border-light);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 1.25rem;
}

.footer-col p {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.6;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 600;
}

.footer-links a:hover {
  color: var(--accent-blue);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Floating WhatsApp Button */
.floating-whatsapp {
  position: fixed;
  bottom: 26px;
  right: 26px;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.85rem;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: var(--transition);
  text-decoration: none;
}

.floating-whatsapp:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.55);
}

.whatsapp-ping {
  position: absolute;
  top: 0;
  right: 0;
  width: 14px;
  height: 14px;
  background: #EF4444;
  border: 2px solid #FFFFFF;
  border-radius: 50%;
}

/* Toast Alert Popup */
.toast-notice {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--primary-navy);
  color: #FFFFFF;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: var(--shadow-xl);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.toast-notice.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* Responsive Media Queries (Mobile-Friendly Engine)
   ========================================================================== */

/* Mobile Drawer (Hidden on Desktop) */
.mobile-drawer {
  display: none;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
  padding: 1.25rem 1.5rem 1.5rem;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-drawer.open {
  display: block !important;
  animation: drawerSlideDown 0.25s ease forwards;
}

@keyframes drawerSlideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.mobile-drawer-inner {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  max-width: 500px;
  margin: 0 auto;
}

.mobile-drawer-pages {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.mobile-drawer-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  background: var(--bg-slate-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.mobile-drawer-link:hover, .mobile-drawer-link:active {
  background: var(--bg-blue-light);
  border-color: var(--border-accent);
}

.mobile-drawer-link.active-page {
  background: var(--bg-blue-light);
  border-color: var(--border-focus);
}

.drawer-icon {
  font-size: 1.35rem;
  flex-shrink: 0;
}

.drawer-link-text {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.drawer-link-text strong {
  font-size: 0.925rem;
  color: var(--primary-navy);
  font-weight: 800;
}

.drawer-link-text small {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

.drawer-arrow {
  color: var(--accent-blue);
  font-weight: 800;
  font-size: 1.1rem;
}

.mobile-drawer-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  border-top: 1px solid var(--border-light);
  padding-top: 1rem;
}

/* ==========================================================================
   TABLET LANDSCAPE & SMALL LAPTOPS (<= 1024px)
   ========================================================================== */
@media (max-width: 1024px) {
  /* STICKY / FIXED NAVBAR: Always stay stuck at the top of the screen on mobile/tablet */
  .navbar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 1000 !important;
  }

  body {
    padding-top: 64px !important; /* Offset for the fixed 64px mobile navbar so content is never hidden */
  }

  /* FIXED MOBILE DRAWER: Glued right below the navbar; never scrolls away! */
  .mobile-drawer {
    display: none;
    position: fixed !important;
    top: 64px !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-height: calc(100vh - 64px) !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    z-index: 999 !important;
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 2px solid var(--border-accent);
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.18);
  }

  .mobile-drawer.open {
    display: block !important;
  }
  /* HIDE the 2 switcher buttons from the top menu bar on mobile/tablet so they NEVER hide the logo! */
  .navbar .page-switch-pill {
    display: none !important;
  }
  .nav-links {
    display: none !important;
  }
  .mobile-toggle {
    display: inline-flex !important;
  }
  .navbar-inner {
    height: 64px;
  }
  .brand-identity {
    gap: 0.65rem;
  }
  .brand-emblem-wrap {
    width: 44px;
    height: 44px;
  }
  .brand-name {
    font-size: 1.3rem;
  }
  .brand-tagline {
    font-size: 0.65rem;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2.5rem;
  }
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-visual {
    margin-top: 0.5rem;
  }
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .brands-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .contact-hub-grid {
    grid-template-columns: 1fr;
  }
  .executive-card {
    position: static;
  }
}

/* ==========================================================================
   SMARTPHONES & TABLETS PORTRAIT (<= 768px)
   ========================================================================== */
@media (max-width: 768px) {
  .navbar .page-switch-pill {
    display: none !important;
  }
  .top-bar {
    display: none;
  }
  .navbar-inner {
    height: 64px;
  }
  .nav-links {
    display: none;
  }
  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  /* Brand Identity Scaling */
  .brand-emblem-wrap {
    width: 44px;
    height: 44px;
  }
  .brand-name {
    font-size: 1.25rem;
  }
  .brand-tagline {
    font-size: 0.65rem;
  }

  /* Page Switcher Pill on Mobile */
  .page-switch-pill {
    padding: 3px;
  }
  .switch-btn {
    padding: 0.35rem 0.75rem;
    font-size: 0.775rem;
    font-weight: 700;
  }

  /* Hero Section Mobile Polish */
  .hero-section {
    padding: 2.5rem 0 2rem;
  }
  .hero-badge-pill {
    font-size: 0.775rem;
    padding: 0.35rem 0.85rem;
    white-space: normal;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-title {
    font-size: clamp(1.85rem, 6.5vw, 2.5rem);
    line-height: 1.18;
    margin-bottom: 1rem;
  }
  .hero-subtitle {
    font-size: 0.975rem;
    line-height: 1.6;
    margin-bottom: 1.75rem;
  }
  
  /* Hero Visual Card (Prevent negative offset overflow) */
  .hero-visual-card {
    padding: 2rem 1.25rem 1.75rem;
    max-width: 360px;
    margin: 0 auto;
    overflow: visible;
  }
  .floating-medallion-box {
    width: 140px;
    height: 140px;
    margin-bottom: 1rem;
  }
  .hero-floating-pill {
    font-size: 0.75rem;
    padding: 0.4rem 0.75rem;
  }
  .hero-pill-left {
    top: -10px;
    left: 4px; /* Safely inside container boundary */
  }
  .hero-pill-right {
    bottom: -10px;
    right: 4px; /* Safely inside container boundary */
  }

  /* Trust Stats 2x2 Clean Grid on Mobile */
  .trust-strip {
    padding: 0.5rem 0 2.25rem;
  }
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  .trust-card {
    padding: 1rem 0.85rem;
    gap: 0.75rem;
  }
  .trust-icon-box {
    width: 40px;
    height: 40px;
    font-size: 1.15rem;
    border-radius: var(--radius-sm);
  }
  .trust-title {
    font-size: 1.15rem;
  }
  .trust-desc {
    font-size: 0.7rem;
    line-height: 1.25;
  }

  /* Section Headers on Mobile */
  .section-header {
    margin-bottom: 2rem;
  }
  .section-title {
    font-size: 1.75rem;
    line-height: 1.25;
  }
  .section-subtitle {
    font-size: 0.925rem;
  }

  /* Horizontal Touch-Scroll Filter Tabs (Native App Feel) */
  .filter-tabs-wrap {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start;
    padding: 0.25rem 0.25rem 0.85rem;
    gap: 0.5rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
    margin-bottom: 1.75rem;
  }
  .filter-tabs-wrap::-webkit-scrollbar {
    display: none;
  }
  .filter-btn {
    white-space: nowrap;
    flex-shrink: 0;
    font-size: 0.825rem;
    padding: 0.45rem 1rem;
  }

  /* Catalog & Server Grids */
  .catalog-grid, .server-catalog-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
  }
  .product-card, .server-card {
    border-radius: var(--radius-md);
  }
  .product-media-wrap, .server-media-box {
    height: 190px;
    padding: 1rem;
  }
  .product-body, .server-body {
    padding: 1.35rem 1.15rem;
  }
  .product-title {
    font-size: 1.3rem;
  }
  .product-desc {
    font-size: 0.9rem;
    line-height: 1.55;
    margin-bottom: 1.25rem;
  }

  /* Strategic Brands Section on Mobile */
  .brands-section {
    padding: 2.5rem 0 3rem;
  }
  .brands-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  .brand-card-item {
    padding: 1.15rem 0.75rem;
  }
  .brand-card-name {
    font-size: 1.2rem;
  }
  .brand-card-desc {
    font-size: 0.725rem;
    line-height: 1.35;
  }

  /* Why Us Cards */
  .why-section {
    padding: 3rem 0;
  }
  .why-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .why-card {
    padding: 1.5rem 1.25rem;
    border-radius: var(--radius-md);
  }
  .why-icon {
    width: 46px;
    height: 46px;
    font-size: 1.3rem;
    margin-bottom: 1rem;
  }
  .why-title {
    font-size: 1.15rem;
  }
  .why-desc {
    font-size: 0.9rem;
  }

  /* CTA Bridge Banner */
  .cta-banner {
    padding: 2rem 1.25rem;
    text-align: center;
    border-radius: var(--radius-md);
    margin: 2rem auto 3.5rem;
  }
  .cta-text-col h3 {
    font-size: 1.5rem;
    line-height: 1.25;
  }
  .cta-text-col p {
    font-size: 0.925rem;
  }
  .cta-actions {
    width: 100%;
  }
  .cta-actions .btn {
    width: 100%;
  }

  /* PAGE 2: Executive Card on Mobile */
  .contact-hub-section {
    padding: 2rem 0 3.5rem;
  }
  .executive-card {
    padding: 1.5rem 1.2rem;
    border-radius: var(--radius-md);
  }
  .exec-header {
    gap: 0.85rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1.15rem;
  }
  .exec-avatar-box {
    width: 54px;
    height: 54px;
    font-size: 1.5rem;
  }
  .exec-title-box h3 {
    font-size: 1.25rem;
  }
  .exec-badge-role {
    font-size: 0.8rem;
  }
  .contact-details-list {
    gap: 1rem;
    margin-bottom: 1.5rem;
  }
  .contact-detail-row {
    gap: 0.75rem;
  }
  .contact-detail-icon {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }
  .contact-detail-label {
    font-size: 0.7rem;
  }
  .contact-detail-val {
    font-size: 0.925rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.35rem;
  }
  .copy-btn {
    background: var(--bg-blue-light);
    border: 1px solid var(--border-accent);
    padding: 0.2rem 0.5rem;
    font-size: 0.7rem;
    border-radius: 4px;
  }

  /* PAGE 2: RFQ Form on Mobile */
  .rfq-form-card {
    padding: 1.5rem 1.2rem;
    border-radius: var(--radius-md);
  }
  .form-header h3 {
    font-size: 1.35rem;
  }
  .form-header p {
    font-size: 0.85rem;
  }
  .form-row-2 {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .form-label {
    font-size: 0.8rem;
  }
  /* Font size 16px to prevent iOS Safari auto-zoom! */
  .form-input, .form-select, .form-textarea {
    font-size: 16px;
    padding: 0.7rem 0.85rem;
  }

  /* Footer */
  .site-footer {
    padding: 2.5rem 0 1.5rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  /* Floating WhatsApp Button on Mobile */
  .floating-whatsapp {
    width: 52px;
    height: 52px;
    font-size: 1.6rem;
    bottom: calc(18px + env(safe-area-inset-bottom, 0px));
    right: 18px;
  }
}

/* ==========================================================================
   COMPACT SMARTPHONES (<= 480px)
   ========================================================================== */
@media (max-width: 480px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  /* Compact Navbar for Small Screens */
  .brand-tagline {
    display: none; /* Keeps navbar clean and compact without wrapping */
  }
  .brand-emblem-wrap {
    width: 38px;
    height: 38px;
  }
  .brand-name {
    font-size: 1.15rem;
  }
  .switch-btn {
    padding: 0.35rem 0.55rem;
    font-size: 0.725rem;
  }

  /* Hero Actions Full-Width Stack */
  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }
  .hero-actions .btn {
    width: 100%;
  }

  /* Card Footers Stack */
  .product-card-footer {
    flex-direction: column;
    width: 100%;
    gap: 0.6rem;
  }
  .product-card-footer .btn {
    width: 100%;
  }

  /* Executive Card Buttons Stack */
  .exec-actions-group {
    flex-direction: column;
    width: 100%;
    gap: 0.65rem;
  }
  .exec-actions-group .btn {
    width: 100%;
  }

  /* RFQ Form Dual Action Buttons Stack */
  .form-actions-dual {
    flex-direction: column;
    width: 100%;
    gap: 0.65rem;
  }
  .form-actions-dual .btn {
    width: 100%;
  }

  /* Toast Notification */
  .toast-notice {
    width: 90%;
    max-width: 340px;
    font-size: 0.825rem;
    padding: 0.75rem 1.25rem;
    text-align: center;
    justify-content: center;
  }
}

/* ==========================================================================
   EXTRA SMALL SCREENS (<= 360px - e.g. iPhone SE / Galaxy Fold outer)
   ========================================================================== */
@media (max-width: 360px) {
  .trust-grid {
    grid-template-columns: 1fr;
  }
  .brands-grid {
    grid-template-columns: 1fr;
  }
  .hero-floating-pill {
    display: none; /* Prevents cramped visuals on 320px screens */
  }
  .hero-title {
    font-size: 1.75rem;
  }
}


/* Widescreen Desktop Enhancements (Full Screen Canvas) */
@media (min-width: 1300px) {
  .brands-grid {
    grid-template-columns: repeat(8, 1fr);
    gap: 1rem;
  }
  .server-media-box {
    height: 270px;
  }
  .product-media-wrap {
    height: 260px;
  }
}
