/* 1. General Reset */
* {
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #ffffff;
  margin: 0;
  padding: 0;
  height: 100vh;
  width: 100vw;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

/* 2. The Main App Window */
.app-window {
  position: relative;
  width: 100%;
  height: 100%;
  /* Removed max-width and aspect-ratio to allow full-screen backgrounds */
  overflow: hidden;
  background-color: #000;
}

/* 3. Scroll Container */
.scroll-container {
  height: 100%;
  width: 100%;
  overflow-y: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  backface-visibility: hidden;
  perspective: 1000px;
}

.scroll-container::-webkit-scrollbar {
  display: none;
}

.scroll-container {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* 4. Sections Common Style */
.page-section {
  min-height: 100%;
  width: 100%;
  position: relative;
  overflow: hidden;
  padding-top: 100px;
}

/* --- LAYOUT WRAPPER --- */
/* Keeps content centered and constrained to original design width, 
   while allowing the section background to extend full width. */
.content-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: 1440px;
  margin: 0 auto;
}

/* --- HEADER STYLES --- */
.main-header {
  position: absolute;
  top: -5%;
  left: 50%;
  transform: translateX(-50%);
  width: 1221px;
  height: 64px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 30px;
  background: linear-gradient(to right, #ffffff 0%, #f0f6ff 100%);
  box-shadow: 0 4px 20px rgba(0, 42, 92, 0.05);
  border-radius: 40px;
  z-index: 100;
}

.logo-section img {
  height: 24px;
}

.nav-center {
  display: flex;
  gap: 35px;
  align-items: center;
}

.nav-item {
  text-decoration: none;
  color: #00376B;
  font-weight: 500;
  font-size: 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: color 0.2s;
}

.nav-item:hover, .nav-item.active {
  color: #1E88E5;
}

.dropdown-container {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: white;
  min-width: 180px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 101;
}

.dropdown-menu a {
  display: block;
  padding: 10px 20px;
  color: #00376B;
  text-decoration: none;
  font-size: 14px;
  transition: background 0.2s;
}

.dropdown-menu a:hover {
  background-color: #f0f8ff;
  color: #1E88E5;
}

.dropdown-container:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.lang-menu-items {
  min-width: 80px;
  text-align: center;
}

.lang-menu-items a {
  padding: 8px 10px;
}

.lang-menu-items a.active-lang {
  color: #1E88E5;
  font-weight: 600;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: transparent;
  border: 1px solid #e0e6ed;
  border-radius: 20px;
  color: #00376B;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
}

.icon-btn {
  background: none;
  border: none;
  color: #00376B;
  cursor: pointer;
  padding: 5px;
  display: flex;
  align-items: center;
}

/* --- BACK TO TOP BUTTON --- */
.back-to-top-btn {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 50px;
  height: 50px;
  background-color: #00376B;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  z-index: 200;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.back-to-top-btn:hover {
  background-color: #1E88E5;
  transform: translateY(-3px);
}

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

/* --- HOME SECTION --- */
.home-section {
  background-image: url('../assets/images/backgroundHomePageNew.webp');
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  background-attachment: fixed;
  will-change: transform;
  transform: translateZ(0);
  height: 100%;
}

.hero-container {
  position: absolute;
  top: 10%;
  left: 8.3%;
  z-index: 10;
  text-align: left;
}

.hero-title {
  font-size: 56px;
  font-weight: 700;
  color: #00376B;
  line-height: 1.1;
  margin-bottom: 15px;
}

.highlight-blue {
  color: #005EB5;
}

.hero-subtitle {
  font-size: 20px;
  color: #00376B;
  margin-bottom: 30px;
  font-weight: 400;
}

.explore-btn {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  background-color: #00376B;
  color: white;
  padding: 8px 8px 8px 24px;
  border-radius: 40px;
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  box-shadow: 0 4px 15px rgba(15, 42, 74, 0.3);
}

.btn-arrow {
  background-color: white;
  color: #111;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.btn-arrow svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.5;
}

.inspiration-box {
  position: absolute;
  right: 6%;
  top: 75%;
  width: 570px;
  height: 82px;
  background-image: url('../assets/images/textBackgroundHomePage.webp');
  background-size: 100% 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 25px 20px 15px 20px;
  font-size: 14px;
  color: #00376B;
  z-index: 60;
  text-align: center;
  font-weight: 500;
}

.inspire-highlight {
  color: #0056b3;
  font-weight: 700;
  font-style: italic;
  margin-right: 5px;
  font-size: 14px;
}

.values-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 35%;
  width: 100%;
  padding-left: 10%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 50;
  pointer-events: none;
}

.values-left {
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.value-line {
  color: white;
  font-size: 16px;
  font-weight: 500;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.keyword {
  color: white;
  font-size: 18px;
  font-style: italic;
  font-weight: 800;
  text-transform: uppercase;
  margin-right: 5px;
}

/* --- ABOUT SECTION --- */
.about-section {
  background-color: #ffffff;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  height: 100%;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 60px 40px 60px;
  align-items: start; /* Locked to top so images don't move on expand */
}

.about-text-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #00376B;
  z-index: 10;
}

.about-title {
  font-size: 48px;
  line-height: 1.1;
  font-weight: 700;
  color: #00376B;
  margin-bottom: 25px;
  max-width: 600px;
}

.highlight-text {
  color: #1E88E5;
  white-space: nowrap;
}

.about-desc {
  font-size: 18px;
  line-height: 1.5;
  margin-bottom: 30px;
  color: #00376B;
  max-width: 90%;
  font-weight: 500;
}

/* --- ACCORDION FEATURE LIST --- */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 40px;
}

/* Main Container for each item */
.feature-item {
  display: block; 
  border-bottom: 1px solid rgba(0, 55, 107, 0.1); /* Subtle divider */
  overflow: hidden;
}

/* The clickable header part */
.feature-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
  font-size: 18px;
  color: #00376B;
  padding: 15px 0;
  cursor: pointer;
  user-select: none;
}

