/* ====== Reset / Base ====== */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root{
  --green-1:#00ff96;
  --green-2:#00cc77;
  --green-3:#13725f;        /* footer mid bg */
  --text:#ffffff;
  --bg:#0a0f1c;
  --muted:#cccccc;
  --dark:#2a2a2a;
  --track:#0b1324;
  --track2:#0f1a33;
}

html{ 
  scroll-behavior:smooth; 
  scrollbar-gutter:stable both-edges; 
  /* Prevent iOS Safari text size adjustment */
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}
:root{ --thumb-solid:#00da85; }

body{
  font-family:"Helvetica Neue", Arial, system-ui, -apple-system, Segoe UI, Roboto, "Noto Sans", sans-serif;
  color:var(--text); 
  background:var(--bg); 
  line-height:1.6; 
  overflow-x:hidden;
  scrollbar-width:thin; 
  scrollbar-color:var(--thumb-solid) var(--track);
  /* Only basic mobile optimizations - no touch restrictions */
  -webkit-overflow-scrolling: touch;
}

/* Remove all touch restrictions that might interfere with video */

/* ====== CONTACT PAGE STYLES ====== */

/* Contact Hero Section */
.contact-hero {
  background: linear-gradient(135deg, #0a0f1c 0%, #1a2f3a 50%, var(--green-1) 100%);
  padding: 120px 0 80px;
  color: #fff;
  text-align: center;
}

.contact-hero-content h1 {
  font-size: clamp(48px, 8vw, 72px);
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.1;
}

.contact-hero-content p {
  font-size: clamp(18px, 2vw, 24px);
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.4;
}

/* Contact Main Section */
.contact-main {
  padding: 80px 0;
  background: #f8f9fa;
  color: #333;
}

.contact-layout {
  display: flex;
  justify-content: center;
}

.contact-form-section {
  background: #fff;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 800px;
}

.contact-form-header {
  margin-bottom: 40px;
}

.contact-form-header h2 {
  font-size: clamp(32px, 4vw, 42px);
  font-weight: 800;
  margin-bottom: 16px;
  color: #333;
  line-height: 1.2;
}

.contact-form-header p {
  font-size: 18px;
  color: #666;
  line-height: 1.5;
}

/* Form Styles */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 600;
  margin-bottom: 8px;
  color: #333;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 16px;
  border: 2px solid #e1e5e9;
  border-radius: 8px;
  font-size: 16px;
  font-family: inherit;
  background: #fff;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green-1);
  box-shadow: 0 0 0 3px rgba(0, 255, 150, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* Checkbox Styles */
.checkbox-group {
  flex-direction: row;
  align-items: flex-start;
  gap: 0;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.5;
  color: #666;
}

.checkbox-label input[type="checkbox"] {
  display: none;
}

.checkmark {
  width: 20px;
  height: 20px;
  border: 2px solid #e1e5e9;
  border-radius: 4px;
  background: #fff;
  transition: all 0.3s ease;
  flex-shrink: 0;
  margin-top: 2px;
  position: relative;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
  background: var(--green-1);
  border-color: var(--green-1);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 2px;
  width: 6px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.checkbox-label a {
  color: var(--green-1);
  text-decoration: none;
  font-weight: 600;
}

.checkbox-label a:hover {
  text-decoration: underline;
}

/* Submit Button */
.contact-submit-btn {
  background: linear-gradient(45deg, var(--green-1), var(--green-2));
  color: #0a0f1c;
  padding: 18px 40px;
  border: none;
  border-radius: 50px;
  font-weight: 800;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 20px;
}

.contact-submit-btn:hover {
  background: linear-gradient(45deg, #00f08b, #00b86a);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 255, 150, 0.3);
}

/* Contact Info Section */
.contact-info-section {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-info-card {
  background: #fff;
  padding: 32px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #e1e5e9;
}

.contact-info-card h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #333;
}

.contact-info-card p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 24px;
}

/* Contact Info Items */
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-info-item:last-child {
  margin-bottom: 0;
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(45deg, var(--green-1), var(--green-2));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0a0f1c;
  flex-shrink: 0;
}

.contact-info-item h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
  color: #333;
}

.contact-info-item a {
  color: var(--green-1);
  text-decoration: none;
  font-weight: 600;
}

.contact-info-item a:hover {
  text-decoration: underline;
}

/* Business Hours */
.business-hours {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hours-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
}

.hours-item:last-child {
  border-bottom: none;
}

.hours-item span:first-child {
  color: #666;
  font-weight: 500;
}

.hours-item span:last-child {
  color: #333;
  font-weight: 600;
}

/* Quick Links */
.quick-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.quick-links li a {
  color: #666;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  padding: 8px 0;
}

.quick-links li a::before {
  content: '→';
  margin-right: 8px;
  color: var(--green-1);
  font-weight: bold;
}

.quick-links li a:hover {
  color: var(--green-1);
}

/* Contact Page Responsive */
@media (max-width: 1024px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  
  .contact-form-section {
    padding: 32px;
  }
}

@media (max-width: 768px) {
  .contact-hero {
    padding: 100px 0 60px;
  }
  
  .contact-main {
    padding: 60px 0;
  }


  .form-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .contact-form-section {
    padding: 24px;
  }
  
  .contact-info-card {
    padding: 24px;
  }
  
  .contact-submit-btn {
    padding: 16px 32px;
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .contact-hero {
    padding: 80px 0 40px;
  }
  
  .contact-main {
    padding: 40px 0;
  }
  
  .contact-form-section {
    padding: 20px;
  }
  
  .contact-info-card {
    padding: 20px;
  }
}

/* Allow text selection for content areas only */
p, h1, h2, h3, h4, h5, h6, .hero-description, .og-text p {
  -webkit-user-select: text;
  -khtml-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
}

/* WebKit scrollbar */
::-webkit-scrollbar{ width:12px; height:12px; }
::-webkit-scrollbar-track{ background:linear-gradient(180deg, var(--track), var(--track2)); }
::-webkit-scrollbar-thumb{
  background-image:linear-gradient(45deg, var(--green-1), var(--green-2));
  border-radius:999px; border:2px solid transparent; background-clip:padding-box;
}
::-webkit-scrollbar-thumb:hover{ background-image:linear-gradient(45deg,#00f08b,#00b86a); }

section{ margin:0; padding:0; }
.container{ max-width:1200px; margin:0 auto; padding:0 20px; }

/* ====== PRELOADER ====== */
.mil-preloader {
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--bg);
}
.mil-preloader .mil-preloader-animation {
  opacity: 0;
  position: relative;
  height: 100vh;
  color: var(--text);
}
.mil-preloader .mil-preloader-animation .mil-pos-abs {
  position: absolute;
  height: 100vh;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.mil-preloader .mil-preloader-animation .mil-pos-abs p {
  opacity: 0;
  margin-right: 15px;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 300;
}
@media screen and (max-width: 992px) {
  .mil-preloader .mil-preloader-animation .mil-pos-abs {
    flex-direction: column;
  }
  .mil-preloader .mil-preloader-animation .mil-pos-abs p {
    margin-right: 0;
    margin-bottom: 10px;
  }
}
.mil-preloader .mil-preloader-animation .mil-pos-abs .mil-reveal-frame {
  position: relative;
  padding: 0 30px;
}
.mil-preloader .mil-preloader-animation .mil-pos-abs .mil-reveal-frame .mil-reveal-box {
  z-index: 4;
  position: absolute;
  opacity: 0;
  height: 100%;
  background-color: var(--green-1);
}
.mil-preloader.mil-hidden {
  pointer-events: none;
}

.mil-h3 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 500;
  line-height: 120%;
}
.mil-muted { color: rgba(255, 255, 255, 0.9); }
.mil-thin { font-weight: 100; }

/* ====== PROGRESS BAR ====== */
.mil-progress-track {
  position: fixed;
  z-index: 1000;
  top: 0;
  right: 0;
  width: 4px;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.1);
}
.mil-progress-track .mil-progress {
  width: 4px;
  height: 0;
  background-color: var(--green-1);
}
@media screen and (max-width: 992px) {
  .mil-progress-track {
    display: none;
  }
}

/* ====== BACK TO TOP ====== */
.mil-back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.3s ease;
}

.mil-back-to-top.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Reworked: grey circular arrow + vertical text */
.mil-link {
  cursor: pointer;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--text);
  background: transparent;
  border: none;
  padding: 0;
  letter-spacing: 3px;
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  transition: transform 0.2s ease;
}
.mil-link:hover { transform: translateY(-2px); }

.mil-link .mil-arrow-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #e9e9e9;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  box-shadow: 0 0 0 rgba(0,0,0,0);
  transition: background-color 0.2s ease;
}
.mil-link .mil-arrow-icon img {
  width: 14px;
  height: 14px;
  filter: none;
}
.mil-link:hover .mil-arrow-icon { background: #dcdcdc; }

/* Vertical text under the circle */
.mil-link span {
  margin-top: 10px;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  letter-spacing: 2px;
}

/* Hide Back to Top on mobile (≤768px) */
@media (max-width: 768px){
  .mil-back-to-top{ display:none !important; }
}

/* ====== CIRCLE TEXT SCROLL INDICATOR ====== */
/* Centered horizontally and kept visible on mobile */
.mil-circle-text {
  position: absolute;
  left: 50%;
  bottom: 5px;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  align-items: center;
  width: 300px;
  height: 300px;
  z-index: 10;
}

.mil-circle-text .mil-ct-svg {
  width: 300px;
  height: 300px;
  animation: rotate 20s linear infinite;
}

.mil-circle-text .mil-ct-svg text {
  fill: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 600;
  transition: all 0.4s ease;
}

.mil-circle-text:hover .mil-ct-svg text {
  fill: var(--green-1);
}

.mil-circle-text .mil-button {
  position: absolute;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(45deg, var(--green-1), var(--green-2));
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  text-decoration: none;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.mil-circle-text .mil-button:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(0, 255, 150, 0.3);
  border-color: rgba(255, 255, 255, 0.4);
}

.mil-circle-text .mil-button img {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
}

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

@media screen and (max-width: 992px) {
  .mil-circle-text {
    bottom: 30px;
    width: 180px;
    height: 180px;
  }
  .mil-circle-text .mil-ct-svg {
    width: 180px;
    height: 180px;
  }
  .mil-circle-text .mil-button {
    width: 45px;
    height: 45px;
  }
  .mil-circle-text .mil-ct-svg text {
    font-size: 10px;
  }
}

/* ====== Header ====== */
.header{ position:fixed; top:0; left:0; width:100%; padding:20px 0; background:transparent; z-index:1000; transition:background-color .3s ease; }
.header.scrolled{ background:rgba(10,15,28,.95); backdrop-filter:blur(10px); border-bottom:1px solid rgba(0,255,150,.2); }

.nav{ display:flex; align-items:center; justify-content:flex-start; gap:16px; max-width:1200px; margin:0 auto; padding:0 20px; }
.nav-logo .logo-image{ height:40px; width:auto; }
.nav-menu{ list-style:none; display:flex; gap:22px; margin-left:10px; }
.nav-menu a{ color:#fff; text-decoration:none; font-weight:500; transition:color .3s ease; }
.nav-menu a:hover{ color:var(--green-1); }
.contact-btn{ 
  margin-left:auto; 
  background:linear-gradient(45deg, var(--green-1), var(--green-2)); 
  color:#0a0f1c; 
  padding:12px 24px; 
  border:none; 
  border-radius:25px; 
  font-weight:700; 
  cursor:pointer; 
  text-decoration:none; 
  transition: all 0.3s ease;
}
.contact-btn:hover {
  background: linear-gradient(45deg, #00f08b, #00b86a);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 255, 150, 0.3);
}

/* ====== New Mobile Menu Styles (from CodePen) ====== */
.hamburger { display: none; }

/* Drawer list - the sliding menu */
.drawer-list {
  position: fixed;
  right: 0;
  top: 0;
  height: 100vh;
  width: 100vw;
  transform: translate(100vw, 0);
  box-sizing: border-box;
  pointer-events: none;
  padding-top: 125px;
  transition: width 475ms ease-out, transform 450ms ease, border-radius .8s .1s ease;
  border-bottom-left-radius: 100vw;
  background-color: rgba(19, 114, 93, 0.9);
  backdrop-filter: blur(10px);
  z-index: 999;
}

@media (min-width: 768px) {
  .drawer-list { width: 40vw; }
}

.drawer-list ul {
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: auto;
  overflow-x: hidden;
  pointer-events: auto;
  list-style: none;
}

.drawer-list li {
  list-style: none;
  text-transform: uppercase;
  pointer-events: auto;
  white-space: nowrap;
  box-sizing: border-box;
  transform: translatex(100vw);
}

.drawer-list li:last-child { margin-bottom: 2em; }

.drawer-list li a {
  text-decoration: none;
  color: var(--text);
  text-align: center;
  display: block;
  padding: 1rem;
  font-size: calc(24px - .5vw);
  font-weight: 500;
  transition: background-color 0.3s ease;
}

@media (min-width: 768px) {
  .drawer-list li a {
    text-align: right;
    padding: .5rem;
  }
}

.drawer-list li a:hover {
  cursor: pointer;
  background-color: rgba(0, 255, 150, 0.2);
}

/* Hamburger label styling */
label.hamburger {
  z-index: 9999;
  position: fixed;
  top: 15px;
  right: 15px;
  display: none;
  height: 50px;
  width: 50px;
  cursor: pointer;
}

@media (max-width: 768px) {
  label.hamburger {
    height: 30px;
    width: 40px;
    top: 20px;
    right: 20px;
  }
}

label.hamburger text close,
label.hamburger text open {
  text-transform: uppercase;
  font-size: .8em;
  position: absolute;
  transform: translateY(50px);
  text-align: center;
  overflow: hidden;
  transition: width .25s .35s, color .45s .35s;
  font-weight: 600;
}

label.hamburger text close {
  color: rgba(0, 0, 0, 0);
  right: 0;
  width: 0;
}

label.hamburger text open {
  color: var(--text);
  width: 100%;
}

label.hamburger > i {
  position: absolute;
  width: 100%;
  height: 2px;
  top: 50%;
  background-color: var(--text);
  pointer-events: auto;
  transition-duration: .35s;
  transition-delay: .35s;
}

label.hamburger > i:before,
label.hamburger > i:after {
  position: absolute;
  display: block;
  width: 100%;
  height: 2px;
  left: 50%;
  background-color: var(--text);
  content: "";
  transition: transform 0.35s;
  transform-origin: 50% 50%;
}

label.hamburger > i:before { transform: translate(-50%, -14px); }
label.hamburger > i:after  { transform: translate(-50%, 14px);  }

/* Checked state styles */
input.hamburger:checked ~ .drawer-list {
  transform: translatex(0);
  border-bottom-left-radius: 0;
}
input.hamburger:checked ~ .drawer-list li { transform: translatex(0); }

/* Staggered animation for menu items */
input.hamburger:checked ~ .drawer-list li:nth-child(1) { transition: transform 1s 0.08s cubic-bezier(.29,1.4,.44,.96); }
input.hamburger:checked ~ .drawer-list li:nth-child(2) { transition: transform 1s 0.16s cubic-bezier(.29,1.4,.44,.96); }
input.hamburger:checked ~ .drawer-list li:nth-child(3) { transition: transform 1s 0.24s cubic-bezier(.29,1.4,.44,.96); }
input.hamburger:checked ~ .drawer-list li:nth-child(4) { transition: transform 1s 0.32s cubic-bezier(.29,1.4,.44,.96); }
input.hamburger:checked ~ .drawer-list li:nth-child(5) { transition: transform 1s 0.40s cubic-bezier(.29,1.4,.44,.96); }

input.hamburger:checked ~ .drawer-list li a { padding-right: 15px; }

input.hamburger:checked ~ label.hamburger > i { background-color: transparent; transform: rotate(90deg); }
input.hamburger:checked ~ label.hamburger > i:before { transform: translate(-50%, -50%) rotate(45deg); }
input.hamburger:checked ~ label.hamburger > i:after  { transform: translate(-50%, -50%) rotate(-45deg); }

input.hamburger:checked ~ label.hamburger text close { color: var(--text); width: 100%; }
input.hamburger:checked ~ label.hamburger text open  { color: rgba(0, 0, 0, 0); width: 0; }

/* ====== Hero ====== */
.hero{ position:relative; height:100vh; display:flex; flex-direction:column; justify-content:center; overflow:hidden; background:linear-gradient(135deg, #0a0f1c 0%, #1a2f3a 50%, var(--green-1) 100%); }
.hero-video{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:-1; opacity:.7; transition:opacity 1s ease-in-out; }
.hero-video.loaded{ opacity:.7; }
.hero::before{ content:""; position:absolute; inset:0; background:linear-gradient(135deg, rgba(10,15,28,.8) 0%, rgba(26,47,58,.6) 50%, rgba(0,255,150,.3) 100%); z-index:0; }
.hero-content{ position:relative; z-index:1; flex:1; display:flex; align-items:center; max-width:1200px; margin:0 auto; padding:0 20px; width:100%; }
.hero-main{ display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:center; width:100%; }
.hero-left{ display:flex; justify-content:center; align-items:center; }
.hero-logo{ max-width:100%; max-height:400px; height:auto; }
.hero-right{ display:flex; align-items:center; }
.hero-description{ font-size:clamp(18px,2vw,24px); color:rgba(255,255,255,.9); text-shadow:0 1px 5px rgba(0,0,0,.3); line-height: 1.3; }

/* ====== Products / Solutions ====== */
.products-section{ background:linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%); color:#333; padding:150px 0 100px; position:relative; z-index:2; }
.products-layout{ display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:flex-start; min-height:100vh; }
.sticky-text{ position:sticky; top:300px; align-self:start; line-height: 1.2; }
.products-text h2, .solutions-text h2{ font-size:clamp(48px,6vw,72px); margin-bottom:30px; font-weight:800; line-height:1.1; }
.products-text p, .solutions-text p{ font-size:18px; margin-bottom:20px; line-height: 1.4; }

.products-blocks, .solutions-blocks{ display:flex; flex-direction:column; gap:30px; }

/* Shared block styles for both Products and Solutions */
.product-block, .solution-block {
  border-radius: 20px;
  padding: 40px;
  color: #fff;
  min-height: 180px;
  box-shadow: 0 2px 10px rgba(0,0,0,.1);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.product-block h3, .solution-block h3 {
  font-size:36px;
  font-weight:800;
  margin:0 0 16px;
  line-height:1.1;
}
.product-block p, .solution-block p {
  font-size:18px;
  color:rgba(255,255,255,.95);
  margin:0;
  max-width:70%;
}

.solutions-section{ background:linear-gradient(135deg, #28a745 0%, #20c997 100%); padding:100px 0; }
.solutions-layout{ display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:flex-start; }
.solutions-text{ position:sticky; top:350px; color:#fff; }

/* ====== Partners ====== */
.partners-section{ position:relative; padding:100px 0 120px; color:#fff;
  background: linear-gradient(180deg, rgba(10,15,28,.85) 0%, rgba(10,15,28,.85) 100%), url("resources/images/bg2.jpg") center/cover no-repeat fixed; }
.partners-section h2{ text-align:center; font-size:clamp(32px,4vw,48px); margin-bottom:60px; }

/* UPDATED: Partners grid - auto-fit for desktop, 3 columns for mobile */
.partners-grid{ 
  display:grid; 
  grid-template-columns:repeat(auto-fit, minmax(160px,1fr));
  gap:22px; 
  max-width:1000px; 
  margin:0 auto 70px;
  /* Prevent layout issues in Safari */
  width: 100%;
  grid-auto-rows: minmax(auto, 1fr);
}

.partner-logo{ 
  background:rgba(0,0,0,.35); 
  border:1px solid rgba(0,255,150,.35); 
  border-radius:12px; 
  padding:20px 16px; 
  display:flex; 
  align-items:center; 
  justify-content:center; 
  min-height:100px; 
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  /* Prevent touch issues */
  touch-action: manipulation;
  -webkit-touch-callout: none;
}

.partner-logo:hover{ 
  transform:translateY(-2px); 
  border-color:rgba(0,255,150,.65); 
  box-shadow:0 6px 18px rgba(0,0,0,.25); 
}

.partner-logo img{ 
  max-width:140px; 
  max-height:60px; 
  width:auto; 
  height:auto; 
  object-fit:contain; 
  filter:drop-shadow(0 1px 2px rgba(0,0,0,.35));
  /* Prevent image dragging */
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-drag: none;
}

/* Our Game block IN Partners */
.our-game-wrap{ max-width:1200px; margin:0 auto; }
.our-game-title{ text-align:center; font-size:clamp(36px, 6vw, 80px); font-weight:800; margin:0 0 24px; }
.our-game-card {
  background: #0e2f32;
  border-radius: 36px;
  padding: clamp(20px, 3.2vw, 48px);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(20px, 4vw, 60px);
  align-items: center;
  box-shadow: 0 12px 40px rgba(0,0,0,.25);
  text-decoration: none;
  color: inherit;
  transition: transform .2s ease, box-shadow .2s ease;
  /* Prevent touch issues */
  touch-action: manipulation;
  -webkit-touch-callout: none;
}
.our-game-card:hover { transform: translateY(-4px); box-shadow: 0 14px 46px rgba(0,0,0,.35); }
.og-logo img{ 
  height: clamp(60px, 10vw, 120px); 
  width: auto; 
  object-fit: contain; 
  display:block;
  /* Prevent image dragging */
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-drag: none;
}
.og-text p{ font-size: clamp(14px, 1.8vw, 18px); line-height: 1.6; color: rgba(255,255,255,.95); }

/* ====== Footer ====== */
.footer-top{ background:#fff; padding:40px 20px; color:#222; }
.footer-top-container{ display:flex; justify-content:space-between; gap:40px; flex-wrap:wrap; }
.footer-group h3{ color:#222; margin-bottom:16px; font-weight:700; }
.footer-logos{ display:flex; flex-wrap:wrap; gap:20px; }
.footer-logos img{
  background:#fff; 
  border:1px solid #d1d5db; 
  border-radius:18px;
  padding:14px 24px; 
  height:80px; 
  width:120px;
  object-fit:contain; 
  box-shadow:0 1px 0 rgba(0,0,0,.05);
}

.footer-mid{ background:var(--green-3); padding:34px 0 26px; }
.footer-mid-grid{
  display:grid;
  grid-template-columns: minmax(420px, 2fr) 0.8fr 0.8fr 0.8fr;
  align-items:start;
  gap:24px;
}
.fm-left{ display:flex; flex-direction:column; gap:26px; }
.fm-cta-row{ display:flex; align-items:center; gap:20px; flex-wrap:wrap; }

.contact-pill{
  padding:15px 50px;
  font-size:20px; 
  font-weight:800; 
  color:#fff;
  border:none; 
  border-radius:200px; 
  cursor:pointer;
  background:linear-gradient(45deg, var(--green-1), var(--green-2));
  box-shadow:0 8px 24px rgba(0,0,0,.18) inset, 0 2px 0 rgba(255,255,255,.08);
  transition: all 0.3s ease;
  /* Prevent touch issues */
  touch-action: manipulation;
  -webkit-touch-callout: none;
}
.contact-pill:hover {
  background: linear-gradient(45deg, #00f08b, #00b86a);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 255, 150, 0.3);
}
.fm-email{ font-size:15px; font-weight:500; color:#fff; letter-spacing:.2px; }
.fm-email a{ color:#fff; text-decoration:none; }
.fm-email a:hover{ text-decoration:underline; }
.fm-badges{ display:flex; align-items:center; gap:24px; flex-wrap:wrap; }
.fm-badges img{ height:65px; object-fit:contain; }
.fm-links h4{ color:#fff; font-size:16px; font-weight:800; margin-bottom:14px; cursor:pointer; }
.fm-links ul{ list-style:none; }
.fm-links li{ margin:10px 0; }
.fm-links a{ color:#e8f5ef; text-decoration:none; font-size:14px; font-weight:400; }
.fm-links a:hover{ color:#ffffff; }
.footer-bottom{ background:var(--dark); padding:18px 0 22px; text-align:center; }
.footer-bottom .copyright{ color:#cfcfcf; font-size:14px; }

/* ====== Mobile Safari Specific Responsive Fixes ====== */
@media (max-width: 768px){
  /* Force body to prevent zooming */
  body {
    -webkit-text-size-adjust: none;
    -ms-text-size-adjust: none;
    text-size-adjust: none;
    touch-action: pan-x pan-y;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
  }
  
  /* Navigation fixes */
  .nav-menu{ display: none; }
  .contact-btn{ display: none; }
  label.hamburger{ display: block; }
  
  /* UPDATED: Keep 3 columns on mobile with adjusted sizes */
  .partners-grid{ 
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    max-width: 100%;
    margin: 0 auto 50px;
    padding: 0 10px;
    grid-auto-rows: 85px;
  }
  
  .partner-logo{ 
    min-height: 85px;
    max-height: 85px;
    padding: 12px 8px;
    border-radius: 8px;
    box-sizing: border-box;
    width: 100%;
  }
  
  .partner-logo img{ 
    max-width: 80px;
    max-height: 35px;
    width: auto;
    height: auto;
    object-fit: contain;
  }
  
  /* Footer fixes */
  .footer-logos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
  }
  .footer-top {
    padding: 40px 30px 40px 5px;
  }
  .fm-cta-row {
    flex-direction: row;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
  }
  .fm-email {
    font-size: 16px;
  }
  .fm-badges img { 
    height: 78px; 
  }
  
  .contact-pill{ font-size:17px; padding:16px 36px; }
  .fm-email{ font-size:16px; }
  .solutions-layout{ display: block; }
  .solutions-text{ margin-bottom: 40px; }
  
  /* Ensure both blocks have identical sizing */
  .product-block {
    min-height: 180px;
    padding: 40px;
    box-sizing: border-box;
  }
  .solution-block {
    min-height: 180px;
    padding: 40px;
    box-sizing: border-box;
  }
  
  /* Force identical typography for both blocks */
  .product-block h3, .solution-block h3 {
    font-size: 36px;
    font-weight: 800;
    margin: 0 0 16px;
    line-height: 1.1;
  }
  .product-block p, .solution-block p {
    font-size: 18px;
    color: rgba(255,255,255,.95);
    margin: 0;
    max-width: 70%;
  }
}

@media (max-width: 980px){
  .footer-mid-grid{ grid-template-columns:1fr; gap:28px; }
  .fm-badges{ gap:24px; }
  
  /* Mobile dropdown functionality */
  .fm-links h4 {
    position: relative;
    padding-right: 20px;
  }
  .fm-links h4::after {
    content: '+';
    position: absolute;
    right: 0;
    font-size: 18px;
    transition: transform 0.3s ease;
  }
  .fm-links.active h4::after {
    content: '−';
    transform: rotate(0deg);
  }
  .fm-links .dropdown-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .fm-links.active .dropdown-content {
    max-height: 200px;
  }
}

@media (max-width: 1180px){
  .our-game-card{ grid-template-columns: 1fr; text-align:center; }
  .og-logo{ display:flex; justify-content:center; }
}

@media (max-width: 1024px){
  .products-layout, .solutions-layout{ grid-template-columns:1fr; gap:40px; }
  .sticky-text{ position:static; }
  .hero-main{ grid-template-columns:1fr; gap:40px; text-align:center; }
}

@media (max-width: 480px){
  .container{ padding:0 15px; }
  .product-block, .solution-block{ padding:30px 20px; min-height:180px; }
  .product-block h3, .solution-block h3{ font-size:24px; margin-bottom:10px; }
  .product-block p, .solution-block p{ font-size:14px; }
  .footer-logos img{ height:80px; width:120px; padding:12px 20px; }
  
  /* Keep 3 columns on very small screens too */
  .partners-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    grid-auto-rows: 75px;
  }
  
  .partner-logo {
    min-height: 75px;
    max-height: 75px;
    padding: 10px 6px;
  }
  
  .partner-logo img {
    max-width: 70px;
    max-height: 30px;
  }
}

/* ====== More U2IS Section ====== */
.more-u2is-section {
  position: relative;
  padding: 120px 0;
  background: linear-gradient(rgba(3, 3, 3, 0.324), rgba(10,15,28,0.85)), url('resources/images/bgs2.jpg') center/cover no-repeat;
  color: var(--text);
  overflow: hidden;
  background-attachment: fixed;
}

.more-u2is-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

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

.more-u2is-image .platform-logo {
  max-width: 100%;
  max-height: 400px;
  height: auto;
  filter: drop-shadow(0 8px 32px rgba(0, 255, 150, 0.3));
  transition: transform 0.3s ease;
}

.more-u2is-content {
  font-size: 18px;
  line-height: 1.7;
}

.more-u2is-content p {
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.more-u2is-content p:last-child {
  margin-bottom: 0;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
  .more-u2is-layout {
    grid-template-columns: 1fr;
    gap: 50px;
    text-align: center;
  }
  
  .more-u2is-section {
    padding: 80px 0;
  }
}

@media (max-width: 768px) {
  .more-u2is-section {
    padding: 60px 0;
    background-attachment: scroll; /* Disable parallax on mobile */
  }
  
  .more-u2is-layout {
    gap: 40px;
  }
  
  .more-u2is-content {
    font-size: 16px;
  }
  
  .more-u2is-content p {
    margin-bottom: 20px;
    text-align: justify;
  text-justify: inter-word;
  }
  
  .more-u2is-image .platform-logo {
    max-height: 250px;
  }
}

@media (max-width: 480px) {
  .more-u2is-section {
    padding: 40px 0;
  }
  
  .more-u2is-content {
    font-size: 15px;
  }
  
  .more-u2is-image .platform-logo {
    max-height: 200px;
  }
}