/* ======================================================================
   main.css — Consolidated stylesheet (font + base + theme + custom)
   Source templates merged: font.css, style.css, templatemo-personal-style.css
   Font: LINE Seed Sans TH (400/600/700)
   ====================================================================== */

@charset "utf-8";

/* ======================================================================
   1) Font Face
   ====================================================================== */
@font-face {
  font-family: "GEELY Bold 20230926";
  src: url("../fo/GEELYBold20230926.woff2") format("woff2"),
    url("../fo/GEELYBold20230926.woff") format("woff");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "LINE Seed Sans TH";
  src: url("../fo/LINESeedSansTH-Regular.eot");
  src: url("../fo/LINESeedSansTH-Regular.eot?#iefix")
      format("embedded-opentype"),
    url("../fo/LINESeedSansTH-Regular.woff2") format("woff2"),
    url("../fo/LINESeedSansTH-Regular.woff") format("woff"),
    url("../fo/LINESeedSansTH-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "LINE Seed Sans TH";
  src: url("../fo/LINESeedSansTH-Bold.eot");
  src: url("../fo/LINESeedSansTH-Bold.eot?#iefix") format("embedded-opentype"),
    url("../fo/LINESeedSansTH-Bold.woff2") format("woff2"),
    url("../fo/LINESeedSansTH-Bold.woff") format("woff"),
    url("../fo/LINESeedSansTH-Bold.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "LINE Seed Sans TH";
  src: url("../fo/LINESeedSansTH-Heavy.eot");
  src: url("../fo/LINESeedSansTH-Heavy.eot?#iefix") format("embedded-opentype"),
    url("../fo/LINESeedSansTH-Heavy.woff2") format("woff2"),
    url("../fo/LINESeedSansTH-Heavy.woff") format("woff"),
    url("../fo/LINESeedSansTH-Heavy.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "LINE Seed Sans TH";
  src: url("../fo/LINESeedSansTH-Thin.eot");
  src: url("../fo/LINESeedSansTH-Thin.eot?#iefix") format("embedded-opentype"),
    url("../fo/LINESeedSansTH-Thin.woff2") format("woff2"),
    url("../fo/LINESeedSansTH-Thin.woff") format("woff"),
    url("../fo/LINESeedSansTH-Thin.ttf") format("truetype");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "LINE Seed Sans TH";
  src: url("../fo/LINESeedSansTH-ExtraBold.eot");
  src: url("../fo/LINESeedSansTH-ExtraBold.eot?#iefix")
      format("embedded-opentype"),
    url("../fo/LINESeedSansTH-ExtraBold.woff2") format("woff2"),
    url("../fo/LINESeedSansTH-ExtraBold.woff") format("woff"),
    url("../fo/LINESeedSansTH-ExtraBold.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

/* ======================================================================
   2) Reset & Root Variables
   ====================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #6366f1;
  --secondary-color: #8b5cf6;
  --accent-color: #f59e0b;
  --accent-pink: #ec4899;
  --accent-cyan: #06b6d4;
  --text-primary: #0f172a;
  --text-secondary: #64748b;
  --text-light: #ffffff;
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-dark: #0f172a;
  --bg-card: rgba(255, 255, 255, 0.95);
  --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --gradient-tertiary: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  --gradient-elegant: linear-gradient(
    135deg,
    #667eea 0%,
    #764ba2 50%,
    #f093fb 100%
  );
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --glass: rgba(255, 255, 255, 0.15);
  --glass-border: rgba(255, 255, 255, 0.2);
}

:root {
  --nav-height: 69px;
}
[id] {
  scroll-margin-top: var(--nav-height);
}

.cta-strip {
  margin-top: 0 !important;
}

.fo-geely {
  font-family: "GEELY Bold 20230926", sans-serif;
  font-weight: bold;
}

.text-center {
  text-align: center;
}

/* ======================================================================
   3) Global Typography
   ====================================================================== */
body {
  font-family: "LINE Seed Sans TH", -apple-system, BlinkMacSystemFont, Segoe UI,
    Roboto, Helvetica, Arial, sans-serif;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-primary);
  scroll-behavior: smooth;
  overflow-x: hidden;
  background: var(--bg-primary);
  margin: 0 auto;
  background: #fff;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "LINE Seed Sans TH", sans-serif;
  font-weight: 700;
  line-height: 1.2;
}
p,
span,
label {
  font-weight: 400;
}
button,
input,
textarea,
a {
  font-family: "LINE Seed Sans TH", sans-serif;
  font-weight: 400;
}

/* Utility containers */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}
section {
  padding: 8rem 0;
}

/* ======================================================================
   4) Navbar
   ====================================================================== */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(0, 0, 0, 1);
  backdrop-filter: blur(20px);
  z-index: 1000;
  padding: 1rem 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
nav.scrolled {
  background: rgba(0, 0, 0, 1);
  box-shadow: var(--shadow-lg);
  padding: 0.75rem 0;
}
.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  font-size: 1.75rem;
  font-weight: 700;
  background: var(--gradient-elegant);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.5px;
}
img.logo {
  height: 26px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  align-items: center;
}
.nav-links a {
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  padding: 0.5rem 0;
}
.nav-links a:hover {
  color: var(--primary-color);
  transform: translateY(-1px);
}
.nav-links a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  background: var(--gradient-primary);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateX(-50%);
  border-radius: 1px;
}
.nav-links a:hover::after {
  width: 100%;
}

/* ======================================================================
   5) Mobile Menu (with white links)
   ====================================================================== */
.mobile-menu-toggle {
  flex-direction: column;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}
/* support both hamburger bars and image icons */
.hamburger {
  width: 25px;
  height: 3px;
  background: var(--text-primary);
  margin: 3px 0;
  transition: all 0.3s ease;
  border-radius: 1px;
}
.mobile-menu-toggle .menu-icon {
  width: 28px;
  height: 28px;
  display: none;
}
.mobile-menu-toggle .open-icon {
  display: block;
}
.mobile-menu-toggle.active .open-icon {
  display: none;
}
.mobile-menu-toggle.active .close-icon {
  display: block;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: #000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 999;
}
.mobile-menu.active {
  right: 0;
}

.mobile-nav-links {
  list-style: none;
  text-align: center;
  padding: 0;
  margin: 0;
}
.mobile-nav-links li {
  margin: 2rem 0;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-menu.active .mobile-nav-links li {
  opacity: 1;
  transform: translateY(0);
}
.mobile-menu.active .mobile-nav-links li:nth-child(1) {
  transition-delay: 0.1s;
}
.mobile-menu.active .mobile-nav-links li:nth-child(2) {
  transition-delay: 0.2s;
}
.mobile-menu.active .mobile-nav-links li:nth-child(3) {
  transition-delay: 0.3s;
}
.mobile-menu.active .mobile-nav-links li:nth-child(4) {
  transition-delay: 0.4s;
}

.mobile-nav-links a {
  font-size: 2.2rem;
  font-weight: 400;
  color: #fff !important;
  text-decoration: none;
  transition: opacity 0.3s;
  background: none !important; /* force plain white text */
  -webkit-background-clip: initial !important;
  -webkit-text-fill-color: #fff !important;
}
.mobile-nav-links a:hover {
  opacity: 0.7;
}

/* ======================================================================
   7) Section Titles
   ====================================================================== */
.section-title {
  text-align: left;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
  margin-left: 20px;
}

/* ======================================================================
   8) About
   ====================================================================== */
.about {
  background: var(--bg-secondary);
  position: relative;
}
.about::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 10% 20%,
    rgba(99, 102, 241, 0.05) 0%,
    transparent 50%
  );
}
.about-content {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 6rem;
  align-items: center;
  position: relative;
}
.about-image {
  width: 100%;
  height: 500px;
  background: url("/assets/html/images/smiling-girl-computer-desktop.jpg")
    center/cover;
  border-radius: 30px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-2xl);
  transform: rotate(-2deg);
  transition: transform 0.4s ease;
}
.about-image:hover {
  transform: rotate(0) scale(1.02);
}
.about-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.3) 0%,
    rgba(139, 92, 246, 0.2) 100%
  );
  transition: opacity 0.3s ease;
}
.about-image:hover::before {
  opacity: 0.7;
}
.about-text h3 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  font-weight: 600;
  line-height: 1.3;
}
.about-text p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.8;
}
.skills {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 3rem;
}
.skill-tag {
  padding: 0.75rem 1.5rem;
  background: var(--bg-card);
  color: var(--primary-color);
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid rgba(99, 102, 241, 0.2);
  transition: all 0.3s;
  backdrop-filter: blur(10px);
}
.skill-tag:hover {
  background: var(--primary-color);
  color: var(--text-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* ======================================================================
   9) Portfolio
   ====================================================================== */
.portfolio {
  background: var(--bg-primary);
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-top: 2rem;
}
.portfolio-item {
  background: var(--bg-card);
  border-radius: 25px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateY(20px);
  opacity: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}
.portfolio-item.animate {
  transform: translateY(0);
  opacity: 1;
}
.portfolio-item:hover {
  transform: translateY(-15px);
  box-shadow: var(--shadow-2xl);
}
.portfolio-image {
  width: 100%;
  height: 180px;
  background: var(--gradient-primary);
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}
.portfolio-item:nth-child(1) .portfolio-image {
  background-image: url("/assets/html/images/working-business-women.jpg");
}
.portfolio-item:nth-child(2) .portfolio-image {
  background-image: url("/assets/html/images/computer-desk-stickers.jpg");
}
.portfolio-item:nth-child(3) .portfolio-image {
  background-image: url("/assets/html/images/curved-display-pinky-girl.jpg");
}
.portfolio-item:nth-child(4) .portfolio-image {
  background-image: url("/assets/html/images/dashboard-interfaces-transparent-displays.jpg");
}
.portfolio-item:nth-child(5) .portfolio-image {
  background-image: url("/assets/html/images/marketing-strategy-women.jpg");
}
.portfolio-item:nth-child(6) .portfolio-image {
  background-image: url("/assets/html/images/portfolio-website-girl.jpg");
}
.portfolio-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.3) 0%,
    rgba(0, 0, 0, 0.1) 100%
  );
  transition: all 0.3s ease;
}
.portfolio-item:hover .portfolio-image::before {
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.4) 0%,
    rgba(139, 92, 246, 0.3) 100%
  );
}
.portfolio-content {
  padding: 2rem;
}
.portfolio-content h4 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
}
.portfolio-content p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}
.portfolio-tech {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.tech-tag {
  padding: 0.4rem 1rem;
  background: var(--bg-secondary);
  color: var(--text-secondary);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.3s ease;
}
.tech-tag:hover {
  background: var(--primary-color);
  color: var(--text-light);
}

/* ======================================================================
   11) Custom Sections (Benefits / Models / Promo / Why Us for Geely)
   ====================================================================== */
.section-title-simple {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 1.5rem;
}

/* Benefits */
.benefits {
  padding: 1rem 2rem;
}

/* layout */
.benefit-grid {
  display: grid;
  gap: 1rem;
  max-width: 480px;
  margin: auto;
}

/* card */
.benefit-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  padding: 1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

/* image */
.benefit-card img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 1rem;
  object-fit: cover;
}

