/* ---------------------------------------------------------------------------------- */
/* ----------- UTILITY CLASSES (Moved from HTML <style> to here) -------------------- */
/* ---------------------------------------------------------------------------------- */
.currency-selector {
    text-align: right;
    margin: 10px 40px 25px;
}
.currency-selector label {
    font-size: 0.9rem;
    color: #ccc;
    margin-right: 8px;
}
.currency-selector select {
    padding: 6px 10px;
    border-radius: 8px;
    background: var(--dark-bg, #111);
    color: #fff;
    border: 1px solid #444;
    cursor: pointer;
}
.converted-note {
    display: block;
    font-size: 0.8em;
    color: #aaa;
    font-style: italic;
    transition: 0.3s ease;
}


/* ---------- BASE ---------- */
body {
  font-family: 'Montserrat', sans-serif;
  margin: 0;
  background: #f7f9fc;
  color: #333;
  line-height: 1.6;
}

h1, h2, h3 {
  margin: 0;
}
/* ===== FIXED HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border-radius: 0 0 20px 20px;
  z-index: 9999;
}

/* ===== MAIN NAV CONTAINER (Desktop) ===== */
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 50px;
  height: 58px; /* very compact */
  font-family: 'Montserrat', sans-serif;
}

/* ===== LOGO ===== */
.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: none;
}
.logo-img {
  width: 70px;
  height: auto;
  transition: opacity 0.2s ease;
}
.logo-img:hover {
  opacity: 0.9;
}

/* ====== LOGO STYLING (SOFT GLOW + FRONT-DOWN EFFECT) ====== */
.logo-img {
  width: 185px;
  height: auto;
  object-fit: contain;
  transition:
    transform 0.35s ease,
    filter 0.4s ease,
    opacity 0.3s ease;
  filter: drop-shadow(0 2px 6px rgba(255, 255, 255, 0.25)); /* subtle default glow */
  transform-origin: center bottom; /* pivot from bottom for natural lift */
}

/* Hover — glow + soft zoom forward & slightly down */
.logo-img:hover {
  opacity: 0.95;
  transform: scale(1.06) translateY(2px); /* zoom in slightly and move down a bit */
  filter: drop-shadow(0 0 18px rgba(255, 255, 255, 0.9))
          drop-shadow(0 0 25px rgba(255, 255, 255, 0.8));
}

/* ===== NAVIGATION (Desktop) ===== */
.nav-links {
  display: flex;
  align-items: center;
  gap: 25px;
  flex-grow: 1;
  justify-content: center;
}

.nav-links a {
  position: relative;
  font-weight: 700;
  color: white;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}
.nav-links a:hover {
  color: #ffc107;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0%;
  height: 2px;
  background: #ffc107;
  border-radius: 2px;
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

/* Optional: make "Products" visually emphasized */
.nav-links a:first-child {
  font-weight: 800;
}


/* ===== USER BAR (Desktop) ===== */
.user-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.83rem;
  font-weight: 600;
  margin-left: 20px;
}

.user-bar span {
  color: #e5e5e5;
}
.user-bar strong {
  color: #fff;
  font-weight: 700;
}
.user-bar a {
  color: #fff;
  text-decoration: none;
  padding: 4px 8px;
  border-radius: 6px;
  transition: background 0.3s ease;
}
.user-bar a:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* ===== BODY SPACING FIX ===== */
body {
  padding-top: 65px; /* prevents content from hiding under fixed nav */
  overflow-x: hidden; /* Prevent horizontal scroll from responsive layout */
}


/* ---------------------------------------------------------------------------------- */
/* ----------- MOBILE MENU TOGGLE SETUP (Requires HTML Checkbox/Label) -------------- */
/* ---------------------------------------------------------------------------------- */

/* Hides the actual checkbox input */
.menu-toggle {
    display: none;
}

/* Styles for the Hamburger icon (Label element) */
.menu-button {
    display: none; /* Hidden on desktop */
    width: 30px;
    height: 30px;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-around;
    padding: 5px;
    z-index: 10000;
    transition: all 0.3s ease;
}

.menu-icon-bar {
    display: block;
    width: 100%;
    height: 3px;
    background: #fff;
    border-radius: 3px;
    transition: all 0.3s ease;
}


