/* ========================================
   OUTCARE GLOVES – PRO LEVEL CSS 2025
   Theme: Black + Electric Cyan (#00d4ff)
======================================== */

:root {
  --bg: #000;
  --text: #fff;
  --cyan: #00d4ff;
  --cyan-glow: rgba(0, 212, 255, 0.3);
  --cyan-dark: #00a7cc;
  --transition: 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  --transition-fast: 0.3s ease;
  --blur: blur(12px);
  --radius-lg: 2rem;
  --radius-full: 9999px;
  --shadow:  : 0 20px 60px rgba(0, 0, 0, 0.7);
  --shadow-lg : 0 40px 100px rgba(0, 212, 255, 0.25);
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* NORMAL CURSOR – NO CUSTOM CURSOR AT ALL */
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
  cursor: default;
}

/* HIDE ALL CUSTOM CURSOR ELEMENTS */
#customCursor,
#cursorBlob,
#scrollText,
.cursor-hover {
  display: none !important;
}

/* HAND CURSOR ON ALL CLICKABLE ITEMS */
a, button, .nav-link, .page-btn, .lang button,
video, .logo-topleft, img {
  cursor: pointer !important;
}

/* TOP HEADER LOGO – PERFECTLY BALANCED & RESPONSIVE (NO CROPPING/CORNERING) */
.top-header .logo {
  display: flex;
  align-items: center;
  height: 100%; /* Fill header height */
}

.top-header .logo-img {
  height: clamp(46px, 8vw, 78px);      /* Reduced max height → prevents corner clipping */
  width: auto;
  max-width: 85vw;                     /* Safety: never wider than viewport */
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.7));
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Hover effect – more premium cyan glow */
.top-header .logo:hover .logo-img {
  transform: translateY(-4px) scale(1.08);
  filter: drop-shadow(0 12px 32px rgba(0, 212, 255, 0.5)) brightness(1.2);
}

/* Optional: Slight padding from edges on very small screens */
@media (max-width: 480px) {
  .top-header .container {
    padding-left: clamp(0.8rem, 2vw, 1.2rem);
    padding-right: clamp(0.8rem, 2vw, 1.2rem);
  }
  .top-header .logo-img {
    height: clamp(34px, 8vw, 56px);
  }
}



/* Typography – Fully Fluid */
h1 { 
  font-size: clamp(2.5rem, 10vw, 10rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 0.9;
  text-transform: uppercase;
}

.text-8xl { font-size: clamp(2rem, 8vw, 7rem); font-weight: 900; letter-spacing: -0.04em; line-height: 0.95; }
.text-6xl { font-size: clamp(1.8rem, 5vw, 4rem); font-weight: 900; white-space: nowrap; }
.text-5xl { font-size: clamp(1.5rem, 5vw, 4rem); font-weight: 900; }
.text-2xl { font-size: clamp(1rem, 3.5vw, 2rem); }

.mono { 
  font-family: 'Space Mono', monospace;
  margin-bottom: clamp(2.5rem, 8vw, 7rem);
}
.slash { color: var(--cyan); }

::selection {
  background: var(--cyan);
  color: #000;
}

/* Fixed Elements – Responsive Positioning */
.fps, .lang {
  position: fixed;
  top: clamp(1rem, 2.5vw, 1.6rem);
  z-index: 99999;
  font-size: clamp(0.8rem, 3vw, 1rem);
  font-weight: 500;
  opacity: 0.9;
  transition: opacity var(--transition-fast);
}

.fps { left: clamp(1rem, 3vw, 2rem); }
.lang { right: clamp(1rem, 3vw, 2rem); }

.lang button {
  background: rgba(255, 255, 255, 0.1);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  color: var(--text);
  padding: clamp(0.4rem, 1.5vw, 0.6rem) clamp(1rem, 2.5vw, 1.4rem);
  border-radius: 50px;
  font-size: clamp(0.75rem, 2.5vw, 1rem);
  font-weight: 600;
  backdrop-filter: var(--blur);
  transition: all var(--transition-fast);
}

.lang button:hover {
  background: var(--cyan);
  color: #000;
  border-color: var(--cyan);
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.4);
}

/* Hero & Video Background */
.hero-wrapper {
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: -1;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  filter: brightness(0.85) contrast(1.1);
}

.hero-content {
  position: relative;
  z-index: 10;
  padding: clamp(10vh, 20vh, 25vh) clamp(2vw, 8vw, 12vw) clamp(8vh, 15vh, 20vh);
  text-align: center;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.95);
}

/* Navigation */
.smart-nav {
  padding: clamp(8vh, 16vh, 22vh) 0 clamp(10vh, 18vh, 28vh) 0;
  width: 100%;
}

.nav-menu {
  display: flex;
  justify-content: center;
  gap: clamp(1.5rem, 7vw, 6rem);
  flex-wrap: wrap;
}

/* KEEP NAVIGATION ALWAYS IN ONE LINE – EVEN IN MALAY */
.nav-item {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-block;
  min-width: 0;
}

/* Extra safety for desktop & laptop (≥768px) */
@media (min-width: 768px) {
  .nav-menu {
    gap: clamp(2rem, 6vw, 7rem);
  }
  
  .nav-item {
    font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  }
}

@media (max-width: 768px) {
  .nav-menu {
    flex-direction: column;
    align-items: center;
    gap: clamp(2rem, 5vw, 3.5rem);
    padding: 0 clamp(1rem, 4vw, 2rem);
  }
  .smart-nav {
    padding-bottom: clamp(12vh, 24vh, 32vh);
  }
}