/* text */
.benefit-card h4 {
  font-weight: 700;
  margin: 0.4rem 0;
  font-size: 1.15rem;
  color: #111827;
}
.benefit-card p {
  font-weight: 400;
  font-size: 0.95rem;
  color: #374151;
  line-height: 1.45;
  min-height: 70px;
}

/* --- Responsive --- */
@media (min-width: 768px) {
  .benefit-grid {
    max-width: 100%;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    align-items: start;
  }

  .benefit-card {
    padding: 1.25rem;
  }
}

@media (min-width: 1200px) {
  .benefit-grid {
    grid-template-columns: repeat(3, 1fr); /* สามารถปรับเป็น 2 ได้ ถ้ารูปน้อย */
  }
}

.benefit-card,
.whyus-card {
  opacity: 0;
  -webkit-transform: translateY(40px); /* ✅ รองรับ Safari */
  transform: translateY(40px);
  -webkit-transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, transform;
}

.benefit-card.animate,
.whyus-card.animate {
  opacity: 1;
  -webkit-transform: translateY(0); /* ✅ Safari */
  transform: translateY(0);
}

/* Why Us */
/* Section Background */
.whyus {
  position: relative;
  padding: 3rem 1.5rem;
  text-align: center;
  color: #fff;

  /* ปรับ background */
  background: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.45)),
    url("../images/why-bg.png") center center / cover no-repeat;

  background-attachment: fixed; /* ให้ภาพดูนิ่ง (parallax-like) */
  background-position: center top;
  background-size: cover;
  overflow: hidden;
}

