/* ===== Prime First Finance — Design System ===== */

/* --- CSS Custom Properties --- */
:root {
  /* Navy blues — from logo's dark bar/text */
  --blue-900: #0f2b45;
  --blue-800: #152d4a;
  --blue-700: #1a3d5c;
  --blue-600: #1e5278;
  --blue-500: #2176ae;
  --blue-400: #2b8fc9;
  --blue-300: #4fb8db;
  --blue-200: #9dd8ea;
  --blue-100: #d4f0f7;
  --blue-50: #edf9fc;

  /* Teal/Cyan — from logo's mid bars */
  --teal-600: #0a8a7a;
  --teal-500: #0e9aa7;
  --teal-400: #14b8a6;
  --teal-300: #5dd4c8;
  --teal-200: #a7ebe4;
  --teal-50: #ecfdf9;

  /* Green — from logo's arrow and "FIRST" text */
  --green-600: #4a9e28;
  --green-500: #5fb832;
  --green-400: #7ec842;
  --green-300: #9ed96a;
  --green-200: #c8eea8;
  --green-50: #f0fbe6;

  --white: #ffffff;
  --gray-50: #f8fafb;
  --gray-100: #eef1f4;
  --gray-200: #dde2e8;
  --gray-300: #b8c1cd;
  --gray-400: #8a95a5;
  --gray-500: #5f6d7e;
  --gray-600: #475569;
  --gray-700: #2d3a4a;
  --gray-800: #1a2332;

  --gradient-hero: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-700) 35%, var(--teal-500) 100%);
  --gradient-accent: linear-gradient(135deg, var(--teal-500), var(--green-500));
  --gradient-card: linear-gradient(180deg, var(--white) 0%, var(--teal-50) 100%);
  --gradient-cta: linear-gradient(135deg, var(--blue-700) 0%, var(--teal-500) 50%, var(--green-500) 100%);

  --shadow-sm: 0 1px 3px rgba(15, 43, 69, 0.06);
  --shadow-md: 0 4px 16px rgba(15, 43, 69, 0.08);
  --shadow-lg: 0 8px 32px rgba(15, 43, 69, 0.12);
  --shadow-xl: 0 16px 48px rgba(15, 43, 69, 0.16);
  --shadow-card-hover: 0 12px 40px rgba(14, 154, 167, 0.18);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  --max-width: 1200px;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-family);
  color: var(--gray-700);
  background: var(--gray-50);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* --- Utilities --- */
.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
}

.section {
  padding: 90px 0;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--teal-500);
  margin-bottom: 12px;
}

.section-label::before {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--gradient-accent);
  border-radius: 2px;
}

.section-title {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 800;
  color: var(--blue-900);
  line-height: 1.25;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 17px;
  color: var(--gray-500);
  max-width: 600px;
  line-height: 1.7;
}

.section-header {
  margin-bottom: 50px;
}

.text-center {
  text-align: center;
}

.text-center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

.text-center .section-label::before {
  display: none;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-family);
  font-size: 15px;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.12);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.btn:hover::after {
  opacity: 1;
}