.nav-item {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.08em;
  position: relative;
  transition: all 0.5s ease;
  font-size: clamp(1.1rem, 3.5vw, 1.8rem);
}

.nav-item::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -8px;
  width: 0;
  height: 3px;
  background: var(--cyan);
  border-radius: 2px;
  transition: all 0.5s ease;
  transform: translateX(-50%);
  box-shadow: 0 0 20px var(--cyan);
}

.nav-item:hover,
.nav-item.active {
  color: var(--cyan);
}

.nav-item:hover::after,
.nav-item.active::after {
  width: 70%;
}

/* General Sections */
section:not(.hero-section, .nav-section) {
  padding: clamp(8vh, 16vh, 20vh) clamp(2vw, 8vw, 12vw);
  position: relative;
}

.tight-section { padding: clamp(6vh, 12vh, 16vh) clamp(2vw, 8vw, 12vw); }

/* Grid System */
.grid {
  display: grid;
  gap: clamp(1rem, 5vw, 4rem);
  max-width: 1400px;
  margin: 0 auto;
  min-width: 0;
}

.grid-cols-1 { grid-template-columns: 1fr; }
.md\:grid-cols-2 { grid-template-columns: 1fr; }
.md\:grid-cols-3 { grid-template-columns: 1fr; }

@media (min-width: 768px) {
  .md\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
}

/* Leadership Grid – Perfect on Every Screen */
.leadership-grid {
  grid-template-columns: repeat(auto-fit, minmax(clamp(200px, 30vw, 300px), 1fr));
  gap: clamp(1rem, 4vw, 3rem);
}

/* Leadership Images – Fully Fluid */
.text-center.group img {
  width: clamp(180px, 40vw, 288px) !important;
  height: clamp(180px, 40vw, 288px) !important;
  object-fit: cover;
  border-radius: 50%;
}

/* Force exactly 4 columns on laptop & desktop only */
@media (min-width: 1024px) {
  .leadership-grid {
    grid-template-columns: repeat(4, 1fr) !important;
  }
}

/* Images */
img {
  width: 100%;
  height: auto;
  border-radius: 2rem;
  box-shadow: var(--shadow);
  object-fit: cover;
}

.rounded-full {
  border-radius: var(--radius-full);
  border: 5px solid rgba(0, 212, 255, 0.4);
  box-shadow: var(--shadow-lg);
}

.leadership-grid img {
  width: clamp(12rem, 40vw, 18rem) !important;
  height: clamp(12rem, 40vw, 18rem) !important;
  object-fit: cover !important;
  object-position: top !important;
  border-radius: 9999px !important;
  border: clamp(4px, 1vw, 6px) solid rgba(0, 212, 255, 0.6) !important;
  box-shadow: 0 clamp(10px, 3vw, 20px) clamp(30px, 8vw, 60px) rgba(0, 0, 0, 0.7) !important;
  transition: all 0.5s ease;
}

.leadership-grid .group:hover img {
  border-color: #00d4ff !important;
  transform: scale(1.08);
  box-shadow: 0 40px 100px rgba(0, 212, 255, 0.4) !important;
}

@media (max-width: 640px) {
  .leadership-grid { grid-template-columns: 1fr !important; gap: 4rem !important; }
  .leadership-grid h3 { font-size: clamp(1.8rem, 6vw,2.5rem) !important; }
  .leadership-grid p { font-size: clamp(1.2rem,4vw,1.5rem) !important; }
}

.showreel-video {
  max-width: clamp(80%, 90vw, 960px);
  width: 100%;
  margin: clamp(2rem, 5vw, 4rem) auto;
  border-radius: 32px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.9);
  display: block;
}

/* Social Icons */
.social-section {
  padding: clamp(2vh, 3vh, 4vh) 0 clamp(1vh, 1.5vh, 2vh);
  text-align: center;
  margin-bottom: 0;
  padding-bottom: 0 !important;
  margin-bottom: 0.5vh !important;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: clamp(2rem, 6vw, 4rem);
  flex-wrap: wrap;
}

.social-icons a {
  color: var(--text);
  font-size: clamp(3rem, 10vw, 6rem);
  opacity: 0.7;
  transition: all var(--transition);
}

.social-icons a:hover {
  opacity: 1;
  color: var(--cyan);
  transform: translateY(-12px) scale(1.15);
  filter: drop-shadow(0 0 40px var(--cyan));
}

/* Page Buttons */
.page-buttons {
  display: inline-flex;
  background: rgba(0, 212, 255, 0.08);
  border: 1.5px solid rgba(0, 212, 255, 0.3);
  border-radius: 60px;
  padding: clamp(0.6rem, 2vw, 0.9rem) clamp(1.2rem, 4vw, 2rem);
  gap: clamp(1rem, 3vw, 2rem);
  backdrop-filter: var(--blur);
  box-shadow: var(--shadow);
  margin: 2.5vh auto 2.5vh auto;
  flex-wrap: wrap;
  justify-content: center;
}