/* เพิ่ม overlay มืดขึ้น */
.whyus::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7); /* ปรับความเข้มได้ */
  z-index: 0;
}

/* เนื้อหาข้างในต้องอยู่เหนือ overlay */
.whyus > * {
  position: relative;
  z-index: 1;
}

.whyus .section-title {
  margin-bottom: 2rem;
}

/* Logo */
.whyus-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin: 3rem;
}
.whyus-logo {
  height: 45px;
  width: auto;
}

@media (max-width: 468px) {
  .whyus-logo {
    height: 29px;
  }
}

/* Card Grid */
.whyus-grid {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
}

.whyus-card {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.15),
    rgba(255, 255, 255, 0.05)
  );
  border-radius: 12px;
  padding: 1.2rem;
  text-align: center;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whyus-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.whyus-card h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: #fff;
}

.whyus-card p {
  font-size: 0.95rem;
  color: #f3f4f6;
}

@media (max-width: 768px) {
  .whyus {
    background-attachment: scroll;
    background-position: center;
  }
}

/* ======================================================================
   12) Footer (Fancy gradient + links)
   ====================================================================== */
/* ======================================================================
   Footer (ATTA)
   ====================================================================== */
.footer {
  background: #000;
  color: #fff;
  padding: 2rem 0 1.5rem;
  position: relative;
  overflow: hidden;
}