.feature-header:hover {
  color: #1E88E5;
}

.feature-header:hover .check-icon {
    stroke: #1E88E5;
}

/* Left side with icon and title */
.feature-left {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* Icons */
.check-icon {
  width: 24px;
  height: 24px;
  stroke: #00376B;
  stroke-width: 2;
  flex-shrink: 0;
  transition: stroke 0.2s;
}

.chevron-icon {
  width: 20px;
  height: 20px;
  stroke: #00376B;
  stroke-width: 2;
  transition: transform 0.3s ease;
}

/* Active State: Rotate Chevron */
.feature-item.active .chevron-icon {
  transform: rotate(180deg);
}

/* The Hidden Content */
.feature-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.feature-content p {
  font-size: 16px;
  line-height: 1.5;
  margin: 0;
  padding-bottom: 15px;
  padding-left: 39px; /* Aligns text with title (24px icon + 15px gap) */
  color: #444;
}

/* Active State: Show Content */
.feature-item.active .feature-content {
  max-height: 200px; 
  transition: max-height 0.3s ease-in;
}

.learn-more-btn {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background-color: #00376B;
  color: white;
  padding: 12px 24px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(15, 42, 74, 0.3);
}

.btn-circle-icon {
  width: 24px;
  height: 24px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00376B;
}

.about-visuals {
  position: relative;
  width: 100%;
  height: 600px;
}

.img-chart {
  position: absolute;
  top: 0;
  right: 0;
  width: 90%;
  z-index: 1;
}

.img-hub {
  position: absolute;
  bottom: 20px;
  left: 23%;
  width: 42%;
  z-index: 2;
}

.img-phone {
  position: absolute;
  top: 30%;
  right: 5%;
  width: 38%;
  z-index: 3;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.25));
}

/* --- VIDEO SECTION --- */
.video-section {
  background-color: #E6F6FF;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 50px 0 100px 0;
}

.video-title {
  font-size: 42px;
  font-weight: 700;
  color: #00376B;
  margin-bottom: 120px;
  line-height: 1.2;
  margin-top: 0;
}

.video-brand {
  color: #005EB5;
}

.video-preview-container {
  margin-bottom: 100px;
  display: flex;
  justify-content: center;
}

.video-hub-img {
  max-width: 400px;
  filter: drop-shadow(0 10px 20px rgba(15, 42, 74, 0.15));
}