.page-btn {
  color: var(--text);
  font-weight: 800;
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  opacity: 0.9;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.page-btn:hover {
  color: var(--cyan);
  opacity: 1;
  transform: translateY(-4px);
}

.page-btn:hover .slash {
  color: #fff;
  transform: scale(1.4);
  text-shadow: 0 0 30px var(--cyan);
}

/* Footer */
.final-footer {
 padding: clamp(1vh, 2vh, 3vh) 0 0 0 !important;   /* Only tiny top padding */
  margin-top: 0;
  text-align: center;
}

.buttons-section {
  padding: 0;
  margin: 0 auto 0 auto;
  text-align: center;
}

.final-footer p {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
  font-size: clamp(3.5rem, 8vw, 8rem);
  font-weight: 900;
  letter-spacing: -0.08em;
  line-height: 0.88;
  background: linear-gradient(120deg, #fff, var(--cyan), #fff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 80px rgba(0, 212, 255, 0.4);
}

/* Tablet & Mobile Adjustments */
@media (min-width: 768px) and (max-width: 1024px) {
  h1 { font-size: clamp(3rem, 8vw, 7rem); }
  .text-8xl { font-size: clamp(2.5rem, 7vw, 5.5rem); }
  .nav-link { font-size: clamp(2.2rem, 5.5vw, 4.5rem); padding: 1.4rem 0.8rem; }
  .leadership-grid img { width: clamp(14rem, 35vw, 16rem); height: clamp(14rem, 35vw, 16rem); }
  section { padding: 14vh 6vw; }
  .grid { gap: clamp(2.5rem, 5vw, 3.5rem); }
}

@media (max-width: 768px) {
  section { padding: 12vh 6vw; }
  .tight-section { padding: 10vh 6vw; }
  .page-buttons { padding: 0.8rem 1.6rem; gap: 1.6rem; font-size: clamp(1rem, 3.5vw, 1.25rem); }
  .social-icons { gap: 3.5rem; }
  .social-icons a { font-size: clamp(3.5rem, 12vw, 5rem); }
  .final-footer p { font-size: clamp(4rem, 12vw, 6rem); }
}

/* ======================================== */
/* NON-HOME HERO – PERFECT POSITIONING   */
/* ======================================== */
.non-home-hero .hero-content {
  top: clamp(4vh, 8vh, 8vh) !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  margin-top: 0 !important;
  padding-top: 0 !important;
  text-align: center;
  width: 100%;
  z-index: 10;
}

.non-home-hero .hero-content p {
  margin-bottom: 0.25rem !important;
  font-size: clamp(0.8rem, 2.5vw, 1.3rem);
}

.non-home-hero .hero-content h1 {
  margin-top: 0 !important;
  font-size: clamp(2.5rem, 11vw, 9rem) !important;
  line-height: 0.88 !important;
}

@media (max-width: 1024px) { .non-home-hero .hero-content { top: clamp(5vh,7vh,7vh) !important; } }
@media (max-width: 768px)  { .non-home-hero .hero-content { top: clamp(4vh,6vh,6vh) !important; } }
@media (max-width: 480px)  { .non-home-hero .hero-content { top: clamp(3vh,5vh,5vh) !important; } }

.non-home-hero + .balanced-nav { margin-top: clamp(-4rem,-8vw,-6rem) !important; }
@media (max-width: 768px) { .non-home-hero + .balanced-nav { margin-top: clamp(-2rem,-5vw,-2.5rem) !important; } }
@media (max-width: 480px) { .non-home-hero + .balanced-nav { margin-top: clamp(-1.5rem,-4vw,-1.8rem) !important; } }

/* Leadership Gaps */
.text-center.group .relative.inline-block { margin-bottom: clamp(1.5rem,4vw,2.2rem); }
.text-center.group .relative.inline-block::after { content:""; display:block; margin-top: clamp(1.2rem,3vw,2rem); }
.text-center.group h3, .text-center.group p { margin: 0 !important; }
@media (max-width: 768px) {
  .text-center.group .relative.inline-block { margin-bottom: clamp(1.2rem,3vw,1.8rem); }
  .text-center.group .relative.inline-block::after { margin-top: clamp(1rem,2.5vw,1.5rem); }
}

/* ======================================== */
/* TECHNICAL SHEET – ULTIMATE RESPONSIVE */
/* ======================================== */
.tech-section { 
  padding: clamp(8vh, 12vh, 16vh) clamp(3vw, 5vw, 8vw); 
}

.company-header h1 {
  font-size: clamp(2.6rem, 5.5vw, 5rem);
  font-weight: 900;
  color: var(--cyan);
  letter-spacing: -0.03em;
  line-height: 1;
}

.tech-grid {
  display: grid;
  grid-template-columns: minmax(260px, 300px) 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  max-width: 1500px;
  margin: 0 auto;
}

.tech-sidebar {
  position: sticky;
  top: 100px;
  align-self: start;
}
.tech-sidebar .tab-btn {
  width: 100%;
  justify-content: flex-start;
  padding: 1.1rem 1.8rem;
  margin-bottom: 0.9rem;
  border-radius: 50px;
  border: 2px solid var(--cyan);
  background: rgba(10,10,15,0.94);
  color: var(--cyan);
  font-weight: 800;
  font-size: 1.05rem;
  transition: all 0.45s ease;
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 25px rgba(0, 212, 255, 0.15);
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.tech-sidebar .tab-btn:hover,
.tech-sidebar .tab-btn.active {
  background: var(--cyan);
  color: #000000 !important;
  border-color: var(--cyan);
  transform: translateX(14px);
  box-shadow: 0 16px 50px rgba(0, 212, 255, 0.6);
}

.tech-sidebar .tabs-hint {
  font-family: 'Space Mono', monospace;
  font-size: clamp(0.85rem, 2vw, 1rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #00d4ff;
  text-align: center;
  margin: 0 0 2.5rem 0;
  opacity: 0.95;
  text-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
  position: relative;
}

.tech-sidebar .tabs-hint::after {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background: #00d4ff;
  margin: 0.8rem auto 0;
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.6);
  border-radius: 1px;
}

.desktop-only { display: block; }
@media (max-width: 1023px) { .desktop-only { display: none !important; } }

.tech-content {
  display: none;
  background: rgba(10,10,15,0.94);
  border: 2px solid rgba(0,212,255,0.7);
  border-radius: 1.8rem;
  padding: clamp(2.2rem, 5vw, 3.8rem);
  backdrop-filter: blur(22px);
  box-shadow: 0 25px 70px rgba(0,0,0,0.6);
}
.tech-content.active {
  display: block;
  animation: fadeIn 0.7s ease;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}

.content-title {
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  font-weight: 900;
  color: var(--cyan);
  text-align: center;
  margin-bottom: 2.2rem;
}

.spec-dl {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.8rem 3rem;
  font-size: 1.1rem;
  line-height: 1.6;
}
.spec-dl dt {
  font-weight: 900;
  color: var(--cyan);
  text-transform: uppercase;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
}
.spec-dl dd { opacity: 0.94; }

.table-wrapper {
  overflow-x: auto;
  border-radius: 1.4rem;
  margin: 1.5rem 0;
}
.tech-table {
  width: 100%;
  min-width: 620px;
  border-collapse: separate;
  border-spacing: 0;
  background: rgba(255,255,255,0.04);
  border-radius: 1.4rem;
  overflow: hidden;
  font-size: 1rem;
}
.tech-table th, .tech-table td {
  padding: 1.1rem 1.3rem;
  border-bottom: 1px solid rgba(0,212,255,0.3);
}
.tech-table th {
  background: rgba(0,212,255,0.22);
  color: var(--cyan);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
}
.tech-table tbody tr:hover {
  background: rgba(0,212,255,0.12);
}
.text-center { text-align: center !important; }
.tech-sidebar .tab-btn .slash { color: inherit; font-weight: 900; }

/* Tablet & Mobile Responsive for Tech Sheet */
@media (max-width: 1024px) {
  .tech-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .tech-sidebar { position: static; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
  .tech-sidebar .tab-btn { flex: 1; min-width: 220px; justify-content: center; font-size: 1rem; padding: 1.1rem 1.4rem; }
  .tech-sidebar .tab-btn.active { transform: scale(1.05); }
}

@media (max-width: 768px) {
  .tech-section { padding: clamp(8vh, 10vh, 14vh) clamp(4vw, 5vw, 6vw); }
  .company-header h1 { font-size: clamp(2.4rem, 7vw, 4rem); }
  .tech-content { display: block !important; margin-bottom: 3.5rem; padding: 2.2rem 1.6rem; border-radius: 1.6rem; }
  .tech-content:not(.active) { display: block !important; }
  .content-title { font-size: clamp(1.8rem, 6vw, 2.6rem); margin-bottom: 1.8rem; }
  .spec-dl { grid-template-columns: 1fr; gap: 1.6rem; font-size: 1.05rem; }
  .tech-table { min-width: 100%; font-size: 0.95rem; }
  .tech-table th, .tech-table td { padding: 0.9rem 0.8rem; }
}

@media (max-width: 480px) {
  .company-header h1 { font-size: 2.3rem; }
  .tech-sidebar .tab-btn { min-width: 180px; font-size: 0.95rem; padding: 1rem; }
  .tech-content { padding: 2rem 1.4rem; }
}

/* ======================================== */
/* CONTACT PAGE – PERFECT GAPS & RESPONSIVE */
/* ======================================== */
.contact-flex-section {
  position: relative;
  padding: clamp(8rem, 15vh, 12rem) 5vw clamp(6rem, 10vh, 10rem);
}

.contact-flex-section h2 {
  font-size: clamp(5.5rem, 14vw, 13rem) !important;
  font-weight: 900;
  letter-spacing: -0.07em;
  line-height: 0.86;
  text-align: center;
  margin-bottom: clamp(4rem, 10vw, 6rem);
}

.contact-flex-section .flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(2.5rem, 6vw, 5rem) !important;
  max-width: 1400px;
  margin: 0 auto;
}

.contact-flex-card {
  background: rgba(15, 17, 28, 0.78);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1.4px solid rgba(0,212,255,0.3);
  border-radius: 2.4rem;
  padding: clamp(2.2rem, 5vw, 3.2rem) clamp(1.8rem, 4vw, 2.4rem);
  text-align: center;
  transition: all 0.7s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.65);
  flex: 1;
  min-width: 260px;
  max-width: 380px;
}

/* Hover effects remain exactly as you had them */
/* CONTACT CARD HOVER EFFECTS – FULL & CLEAN */
.contact-flex-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,212,255,0.1) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.7s;
  border-radius: 2.4rem;
  pointer-events: none;
}