.footer-wrap {
  display: grid;
  gap: 1.25rem;
}

/* โลโก้ */
.footer-logo {
  height: 48px; /* ปรับได้ตามไฟล์จริง */
  width: auto;
  display: block;
}

/* ที่อยู่ + ปุ่มแผนที่ */
.footer-address p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0.75rem 0 1rem;
}

.btn-map {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1rem;
  border: 2px solid #fff;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}
.btn-map:hover {
  opacity: 0.85;
}

/* ติดต่อเรา */
.footer-contact h4 {
  font-weight: 400;
  margin: 0.5rem 0 0.25rem;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 1rem;
}
.contact-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0.6rem 0;
}
.contact-list a {
  color: #fff;
  text-decoration: none;
  font-weight: 400; /* เบอร์/ไลน์ให้เด่นตามภาพ */
}
.contact-list a:hover {
  opacity: 0.85;
}

/* ไอคอนแบบ placeholder: ใส่ไฟล์ svg จริงของคุณแทน url ด้านล่างได้เลย */
.icon {
  width: 22px;
  height: 22px;
  display: inline-block;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  filter: invert(1); /* ให้เป็นสีขาวทันที */
}
.i-map {
  background-image: url("../icons/map.svg");
}
.i-phone {
  background-image: url("../icons/phone.svg");
}
.i-line {
  background-image: url("../icons/line.svg");
}

/* Social */
.social-list {
  display: flex;
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 0.25rem 0 0;
}
.social-list .icon {
  width: 24px;
  height: 24px;
  opacity: 0.92;
}
.social-list .icon:hover {
  opacity: 1;
}

.social-list a i {
  color: #fff;
}

.i-fb {
  background-image: url("../icons/facebook.svg");
}
.i-ig {
  background-image: url("../icons/instagram.svg");
}
.i-x {
  background-image: url("../icons/x.svg");
}
.i-tt {
  background-image: url("../icons/tiktok.svg");
}
.i-yt {
  background-image: url("../icons/youtube.svg");
}