/* ---------- HERO (Perfect Responsive EA Background) ---------- */
.hero {
  position: relative;
  background: url("images/EA anem.png") no-repeat center center;
  background-size: cover; /* ensures full coverage */
  background-attachment: fixed; /* adds depth / parallax-like effect */
  color: white;
  padding: 100px 20px; /* Desktop padding */
  text-align: center;
  overflow: hidden;
  border-top-left-radius: 225px;
  border-top-right-radius: 20px;
  border-bottom-right-radius: 255px;
}

/* Dark overlay for text readability */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 20, 40, 0.6); /* darker tone for text contrast */
  z-index: 1;
}

/* Ensure hero content stays above overlay */
.hero h1,
.hero p,
.hero .cta-button {
  position: relative;
  z-index: 2;
}

/* Headline styling */
.hero h1 {
  font-size: 3.2em;
  font-weight: 900;
  margin-bottom: 15px;
  text-shadow: 0 5px 12px rgba(0, 0, 0, 0.35);
}

/* Subtext styling */
.hero p {
  font-size: 1.2em;
  max-width: 700px;
  margin: 20px auto 40px;
  line-height: 1.6;
  color: #e2e6ea;
}


/* ---------- CTA BUTTON (Enhanced Performance Look) ---------- */
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ffc107, #ff8800);
  color: #111;
  padding: 16px 50px;
  border-radius: 60px;
  font-weight: 800;
  font-size: 1.05em;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.35s ease;
  box-shadow: 0 6px 25px rgba(255, 193, 7, 0.4), inset 0 0 0 2px rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.cta-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0) 100%);
  transform: skewX(-25deg);
  transition: all 0.6s ease;
}

.cta-button:hover::before {
  left: 130%;
}

.cta-button:hover {
  background: linear-gradient(135deg, #ffb300, #ff6a00);
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 10px 30px rgba(255, 193, 7, 0.6);
  color: #111;
}

/* ---------- SECTIONS (Enhanced Modern Layout) ---------- */
.section {
  padding: 100px 20px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.section h2 {
  font-size: 2.4em;
  color: #007bff;
  margin-bottom: 25px;
  font-weight: 800;
  letter-spacing: 0.5px;
  position: relative;
}

.section h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #007bff, #00bfff);
  margin: 12px auto 0;
  border-radius: 3px;
}

.section p {
  font-size: 1.1em;
  color: #444;
  max-width: 750px;
  margin: 20px auto 50px;
  line-height: 1.6;
}

/* ---------- FEATURE GRID ---------- */
.features-grid {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 35px;
  flex-wrap: wrap;
  margin-top: 50px;
}

.feature-card {
  background: #fff;
  padding: 35px 25px;
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  flex: 1 1 calc(33% - 20px);
  transition: all 0.35s ease;
  border: 1px solid #f1f1f1;
}
.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 123, 255, 0.1);
}
.feature-card h3 {
  color: #0056b3;
  font-weight: 700;
  margin-top: 15px;
}
.feature-card p {
  color: #555;
  font-size: 0.95em;
}

/* ---------- PERFORMANCE SECTION (Refined Layout) ---------- */
.performance {
  background: linear-gradient(180deg, #f8faff 0%, #e9f1ff 100%);
  border-radius: 20px;
  padding: 100px 20px;
  margin-top: 80px;
  box-shadow: 0 5px 30px rgba(0, 123, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.performance::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0, 123, 255, 0.12), transparent 70%);
  z-index: 0;
}
.performance::after {
  content: "";
  position: absolute;
  bottom: -50px;
  left: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 193, 7, 0.15), transparent 70%);
  z-index: 0;
}

.performance * {
  position: relative;
  z-index: 2;
}

.performance h2 {
  color: #0056b3;
  font-weight: 800;
}

.performance p {
  color: #333;
  margin-bottom: 45px;
}

/* ---------- CTA BUTTON (With Better Spacing) ---------- */
/* Using the previously defined .cta-button styles */
.cta-button {
  margin-bottom: 60px; /* adds space before reports section */
}