.contact-flex-card:hover {
  transform: translateY(-20px) scale(1.02);
  border-color: #00d4ff;
  box-shadow: 0 40px 100px rgba(0,212,255,0.28), 0 15px 50px rgba(0,0,0,0.8);
}

.contact-flex-card:hover::before {
  opacity: 1;
}

/* ICON FLOAT ANIMATION */
.contact-flex-icon {
  width: 82px;
  height: 82px;
  margin: 0 auto 1.4rem;
  background: rgba(0,212,255,0.14);
  border: 2px dashed rgba(0,212,255,0.45);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.7s ease;
  animation: floatSlow 9s infinite ease-in-out;
}

@keyframes floatSlow {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

.contact-flex-card:hover .contact-flex-icon {
  background: rgba(0,212,255,0.28);
  border-style: solid;
  border-color: #00faff;
  box-shadow: 0 0 60px rgba(0,212,255,0.55);
  animation: none;
}

.contact-flex-icon i {
  font-size: 2.2rem;
  color: var(--cyan);
}

.contact-flex-card:hover .contact-flex-icon i {
  color: white;
  transform: scale(1.22);
  filter: drop-shadow(0 0 35px #00d4ff);
}

/* TEXT STYLES */
.contact-flex-title {
  font-size: 1.5rem;
  font-weight: 900;
  color: white;
  margin: 0.8rem 0 0.6rem;
  letter-spacing: -0.02em;
}

.contact-flex-value {
  font-size: 1.28rem;
  font-weight: 700;
  color: white;
  line-height: 1.48;
}

.contact-flex-value a {
  color: inherit;
  text-decoration: none;
  background: linear-gradient(to right, #fff, var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.contact-flex-value a:hover {
  filter: brightness(1.6);
  text-shadow: 0 0 22px var(--cyan);
}

.contact-flex-cta {
  margin-top: 1.4rem;
  display: inline-block;
  color: var(--cyan);
  font-weight: 800;
  font-size: 0.98rem;
  letter-spacing: 0.12em;
  padding: 0.65rem 1.4rem;
  border: 1.6px solid var(--cyan);
  border-radius: 50px;
  transition: all 0.5s ease;
}

.contact-flex-cta:hover {
  background: var(--cyan);
  color: black;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0,212,255,0.38);
}

/* Responsive Contact */
@media (max-width: 1024px) {
  .contact-flex-section .flex { flex-direction: column; align-items: center; gap: 4rem !important; }
  .contact-flex-card { max-width: 380px; width: 100%; }
}
@media (max-width: 640px) {
  .contact-flex-section { padding: 10vh 5vw 8vh; }
  .contact-flex-section .flex { gap: 3.5rem !important; }
  .contact-flex-icon { width: 72px; height: 72px; }
  .contact-flex-icon i { font-size: 2rem; }
  .contact-flex-title { font-size: 1.4rem; }
  .contact-flex-value { font-size: 1.22rem; }
}

/* ======================================== */
/* INDEX PAGE – POWDERED GLOVES HIGHLIGHTS */
/* ======================================== */
.latex-highlight-section {
  position: relative;
  padding: clamp(4rem, 10vh, 8rem) 1rem;
  overflow: hidden;
}

.latex-highlight-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.70) 0%, rgba(0,0,0,0.88) 50%, rgba(0,0,0,0.74) 100%);
  backdrop-filter: blur(1.5px);
  -webkit-backdrop-filter: blur(1.5px);
  z-index: 1;
  pointer-events: none;
}