/* ======================================================================
   13) Animation Helpers
   ====================================================================== */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.fade-in.animate {
  opacity: 1;
  transform: translateY(0);
}
.slide-in-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.slide-in-left.animate {
  opacity: 1;
  transform: translateX(0);
}
.slide-in-right {
  opacity: 0;
  transform: translateX(60px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.slide-in-right.animate {
  opacity: 1;
  transform: translateX(0);
}

/* ======================================================================
   14) Responsive
   ====================================================================== */
@media (max-width: 1024px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  .about-content {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  .hero h1 {
    font-size: 4rem;
  }
}
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .hero h1 {
    font-size: 3rem;
  }
  .hero .subtitle {
    font-size: 1.1rem;
  }
  .section-title {
    font-size: 2.5rem;
  }
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
  .container {
    padding: 0 1.5rem;
  }
  section {
    padding: 5rem 0;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .about-text h3 {
    font-size: 2rem;
  }
  .skills {
    margin-top: 2rem;
  }
  .benefit-grid,
  .whyus-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 480px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  .section-title {
    font-size: 2rem;
  }
  .nav-container {
    padding: 0 1rem;
  }
  .container {
    padding: 0 2rem;
  }
  .mobile-nav-links a {
    font-size: 1.8rem;
  }
}

/* ===== CTA strip under hero ===== */
.cta-strip {
  position: relative;
  width: 100%;
  /* ใช้ภาพ bg ตามที่แนบ + เผื่อ fallback gradient */
  background: url("../images/cta-bg.png") center/cover no-repeat;
  padding: 12px 0;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

.cta-geely {
  font-size: 24px;
  color: #fff;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.cta-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
}

.cta-title {
  color: #fff;
  font-size: 20px;
  line-height: 1.1;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  margin: 2px 0 6px;
}

.cta-logo {
  height: 22px; /* ใกล้เคียงภาพตัวอย่าง */
  width: auto;
  display: block;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.25));
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 118px;
  border: 1px solid #fff;
  color: #fff;
  font-weight: 400;
  font-size: 20px;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}
.btn-cta:hover {
  opacity: 0.95;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.25);
}
.btn-cta:active {
  transform: translateY(1px);
}

.cta-strip {
  position: sticky; /* ติดใต้จุดบนของ viewport */
  top: calc(var(--nav-height) + env(safe-area-inset-top, 0px));
  z-index: 999; /* ต่ำกว่า navbar (ซึ่งมักตั้ง 1000) */
  left: 0;
  right: 0; /* ให้เต็มความกว้าง */
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18); /* เงาเล็กน้อย เวลา sticky */
  will-change: top;
}

/* Responsive tweaks */
@media (min-width: 768px) {
  .cta-strip {
    padding: 14px 0;
  }
  .cta-title {
    font-size: 1.1rem;
  }
  .cta-logo {
    height: 24px;
  }
}

.model-promotion-car {
  position: absolute;
  width: 25%;
  bottom: 4%;
  left: 38%;
}

/* Register Section */
.register {
  background: #fff;
  padding: 3rem 1.5rem;
  text-align: left;
}

.register .section-title {
  margin-bottom: 1.5rem;
}

.register-form {
  display: grid;
  gap: 1.5rem;
  max-width: 500px;
  margin: 0 auto;
}

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

.form-group label {
  font-size: 16px;
  color: #000;
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="email"],
.form-group .form-select {
  border: none;
  border-bottom: 1px solid #000;
  padding: 0.5rem 0;
  font-size: 1rem;
  outline: none;
}

.form-group .form-select {
  background: none;
  color: #fff;
  border-bottom: 1px solid #fff;
  border-radius: 0;
}

.form-options {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.95rem;
}

.form-group small {
  color: #555;
  font-size: 0.8rem;
}

.btn-register,
.btn-ok {
  display: block;
  width: 100%;
  padding: 1rem;
  border: none;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  background: #3a7ff8;
  transition: opacity 0.3s ease;
}
.btn-register:hover {
  opacity: 0.85;
}

/* Modal */
.modal {
  display: none; /* hidden by default */
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: #fff;
  border-radius: 8px;
  max-width: 500px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  padding: 1.5rem;
  position: relative;
  animation: fadeIn 0.3s ease;
}

.modal-content h3 {
  margin-bottom: 30px;
  font-size: 32px;
  font-weight: 400;
  text-align: center;
  margin-top: 30px;
}

.modal-body {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #333;
}

.modal-body h4 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 1.2rem 0 0.5rem;
  color: #444;
}

.modal-body ul {
  padding-left: 1.2rem;
  margin: 0.5rem 0 1rem;
}

.modal-body ul li {
  margin-bottom: 0.4rem;
  list-style: disc;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.modal-close img {
  width: 28px;
  height: 28px;
  display: block;
}

#openModal {
  color: #fff;
  text-decoration: underline;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Gallery Section */
.gallery {
  padding: 2rem 1rem;
  text-align: center;
  max-width: 860px;
  margin: auto;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.gallery-grid img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  cursor: pointer;
  transition: transform 0.2s;
}
.gallery-grid img:hover {
  transform: scale(1.02);
}

/* Modal */
.gallery-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.gallery-modal-img {
  max-width: 90%;
  max-height: 80%;
  margin: auto;
  border-radius: 8px;
  animation: fadeIn 0.3s ease;
}

.gallery-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
}