/* ---------- REPORT BUTTONS (More Polished) ---------- */
.report-container {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.report-btn {
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: #fff;
  padding: 12px 24px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95em;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 123, 255, 0.25);
}
.report-btn:hover {
  background: linear-gradient(135deg, #0056b3, #003f8a);
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(0, 123, 255, 0.4);
}

/* ---------- REVIEWS CAROUSEL LAYOUT ---------- */
.reviews-carousel {
  position: relative;
  overflow: hidden;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 0;
}

.reviews-track {
  gap: 20px;
  padding: 0 60px;
  align-items: flex-start;
  display: flex;
  transition: transform 0.6s ease;
}

.review-item {
  flex: 0 0 calc(25% - 20px); /* 4 visible at once */
  margin: 0 10px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  text-align: center;
  padding: 60px 15px 25px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}

.review-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 123, 255, 0.15);
}



/* ---------- Arrows ---------- */
.review-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #007bff;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  font-size: 22px;
  transition: background 0.3s, transform 0.2s;
  z-index: 10;
}
.review-arrow:hover {
  background: #0056b3;
  transform: translateY(-50%) scale(1.1);
}
.review-arrow.left { left: 12px; }
.review-arrow.right { right: 12px; }

/* ---------- Text Styles ---------- */
.review-stars {
  color: #ffc107;
  font-size: 1.1em;
  letter-spacing: 1px;
  margin-top: 30px;
  margin-bottom: 8px;
}
.review-item strong {
  font-size: 1em;
  color: #0056b3;
  margin-bottom: 6px;
  display: block;
}
.review-item p {
  font-size: 0.9em;
  color: #444;
  line-height: 1.5;
  margin: 0 auto 10px;
}
.review-meta {
  font-size: 0.8em;
  color: #6c757d;
}
.review-rating {
    color: #FFD700;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.6);
    font-size: 18px;
    letter-spacing: 2px;
    margin-top: 5px;
}
.review-content-text p {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    /* limit to 4 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: all 0.3s ease;
    max-height: 6.5em;
    /* roughly 4 lines */
    position: relative;
}

/* When hovered, expand to show full text */

.review-item:hover {
    background-color: #0ecce1b1;
    box-shadow: 0 0 15px rgba(11, 183, 214, 0.2);
    transition: all 0.3s ease;
}
/* Review popup modal styling */
.review-popup {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(3px);
  transition: all 0.3s ease;
}

.review-popup-content {
  background: #fff;
  border-radius: 16px;
  padding: 30px;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  text-align: left;
  animation: popupZoom 0.25s ease;
}

@keyframes popupZoom {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.review-popup-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 26px;
  color: #444;
  cursor: pointer;
  transition: color 0.2s;
}

.review-popup-close:hover {
  color: #000;
}

/* Limit text in card to 4 lines */
.review-content-text p {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: 6.5em;
}

/* Add subtle hover to indicate clickability */
.review-item:hover {
  transform: translateY(-5px) scale(1.02);
}

/* ---------- LIGHTBOX ---------- */
.lightbox-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  inset: 0;
  background: rgba(0,0,0,0.9);
}

.lightbox-content {
  display: block;
  margin: auto;
  max-width: 900px;
  width: 90%;
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: zoom 0.6s;
}

@keyframes zoom {
  from { transform: translate(-50%, -50%) scale(0.1); }
  to { transform: translate(-50%, -50%) scale(1); }
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  cursor: pointer;
}
.lightbox-close:hover { color: #bbb; }

/* ---------- FOOTER ---------- */
.footer {
  background: #343a40;
  color: white;
  padding: 30px 20px;
  text-align: center;
  font-size: 0.9em;
}
.footer a { color: #ffc107; margin: 0 10px; text-decoration: none; }
.footer a:hover { text-decoration: underline; }
/* ---------- PRODUCT GALLERY (MQL5-Inspired Multi-EA Layout) ---------- */
.product-gallery {
  background: linear-gradient(180deg, #f8faff 0%, #eaf2ff 100%);
  border-radius: 20px;
  padding: 100px 20px;
  margin-top: 80px;
  box-shadow: 0 5px 25px rgba(0, 123, 255, 0.08);
  position: relative;
}

.product-subtext {
  color: #444;
  font-size: 1.1em;
  max-width: 750px;
  margin: 15px auto 50px;
  line-height: 1.6;
}

/* ---------- GRID ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

/* ---------- CARD ---------- */
.product-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.35s ease;
  border: 1px solid #f0f3f8;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(0, 123, 255, 0.15);
}

/* Product image */
.product-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-bottom: 1px solid #eee;
}

/* Details area */
.product-details {
  padding: 25px 20px 30px;
  text-align: left;
}

.product-details h3 {
  color: #0056b3;
  font-weight: 800;
  font-size: 1.3em;
  margin-bottom: 8px;
}

.product-rating {
  font-size: 1em;
  color: #ffc107;
  margin-bottom: 12px;
}

.product-rating span {
  color: #777;
  font-size: 0.9em;
  margin-left: 5px;
}

.product-details p {
  color: #444;
  font-size: 0.95em;
  line-height: 1.5;
  margin-bottom: 15px;
}

.product-price {
  font-size: 1.3em;
  font-weight: 900;
  color: #007bff;
  margin-bottom: 15px;
}
.product-price .license {
  font-size: 0.8em;
  color: #666;
  margin-left: 5px;
}

/* ---------- PRODUCT ACTION BUTTONS (Balanced & Polished) ---------- */
.product-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px; /* increased gap for breathing room */
  flex-wrap: wrap;
  margin-top: 18px;
}