.latex-highlight-section > div {
  position: relative;
  z-index: 10;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem;
  text-align: center;
}

.section-title {
  font-size: clamp(1.9rem, 4.8vw, 4.2rem);
  font-weight: 900;
  line-height: 1.05;
  color: white;
  margin-bottom: 0.8rem;
  text-shadow: 0 3px 20px rgba(0,0,0,0.9);
}

.section-subtitle {
  font-size: clamp(1.1rem, 3.2vw, 1.9rem);
  font-weight: 800;
  color: #00d4ff;
  margin-bottom: 2.2rem;
  text-shadow: 0 2px 15px rgba(0,0,0,0.8);
}

.key-points {
  display: flex;
  flex-direction: column;
  gap: clamp(0.7rem, 2vw, 1.1rem);
  font-size: clamp(0.95rem, 2.6vw, 1.4rem);
  font-weight: 500;
  color: #f0f8ff;
  line-height: 1.7;
  margin: 0 auto 2.6rem;
  max-width: 900px;
  text-align: left;
}

.key-points li {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  transition: all 0.35s ease;
}

.key-points li:hover {
  color: #00d4ff;
  transform: translateX(8px);
}

.check-icon {
  color: #00d4ff;
  font-size: 1.3em;
  font-weight: 900;
  filter: drop-shadow(0 0 14px rgba(0,212,255,0.7));
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.why-latex {
  font-size: clamp(1.4rem, 3.8vw, 2.4rem);
  font-weight: 900;
  color: white;
  line-height: 1.35;
  margin: 3rem auto 1.3rem;
  max-width: 900px;
  text-shadow: 0 4px 25px rgba(0,0,0,0.9);
}

.why-latex strong {
  color: #00d4ff;
  display: block;
  margin-bottom: 0.5rem;
  font-size: 1.05em;
}

/* Certifications – Perfect on every device */
.certifications {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.2rem, 3vw, 2.5rem);
  justify-content: center;
  align-items: stretch; /* Ensures all items stretch to same height */
  margin-top: 4rem;
  padding: clamp(1.5rem, 4vw, 3rem) 1rem;
  width: 100%;
}