/* Navigation arrows */
.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 2rem;
  color: #fff;
  padding: 0.5rem 1rem;
  cursor: pointer;
  border-radius: 6px;
}
.gallery-nav:hover {
  background: none;
}
.gallery-nav.prev {
  left: 20px;
}
.gallery-nav.next {
  right: 20px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media (max-width: 468px) {
  .model-car {
    width: 90%;
  }
  .model-promotion-car {
    width: 60%;
    bottom: 0;
    left: 20%;
  }
}

@media (max-width: 468px) {
  .model-hero-car {
    width: 80%;
  }
}

/* ======================================================================
   End of main.css
   ====================================================================== */

/* ===== Navbar (Geely ATTA Combined Logo + Social Icons) ===== */
#navbar {
  background: #000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.5rem 1.2rem;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  height: 44px; /* ปรับให้สมส่วนกับภาพ */
  width: auto;
  display: block;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

/* social icons */
.social-icons {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.social-link {
  color: #fff;
  font-size: 1.25rem;
  transition: opacity 0.2s ease;
}

.social-link:hover {
  opacity: 0.8;
}

/* hamburger menu */
.mobile-menu-toggle {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  padding: 0.3rem;
}
.mobile-menu-toggle img {
  width: 24px;
  height: 24px;
}

@media (max-width: 468px) {
  img.logo {
    height: 21px;
    object-fit: contain;
  }
}

/* ===== Mobile Menu: Social Icons in last li ===== */
.mobile-nav-links li.mobile-social-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.2rem;
  margin-top: 2.5rem;
}

.mobile-nav-links li.mobile-social-icons a {
  color: #fff;
  font-size: 1.5rem;
  transition: opacity 0.3s ease;
}

.mobile-nav-links li.mobile-social-icons a:hover {
  opacity: 0.8;
}

/* ===== Hero Slider ===== */
.hero {
  position: relative;
  color: #fff;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* slides container (เต็มฉากหลัง) */
.hero-slides {
  position: absolute;
  inset: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* slide item */
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center bottom;
  opacity: 0;
  transition: opacity 800ms ease;
  will-change: opacity;
}
.hero-slide.is-active {
  opacity: 1;
}

/* dot indicators */
.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 113px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}
.hero-dots button {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
}
.hero-dots button[aria-selected="true"] {
  width: 18px;
  background: #3a7ff8;
}

/* inner grid (text + form) */
.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1280px;
  padding: 80px 20px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-text {
  text-align: center;
}
.hero-text2 {
  position: absolute;
  top: 165px;
  z-index: 1;
  left: 60px;
}
.hero-text h1 {
  font-size: 40px;
  line-height: 1.1;
  margin-bottom: 12px;
  text-shadow: 0 3px 6px rgba(0, 0, 0, 0.4);
}
.hero-subtitle {
  font-size: 20px;
  margin-bottom: 24px;
  text-shadow: 0 3px 6px rgba(0, 0, 0, 0.4);
}

/* overlay form card */
.register-card {
  background: #000;
  border-radius: 16px;
  padding: 24px;
  width: 100%;
  max-width: 500px;
  margin-top: 40px;
}
.register-card h3 {
  color: #fff;
  font-size: 22px;
  margin-bottom: 16px;
  margin-left: 0;
}
.register-card .form-group label,
.register-card .form-group small {
  color: #fff;
}
.register-card input[type="text"],
.register-card input[type="tel"],
.register-card input[type="email"],
.register-card input[type="date"] {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.7);
  color: #fff;
  padding: 0.5rem 0;
}

/* Desktop layout */
@media (min-width: 1024px) {
  .hero-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0 4rem;
  }
  .hero-text {
    text-align: left;
    flex: 1;
  }
  .hero-text h1 {
    font-size: 64px;
  }
  .hero-subtitle {
    font-size: 28px;
  }
  .register-card {
    margin-top: 0;
  }
  .hero-text2 {
    display: none;
  }
}

@media (max-width: 468px) {
  .register-card {
    position: absolute;
    width: 80%;
    bottom: -696px;
  }
  .hero {
    position: unset;
    min-height: 1750px;
  }
  .hero-inner {
    margin-top: 150px;
    background-color: #3a7ff8;
    padding: 40px 20px 40px;
  }
}
/* ======================================================================
   MODELS SECTION — fresh stylesheet (replace old models CSS)
   ====================================================================== */

/* ---- Section shell ---- */
.models {
  background: #fff; /* พื้นเทาอ่อนตาม mock */
  padding: 20px 0 24px;
}

.section-box-title {
  background: transparent;
  padding: 8px 16px 4px;
}