.full-video-btn {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  background-color: #00376B;
  color: white;
  padding: 10px 10px 10px 24px;
  border-radius: 40px;
  border: none;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(15, 42, 74, 0.3);
  transition: transform 0.2s;
}

.full-video-btn:hover {
  transform: scale(1.05);
}

.btn-circle-icon.white {
  color: #00376B;
}

/* --- DEVICES SECTION --- */
.devices-section {
  background-image: url('../assets/images/backgroundDevicesPageNew.webp');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  will-change: transform;
  transform: translateZ(0);
  padding-top: 5px;
  min-height: 100vh;
}

.centered-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  height: 100%;
  width: 100%;
  padding-top: 0px;
}

.text-white {
  font-size: 42px;
  font-weight: 700;
  color: white !important;
}

.text-white-70 {
  margin-top: -20px;
  font-size: 21px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7) !important;
}

/* --- HUB SECTION --- */
.hub-section {
  background-color: #ffffff;
  background-image: none;
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.hub-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  max-width: 1200px;
  width: 100%;
  padding: 0 50px;
  align-items: center;
}

.hub-visual-col {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.img-exploded-hub {
  max-height: 900px;
  width: auto;
  filter: none;
  margin-left: -129px;
  margin-top: -150px;
}

.hub-content-col {
  display: flex;
  justify-content: flex-start;
}

/* Updated Card Styles to match image_ed25ff.webp */
.hub-info-card {
  background-color: #E6F3FF; /* Light Blue Background */
  border: 1px solid #0084FF; /* Blue Border */
  padding: 25px; /* Increased padding for better spacing */
  border-radius: 20px;
  width: 580px;
  height: auto; /* Allow height to fit content */
  min-height: 422px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  margin-left: -50px;
  color: #00376B; /* Dark Brand Blue Text */
  backdrop-filter: none;
}

.card-header {
  display: flex;
  justify-content: space-between; /* Push flag to right */
  align-items: flex-start;
  margin-bottom: 30px;
  gap: 10px;
}

.card-header h3 {
  font-size: 48px;
  color: #00376B; /* Dark Text */
  margin: 0;
  font-weight: 800; /* Bolder font weight */
  line-height: 1.2;
  max-width: 90%;
}

/* Highlight color for 'in Vietnam' */
.hub-info-card .highlight-blue {
  color: #005EB5;
}

.vn-flag {
  width: 60px;
  height: 40px;
  background-color: #DA251D;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
  border-radius: 4px;
  margin-top: 5px; /* Align with top text */
}

.vn-flag .star {
  color: #FFFF00;
  font-size: 20px;
  line-height: 0;
  margin-top: -2px;
}

.hub-info-card p {
  font-size: 20px;
  line-height: 1.6;
  color: #00376B; /* Dark Text */
  text-align: left;
  opacity: 0.9;
}

/* --- APP SECTION --- */
/* Navigation Buttons */
.app-showcase {
  position: relative; /* Ensure buttons position relative to this container */
}

.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: white;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 55, 107, 0.2);
  z-index: 20;
  color: #00376B;
  transition: all 0.2s ease;
}

.carousel-nav:hover {
  background-color: #00376B;
  color: white;
}

.prev-btn {
  opacity: 0.8;
  left: 20px; /* Adjust spacing from left edge */
}

.next-btn {
  opacity: 0.8;
  right: 20px; /* Adjust spacing from right edge */
}

/* On smaller screens, maybe hide buttons or make them smaller? 
   For now, we keep them as is. */

.app-section-new {
  background-color: #EBF5FF;
  text-align: center;
  padding: 60px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: auto;
}

.app-content-centered {
  /* CHANGE THIS: Restrict width back to 1440px so buttons don't jump to screen edges */
  max-width: 1440px; 
  
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 20px; 
}

.app-title {
  font-size: 48px;
  font-weight: 700;
  color: #00376B;
  margin-bottom: 10px;
}

.app-desc {
  font-size: 22px;
  color: #00376B;
  margin-bottom: 40px;
  line-height: 1.5;
}

/* Infinite Carousel Styles */
.app-showcase {
  height: 550px;
  margin-bottom: 40px;
  width: 100%;
  display: flex;
  justify-content: center;
  overflow: hidden;
  padding: 0;
}