@media (min-width: 1024px) {
  .certifications { flex-wrap: nowrap; gap: clamp(1.5rem, 3vw, 3rem); }
  .cert-item { min-width: 140px; max-width: 190px; padding: 1.8rem 1.6rem; flex: 1; }
  .cert-item i { font-size: 2.6rem; }
  .cert-item span { font-size: 1rem; }
}

@media (max-width: 1023px) and (min-width: 640px) {
  .certifications { gap: 2rem; padding: 2rem 3rem; }
  .cert-item { flex: 1 1 calc(33.333% - 2rem); min-width: 160px; max-width: 220px; padding: 2rem 1.8rem; }
  .cert-item i { font-size: 2.8rem; }
  .cert-item span { font-size: 1.1rem; }
}

@media (max-width: 639px) {
  .certifications { gap: 1.5rem; padding: 2rem 1.5rem; }
  .cert-item { flex: 1 1 calc(50% - 1.5rem); min-width: 140px; padding: 1.8rem 1.4rem; }
  .cert-item i { font-size: 2.4rem; }
  .cert-item span { font-size: 0.95rem; }
}

.cert-item {
display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  flex: 1 1 160px; /* Minimum base width */
  min-width: 160px;
  max-width: 220px;
  padding: clamp(1.8rem, 4vw, 2.4rem) clamp(1.2rem, 3vw, 1.8rem);
  font-weight: 700;
  font-size: clamp(0.9rem, 2.2vw, 1.1rem);
  color: #00d4ff;
  background: rgba(0, 212, 255, 0.08);
  border-radius: 28px;
  border: 1.8px solid rgba(0, 212, 255, 0.4);
  backdrop-filter: blur(14px);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 25px rgba(0, 212, 255, 0.15);
  text-align: center;
}