.product-actions .cta-button,
.product-actions .demo-button {
  flex: 0 0 auto;
  text-align: center;
  padding: 13px 0;
  font-size: 0.95em;
  border-radius: 50px;
  font-weight: 700;
  transition: all 0.3s ease;
}

/* Yellow "Buy Now" button */
.product-actions .cta-button {
  width: 180px;
  background: linear-gradient(135deg, #ffc107, #ff8800);
  color: #111;
  box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
}
.product-actions .cta-button:hover {
  background: linear-gradient(135deg, #ffb300, #ff6a00);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 193, 7, 0.5);
}

/* Red "Watch Demo" button */
.product-actions .demo-button {
  width: 200px; /* slightly wider for visual balance */
  background: linear-gradient(135deg, #ff3b3b, #c40000);
  color: #fff;
  box-shadow: 0 4px 15px rgba(255, 59, 59, 0.3);
}
.product-actions .demo-button:hover {
  background: linear-gradient(135deg, #e60000, #a00000);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 59, 59, 0.5);
}

.product-pricing {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 10px;
  margin: 10px 0 5px;
  flex-wrap: wrap;
}

.old-price {
  text-decoration: line-through;
  color: #4b4a4a;
  font-size: 1em;
  font-weight: 500;
}

.new-price {
  color: #007bff;
  font-weight: 900;
  font-size: 1.4em;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 3px rgba(0, 123, 255, 0.3);
}

.offer-tag {
  background: linear-gradient(135deg, #ffc107, #ff6600);
  color: #fff;
  font-weight: 1000;
  font-size: 0.9em;
  padding: 4px 10px;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(255, 193, 7, 0.4);
  animation: pulseGlow 1.5s infinite;
}

/* Gentle glowing animation for festive effect */
@keyframes pulseGlow {
  0% { box-shadow: 0 0 8px rgba(255, 193, 7, 0.4); }
  50% { box-shadow: 0 0 16px rgba(255, 193, 7, 0.8); }
  100% { box-shadow: 0 0 8px rgba(255, 193, 7, 0.4); }
}

.license-type {
  color: #555;
  font-weight: 600;
  font-size: 0.9em;
  margin-top: 3px;
}

.review-form-container {
  max-width: 700px;
  margin: 60px auto 40px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 25px rgba(0,0,0,0.05);
  padding: 30px;
}

.review-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.review-form input,
.review-form select,
.review-form textarea {
  padding: 12px 14px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  width: 100%;
}

.review-form button {
  background: linear-gradient(135deg, #007bff, #00bfff);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  padding: 12px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.review-form button:hover {
  background: linear-gradient(135deg, #0056b3, #007bff);
}
.auth-container {
  max-width: 400px;
  margin: 120px auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  padding: 30px;
  text-align: center;
}

.auth-container h2 {
  margin-bottom: 20px;
  color: #0056b3;
}

.auth-container input {
  width: 100%;
  margin: 10px 0;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
}

.auth-container button {
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg,#007bff,#00bfff);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
}

.auth-container button:hover {
  background: linear-gradient(135deg,#0056b3,#007bff);
}
.login-prompt {
  text-align: center;
  padding: 25px;
  font-size: 1.05rem;
  background: #f8faff;
  border-radius: 14px;
  border: 1px dashed #007bff;
  margin: 40px auto;
  max-width: 600px;
  box-shadow: 0 4px 15px rgba(0,123,255,0.05);
}

.login-prompt p {
  margin: 0;
  color: #444;
}

.login-prompt a {
  color: #007bff;
  font-weight: 700;
  text-decoration: none;
}

.login-prompt a:hover {
  text-decoration: underline;
}
/* ---------- Verified Badge ---------- */
.verified-badge {
  font-size: 0.8em;
  color: #28a745;
  font-weight: 700;
  margin-top: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.popup-verified {
  font-size: 0.8em;
  color: #28a745;
  font-weight: 700;
  margin-left: 8px;
  text-transform: uppercase;
}
/* ====== SELECTIVE ZOOM-OUT FOR SPECIFIC SECTIONS ====== */

#features,
#products,
#performance,
#results,
#reviews-section {
  transform: scale(0.95);
  transform-origin: top center;
  transition: transform 0.4s ease;
}

/* Prevent horizontal scroll caused by scaling */

@media (max-width: 768px) {
  .review-item { flex: 0 0 calc(50% - 20px); }
}
@media (max-width: 500px) {
  .review-item { flex: 0 0 100%; }
}

/* ---------------------------------------------------------------------------------- */
/* -------------------- ABOUT PAGE BASE STYLES -------------------------------------- */
/* ---------------------------------------------------------------------------------- */
.about-hero {
  background: url('images/EA anem.png') center/cover no-repeat;
  border-radius: 100px 160px 10px 160px;
  padding: 50px 80px 50px;
  color: white;
  text-align: center;
}

.about-section {
  background: #f9fbff;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.about-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  max-width: 1400px;
  margin: 0 auto;
  gap: 60px;
  padding: 0 40px;
}

.about-image {
  flex: 1 1 40%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.about-image img {
  width: 100%;
  max-width: 420px;
  height: auto;
  object-fit: cover;
  border-radius: 25px;
  margin-left: 0;
  box-shadow: 0 10px 30px rgba(0, 123, 255, 0.2);
  transform: translateX(-10px);
  transition: all 0.6s ease;
}

.about-image img:hover {
  transform: translateX(-5px) scale(1.03);
  box-shadow: 0 15px 40px rgba(0, 123, 255, 0.3);
}

.about-text {
  flex: 1 1 55%;
  text-align: left;
  padding-right: 20px;
}

.about-text h2 {
  font-size: 2.3rem;
  color: #0056b3;
  font-weight: 800;
  margin-bottom: 25px;
}

.about-text h2 span {
  background: linear-gradient(90deg, #00d8ff, #00ffa2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #333;
  margin-bottom: 20px;
}

.signature {
  font-weight: 700;
  color: #007bff;
  font-size: 1.3rem;
  margin-top: 35px;
}

/* Vision Section */
.vision-section {
  background: linear-gradient(180deg, #eaf3ff 0%, #f8faff 100%);
  border-radius: 25px;
  padding: 100px 30px;
  box-shadow: 0 5px 25px rgba(0, 123, 255, 0.05);
  margin-top: 80px;
}

.vision-container {
  max-width: 950px;
  margin: 0 auto;
  text-align: center;
}

.vision-container h2 {
  font-size: 2.3rem;
  color: #0056b3;
  font-weight: 800;
  margin-bottom: 30px;
}

.vision-container p {
  font-size: 1.15rem;
  color: #333;
  line-height: 1.8;
  margin-bottom: 20px;
}

.vision-highlight {
  font-size: 1.25rem;
  font-weight: 700;
  color: #00a67f;
  margin-top: 25px;
}

/* ---------------------------------------------------------------------------------- */
/* ---------- MOBILE RESPONSIVE NAV (Apple-like Slide) - Max 992px ------------------ */
/* ---------------------------------------------------------------------------------- */
@media (max-width: 992px) {
    /* Show the hamburger menu button */
    .menu-button {
        display: flex;
    }

    /* 1. HEADER & NAV CONTAINER FIXES */
    .header {
        border-radius: 0; /* Full width top on mobile */
    }

    .nav-container {
        /* Keep logo and button separated, instead of stacking everything */
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 10px 25px; /* Adjust padding for mobile */
        height: auto;
    }

    .logo-img {
      width: 120px; /* Make logo smaller on mobile */
      filter: none;
    }
    .logo-img:hover {
        transform: none; /* Disable desktop hover effect on mobile */
    }

    /* 2. MENU CONTENT (SLIDE-IN EFFECT) */
    .nav-links {
        /* Full screen menu backdrop for mobile */
        position: fixed;
        top: 0;
        right: 0; /* Slide in from the right */
        width: 80%; /* Takes up 80% of the screen width */
        max-width: 350px; /* Cap width for larger screens */
        height: 100%;
        background: rgba(0, 0, 0, 0.95); /* Dark semi-transparent background */
        backdrop-filter: blur(8px);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);

        /* Menu Content Layout */
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 80px 20px 20px; /* Space for the fixed header */
        gap: 0; /* Use padding/margins for link spacing */

        /* Initial state: pushed off-screen to the right */
        transform: translateX(100%);
        visibility: hidden;

        /* Smooth Slide Transition (Apple-like smooth curve) */
        transition: transform 0.4s cubic-bezier(0.77, 0.2, 0.05, 1.0), visibility 0s 0.4s;
        z-index: 9998;
    }

    /* 3. MENU ACTIVE STATE (Controls the Slide) */
    .menu-toggle:checked ~ .nav-links {
        transform: translateX(0); /* Slide into view */
        visibility: visible;
        transition: transform 0.4s cubic-bezier(0.77, 0.2, 0.05, 1.0); /* Remove visibility delay when opening */
    }

    /* 4. LINK STYLING INSIDE MOBILE MENU */
    .nav-links a {
        width: 100%;
        text-align: left;
        padding: 15px 0;
        font-size: 1.15rem;
        font-weight: 500;
        color: #fff;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        margin: 0; /* Remove desktop margin */
    }

    /* Remove the hover underline effect (which is problematic on mobile touch) */
    .nav-links a::after {
        display: none;
    }

    /* 5. USER BAR INTEGRATION */
    .user-bar {
        /* Move user-bar into the menu for consistency */
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        margin: 20px 0 0 0;
        padding-top: 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        gap: 15px;
    }

    .user-bar span, .user-bar strong, .user-bar a {
        color: #fff;
    }

    /* 6. HAMBURGER TO X TRANSFORMATION */
    .menu-toggle:checked ~ .menu-button .menu-icon-bar:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    .menu-toggle:checked ~ .menu-button .menu-icon-bar:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle:checked ~ .menu-button .menu-icon-bar:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    /* 7. HERO SECTION FIX */
    .hero {
        /* Target the vertical padding to make the hero shorter on mobile */
        padding: 70px 20px 50px;
        background-attachment: scroll; /* Disable fixed background on mobile */
        /* Reduce font size for better fit */
        text-align: center;
    }

    .hero h1 {
        font-size: 2.2em; /* Smaller headline */
    }

    .hero p {
        font-size: 1.0em; /* Smaller subtext */
    }


    /* 8. OTHER MOBILE LAYOUT OPTIMIZATIONS */
    .section {
        padding: 60px 15px;
    }

    .features-grid, .product-grid {
        grid-template-columns: 1fr; /* Stack elements for better mobile readability */
    }

    .product-actions {
      flex-direction: column;
      gap: 12px;
    }
    .product-actions .cta-button,
    .product-actions .demo-button {
      width: 100%;
    }

    /* Currency selector fix */
    .currency-selector {
        margin: 10px 20px 25px;
    }

    /* About Page Responsiveness (992px) */
    .about-container {
      flex-wrap: wrap;
      text-align: center;
      padding: 0 20px;
      gap: 40px;
    }

    .about-image {
      justify-content: center;
    }

    .about-image img {
      max-width: 320px;
      border-radius: 20px;
      transform: none;
    }

    .about-text {
      text-align: center;
      padding: 0;
    }

    .about-text h2 {
      font-size: 2rem;
    }

} /* End of @media (max-width: 992px) */

@media (max-width: 768px) {
  .review-item { flex: 0 0 calc(50% - 20px); }
}

@media (max-width: 500px) {
  .review-item { flex: 0 0 100%; }

  /* About Page Responsiveness (500px) */
  .about-text p,
  .vision-container p {
    font-size: 1rem;
  }

  .about-hero {
    /* More compact hero on smallest screens */
    padding: 100px 20px 70px;
    border-radius: 0;
  }

  .about-text h2 {
    font-size: 1.6rem;
  }

  .about-image img {
    width: 100%;
    max-width: 260px;
  }

  .vision-section {
    padding: 70px 20px;
    border-radius: 0;
  }
}
/* ------------------------------------------------------------------- */
/* CONTACT PAGE STYLES (Unified with About Page Layout) */
/* ------------------------------------------------------------------- */

/* HERO SECTION (reuse about-hero style for consistency) */
.contact-hero {
  position: relative;
  background: url('images/EA anem.png') center/cover no-repeat;
  background-image: linear-gradient(rgba(0, 40, 70, 0.2), rgba(0, 40, 70, 0.3)), url('images/EA anem.png');
  border-radius: 100px 160px 10px 160px;
  padding: 100px 50px 60px;
  text-align: center;
  color: white;
  overflow: hidden;
}
.contact-hero .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 40, 70, 0.65);
  border-radius: inherit;
}
.contact-hero .hero-content {
  position: relative;
  z-index: 2;
}
.contact-hero h1 {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 10px;
}
.contact-hero h2 {
  font-size: 1.3rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
  margin: 0 auto;
}

/* CONTACT SECTION (Responsive Grid Layout) */
.contact-section {
  background: #f9fbff;
  padding: 100px 20px;
}

.contact-container {
  max-width: 1100px;
  margin: 0 auto;
  background: #fff;
  padding: 60px 50px;
  border-radius: 25px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  align-items: start;
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-form h2 {
  font-size: 2rem;
  color: #0056b3;
  margin-bottom: 10px;
  font-weight: 800;
}
.contact-form h2 span {
  background: linear-gradient(90deg, #00d8ff, #00ffa2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.contact-form input,
.contact-form textarea {
  padding: 14px;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 1rem;
  width: 100%;
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #007bff;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
  outline: none;
}
.contact-form button {
  padding: 14px;
  background: linear-gradient(135deg, #007bff, #00bfff);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}
.contact-form button:hover {
  background: linear-gradient(135deg, #0056b3, #007bff);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.contact-form .msg {
  margin-top: 10px;
  font-weight: 600;
  text-align: center;
}

/* Contact Info Box */
.contact-info {
  padding: 30px;
  border-radius: 15px;
  background: #f0f7ff;
  border: 1px solid #d0e0f0;
  color: #333;
}
.contact-info h3 {
  color: #0056b3;
  font-weight: 800;
  margin-bottom: 25px;
  font-size: 1.5rem;
  text-align: center;
}
.contact-info p {
  margin: 12px 0;
  font-size: 1.05rem;
}
.contact-info a {
  color: #007bff;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}
.contact-info a:hover {
  color: #0056b3;
  text-decoration: underline;
}
.address-box {
  margin-top: 30px;
  padding-top: 15px;
  border-top: 1px dashed #c0d0e0;
}
.address-box h4 {
  font-weight: 700;
  color: #444;
  margin-bottom: 5px;
}
.address-box p {
  margin: 5px 0;
  font-size: 1rem;
}

/* Responsive Adjustment */
@media (max-width: 992px) {
  .contact-container {
    grid-template-columns: 1fr;
    padding: 40px 25px;
  }
  .contact-info {
    margin-top: 40px;
  }
}
/* ------------------------------------------------------------------- */
/* FINAL HEADER FIX — Align logo + hamburger inside blue bar */
/* ------------------------------------------------------------------- */
@media (max-width: 992px) {
  /* Compact blue header bar */
  .header {
    height: 60px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Ensure container fills header height */
  .nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    width: 100%;
    padding: 0 18px;
    position: relative;
  }

  /* Logo positioned neatly on left */
  .logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
  }

  .logo-img {
    width: 110px;
    height: auto;
    object-fit: contain;
  }

  /* Hamburger icon stays right and centered vertically */
  .menu-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    cursor: pointer;
    order: 2;
    margin-left: auto;
    position: relative;
    z-index: 10000;
  }

  .menu-icon-bar {
    height: 3px;
    width: 100%;
    background: #fff;
    border-radius: 3px;
    transition: all 0.3s ease;
  }

  /* Prevent blue bar pushing hero down extra */
  body {
    padding-top: 60px;
  }

  /* Adjust slide menu to start below header */
  .nav-links {
    top: 60px;
    height: calc(100% - 60px);
    background: rgba(0, 20, 60, 0.96);
    backdrop-filter: blur(8px);
  }

  /* Animate burger-to-X smoothly */
  .menu-toggle:checked ~ .menu-button .menu-icon-bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
  }
  .menu-toggle:checked ~ .menu-button .menu-icon-bar:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle:checked ~ .menu-button .menu-icon-bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
  }
}
/* ------------------------------------------------------------------- */
/* FINAL: Mid-size hamburger (balanced, no extra thickness) */
/* ------------------------------------------------------------------- */
@media (max-width: 992px) {
  .menu-button {
    width: 32px;
    height: 28px;
    padding: 5px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
  }

  .menu-icon-bar {
    width: 22px;               /* balanced width */
    height: 2.2px;             /* thin clean lines */
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
  }

  /* Maintain smooth "X" animation */
  .menu-toggle:checked ~ .menu-button .menu-icon-bar:nth-child(1) {
    transform: rotate(-45deg) translate(-4px, 5px);
  }

  .menu-toggle:checked ~ .menu-button .menu-icon-bar:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle:checked ~ .menu-button .menu-icon-bar:nth-child(3) {
    transform: rotate(45deg) translate(-4px, -5px);
  }
}
/* ------------------------------------------------------------------- */
/* HERO SECTION OPTIMIZATION — Professional Compact Layout */
/* ------------------------------------------------------------------- */

/* Desktop & Tablet */
.contact-hero,
.about-hero {
  padding: 70px 40px 50px !important; /* reduce vertical height */
  border-radius: 80px 120px 8px 120px;
  background-attachment: fixed;
  background-size: cover;
}

.contact-hero h1,
.about-hero h1 {
  font-size: 2.4rem !important;
  font-weight: 800;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

.contact-hero h2,
.about-hero h2 {
  font-size: 1.15rem !important;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
  margin: 10px auto 0;
  line-height: 1.6;
}

/* Smaller padding and radius for mobile screens */
@media (max-width: 992px) {
  .contact-hero,
  .about-hero {
    padding: 55px 20px 40px !important;
    border-radius: 0; /* clean edge for smaller screens */
    background-attachment: scroll; /* prevent scroll lag */
  }

  .contact-hero h1,
  .about-hero h1 {
    font-size: 1.9rem !important;
    margin-bottom: 8px;
  }

  .contact-hero h2,
  .about-hero h2 {
    font-size: 1rem !important;
    line-height: 1.5;
    max-width: 90%;
  }
}

/* Ultra-small mobile (phones <500px width) */
@media (max-width: 500px) {
  .contact-hero,
  .about-hero {
    padding: 45px 15px 35px !important;
  }

  .contact-hero h1,
  .about-hero h1 {
    font-size: 1.7rem !important;
  }

  .contact-hero h2,
  .about-hero h2 {
    font-size: 0.95rem !important;
    line-height: 1.4;
  }
}
/* ------------------------------------------------------------------- */
/* HOME PAGE HERO OPTIMIZATION — Compact, Professional, Responsive */
/* ------------------------------------------------------------------- */

/* Desktop & Tablet */
.hero {
  padding: 80px 20px 60px !important; /* reduced from 100px top */
  border-top-left-radius: 180px;
  border-bottom-right-radius: 200px;
  background-attachment: fixed;
  text-align: center;
}

.hero h1 {
  font-size: 2.6rem !important; /* smaller headline */
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.hero p {
  font-size: 1.05rem !important; /* smaller subtitle */
  max-width: 650px;
  margin: 15px auto 30px;
  color: #e2e6ea;
  line-height: 1.6;
}

/* Buttons closer to text */
.hero .cta-button {
  padding: 14px 45px;
  font-size: 0.95rem;
  margin-top: 5px;
}

/* ------------------------------------------------------------------- */
/* RESPONSIVE HERO (Mobile Friendly) */
/* ------------------------------------------------------------------- */
@media (max-width: 992px) {
  .hero {
    padding: 60px 20px 45px !important;
    background-attachment: scroll; /* avoid fixed lag on mobile */
    border-radius: 0;
  }

  .hero h1 {
    font-size: 2rem !important;
    line-height: 1.2;
  }

  .hero p {
    font-size: 0.95rem !important;
    margin: 10px auto 25px;
  }

  .hero .cta-button {
    padding: 12px 35px;
    font-size: 0.9rem;
  }
}

/* Smallest phones */
@media (max-width: 500px) {
  .hero {
    padding: 45px 15px 35px !important;
  }

  .hero h1 {
    font-size: 1.7rem !important;
  }

  .hero p {
    font-size: 0.9rem !important;
  }
}