.app-carousel-container {
  width: 100%;
  max-width: 1500px; /* Increased from 1200px to allow phones more room */
  position: relative;
}

.app-carousel-track {
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
}

.app-carousel-slide {
  flex: 0 0 20%; /* 5 items visible */
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
}

.app-carousel-slide img {
  /* Fix in height logic: Set base to 100% of container */
  height: 100%; 
  width: auto;
  object-fit: contain;
  transition: transform 0.5s ease-in-out, opacity 0.5s;
  opacity: 0.7;
  
  /* Non-zoom state = 80% */
  transform: scale(0.8);
  
  /* Remove background artifacts */
  box-shadow: none;
  border-radius: 0;
  filter: none;
}

/* Active (Middle) Slide Styles */
.app-carousel-slide.active {
  z-index: 10;
}

.app-carousel-slide.active img {
  /* Active state = 100% scale (fits the 550px height) */
  transform: scale(1); 
  opacity: 1;
  
  /* Ensure no white rectangle appears behind */
  box-shadow: none; 
  background: transparent;
}

.download-btn-large {
  background-color: #00376B;
  color: white;
  padding: 15px 40px;
  border-radius: 30px;
  font-size: 18px;
  font-weight: 400;
  border: none;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* --- SUPPORT & CONTACT MERGED --- */
.support-contact-combined {
  background-color: #ffffff;
  height: auto !important;
  padding-top: 80px;
  padding-bottom: 0;
}

.support-container-top {
  padding: 0 20px 60px 20px;
}

.support-grid {
  display: flex;
  justify-content: center;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.support-card {
  background-color: #E6F2FF;
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s;
}

.support-card:hover {
  transform: translateY(-5px);
}

.support-card img {
  width: 120px;
  margin-bottom: 5px;
}

.support-card h3 {
  font-size: 28px;
  color: #00376B;
  margin-bottom: 5px;
  font-weight: 700;
}

.support-card p {
  font-size: 16px;
  color: #00376B;
  margin-bottom: 20px;
  line-height: 1.4;
}

.support-link {
  color: #1E88E5;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}
/* --- NEW CONTACT SECTION STYLES --- */

/* 1. Full Width Background: Solid Light Blue */
.contact-section-full-width {
  width: 100%;
  margin-top: 60px;
  background: linear-gradient(to right, #E6F3FF 60%, #0084FF 40%);
  display: flex;
  justify-content: center;
  position: relative;
}

/* 2. Inner Container: Constrained to 1440px */
.contact-container-compact {
  display: flex;
  width: 100%;
  max-width: 1440px;
  min-height: 600px;
  margin: 0 auto;
}

/* Left Column: Form */
.contact-content-col {
  flex: 1;
  background-color: transparent;
  
  /* PADDING FIX: 
     Top/Bottom: 60px (Standard)
     Right: 100px (Requested distance from middle line)
     Left: 80px (Restored to original comfortable spacing) 
  */
  padding: 60px 100px 60px 80px;
  
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #00376B;
}

/* Right Column: Image Container */
.contact-image-col {
  flex: 1;
  background-color: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  height: auto; /* Stretches to match Left Column height */
}

/* Image Styling */
.contact-hub-img {
  width: 100%;
  height: 100%;
  
  /* 'cover' ensures height equals left size (fills container) */
  object-fit: cover;
  
  /* 'left top' aligns image to the Middle Line (Left) and Top Corner */
  object-position: left top;
  
  display: block;
}

/* Form Styling - Input Boxes Solid White */
.contact-header h2 {
  font-size: 42px;
  font-weight: 800;
  color: #00376B;
  margin-bottom: 20px;
}

.contact-header p {
  font-size: 16px;
  color: #00376B;
  margin-bottom: 40px;
  line-height: 1.6;
  opacity: 0.9;
  font-weight: 500;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: flex;
  gap: 20px;
}

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

.form-group label {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #00376B;
}

.form-group input,
.form-group textarea {
  padding: 12px 15px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  width: 100%;
  
  /* Input Box Solid White Background */
  background-color: #ffffff !important;
  
  color: #333;
  outline: none;
  font-family: inherit;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.submit-btn {
  background-color: #00376B;
  color: white;
  font-weight: 600;
  padding: 12px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  width: 100%;
  margin-top: 10px;
  font-size: 16px;
  transition: background-color 0.2s;
}

.submit-btn:hover {
  background-color: #002a52;
}

/* --- ERROR MESSAGE STYLES --- */
.error-message {
    color: #ff0000;      /* Red text */
    font-size: 12px;     /* Smaller font */
    margin-top: 5px;     /* Space between input and text */
    min-height: 15px;    /* Keeps layout stable */
    display: block;
    font-weight: 600;
}

/* Optional: Add a red border to the input box itself when invalid */
.form-group input.input-error {
    border: 1px solid #ff0000 !important;
    background-color: #fff8f8 !important; /* Very light red background */
}
/* --- FOOTER --- */
.main-footer {
  background-color: #081B33;
  color: white;
  padding: 60px 0 20px 0;
  width: 100%;
}

.footer-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.footer-logo-row {
  margin-bottom: 40px;
}

.footer-logo {
  height: 36px;
}

.footer-columns {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-col h4 {
  font-size: 16px;
  margin-bottom: 20px;
  font-weight: 700;
}

.footer-col a {
  display: block;
  color: #ccc;
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 10px;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: white;
}

.store-badges {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 15px;
}

.app-store-btn {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  white-space: nowrap !important;
  gap: 10px !important;
  background-color: #1C3C74;
  padding: 10px 18px;
  border-radius: 10px;
  text-decoration: none;
  color: white;
  width: fit-content;
  transition: background-color 0.2s;
}

.app-store-btn:hover {
  background-color: #1a2f4d;
}

.store-icon {
  width: 28px !important;
  height: auto !important;
  display: inline-block !important;
}

.store-text-col {
  display: inline-flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  white-space: nowrap !important;
  line-height: 1.2;
}

.store-sub {
  font-size: 10px;
  opacity: 0.9;
  font-weight: 400;
  white-space: nowrap;
}

.store-title {
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
}

.newsletter-input-group {
  display: flex;
  margin-bottom: 15px;
}

.newsletter-input-group input {
  flex: 1;
  padding: 10px 15px;
  border-radius: 20px 0 0 20px;
  /* changed from border: none to transparent so adding red border doesn't jump */
  border: 1px solid transparent; 
  outline: none;
  font-size: 14px;
  transition: border-color 0.2s, background-color 0.2s;
}

/* Add this NEW style for the error state */
.newsletter-input-group input.input-error {
  border-color: #ff0000;
  background-color: #fff8f8;
}

.newsletter-input-group button {
  background-color: #1E88E5;
  color: white;
  border: none;
  border-radius: 0 20px 20px 0;
  padding: 0 20px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
}

.newsletter-hint {
  font-size: 12px;
  color: #888;
  margin-bottom: 20px;
  line-height: 1.4;
}

.social-icons {
  display: flex;
  gap: 15px;
  font-size: 20px;
}

.social-icons i {
  cursor: pointer;
  transition: color 0.2s;
}

.social-icons i:hover {
  color: #1E88E5;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #888;
}

.footer-bottom-links a {
  color: #888;
  text-decoration: none;
  margin: 0 10px;
}

.footer-bottom-links a:hover {
  color: white;
}

.footer-flag {
  display: flex;
  align-items: center;
  gap: 8px;
  color: white;
}

.vn-flag-small {
  background: #DA251D;
  color: yellow;
  width: 24px;
  height: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 12px;
  border-radius: 2px;
}

/* Mobile scaling for phones */
/* Mobile styles - only for non-Safari browsers (Android) */
@supports (zoom: 0.28) {
  @media screen and (max-width: 480px) {
    html, body {
      width: 100%;
      height: 100%;
      overflow-x: hidden;
      margin: 0;
      padding: 0;
    }
    
    body {
      zoom: 0.28;
    }
    
    .home-section {
      background-attachment: scroll !important;
      background-size: cover !important;
      background-position: center bottom !important;
      min-height: 100vh !important;
      height: 100vh !important;
    }
    
    .devices-section {
      background-attachment: scroll !important;
      background-size: cover !important;
      min-height: 100vh !important;
      height: 100vh !important;
    }
    
    .page-section {
      min-height: 100vh !important;
    }
  }
}