:root {
  --primary-color: #EF3340; /* Singapore Red */
  --secondary-color: #0055B7; /* Singapore Blue */
  --light-color: #FFFFFF;
  --dark-color: #222222;
  --accent-color: #FFD700; /* Gold accent */
  --background: #F8F9FA;
  --card-bg: #FFFFFF;
  --gradient: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', 'Noto Sans SC', sans-serif;
  line-height: 1.6;
  color: var(--dark-color);
  background-color: var(--background);
}

a {
  text-decoration: none;
  color: var(--secondary-color);
  transition: var(--transition);
}

a:hover {
  color: var(--primary-color);
}

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

/* Header */
.header {
  background-color: var(--light-color);
  box-shadow: var(--shadow);
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  padding: 15px 0;
}

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

.logo {
  display: flex;
  align-items: center;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
}

.logo svg {
  width: 32px;
  height: 32px;
  margin-right: 10px;
}

.nav-menu {
  display: flex;
  list-style: none;
}

.nav-menu li {
  margin-left: 25px;
}

.nav-menu a {
  font-weight: 500;
  position: relative;
  padding: 5px 0;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

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

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--dark-color);
}

/* Hero Section */
.hero {
  background: var(--gradient);
  color: var(--light-color);
  padding: 160px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cpath fill='%23ffffff' fill-opacity='0.05' d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z'%3E%3C/path%3E%3C/svg%3E");
  opacity: 0.1;
}

.hero-content {
  max-width: 700px;
  text-align: center;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.btn {
  display: inline-block;
  background-color: var(--light-color);
  color: var(--primary-color);
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  color: var(--secondary-color);
}

.btn-accent {
  background-color: var(--accent-color);
  color: var(--dark-color);
}

.btn-accent:hover {
  color: var(--dark-color);
  background-color: #FFE55C;
}

/* Features Section */
.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 2.5rem;
  color: var(--dark-color);
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--gradient);
  border-radius: 2px;
}

.section-title p {
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

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

.feature-card {
  background-color: var(--card-bg);
  border-radius: 10px;
  padding: 40px 30px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border-top: 4px solid transparent;
  text-align: center;
}

.feature-card:nth-child(1) {
  border-color: var(--primary-color);
}

.feature-card:nth-child(2) {
  border-color: var(--secondary-color);
}

.feature-card:nth-child(3) {
  border-color: var(--accent-color);
}

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

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  background-color: rgba(239, 51, 64, 0.1);
  border-radius: 50%;
  margin-bottom: 25px;
}

.feature-card:nth-child(2) .feature-icon {
  background-color: rgba(0, 85, 183, 0.1);
}

.feature-card:nth-child(3) .feature-icon {
  background-color: rgba(255, 215, 0, 0.1);
}

.feature-icon svg {
  width: 35px;
  height: 35px;
}

.feature-card h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: var(--dark-color);
}

/* How it Works Section */
.how-it-works {
  background-color: #F0F4F8;
  position: relative;
}

.steps-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 50px;
  counter-reset: step;
}

.step {
  flex: 1;
  min-width: 250px;
  max-width: 350px;
  position: relative;
  padding-top: 40px;
  text-align: center;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  background: var(--gradient);
  border-radius: 50%;
  color: var(--light-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
}

.step h3 {
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.step-icon {
  margin-bottom: 20px;
}

.step-icon svg {
  width: 60px;
  height: 60px;
}

/* Benefits Section */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.benefit-card {
  background-color: var(--card-bg);
  border-radius: 10px;
  padding: 30px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: flex;
  gap: 20px;
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
  flex: 0 0 50px;
  width: 50px;
  height: 50px;
  color: var(--secondary-color);
}

.benefit-content h3 {
  margin-bottom: 10px;
  color: var(--dark-color);
}

/* CTA Section */
.cta {
  background: var(--gradient);
  color: var(--light-color);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='152' height='152' viewBox='0 0 152 152'%3E%3Cg fill-rule='evenodd'%3E%3Cg id='temple' fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M152 150v2H0v-2h28v-8H8v-20H0v-2h8V80h42v20h20v42H30v8h90v-8H80v-42h20V80h42v40h8V30h-8v40h-42V50H80V8H30v20H8V0h2v8h18v20h42V8h28v20h20V8h2v140h-2v-8h-20v20h-28v-8H30V30H8v60h42v60h18v20H0v-2h8v-18h20v18h42v-18h28v18h64v-20h-28V50h28v18h28V10h-28v18h-28V30h28v-2h-8v-8H80V0h2v8h18v10h28V0h2v128h8V30h-8v8h-20V10zm-42-18h20v20h18v18H128v-18h-20v18h-20v-18h-18v18H50v-18H32v18H18v-18H0v-20h18v-20H0v-18h18v18h32v-18h48v18h32v-18h18v18h20v20H30v18h20v-18z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.1;
}

.cta-content {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cta h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.cta p {
  margin-bottom: 30px;
  font-size: 1.1rem;
  opacity: 0.9;
}

/* Footer */
.footer {
  background-color: #1A1A1A;
  color: #999;
  padding: 60px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(2, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-branding h3 {
  color: #fff;
  font-size: 1.5rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}

.footer-branding h3 svg {
  width: 24px;
  height: 24px;
  margin-right: 10px;
}

.footer-branding p {
  margin-bottom: 20px;
  line-height: 1.7;
}

.footer-links h4 {
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 25px;
  position: relative;
  display: inline-block;
}

.footer-links h4::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 30px;
  height: 3px;
  background-color: var(--primary-color);
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #999;
  transition: var(--transition);
}

.footer-links a:hover {
  color: #fff;
}

.copyright {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 20px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
}

/* Responsive Design */
@media (max-width: 991px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-branding {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    background-color: var(--light-color);
    width: 100%;
    flex-direction: column;
    padding: 20px;
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  }
  
  .nav-menu.active {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }
  
  .nav-menu li {
    margin: 15px 0;
  }
  
  .features-grid,
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  
  .steps-container {
    flex-direction: column;
    align-items: center;
  }
  
  .step {
    max-width: 100%;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-branding {
    grid-column: span 1;
  }
}