.btn-primary {
  background: var(--gradient-accent);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(14, 154, 167, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(95, 184, 50, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-blue {
  background: transparent;
  color: var(--blue-600);
  border: 2px solid var(--blue-200);
}

.btn-outline-blue:hover {
  background: var(--blue-50);
  border-color: var(--blue-400);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--blue-700);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.15);
}

.btn-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* --- Header / Navbar --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all var(--transition-base);
  background: transparent;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 20px rgba(10, 30, 61, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  transition: padding var(--transition-base);
}

.header.scrolled .header-inner {
  padding: 12px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.3px;
  transition: color var(--transition-base);
}

.header.scrolled .logo {
  color: var(--blue-900);
}

.logo-icon {
  width: 120px;
  height: 45px;
  flex-shrink: 0;
}

.logo-icon img {
  width: 100%;
  height: 100%;
  /* object-fit: contain; */
  /* filter: brightness(0) invert(1); */
  transition: filter var(--transition-base);
}

.header.scrolled .logo-icon img {
  filter: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.nav-link:hover,
.nav-link.active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

.header.scrolled .nav-link {
  color: var(--gray-600);
}

.header.scrolled .nav-link:hover,
.header.scrolled .nav-link.active {
  color: var(--blue-600);
  background: var(--blue-50);
}

.nav-cta {
  margin-left: 12px;
}

.nav-cta .btn {
  padding: 10px 24px;
  font-size: 14px;
}

.header.scrolled .nav-cta .btn-primary {
  background: var(--gradient-accent);
}

/* Mobile menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.header.scrolled .menu-toggle span {
  background: var(--blue-900);
}

.menu-toggle.open span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--gradient-hero);
  overflow: hidden;
  padding-top: 80px;
}

.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -15%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(14, 154, 167, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(95, 184, 50, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(30px, -30px); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  color: var(--teal-200);
  margin-bottom: 28px;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: #34d399;
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 {
  font-size: clamp(36px, 5.5vw, 60px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.12;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--teal-300), var(--green-400));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 540px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 56px;
  padding-top: 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stat-value {
  font-size: 28px;
  font-weight: 800;
  color: var(--white);
}

.hero-stat-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 4px;
}

/* Decorative shapes */
.hero-shapes {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 45%;
  z-index: 1;
  overflow: hidden;
}

.shape {
  position: absolute;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(4px);
}

.shape-1 {
  width: 280px;
  height: 280px;
  top: 18%;
  right: 12%;
  border-radius: 32px;
  transform: rotate(15deg);
  animation: shape-float 12s ease-in-out infinite;
}

.shape-2 {
  width: 180px;
  height: 180px;
  bottom: 22%;
  right: 30%;
  border-radius: 24px;
  transform: rotate(-10deg);
  animation: shape-float 9s ease-in-out infinite reverse;
}

.shape-3 {
  width: 120px;
  height: 120px;
  top: 35%;
  right: 42%;
  border-radius: 20px;
  transform: rotate(25deg);
  animation: shape-float 7s ease-in-out infinite 1s;
}

@keyframes shape-float {
  0%, 100% { transform: rotate(var(--r, 15deg)) translate(0, 0); }
  33% { transform: rotate(var(--r, 15deg)) translate(10px, -15px); }
  66% { transform: rotate(var(--r, 15deg)) translate(-8px, 10px); }
}

/* --- About Section --- */
.about {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 32px;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: var(--blue-50);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
}

.about-feature:hover {
  background: var(--blue-100);
  transform: translateY(-2px);
}

.about-feature-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--gradient-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--white);
  font-size: 18px;
}

.about-feature-text {
  font-size: 14px;
  font-weight: 600;
  color: var(--blue-900);
  line-height: 1.4;
}

.about-image {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--gradient-hero);
}

.about-image-inner {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  text-align: center;
  color: var(--white);
}

.about-image-icon {
  font-size: 64px;
  margin-bottom: 16px;
}

.about-image-text {
  font-size: 20px;
  font-weight: 700;
}

.about-image-sub {
  font-size: 14px;
  opacity: 0.7;
  margin-top: 4px;
}

.about-description {
  font-size: 16px;
  color: var(--gray-500);
  line-height: 1.8;
}

/* --- Services Section --- */
.services {
  background: var(--gray-50);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: all var(--transition-base);
  border: 1px solid var(--gray-100);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card-hover);
  border-color: transparent;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--blue-50);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
  transition: all var(--transition-base);
}

.service-card:hover .service-icon {
  background: var(--gradient-accent);
  transform: scale(1.08);
}

.service-card:hover .service-icon svg {
  color: var(--white);
}

.service-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--blue-900);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.7;
}

