:root {
  --primary-teal: #008080;
  --secondary-teal: #006666;
  --accent-teal: #20B2AA;
  --primary-white: #ffffff;
  --secondary-white: #f8f9fa;
  --text-dark: #222222;
  --text-medium: #555555;
  --text-light: #f0f0f0;
  --border-color: #e0e0e0;
  --card-background: #ffffff;
  --section-padding-home: 80px 0;
  --section-padding: 80px 20px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--secondary-white);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: var(--primary-teal);
  transition: color 0.3s ease;
}

a:hover {
  color: var(--secondary-teal);
}

ul {
  list-style: none;
}

/* Button */
.btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  font-weight: 600;
  text-align: center;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  border: 2px solid transparent;
}

.btn-primary {
  background-color: var(--primary-teal);
  color: var(--primary-white);
}

.btn-primary:hover {
  background-color: var(--secondary-teal);
  color: var(--primary-white);
}

/* Header */
.main-header {
  background-color: var(--primary-white);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid var(--border-color);
}

.main-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.main-header .logo {
  display: flex;
  align-items: center;
}

.main-header .logo img {
  height: 40px;
  margin-right: 10px;
}

.main-header .logo .logo-text {
  color: var(--text-dark);
  font-size: 28px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.main-nav ul {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav ul li {
  position: relative;
  margin-left: 30px;
}

.main-nav ul li a {
  color: var(--text-dark);
  font-weight: 600;
  padding: 10px 0;
  display: block;
  transition: color 0.3s ease;
  text-decoration: none;
}

.main-nav ul li a:hover {
  color: var(--primary-teal);
}

.main-nav ul li a i {
  margin-left: 5px;
  font-size: 0.8em;
  transition: transform 0.3s ease;
}

.main-header .nav-register-btn a {
  background-color: var(--accent-teal);
  color: var(--primary-white);
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.main-header .nav-register-btn a:hover {
  background-color: var(--secondary-teal);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    min-width: 250px; 
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    border-top: 3px solid var(--primary-orange); 
    border-radius: 0 0 5px 5px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    z-index: 100;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav ul li:hover > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu li a,
.dropdown-menu li span {
    padding: 12px 20px;
    color: var(--primary-black); 
    display: block;
    white-space: nowrap;
    transition: background-color 0.3s ease, color 0.3s ease;
    text-decoration: none;
}

.dropdown-menu li a:hover,
.dropdown-menu li span:hover {
    background-color: #ffffff;
    color: var(--primary-orange); 
}

.dropdown-menu li span i {
    margin-right: 10px;
    color: var(--primary-orange); 
}

.main-nav ul li .dropdown-menu {
    display: block; 
}
.dropdown-menu li {
    display: block;   
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  position: relative;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--accent-teal);
  margin: 5px 0;
  transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
  background-color: var(--accent-teal);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
  background-color: var(--accent-teal);
}

/* Hero Home */
.hero-innovative {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #008080 0%, #006666 100%);
  padding: 70px 20px 50px;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  animation: float 20s ease-in-out infinite;
}

.hero-shape.shape-1 {
  width: 400px;
  height: 400px;
  top: -100px;
  right: -100px;
  animation-delay: 0s;
}

.hero-shape.shape-2 {
  width: 300px;
  height: 300px;
  bottom: -80px;
  left: -80px;
  animation-delay: 5s;
}

.hero-shape.shape-3 {
  width: 200px;
  height: 200px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: 10s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(30px, -30px) scale(1.1); }
  50% { transform: translate(-20px, 20px) scale(0.9); }
  75% { transform: translate(20px, 30px) scale(1.05); }
}

.floating-particles {
  position: absolute;
  width: 100%;
  height: 100%;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  animation: particle-float 15s linear infinite;
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { left: 20%; animation-delay: 2s; }
.particle:nth-child(3) { left: 30%; animation-delay: 4s; }
.particle:nth-child(4) { left: 40%; animation-delay: 1s; }
.particle:nth-child(5) { left: 60%; animation-delay: 3s; }
.particle:nth-child(6) { left: 70%; animation-delay: 5s; }
.particle:nth-child(7) { left: 80%; animation-delay: 2.5s; }
.particle:nth-child(8) { left: 90%; animation-delay: 4.5s; }

@keyframes particle-float {
  0% {
    transform: translateY(100vh) scale(0);
    opacity: 0;
  }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% {
    transform: translateY(-100vh) scale(1);
    opacity: 0;
  }
}

.hero-content-wrapper {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-text-content {
  animation: slideInLeft 1s ease-out;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 8px 20px;
  border-radius: 50px;
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 25px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-badge i {
  color: #FFD700;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 25px;
  color: var(--primary-white);
}

.hero-title .title-line {
  display: block;
}

.hero-title .title-highlight {
  display: block;
  background: linear-gradient(90deg, #20B2AA, #FFD700);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.2rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 35px;
  max-width: 550px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-bottom: 35px;
  flex-wrap: wrap;
}

.stat-item {
  text-align: left;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-white);
  line-height: 1;
  margin-bottom: 5px;
}

.stat-number::after {
  content: '+';
  margin-left: 2px;
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

.hero-cta-group {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.btn-hero-primary {
  background: var(--primary-white);
  color: var(--primary-teal);
}

.btn-hero-primary:hover {
  background: transparent;
  border-color: var(--primary-white);
  color: var(--primary-white);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-hero-secondary {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--primary-white);
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--primary-white);
  transform: translateY(-3px);
}

.hero-visual {
  position: relative;
  height: 500px;
  animation: slideInRight 1s ease-out;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.visual-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 25px;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  transition: all 0.4s ease;
  animation: cardFloat 6s ease-in-out infinite;
}

.visual-card:hover {
  transform: translateY(-10px) !important;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
}

.visual-card i {
  font-size: 2.5rem;
  color: var(--primary-teal);
  margin-bottom: 12px;
  display: block;
}

.visual-card h4 {
  font-size: 1.2rem;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.visual-card p {
  font-size: 0.9rem;
  color: var(--text-medium);
  margin: 0;
}

.card-1 {
  top: 50px;
  left: 0;
  width: 220px;
  animation-delay: 0s;
}

.card-2 {
  top: 50%;
  right: 50px;
  transform: translateY(-50%);
  width: 240px;
  animation-delay: 2s;
}

.card-3 {
  bottom: 50px;
  left: 40px;
  width: 200px;
  animation-delay: 4s;
}

@keyframes cardFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

.hero-circle-graphic {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 350px;
  height: 350px;
  z-index: -1;
}

.circle-outer,
.circle-middle,
.circle-inner {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(32, 178, 170, 0.3);
  animation: rotate 20s linear infinite;
}

.circle-outer {
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.circle-middle {
  width: 70%;
  height: 70%;
  top: 15%;
  left: 15%;
  animation-duration: 15s;
  animation-direction: reverse;
}

.circle-inner {
  width: 40%;
  height: 40%;
  top: 30%;
  left: 30%;
  animation-duration: 10s;
}

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

.hero-scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  z-index: 2;
  animation: bounce 2s ease-in-out infinite;
}

.hero-scroll-indicator i {
  display: block;
  margin-top: 5px;
  font-size: 1.2rem;
}

@keyframes bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 10px); }
}

@media (max-width: 992px) {
  .hero-content-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-description {
    font-size: 1.1rem;
  }

  .hero-visual {
    height: 350px;
    margin-top: 40px;
  }

  .card-1 { top: 20px; left: 10px; width: 180px; }
  .card-2 { top: 45%; right: 10px; width: 200px; }
  .card-3 { bottom: 20px; left: 30px; width: 170px; }

  .hero-circle-graphic {
    width: 280px;
    height: 280px;
  }
}

@media (max-width: 768px) {
  .hero-innovative {
    padding: 100px 20px 80px;
    min-height: 100vh;
  }

  .hero-content-wrapper {
    gap: 0;
  }

  .hero-badge {
    font-size: 0.85rem;
    padding: 6px 16px;
    margin-bottom: 20px;
  }

  .hero-title {
    font-size: 2rem;
    margin-bottom: 20px;
  }

  .hero-description {
    font-size: 1rem;
    margin-bottom: 30px;
    max-width: 100%;
  }

  .hero-stats {
    gap: 30px;
    margin-bottom: 30px;
    justify-content: space-between;
  }

  .stat-item {
    flex: 1;
    min-width: 100px;
  }

  .stat-number {
    font-size: 1.8rem;
  }

  .stat-label {
    font-size: 0.8rem;
  }

  .hero-cta-group {
    gap: 15px;
  }

  .btn-hero {
    padding: 14px 28px;
    font-size: 0.95rem;
    width: 100%;
    justify-content: center;
  }

  .hero-visual {
    height: 300px;
    margin-top: 50px;
    position: relative;
  }

  .visual-card {
    padding: 20px;
  }

  .visual-card i {
    font-size: 2rem;
    margin-bottom: 10px;
  }

  .visual-card h4 {
    font-size: 1rem;
    margin-bottom: 5px;
  }

  .visual-card p {
    font-size: 0.85rem;
  }

  .card-1 {
    top: 0;
    left: 0;
    width: 160px;
  }

  .card-2 {
    top: 40%;
    right: 0;
    transform: translateY(-50%);
    width: 170px;
  }

  .card-3 {
    bottom: 0;
    left: 20%;
    width: 150px;
  }

  .hero-circle-graphic {
    width: 220px;
    height: 220px;
  }

  .hero-shape.shape-1 {
    width: 250px;
    height: 250px;
  }

  .hero-shape.shape-2 {
    width: 200px;
    height: 200px;
  }

  .hero-shape.shape-3 {
    width: 150px;
    height: 150px;
  }

  .hero-scroll-indicator {
    display: none;
  }
}

@media (max-width: 576px) {
  .hero-innovative {
    padding: 90px 15px 60px;
    min-height: auto;
  }

  .hero-badge {
    font-size: 0.8rem;
    padding: 6px 14px;
    margin-bottom: 18px;
  }

  .hero-badge i {
    font-size: 0.9rem;
  }

  .hero-title {
    font-size: 1.75rem;
    margin-bottom: 18px;
  }

  .hero-description {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
  }

  .hero-stats {
    gap: 20px;
    margin-bottom: 25px;
  }

  .stat-item {
    min-width: 90px;
  }

  .stat-number {
    font-size: 1.6rem;
  }

  .stat-label {
    font-size: 0.75rem;
    line-height: 1.3;
  }

  .hero-cta-group {
    flex-direction: column;
    gap: 12px;
  }

  .btn-hero {
    padding: 12px 24px;
    font-size: 0.9rem;
  }

  .btn-hero i {
    font-size: 0.9rem;
  }

  .hero-visual {
    height: 280px;
    margin-top: 40px;
  }

  .visual-card {
    padding: 16px;
  }

  .visual-card i {
    font-size: 1.8rem;
    margin-bottom: 8px;
  }

  .visual-card h4 {
    font-size: 0.95rem;
    margin-bottom: 4px;
  }

  .visual-card p {
    font-size: 0.8rem;
  }

  .card-1 {
    top: 0;
    left: 0;
    width: 140px;
  }

  .card-2 {
    top: 35%;
    right: 0;
    width: 150px;
  }

  .card-3 {
    bottom: 0;
    left: 15%;
    width: 130px;
  }

  .hero-circle-graphic {
    width: 180px;
    height: 180px;
  }

  .hero-shape.shape-1 {
    width: 200px;
    height: 200px;
    top: -50px;
    right: -50px;
  }

  .hero-shape.shape-2 {
    width: 150px;
    height: 150px;
    bottom: -40px;
    left: -40px;
  }

  .hero-shape.shape-3 {
    width: 120px;
    height: 120px;
  }
}

@media (max-width: 400px) {
  .hero-innovative {
    padding: 80px 12px 50px;
  }

  .hero-title {
    font-size: 1.5rem;
  }

  .hero-description {
    font-size: 0.9rem;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 15px;
  }

  .stat-item {
    flex: 1 1 calc(50% - 10px);
    text-align: center;
  }

  .stat-number {
    font-size: 1.5rem;
  }

  .stat-label {
    font-size: 0.7rem;
  }

  .btn-hero {
    padding: 11px 20px;
    font-size: 0.85rem;
  }

  .hero-visual {
    height: 250px;
    margin-top: 35px;
  }

  .card-1 {
    width: 120px;
  }

  .card-2 {
    width: 130px;
    top: 30%;
  }

  .card-3 {
    width: 115px;
    left: 10%;
  }

  .visual-card {
    padding: 14px;
  }

  .visual-card i {
    font-size: 1.6rem;
  }

  .visual-card h4 {
    font-size: 0.85rem;
  }

  .visual-card p {
    font-size: 0.75rem;
  }

  .hero-circle-graphic {
    width: 150px;
    height: 150px;
  }
}

@media (max-width: 768px) and (orientation: landscape) {
  .hero-innovative {
    min-height: auto;
    padding: 80px 20px 40px;
  }

  .hero-content-wrapper {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .hero-visual {
    display: block;
    height: 300px;
    margin-top: 0;
  }

  .hero-stats {
    margin-bottom: 25px;
  }
}

/* About GeM */
.about-gem {
  background-color: var(--primary-white);
  padding: var(--section-padding);
}

.about-gem-content-home {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.about-gem-image-home {
  flex: 1;
  min-width: 300px;
}

.about-gem-image-home img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.about-gem-text-home {
  flex: 2;
  min-width: 350px;
}

.about-gem-text-home h2 {
  font-size: 2.5em;
  color: var(--primary-teal);
  margin-bottom: 20px;
}

.about-gem-text-home p {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: var(--text-medium);
}

.gem-registration-home {
  background-color: var(--secondary-white);
  padding: var(--section-padding-home);
  text-align: center;
}

.gem-registration-home h2 {
  font-size: 2.8em;
  color: var(--text-dark);
  margin-bottom: 50px;
}

/* Benefits */
.registration-benefits-home {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.benefit-card-home {
  background-color: var(--primary-white);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, background-color 0.3s ease;
  border: 1px solid var(--border-color);
}

.benefit-card-home:hover {
  transform: translateY(-10px);
  background-color: var(--secondary-white);
  border-color: var(--primary-teal);
}

.benefit-card-home i {
  font-size: 3em;
  color: var(--primary-teal);
  margin-bottom: 20px;
}

.benefit-card-home h3 {
  font-size: 1.5em;
  color: var(--text-dark);
  margin-bottom: 15px;
}

.benefit-card-home p {
  color: var(--text-medium);
  font-size: 0.95em;
}

/* FAQ */
.faq-section {
  background: var(--secondary-white);
  padding: var(--section-padding-home);
}

.faq-header {
  text-align: center;
  margin-bottom: 50px;
}

.faq-header h2 {
  color: var(--primary-teal);
  font-size: 2.5rem;
  margin-bottom: 15px;
  font-weight: 700;
}

.faq-header p {
  color: var(--text-medium);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: var(--card-background);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 4px 12px rgba(0, 128, 128, 0.1);
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  padding: 20px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
  transition: all 0.3s ease;
}

.faq-question:hover {
  color: var(--primary-teal);
}

.faq-question span {
  flex: 1;
  padding-right: 20px;
}

.faq-question i {
  font-size: 1rem;
  color: var(--primary-teal);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  background: var(--primary-white);
  padding: 0 25px;
}

.faq-item.active .faq-answer {
  max-height: 1000px;
  padding: 0 25px 20px 25px;
}

.faq-answer p {
  color: var(--text-medium);
  line-height: 1.7;
  margin: 0;
  font-size: 1rem;
}

@media (max-width: 768px) {
  .faq-section {
    padding: 60px 20px;
  }

  .faq-header h2 {
    font-size: 2rem;
  }

  .faq-header p {
    font-size: 1rem;
    padding: 0 15px;
  }

  .faq-header {
    margin-bottom: 35px;
  }

  .faq-question {
    padding: 18px 20px;
    font-size: 1rem;
  }

  .faq-question span {
    padding-right: 15px;
  }

  .faq-item.active .faq-answer {
    padding: 0 20px 18px 20px;
  }

  .faq-answer p {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .faq-section {
    padding: 50px 15px;
  }

  .faq-header h2 {
    font-size: 1.75rem;
  }

  .faq-question {
    padding: 15px 18px;
    font-size: 0.95rem;
  }

  .faq-question i {
    font-size: 0.9rem;
  }

  .faq-item {
    margin-bottom: 12px;
  }

  .faq-item.active .faq-answer {
    padding: 0 18px 15px 18px;
  }

  .faq-answer p {
    font-size: 0.9rem;
    line-height: 1.6;
  }
}

/* Footer */
.main-footer {
  background-color: var(--text-dark);
  color: var(--text-light);
  padding: 60px 0 20px;
  font-size: 0.9em;
}

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

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 40px;
}

.footer-col h3 {
  color: var(--text-light);
  font-size: 1.2em;
  margin-bottom: 20px;
  position: relative;
}

.footer-col h3::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background-color: var(--primary-teal);
  margin-top: 10px;
}

.footer-col ul {
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: var(--text-light);
  transition: color 0.3s ease;
}

.footer-col ul li a:hover {
  color: var(--primary-teal);
}

.footer-col p {
  margin-bottom: 10px;
  color: var(--text-light);
}

.footer-col p i {
  margin-right: 10px;
  color: var(--primary-teal);
}

.footer-about .social-links {
  margin-top: 20px;
}

.footer-about .social-links a {
  display: inline-block;
  color: var(--text-light);
  font-size: 1.2em;
  margin-right: 15px;
  transition: color 0.3s ease;
}

.footer-about .social-links a:hover {
  color: var(--primary-teal);
}

.footer-bottom {
  text-align: center;
  padding-top: 5px;
  /* border-top: 1px solid var(--border-color); */
}

/* Inquiry Form */
.form-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.form-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.form-modal {
  background-color: var(--card-background);
  padding: 10px 20px;
  border-radius: 10px;
  position: relative;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transform: translateY(-20px);
  transition: transform 0.3s ease;
}

.form-modal-overlay.active .form-modal {
  transform: translateY(0);
}

.close-modal-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 1.8em;
  color: var(--text-dark);
  cursor: pointer;
  transition: color 0.3s ease;
}

.close-modal-btn:hover {
  color: var(--primary-teal);
}

.modal-header {
  text-align: center;
  margin-bottom: 30px;
}

.modal-header h2 {
  font-size: 2.2em;
  color: var(--primary-teal);
  margin-bottom: 8px;
}

.modal-header p {
  color: var(--text-medium);
  font-size: 1em;
}

.inquiry-form .form-group {
  margin-bottom: 20px;
}

.inquiry-form label {
  display: block;
  font-size: 1em;
  color: var(--text-dark);
  margin-bottom: 8px;
  font-weight: 700;
}

.inquiry-form input[type="text"],
.inquiry-form input[type="email"],
.inquiry-form input[type="tel"] {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  background-color: var(--secondary-white);
  color: var(--text-dark);
  font-size: 1em;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.inquiry-form input[type="text"]:focus,
.inquiry-form input[type="email"]:focus,
.inquiry-form input[type="tel"]:focus {
  border-color: var(--primary-teal);
  outline: none;
  box-shadow: 0 0 0 2px rgba(0, 128, 128, 0.3);
}

.inquiry-form .submit-btn {
  width: 100%;
  padding: 15px;
  font-size: 1.1em;
  margin-top: 20px;
  background-color: var(--primary-teal);
  color: var(--primary-white);
}

@media (max-width: 992px) {
  .main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--text-dark);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateX(100%);
    transition: transform 0.4s ease-in-out;
    margin: 0;
    max-height: 100vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .main-nav.active {
    transform: translateX(0);
  }

  .main-nav ul {
    flex-direction: column;
    text-align: center;
    width: auto;
  }

  .main-nav ul li {
    margin: 15px 0;
    width: 100%;
  }

  .main-nav ul li a {
    padding: 15px 0;
    font-size: 1.3em;
    color: var(--text-light);
    display: block;
    text-align: center;
    width: 100%;
  }

  .dropdown-menu {
    position: static;
    width: 100%;
    box-shadow: none;
    border-top: none;
    border-radius: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    background-color: var(--secondary-teal);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
  }

  .main-nav ul li.dropdown > a.active + .dropdown-menu {
    max-height: 500px;
  }

  .nav-toggle {
    display: block;
  }

  .about-gem-content-home {
    flex-direction: column;
  }

  .about-gem-image-home,
  .about-gem-text-home {
    min-width: unset;
    width: 100%;
  }

  .about-gem-image-home img {
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .main-header .logo .logo-text {
    font-size: 24px;
  }

  .main-nav ul li {
    margin-left: 20px;
  }

  .about-gem-text-home h2 {
    font-size: 2em;
  }

  .gem-registration-home h2 {
    font-size: 2em;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .main-header .logo .logo-text {
    font-size: 20px;
  }

  .btn {
    padding: 8px 15px;
    font-size: 0.9em;
  }
}

/* Other Page */
.hero-section {
  padding: var(--section-padding);
  text-align: center;
  background-color: var(--primary-white);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

.hero-title-wrapper {
  height: 120px;
  overflow: hidden;
  position: relative;
  margin-bottom: 20px;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--primary-teal);
  transition: transform 1s ease-out, opacity 1s ease-out;
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
}

.hero-title.text1 {
  transform: translateY(0);
  opacity: 1;
}

.hero-title.text2 {
  transform: translateY(100%);
  opacity: 0;
}

.hero-title.text2.active {
  transform: translateY(0);
  opacity: 1;
}

.hero-title.text1.hidden {
  transform: translateY(-100%);
  opacity: 0;
}

.hero-subtitle {
  font-size: 1.2em;
  color: var(--text-dark);
  max-width: 800px;
  margin: 0 auto 40px;
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeIn 1s forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cta-buttons .btn {
  margin: 0 10px;
}

.section-title {
  font-size: 2.5em;
  color: var(--text-dark);
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: var(--primary-teal);
  margin: 20px auto 0;
  border-radius: 2px;
}

.service-section {
  padding: var(--section-padding);
  background-color: var(--primary-white);
}

.service-section.alt-background {
  background-color: var(--secondary-white);
}

.service-description {
  font-size: 1.1em;
  color: var(--text-dark);
  max-width: 900px;
  margin: 0 auto 40px;
  text-align: center;
}

.service-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.feature-card {
  background-color: var(--card-background);
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border-top: 4px solid var(--primary-teal);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.feature-title {
  font-size: 1.6em;
  color: var(--primary-teal);
  margin-bottom: 15px;
  font-weight: 600;
}

.feature-text {
  color: var(--text-medium);
  font-size: 0.95em;
}

.benefits-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  position: relative;
  padding-top: 20px;
  margin-top: 50px;
}

@media (min-width: 768px) {
  .benefits-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-teal) 0%, rgba(0, 128, 128, 0) 100%);
    z-index: 0;
    opacity: 0.2;
  }
}

.benefits-timeline .feature-card {
  background-color: var(--card-background);
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border-color);
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.benefits-timeline .feature-card:hover {
  transform: translateY(-10px);
  background-color: var(--secondary-white);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background-color: var(--accent-teal);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 20px;
  box-shadow: 0 0 0 8px rgba(0, 128, 128, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.feature-card:hover .feature-icon {
  background-color: var(--primary-teal);
  transform: scale(1.05);
}

.feature-icon svg {
  width: 40px;
  height: 40px;
  color: var(--primary-white);
  fill: none;
}

.cta-section {
  padding: var(--section-padding);
  background-color: var(--card-background);
  text-align: center;
  border-top: 1px solid var(--border-color);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.3);
  border-radius: 30px;
  margin: 30px auto;
  max-width: 1000px;
  width: 90%;
}

.cta-title {
  font-size: 2.8em;
  color: var(--primary-teal);
  margin-bottom: 25px;
  font-weight: 700;
}

.cta-subtitle {
  font-size: 1.1em;
  color: var(--text-dark);
  max-width: 900px;
  margin: 0 auto 40px;
}

@media (max-width: 992px) {
  .main-nav ul li {
    margin-left: 20px;
  }

  .hero-title {
    font-size: 2.8em;
  }

  .section-title {
    font-size: 2em;
  }

  .cta-title {
    font-size: 2.2em;
  }

  .main-footer .container {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }
}

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

  .hero-title {
    font-size: 2.2em;
  }

  .hero-subtitle {
    font-size: 1em;
  }

  .service-features {
    grid-template-columns: 1fr;
  }

  .benefits-timeline {
    grid-template-columns: 1fr;
  }

  .benefits-timeline::before {
    left: 50%;
    transform: translateX(-50%);
    height: calc(100% - 80px);
  }

  .footer-bottom {
    flex-direction: column;
  }

  .footer-bottom .social-icons {
    margin-top: 20px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.8em;
  }

  .hero-title-wrapper {
    height: 90px;
  }

  .section-title {
    font-size: 1.8em;
  }

  .cta-title {
    font-size: 1.8em;
  }

  .feature-title {
    font-size: 1.4em;
  }

  .btn {
    padding: 10px 20px;
  }

  .modal-header h2 {
    font-size: 1.8em;
  }
}

@keyframes slideUpFadeOut {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(-100%); opacity: 0; }
}

@keyframes slideDownFadeIn {
  0% { transform: translateY(100%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

/* Popup */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.6);
  display: none; 
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.popup-overlay h2 {
  color: var(--primary-teal);
  margin-bottom: 15px;
}

.popup-overlay label {
  text-align: left;
  font-weight: 600;
}

.popup-content {
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  width: 90%;
  max-width: 400px;
  text-align: center;
  position: relative;
}

.popup-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
}

.popup-content form input[type="text"],
.popup-content form button {
  width: 100%;
  margin: 10px 0;
  padding: 10px;
  font-size: 1em;
}

.popup-content form button {
  background-color: var(--primary-teal);
  color: #fff;
  border: none;
  cursor: pointer;
}