/* ---- Horizontal card list (scrollable on mobile) ---- */
.model-choices {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(180px, 44vw); /* การ์ดกว้างพอในมือถือ */
  gap: 12px;
  padding: 8px 16px 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.model-choices::-webkit-scrollbar {
  height: 0;
}

/* ---- Model Card (button) ---- */
.model-card {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  width: 100%;
  height: 220px;
  padding: 14px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
  box-shadow: 0 2px 8px rgba(17, 24, 39, 0.08);
  cursor: pointer;
  scroll-snap-align: start;
  transition: transform 0.18s ease, box-shadow 0.18s ease,
    border-color 0.18s ease;
}

.model-card:hover {
  transform: translateY(-2px);
}
.model-card:active {
  transform: translateY(-1px);
}

/* focus-visible สำหรับคีย์บอร์ด */
.model-card:focus-visible {
  outline: 2px solid #6366f1; /* indigo */
  outline-offset: 2px;
}

/* สถานะ active */
.model-card.active {
  background: linear-gradient(180deg, #eef2ff 0%, #ffffff 100%); /* ฟ้าอ่อน */
  box-shadow: 0 6px 18px rgba(79, 70, 229, 0.18);
  border: 1.5px solid #ffffff;
}

/* ข้อความชื่อบนการ์ด */
.model-card .model-card-name {
  align-self: flex-start;
  margin: 0;
  font-size: 18px;
  line-height: 1.05;
  color: #0b0f19;
  letter-spacing: 0.2px;
}

/* ภาพรถในการ์ด */
.model-card .model-car {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  pointer-events: none;
  user-select: none;
}

/* ---- Selected model view (below cards) ---- */
.model-view {
  background: #f1f1f1;
  padding: 20px;
}

.model-view .model-name {
  font-size: 28px;
  line-height: 1.1;
  margin: 2px 0 2px;
  color: #0b0f19;
  letter-spacing: 0.2px;
}

.model-view .model-trim {
  font-size: 14px;
  letter-spacing: 0.4px;
  color: #6b7280;
}

#colorName {
  margin: 6px 0 6px;
  font-size: 14px;
  color: #6b7280;
}

/* ภาพรถใหญ่ (บริเวณ preview ใต้ชื่อ/สี) */
#modelCar.model-car {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto 0;
  transition: opacity 0.35s ease, transform 0.35s ease;
  will-change: opacity, transform;
}
#modelCar.fade-out {
  opacity: 0;
  transform: scale(0.98);
}

/* ---- Color dots ---- */
.color-options {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 4px 0 10px;
}

.color {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 2px solid #e5e7eb;
  box-shadow: 0 1px 2px rgba(17, 24, 39, 0.12);
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.color:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.18);
}
.color:focus-visible {
  outline: 2px solid #111;
  outline-offset: 2px;
}
.color.active {
  outline: 1px solid #000;
  outline-offset: 1px;
}

/* ---- Desktop layout ---- */
@media (min-width: 1024px) {
  .models {
    padding: 24px 0 28px;
  }

  /* แสดงการ์ดเป็นกริด 2 คอลัมน์ (หรือมากกว่าเมื่อกว้าง) */
  .model-choices {
    padding: 10px 24px 18px;
    grid-auto-flow: row;
    grid-auto-columns: unset;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    overflow: visible;
  }
  .model-card {
    height: auto;
  }

  .model-view {
    padding: 22px 18px 16px;
  }

  .model-view .model-name {
    font-size: 34px;
  }
  #modelCar.model-car {
    max-width: 880px;
  }
}

/* ---- Extra wide screens ---- */
@media (min-width: 1440px) {
  .model-view {
    padding: 40px;
  }
  #modelCar.model-car {
    max-width: 980px;
  }
}

/* ---- Respect reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  .model-card,
  #modelCar.model-car {
    transition: none !important;
  }
}

/* @media (min-width: 1024px) {
  .model-card {
    width: 50%;
  }
  .model-card .model-car {
    width: 64%;
  }
} */

/* Interior block */
.interior {
  padding: 10px 0 20px;
}
.interior-wrap {
  padding: 14px 14px 16px;
}

.interior-title {
  font-size: 22px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 6px;
}
.interior-color-text {
  font-size: 14px;
  color: #6b7280;
  margin: 0 0 8px;
}