.service-card .learn-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--teal-500);
  opacity: 0;
  transform: translateY(8px);
  transition: all var(--transition-base);
}

.service-card:hover .learn-more {
  opacity: 1;
  transform: translateY(0);
}

/* --- Why Choose Us --- */
.why-us {
  background: var(--white);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

.why-card {
  text-align: center;
  padding: 32px 20px;
  border-radius: var(--radius-lg);
  background: var(--gradient-card);
  border: 1px solid var(--gray-100);
  transition: all var(--transition-base);
}

.why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.why-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--blue-50);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  transition: all var(--transition-base);
}

.why-card:hover .why-icon {
  background: var(--gradient-accent);
  transform: scale(1.1);
  box-shadow: 0 8px 24px rgba(14, 154, 167, 0.3);
}

.why-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--blue-900);
  line-height: 1.4;
}

/* --- How It Works --- */
.how-it-works {
  background: var(--blue-900);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.how-it-works::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(14, 154, 167, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.how-it-works .section-label {
  color: var(--green-400);
}

.how-it-works .section-title {
  color: var(--white);
}

.how-it-works .section-subtitle {
  color: rgba(255, 255, 255, 0.6);
}

.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(14, 154, 167, 0.4), transparent);
}

.step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 2px solid rgba(14, 154, 167, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
  color: var(--green-300);
  transition: all var(--transition-base);
}

.step:hover .step-number {
  background: var(--gradient-accent);
  border-color: var(--teal-400);
  color: var(--white);
  transform: scale(1.1);
  box-shadow: 0 0 30px rgba(14, 154, 167, 0.45);
}

.step h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
}

.step p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.5;
}

/* --- CTA Banner --- */
.cta-banner {
  background: var(--gradient-cta);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-banner h2 {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}

.cta-banner p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 32px;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Contact Page --- */
.contact-hero {
  background: var(--gradient-hero);
  padding: 140px 0 60px;
  text-align: center;
  color: var(--white);
}

.contact-hero h1 {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800;
  margin-bottom: 12px;
}

.contact-hero p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.7);
}

.contact-section {
  padding: 60px 0 80px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  border: 1px solid var(--gray-100);
  transition: all var(--transition-base);
}

.contact-card:hover {
  box-shadow: var(--shadow-md);
  border-color: transparent;
  transform: translateY(-3px);
}

.contact-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--blue-50);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.contact-card h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--blue-900);
  margin-bottom: 4px;
}

.contact-card p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.5;
}

.contact-card a {
  color: var(--teal-500);
  font-weight: 500;
  transition: color var(--transition-fast);
}

.contact-card a:hover {
  color: var(--teal-600);
}

/* Enquiry Form */
.enquiry-form-wrapper {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px;
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-md);
}

.enquiry-form-wrapper h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--blue-900);
  margin-bottom: 8px;
}

.enquiry-form-wrapper > p {
  font-size: 14px;
  color: var(--gray-400);
  margin-bottom: 28px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 13px 16px;
  font-family: var(--font-family);
  font-size: 15px;
  color: var(--gray-700);
  background: var(--gray-50);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  outline: none;
}

.form-control:focus {
  border-color: var(--blue-400);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(26, 109, 212, 0.08);
}

.form-control::placeholder {
  color: var(--gray-300);
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%238a95a8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 44px;
  cursor: pointer;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.btn-submit {
  width: 100%;
  padding: 16px;
  font-size: 16px;
}

/* Form Success Message */
.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}

.form-success.show {
  display: block;
}

.form-success-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  background: #dcfce7;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  animation: success-pop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes success-pop {
  0% { transform: scale(0); }
  100% { transform: scale(1); }
}

.form-success h4 {
  font-size: 20px;
  font-weight: 700;
  color: var(--blue-900);
  margin-bottom: 8px;
}

.form-success p {
  font-size: 15px;
  color: var(--gray-500);
}