/* Wrapper to force square icon/logo area */
.cert-icon-wrapper {
  width: clamp(60px, 12vw, 90px);
  height: clamp(60px, 12vw, 90px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cert-item i {
  font-size: clamp(2.2rem, 6vw, 3.2rem);
  color: #00d4ff;
  filter: drop-shadow(0 0 18px rgba(0, 212, 255, 0.6));
  transition: all 0.5s ease;
}

.cert-item:hover {
  transform: translateY(-14px) scale(1.06);
  background: #00d4ff;
  color: #000;
  border-color: #00d4ff;
  box-shadow: 0 25px 60px rgba(0, 212, 255, 0.45), 0 0 50px rgba(0, 212, 255, 0.7);
}

.cert-item:hover i {
  color: #000;
  filter: drop-shadow(0 0 20px rgba(0, 0, 0, 0.5));
  transform: rotate(12deg);
}

/* Responsive Breakpoints for Highlights */
@media (max-width: 1280px) { .latex-highlight-section { padding: clamp(5rem, 12vh, 10rem) 1.5rem; } }
@media (max-width: 1024px) { .key-points { max-width: 750px; } }
@media (max-width: 768px) {
  .latex-highlight-section { padding: clamp(4.5rem, 10vh, 8rem) 1.5rem; }
  .key-points { gap: 1rem; text-align: left; }
  .check-icon { font-size: 1.4em; }
}
@media (max-width: 480px) {
  .latex-highlight-section { padding: clamp(4rem, 9vh, 7rem) 1rem; }
  .section-title    { font-size: 2.1rem; }
  .section-subtitle { font-size: 1.3rem; }
  .key-points       { font-size: 1.05rem; gap: 1rem; }
  .why-latex        { font-size: 1.7rem; margin: 2.5rem auto 1.2rem; }
}

/* Extra Safety for Ultra-Small Screens */
@media (max-width: 360px) {
  h1 { font-size: clamp(2rem, 12vw, 3.5rem); }
  .text-8xl { font-size: clamp(1.5rem, 9vw, 3rem); }
  .nav-menu { gap: clamp(1.5rem, 6vw, 2.5rem); }
  .grid { gap: clamp(1rem, 4vw, 1.5rem); }
  .lang { right: 0.8rem; }
  .hero-video { filter: brightness(0.9); }
}

/* Final Tech Table Stacking (already perfect) */
@media (max-width: 767px) {
  .tech-table { border: 0; }
  .tech-table thead { display: none; }
  .tech-table tr { display: block; margin-bottom: 1rem; border-bottom: 3px solid rgba(0,212,255,.2); }
  .tech-table td {
    display: block;
    text-align: right;
    font-size: clamp(.8rem,3vw,.9rem);
    padding: clamp(.4rem,1.5vw,.6rem);
    border-bottom: 1px solid rgba(255,255,255,.1);
  }
  .tech-table td::before {
    content: attr(data-label);
    float: left;
    font-weight: bold;
    text-transform: uppercase;
    color: var(--cyan);
  }
  .tech-table td:last-child { border-bottom: 0; }
}

/* PERFECT NAV SPACING ON ALL PAGES – SAME AS HOME */
.non-home-hero + .balanced-nav {
  margin-top: -14vh !important;
}

/* Extra fine-tuning for different screen sizes – exactly like Home */
@media (max-width: 1024px) {
  .non-home-hero + .balanced-nav { margin-top: -6vh !important; }
}
@media (max-width: 768px) {
  .non-home-hero + .balanced-nav { margin-top: -4vh !important; }
}
@media (max-width: 480px) {
  .non-home-hero + .balanced-nav { margin-top: -3vh !important; }
}

/* new css code for title section in the contact page */
/* CONTACT PAGE – OPTIMIZED TITLE (Responsive & Language Safe) */
.contact-title {
  font-size: clamp(4rem, 12vw, 10rem);     /* Reduced from 13rem max → now max 10rem */
  letter-spacing: -0.06em;
  line-height: 0.88;
  text-align: center;
  margin: 0 auto;
  max-width: 95vw;                         /* Prevents overflow on small screens */
  word-wrap: break-word;                   /* Allows long words/text to break cleanly */
  overflow-wrap: break-word;
  hyphens: auto;                           /* Optional: helps with hyphenation if needed */
}

/* Extra safety for very small screens */
@media (max-width: 640px) {
  .contact-title {
    font-size: clamp(3.2rem, 11vw, 6rem);
  }
}

@media (max-width: 480px) {
  .contact-title {
    font-size: clamp(2.8rem, 10vw, 5rem);
  }
}

/* Ensure the subtitle scales nicely too */
.contact-title + p {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* FINAL FOOTER – LITTLE BIT GAP (EXACTLY LIKE YOUR EDITED IMAGE) */
.social-section {
  padding: clamp(2vh, 3vh, 4vh) 0 clamp(1vh, 1.5vh, 2vh);
  margin-bottom: 0;
}

.buttons-section {
  padding-bottom: 0.5vh !important;
  margin-bottom: 0.5vh !important;   /* Tiny gap only */
}

.final-footer {
  padding: clamp(2.5vh, 3.5vh, 4.5vh) 0 clamp(4vh, 5vh, 6vh) 0;
  margin-top: 0;
}
/*  */
/* SUBTLE, ELEGANT COPYRIGHT – NO LONGER DOMINANT */
.final-footer {
  padding: 1vh 0 0 0 !important;
  margin-top: 0;
  line-height: 1;
  text-align: center;
}

/* SUBTLE & ELEGANT COPYRIGHT – PERFECT BALANCE */
.copyright-text {
  font-size: clamp(2rem, 4.5vw, 3.8rem);   /* Slightly smaller, elegant */
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.95;
  background: linear-gradient(120deg, #fff, var(--cyan), #fff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 50px rgba(0, 212, 255, 0.4);
}

/* Optional: Add a very subtle line above copyright for separation */
.final-footer::before {
  content: '';
  display: block;
  width: 40px;
  height: 0.1px;
  background: rgba(0, 212, 255, 0.4);
  margin: 0 auto 4vh auto;
  border-radius: 1px;
}
/* PRODUCTS PAGE CODE*/
/* PRODUCTS PAGE – 2 ON TOP, 1 BELOW (NO HOVER, PERFECT RESPONSIVE) */
.products-custom-grid {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 6rem);
}

.top-row {
  display: flex;
  justify-content: center;
  gap: clamp(3rem, 6vw, 8rem);
  margin-bottom: clamp(6rem, 10vw, 12rem);
  flex-wrap: wrap; /* Ensures stacking on smaller screens */
}

.bottom-row {
  display: flex;
  justify-content: center;
}

.product-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  min-width: 280px;
  max-width: 500px;
}

.product-image-wrapper {
  position: relative;
  width: clamp(260px, 70vw, 420px);
  aspect-ratio: 1 / 1;
  margin-bottom: clamp(2rem, 5vw, 4rem);
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 0; /* Sharp square */
  border: clamp(6px, 1.5vw, 10px) solid rgba(0, 212, 255, 0.6);
  box-shadow: 0 clamp(20px, 5vw, 60px) clamp(60px, 15vw, 120px) rgba(0, 0, 0, 0.8);
  background: #000;
  /* No transition or hover changes */
}

.product-content h3 {
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: clamp(1rem, 3vw, 2rem);
}

.product-content p {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  opacity: 0.9;
  max-width: 90%;
}

/* Enhanced Mobile Responsiveness */
@media (max-width: 768px) {
  .top-row {
    flex-direction: column;
    align-items: center;
    gap: clamp(4rem, 8vw, 8rem);
  }
  .product-image-wrapper {
    width: clamp(240px, 85vw, 340px);
  }
  .product-content h3 {
    font-size: clamp(2.4rem, 6vw, 3.6rem);
  }
  .product-content p {
    font-size: clamp(1.5rem, 4vw, 2rem);
  }
}

/* Tablet adjustments */
@media (min-width: 769px) and (max-width: 1024px) {
  .top-row {
    gap: clamp(4rem, 6vw, 6rem);
  }
  .product-image-wrapper {
    width: clamp(280px, 40vw, 380px);
  }
}
/* ADRESS CODE IN CONTACT PAGE */
/* ADDRESS & MAP SECTION – MODERATE, ELEGANT GAPS (PURE CSS) */

/* Gap below title */
.mb-moderate-title {
  margin-bottom: clamp(4rem, 8vh, 6rem) !important;
}

/* Gap below address text */
.mb-moderate-address {
  margin-bottom: clamp(4rem, 8vh, 6rem) !important;
}

/* Map container + gap below */
.map-container {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  border-radius: 2rem;
  box-shadow: 0 40px 100px rgba(0, 212, 255, 0.35);
  margin: 0 auto;
}

.mb-moderate-map {
  margin-bottom: clamp(5rem, 10vh, 8rem) !important;
}

.map-container iframe {
  width: 100%;
  height: clamp(450px, 60vh, 600px);
  border: 0;
  display: block;
}

/* Gap above hint text */
.mt-moderate-hint {
  margin-top: clamp(3rem, 6vh, 5rem) !important;
}

/* Mobile adjustments – slightly tighter but still spacious */
@media (max-width: 768px) {
  .mb-moderate-title {
    margin-bottom: clamp(3rem, 6vh, 5rem) !important;
  }
  .mb-moderate-address {
    margin-bottom: clamp(3rem, 6vh, 5rem) !important;
  }
  .mb-moderate-map {
    margin-bottom: clamp(4rem, 8vh, 6rem) !important;
  }
  .mt-moderate-hint {
    margin-top: clamp(2.5rem, 5vh, 4rem) !important;
  }
  .map-container iframe {
    height: 450px;
  }
}

/* Adress  code text */
.address-lone-square {
  max-width: 700px;
  width: 90%;
  margin: 0 auto clamp(4rem, 8vh, 6rem) auto;
  background: rgba(15, 17, 28, 0.9); /* Darker for stronger contrast like screenshot */
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1.4px solid rgba(0, 212, 255, 0.4);
  border-radius: 2.8rem; /* More rounded for square-ish feel */
  padding: clamp(3.5rem, 8vw, 5rem) clamp(2rem, 6vw, 4rem);
  text-align: center;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
  transition: all 0.7s cubic-bezier(0.23, 1, 0.32, 1);
}

.address-lone-square:hover {
  transform: translateY(-10px);
  border-color: var(--cyan);
  box-shadow: 0 40px 100px rgba(0, 212, 255, 0.3);
}

.address-lone-square p {
  margin: 0;
  line-height: 1.45;
  color: #fff;
}

/* HEADER – LOGO BESIDE NAVIGATION (NEW LAYOUT) */
/* ======================================== */

.top-header {
  position: relative;
  z-index: 100;
  padding: clamp(1rem, 2.5vw, 1.8rem) 0;
  width: 100%;
}

.top-header .container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

/* Wrapper for Logo + Navigation */
.logo-nav-wrapper {
  display: flex;
  align-items: center;
  gap: clamp(2rem, 6vw, 8rem); /* Space between logo and nav */
  flex-grow: 1;
}

/* Logo */
.top-header .logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.top-header .logo-img {
  height: clamp(46px, 8vw, 78px);
  width: auto;
  max-width: 85vw;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.7));
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.top-header .logo:hover .logo-img {
  transform: translateY(-4px) scale(1.08);
  filter: drop-shadow(0 12px 32px rgba(0, 212, 255, 0.5)) brightness(1.2);
}

/* Navigation Menu */
.nav-menu {
  display: flex;
  justify-content: center;
  gap: clamp(1.5rem, 5vw, 5rem);
  flex-wrap: wrap;
  flex-grow: 1;
}

.nav-item {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.08em;
  font-size: clamp(1rem, 2.8vw, 1.5rem);   /* ← Smaller: max 1.5rem (was 1.8rem) */
  position: relative;
  transition: color 0.5s ease;
}

.nav-item::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -8px;
  width: 0;
  height: 3px;
  background: #00d4ff;
  border-radius: 2px;
  transition: all 0.5s ease;
  transform: translateX(-50%);
  box-shadow: 0 0 20px #00d4ff;
}