/* รูปภายใน */
.interior-image {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 10px;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.interior-image.is-fading {
  opacity: 0;
  transform: scale(0.985);
}

/* Desktop */
@media (min-width: 1024px) {
  .interior {
    padding: 16px 0 28px;
  }
  .interior-wrap {
    margin: 10px 24px 0;
    padding: 18px 18px 20px;
  }
  .interior-title {
    font-size: 24px;
  }
}

/* ===== Promotion Section ===== */
.promotion {
  background: linear-gradient(180deg, #eef4ff 0%, #f5f7fb 100%);
  padding: 12px 0 22px;
}
.promotion .section-title {
  margin-bottom: 0;
}
.promotion .section-box-title {
  padding: 8px 16px 6px;
}
.promotion .section-subtitle {
  margin: 4px 0 10px;
  color: #4b5563;
  font-size: 14px;
  margin-left: 20px;
}

/* Slider shell */
.promo-slider {
  position: relative;
  margin: 0 16px;
  overflow: hidden;
  height: 450px;
}

/* keep 16:9 aspect; modern browsers */
.promo-slides,
.promo-slide {
  position: relative;
}
.promo-slides {
  list-style: none;
  margin: 0;
  padding: 0;
  height: 100%;
}
.promo-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 600ms ease;
}
.promo-slide.is-active {
  opacity: 1;
}

/* images */
.promo-slide img {
  width: 100%;
  height: auto;
  display: block;
}

/* dots */
.promo-dots {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}
.promo-dots button {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 0;
  background: #d9d9d9;
  cursor: pointer;
}
.promo-dots button[aria-selected="true"] {
  width: 18px;
  background: #3a7ff8;
}

/* arrows (hidden on small) */
.promo-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 0;
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  font-size: 24px;
  line-height: 40px;
  text-align: center;
  cursor: pointer;
  z-index: 2;
  display: none; /* mobile default */
}
.promo-nav.prev {
  left: 8px;
}
.promo-nav.next {
  right: 8px;
}
.promo-nav:hover {
  background: rgba(0, 0, 0, 0.55);
}

@media (min-width: 768px) {
  .promo-nav {
    display: inline-block;
  }
  .promotion {
    padding: 18px 0 28px;
  }
  .promo-slider {
    margin: 0 24px;
  }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  .promo-slide {
    transition: none;
  }
}

@media (min-width: 1024px) {
  .promo-slide img {
    width: unset;
    margin: auto;
  }
  .promo-slider {
    height: 770px;
  }
}

/* ===== Date field on dark card ===== */
.date-group {
  position: relative;
}

/* เส้นใต้ + สีตัวอักษรขาว */
.date-group input[type="date"] {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.7);
  color: #fff;
  padding: 10px 40px 10px 0; /* เว้นที่ให้ไอคอนขวา */
  font: inherit;
  caret-color: #fff;
  color-scheme: dark; /* ให้ native picker ใช้ธีมมืด (ที่รองรับ) */
}

/* โฟกัสดูชัด */
.date-group input[type="date"]:focus {
  outline: none;
  border-bottom-color: #fff;
}

/* ซ่อนไอคอน native แต่ยัง “กดได้” ตรงขวาสุด */
.date-group input[type="date"]::-webkit-calendar-picker-indicator {
  opacity: 0;
  width: 40px;
  height: 32px;
  cursor: pointer;
}

/* ปลอม placeholder ทับด้านบน (เพราะ type=date ไม่โชว์ placeholder) */
.date-placeholder {
  position: absolute;
  right: 40px; /* ไม่ไปทับปุ่มไอคอน */
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.55);
  pointer-events: none;
  font-size: 14px;
}

/* ปุ่มไอคอนปฏิทินด้านขวา */
.date-trigger {
  position: absolute;
  right: 8px;
  top: 70%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #cbd5e1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.date-trigger:hover {
  color: #fff;
}

/* เมื่อฟิลด์มีค่า ให้ซ่อน placeholder */
.date-group.has-value .date-placeholder {
  display: none;
}

/* Loading overlay */
.loading-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.loading-backdrop.show {
  display: flex;
}

.loading-box {
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  border-radius: 12px;
  padding: 18px 22px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  gap: 12px;
  backdrop-filter: blur(3px);
}

/* spinner */
.spinner {
  width: 24px;
  height: 24px;
  border: 3px solid rgba(255, 255, 255, 0.25);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.loading-text {
  margin: 0;
  font-size: 14px;
}