/* --- Legal Pages (Privacy, Terms) --- */
.legal-hero {
  background: var(--gradient-hero);
  padding: 140px 0 60px;
  text-align: center;
  color: var(--white);
}

.legal-hero h1 {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800;
  margin-bottom: 10px;
}

.legal-hero p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.65);
}

.legal-content {
  padding: 60px 0 80px;
}

.legal-body {
  max-width: 800px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 48px 52px;
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
}

.legal-body h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--blue-900);
  margin-top: 36px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--blue-50);
}

.legal-body h2:first-child {
  margin-top: 0;
}

.legal-body p {
  font-size: 15px;
  color: var(--gray-600);
  margin-bottom: 14px;
  line-height: 1.8;
}

.legal-body ul {
  margin-bottom: 14px;
  padding-left: 0;
}

.legal-body ul li {
  font-size: 15px;
  color: var(--gray-600);
  padding: 6px 0 6px 24px;
  position: relative;
  line-height: 1.7;
}

.legal-body ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 8px;
  height: 8px;
  background: var(--blue-400);
  border-radius: 50%;
}

.legal-body a {
  color: var(--teal-500);
  font-weight: 500;
  transition: color var(--transition-fast);
}

.legal-body a:hover {
  color: var(--teal-600);
}

.legal-body .contact-info-block {
  background: var(--blue-50);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-top: 8px;
}

.legal-body .contact-info-block p {
  margin-bottom: 6px;
  font-weight: 500;
}

/* --- Footer --- */
.footer {
  background: var(--blue-900);
  color: var(--white);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-brand .logo {
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
  max-width: 280px;
}

.footer h4 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.9);
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  transition: all var(--transition-fast);
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 6px;
}

.footer-contact li {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}

.footer-contact-icon {
  flex-shrink: 0;
  font-size: 16px;
  margin-top: 2px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  transition: color var(--transition-fast);
}

.footer-bottom-links a:hover {
  color: var(--white);
}

/* --- Scroll Animations --- */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

.animate-on-scroll.delay-1 { transition-delay: 0.1s; }
.animate-on-scroll.delay-2 { transition-delay: 0.2s; }
.animate-on-scroll.delay-3 { transition-delay: 0.3s; }
.animate-on-scroll.delay-4 { transition-delay: 0.4s; }
.animate-on-scroll.delay-5 { transition-delay: 0.5s; }

/* --- Page transitions --- */
.page {
  display: none;
}

.page.active {
  display: block;
  animation: pageFadeIn 0.4s ease-out;
}

@keyframes pageFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .steps {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 30px;
  }

  .steps::before {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-shapes {
    display: none;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-image {
    max-width: 400px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--blue-900);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 30px 30px;
    gap: 4px;
    transition: right var(--transition-base);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.3);
  }

  .nav-links.open {
    right: 0;
  }

  .nav-link {
    width: 100%;
    padding: 14px 18px;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    border-radius: var(--radius-md);
  }

  .nav-link:hover,
  .nav-link.active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
  }

  .header.scrolled .nav-link {
    color: rgba(255, 255, 255, 0.8);
  }

  .header.scrolled .nav-link:hover,
  .header.scrolled .nav-link.active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
  }

  .nav-cta {
    margin-left: 0;
    margin-top: 12px;
    width: 100%;
  }

  .nav-cta .btn {
    width: 100%;
    justify-content: center;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 24px;
  }

  .hero-stat {
    flex: 1;
    min-width: 100px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .legal-body {
    padding: 32px 24px;
  }

  .enquiry-form-wrapper {
    padding: 28px 24px;
  }

  .about-features {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .why-grid {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .btn-group {
    flex-direction: column;
    width: 100%;
  }

  .btn-group .btn {
    width: 100%;
    justify-content: center;
  }

  .cta-banner {
    padding: 50px 0;
  }
}

/* Mobile overlay */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 30, 61, 0.5);
  z-index: 999;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.nav-overlay.open {
  display: block;
  opacity: 1;
}