.nav-item:hover,
.nav-item.active {
  color: #00d4ff;
}

.nav-item:hover::after,
.nav-item.active::after {
  width: 70%;
}

/* Language Toggle Button – Unchanged (works perfectly) */
.lang {
  flex-shrink: 0;
}

.lang button {
  background: rgba(255, 255, 255, 0.1);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  padding: clamp(0.4rem, 1.5vw, 0.6rem) clamp(1rem, 2.5vw, 1.4rem);
  border-radius: 50px;
  font-family: 'Space Mono', monospace;
  font-size: clamp(0.75rem, 2.5vw, 1rem);
  font-weight: 600;
  backdrop-filter: blur(12px);
  transition: all 0.3s ease;
  cursor: pointer;
}

.lang button:hover {
  background: #00d4ff;
  color: #000;
  border-color: #00d4ff;
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.4);
}

/* Responsive Adjustments */

/* Tablet & Larger – Refined smaller font */
@media (min-width: 768px) {
  .nav-menu {
    gap: clamp(1.8rem, 5.5vw, 6.5rem);     /* Slightly tighter gap */
  }
  .nav-item {
    font-size: clamp(1rem, 2.2vw, 1.45rem); /* ← Max 1.45rem (was 1.6rem) */
  }
}

/* Mobile – Stack logo above nav for better spacing */
@media (max-width: 768px) {
  .logo-nav-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .nav-menu {
    justify-content: flex-start;
    width: 100%;
    gap: clamp(1.6rem, 4vw, 2.8rem);        /* Tighter on mobile */
  }

  .top-header .logo-img {
    height: clamp(38px, 7vw, 50px);
  }
}

/* Very Small Screens */
@media (max-width: 480px) {
  .top-header .container {
    padding-left: clamp(0.8rem, 2vw, 1.2rem);
    padding-right: clamp(0.8rem, 2vw, 1.2rem);
  }

  .top-header .logo-img {
    height: clamp(34px, 8vw, 56px);
  }

  .nav-item {
    font-size: clamp(0.95rem, 3.8vw, 1.3rem); /* Slightly smaller but still bold */
  }
}
