/* =========================================
   GLOBAL / BASE STYLES
========================================= */
:root {
  --container-width: 1160px;
  --section-x: clamp(16px, 3vw, 22px);
  --section-y: clamp(18px, 3.2vw, 30px);

  --text-dark: #1d1d1f;
  --text-soft: #4f5560;
  --text-muted: #6e7683;

  --line-soft: rgba(29, 29, 31, 0.08);
  --line-strong: rgba(29, 29, 31, 0.12);

  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: rgba(255, 255, 255, 0.9);

  --shadow-xs: 0 4px 14px rgba(15, 23, 42, 0.03);
  --shadow-sm: 0 8px 20px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 14px 30px rgba(15, 23, 42, 0.05);

  --accent: #ff9800;
  --accent-dark: #ff7a00;

  --radius-sm: 14px;
  --radius-md: 18px;
  --radius-lg: 24px;
}

html {
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Arial, sans-serif;
}

body {
  min-width: 320px;
  overflow-x: hidden;
  color: var(--text-dark);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.6), transparent 24%),
    linear-gradient(180deg, #f7f8fa 0%, #f3f5f7 100%);
}

img,
svg,
iframe {
  max-width: 100%;
  display: block;
}

/* =========================================
   SHARED SECTION STYLES
========================================= */
section {
  scroll-margin-top: 100px;
  padding: var(--section-y) var(--section-x);
  opacity: 0;
  transform: translateY(28px);
  transition: all 0.55s ease;
}

section.show {
  opacity: 1;
  transform: translateY(0);
}

section:nth-child(odd) {
  transition-delay: 0.06s;
}

section:nth-child(even) {
  transition-delay: 0.12s;
}

section h2 {
  text-align: center;
  margin-bottom: 12px;
  font-size: clamp(28px, 4vw, 32px);
  color: #1f2f39;
  font-weight: 700;
  letter-spacing: -0.2px;
}

.section-divider {
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(29, 29, 31, 0.08),
    transparent
  );
  margin: 2px auto;
  width: min(92%, 1100px);
}

.scroll-anchor {
  position: relative;
  top: -90px;
}

/* =========================================
   NAVBAR
========================================= */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 18px clamp(16px, 4vw, 60px);
  background: rgba(15, 32, 39, 0.92);
  color: white;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}

.navbar.scrolled {
  padding: 11px clamp(16px, 4vw, 60px);
  background: rgba(15, 32, 39, 0.96);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.logo {
  width: 45px;
  height: auto;
  transition: 0.3s ease;
}

.logo:hover {
  transform: scale(1.04);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-title {
  font-size: 20px;
  font-weight: 700;
  color: white;
}

.brand-sub {
  font-size: 13px;
  color: rgba(255, 183, 77, 0.95);
  letter-spacing: 1px;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 18px;
}

nav a {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  position: relative;
}

nav a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 1.5px;
  left: 0;
  bottom: -5px;
  background: var(--accent);
  transition: 0.25s ease;
}

nav a:hover::after {
  width: 100%;
}

/* =========================================
   HERO SECTION
========================================= */
.hero {
  position: relative;
  min-height: clamp(500px, 72vh, 720px);
  padding: 82px 16px 38px;
  background: url("https://images.unsplash.com/photo-1523580846011-d3a5bc25702b")
    center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      120deg,
      rgba(18, 28, 34, 0.66),
      rgba(32, 58, 67, 0.48),
      rgba(44, 83, 100, 0.42)
    );
  background-size: 200% 200%;
  animation: heroGradient 12s ease infinite;
  z-index: 0;
}

@keyframes heroGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero-overlay {
  position: relative;
  z-index: 1;
  width: min(100%, 700px);
  margin-inline: auto;
  background: rgba(16, 22, 26, 0.5);
  padding: clamp(22px, 4.6vw, 40px);
  border-radius: 20px;
  text-align: center;
  color: white;
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.hero-overlay::after {
  content: "";
  position: absolute;
  top: -28px;
  right: -28px;
  bottom: -28px;
  left: -28px;
  background: radial-gradient(
    circle at center,
    rgba(255, 152, 0, 0.1),
    transparent 72%
  );
  z-index: -1;
  border-radius: 26px;
}

.hero-overlay h1 {
  font-size: clamp(30px, 5vw, 44px);
  margin-bottom: 12px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.4px;
}

.hero-overlay p {
  font-size: clamp(16px, 2.2vw, 18px);
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.84);
}

/* =========================================
   HERO BUTTONS / BADGES
========================================= */
.cta {
  position: relative;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  box-shadow: 0 10px 22px rgba(255, 152, 0, 0.22);
  padding: 13px 26px;
  color: white;
  text-decoration: none;
  font-weight: 700;
  border-radius: 999px;
  display: inline-block;
  transition: 0.28s ease;
  overflow: hidden;
}

.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(255, 152, 0, 0.24);
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.rating-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
  background: rgba(255, 255, 255, 0.92);
  color: #203a43;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 13px;
  box-shadow: var(--shadow-xs);
  transition: all 0.28s ease;
}

.rating-badge:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.rating-badge .star {
  color: var(--accent);
  font-size: 16px;
}

.rating-badge .divider {
  color: #c4c7cc;
  margin: 0 4px;
}

.demo-badge {
  display: inline-block;
  background: rgba(255, 152, 0, 0.14);
  color: #ffb347;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
  font-size: 12px;
  letter-spacing: 0.3px;
  border: 1px solid rgba(255, 152, 0, 0.16);
}

/* =========================================
   TRUST STRIP
========================================= */
.trust-strip {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 14px;
  font-size: 14px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.10);
  padding: 8px 12px;
  border-radius: 999px;
  backdrop-filter: blur(8px);
  font-size: 13px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.trust-icon {
  font-size: 15px;
}

/* =========================================
   COURSES SECTION
========================================= */
#courses {
  padding-inline: var(--section-x);
  background:
    linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
}

.course-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: 18px;
  max-width: 1100px;
  margin: auto;
}

.course-card {
  background: var(--surface-strong);
  padding: 22px;
  border-radius: 18px;
  text-align: center;
  box-shadow: var(--shadow-xs);
  border: 1px solid var(--line-soft);
  transition: all 0.3s ease;
  cursor: pointer;
  backdrop-filter: blur(10px);
}

.course-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
  border-color: rgba(255, 152, 0, 0.14);
}

.course-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.course-card p {
  font-size: 14px;
  color: var(--text-soft);
}

/* =========================================
   PROCESS SECTION
========================================= */
#process {
  background:
    linear-gradient(180deg, #fafbfc 0%, #f1f4f7 100%);
  text-align: center;
}

.process-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 18px;
  max-width: 1100px;
  margin: auto;
}

.process-card {
  background: var(--surface-strong);
  padding: 22px;
  border-radius: 18px;
  box-shadow: var(--shadow-xs);
  border: 1px solid var(--line-soft);
  transition: 0.3s ease;
  backdrop-filter: blur(10px);
}

.process-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
  border-color: rgba(255, 152, 0, 0.14);
}

/* =========================================
   REVIEWS + RESULTS
========================================= */
.proof-section {
  background:
    radial-gradient(circle at top left, rgba(255, 152, 0, 0.04), transparent 28%),
    linear-gradient(180deg, #f6f8fa 0%, #eef2f5 100%);
}

.proof-wrapper {
  max-width: var(--container-width);
  margin: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 20px;
  align-items: stretch;
}

.proof-left,
.proof-right {
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}

.proof-left::before,
.proof-right::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(255, 152, 0, 0.06), transparent 70%);
  pointer-events: none;
}

.proof-badge {
  display: inline-block;
  background: rgba(255, 152, 0, 0.08);
  color: #ff8c00;
  font-size: 12px;
  font-weight: 700;
  padding: 7px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
  letter-spacing: 0.3px;
}

.proof-left h2,
.proof-right h2 {
  text-align: left;
  margin-bottom: 8px;
  font-size: clamp(27px, 3vw, 30px);
  color: #1f2f39;
  line-height: 1.2;
  letter-spacing: -0.2px;
}

.proof-subtext {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 16px;
  max-width: 95%;
}

/* Testimonial Side */
.premium-testimonial-card {
  position: relative;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  padding: 24px 18px 16px;
  min-height: 210px;
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.quote-icon {
  position: absolute;
  top: 10px;
  left: 16px;
  font-size: 52px;
  line-height: 1;
  color: rgba(255, 152, 0, 0.12);
  font-family: Georgia, serif;
}

.testimonial-slider {
  position: relative;
  min-height: 108px;
}

.slide {
  display: none;
  text-align: left;
}

.slide.active {
  display: block;
  animation: premiumFade 0.45s ease;
}

.slide p {
  font-size: 15px;
  line-height: 1.7;
  color: #2d3e49;
  margin-bottom: 12px;
}

.slide strong {
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
}

@keyframes premiumFade {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.testimonial-dots {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d7dfe8;
  transition: all 0.3s ease;
}

.dot.active {
  background: var(--accent);
  transform: scale(1.08);
}

.premium-review-btn {
  display: inline-block;
  margin-top: 14px;
  padding: 11px 15px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 16px rgba(255, 152, 0, 0.14);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.premium-review-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 22px rgba(255, 152, 0, 0.18);
}

/* Stats Side */
.premium-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 2px;
}

.premium-stat-card {
  position: relative;
  min-width: 0;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  padding: 18px 10px 14px;
  text-align: center;
  box-shadow: var(--shadow-xs);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.premium-stat-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  border-color: rgba(255, 152, 0, 0.14);
}

.stat-top-line {
  width: 34px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), #ffb347);
  border-radius: 10px;
  margin: 0 auto 10px;
}

.stat-icon-wrap {
  width: 42px;
  height: 42px;
  margin: 0 auto 10px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 152, 0, 0.08);
  font-size: 18px;
}

.premium-stat-card h3 {
  font-size: clamp(26px, 3vw, 32px);
  color: #203a43;
  margin-bottom: 6px;
  line-height: 1;
}

.premium-stat-card p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* =========================================
   ENQUIRY SECTION
========================================= */
.enquiry-section {
  background:
    linear-gradient(180deg, #f0f3f6 0%, #f7f8fa 100%);
}

.enquiry-wrapper {
  max-width: 1150px;
  margin: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 20px;
  align-items: center;
}

.enquiry-left {
  min-width: 0;
  padding: 4px 4px 4px 0;
}

.enquiry-left h2 {
  font-size: clamp(30px, 4vw, 38px);
  line-height: 1.18;
  color: #1f2f39;
  margin-bottom: 8px;
  text-align: left;
  letter-spacing: -0.2px;
}

.enquiry-left p {
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 16px;
}

.enquiry-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.feature-box {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(255, 255, 255, 0.76);
  border-radius: 16px;
  padding: 13px 14px;
  box-shadow: var(--shadow-xs);
  border: 1px solid var(--line-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  backdrop-filter: blur(10px);
}

.feature-box:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.feature-box span {
  font-size: 20px;
  line-height: 1;
  margin-top: 2px;
}

.feature-box h4 {
  margin: 0 0 4px;
  font-size: 15px;
  color: #203a43;
}

.feature-box p {
  margin: 0;
  font-size: 13px;
  color: #666;
  line-height: 1.5;
}

/* Right Card */
.enquiry-right {
  display: flex;
  justify-content: center;
  min-width: 0;
}

.form-card {
  width: 100%;
  max-width: 620px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 20px;
  padding: clamp(20px, 4vw, 24px);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line-soft);
  backdrop-filter: blur(12px);
}

.form-card h3 {
  font-size: clamp(24px, 4vw, 29px);
  color: #1f2f39;
  margin-bottom: 8px;
  letter-spacing: -0.2px;
}

.form-subtext {
  color: #6b7280;
  font-size: 14px;
  margin-bottom: 14px;
}

.modern-form {
  max-width: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.form-grid input,
.form-grid select,
.form-grid textarea {
  width: 100%;
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(29, 29, 31, 0.08);
  border-radius: 14px;
  font-size: 14px;
  background: rgba(250, 251, 253, 0.94);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
}

.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
  outline: none;
  border-color: rgba(255, 152, 0, 0.55);
  box-shadow: 0 0 0 4px rgba(255, 152, 0, 0.08);
  background: #ffffff;
}

.form-grid textarea {
  min-height: 130px;
  resize: vertical;
}

.full-width {
  grid-column: 1 / -1;
}

.enquiry-submit-btn {
  width: 100%;
  margin-top: 10px;
  background: linear-gradient(135deg, #203a43, #2c5364);
  color: #fff;
  border: none;
  padding: 14px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.enquiry-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(32, 58, 67, 0.14);
}

#success-message {
  display: none;
  color: #14833b;
  margin-top: 14px;
  font-weight: 600;
  font-size: 14px;
}

/* =========================================
   CONTACT HIGHLIGHT SECTION
========================================= */
.contact-highlight {
  background: transparent;
  border-radius: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  max-width: 1100px;
  margin: auto;
  flex-wrap: wrap;
  padding-top: 18px;
  padding-bottom: 18px;
}

.contact-left {
  flex: 1 1 300px;
  min-width: 0;
}

.contact-left h2 {
  font-size: clamp(28px, 4vw, 32px);
  margin-bottom: 8px;
  color: #1f2f39;
  letter-spacing: -0.2px;
}

.contact-left h2 span {
  color: #7c4dff;
}

.contact-left p {
  color: #555;
  margin-bottom: 12px;
}

.contact-info p {
  margin: 10px 0;
  color: #333;
}

.contact-info hr {
  border: none;
  border-top: 1px solid #ddd;
  margin: 10px 0;
}

.contact-right {
  flex: 1 1 300px;
  min-width: 0;
}

.contact-right iframe {
  display: block;
  min-height: 280px;
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
}

/* =========================================
   FOOTER
========================================= */
.site-footer {
  background: linear-gradient(135deg, #111827, #1f3642, #27414d);
  color: #eaeaea;
  padding: 48px 20px 20px;
  margin-top: 30px;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(255, 152, 0, 0.10), transparent 70%);
  pointer-events: none;
}

.footer-container-new {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 34px;
}

.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo {
  width: 52px;
  height: auto;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.footer-logo:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.24);
}

.footer-brand h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
}

.footer-brand span {
  font-size: 13px;
  color: var(--gold-soft);
}

.footer-desc {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.6;
  color: #d0d0d0;
}

.footer-links h4,
.footer-contact h4 {
  margin-bottom: 14px;
  font-size: 16px;
  color: #ffffff;
}

.footer-links a {
  display: block;
  margin-bottom: 8px;
  text-decoration: none;
  color: #d0d0d0;
  font-size: 14px;
  transition: 0.25s ease;
}

.footer-links a:hover {
  color: var(--accent);
  transform: translateX(4px);
}

.footer-contact p {
  font-size: 14px;
  margin-bottom: 8px;
  color: #d0d0d0;
}

.footer-map-btn {
  display: inline-block;
  margin-top: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  padding: 8px 14px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.25s ease;
}

.footer-map-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 152, 0, 0.24);
}

.footer-bottom {
  margin-top: 26px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  font-size: 13px;
  color: #cfcfcf;
}

.footer-bottom a {
  color: #00e6ff;   /* visible cyan */
  text-decoration: none;
  font-weight: 500;
}

.footer-bottom a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: calc(160px + env(safe-area-inset-bottom, 0px));
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: white;
  font-size: 22px;
  font-weight: bold;
  cursor: pointer;
  display: none;
  z-index: 1200;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
}

.back-to-top:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28);
}

/* =========================================
   FLOATING ACTION BUTTONS
========================================= */
.floating-buttons {
  position: fixed;
  right: 18px;
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 1300;
}

.floating-btn {
  position: relative;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
}

.floating-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22);
}

.support-btn {
  background: #46b9f3;
}

.support-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.whatsapp-btn {
  background: #63d84e;
  color: white;
}

.whatsapp-btn svg {
  width: 30px;
  height: 30px;
}

.whatsapp-btn::after {
  content: "";
  position: absolute;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(99, 216, 78, 0.25);
  animation: whatsappPulse 2s infinite;
  z-index: -1;
}

@keyframes whatsappPulse {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  70% {
    transform: scale(1.35);
    opacity: 0;
  }
  100% {
    transform: scale(1.35);
    opacity: 0;
  }
}

/* =========================================
   FREE DEMO MODAL
========================================= */
.demo-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 20px;
}

.demo-modal.active {
  display: flex;
}

.demo-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 18, 24, 0.68);
  backdrop-filter: blur(4px);
}

.demo-modal-content {
  position: relative;
  width: min(100%, 620px);
  max-height: min(90vh, 760px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 24px;
  padding: 28px 24px 22px;
  box-shadow: 0 28px 62px rgba(0, 0, 0, 0.20);
  z-index: 1;
  animation: demoModalIn 0.28s ease;
  backdrop-filter: blur(12px);
}

@keyframes demoModalIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.demo-modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 42px;
  height: 42px;
  border: none;
  background: #f4f6f8;
  color: #203a43;
  border-radius: 50%;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: all 0.25s ease;
}

.demo-modal-close:hover {
  background: #203a43;
  color: #ffffff;
  transform: rotate(90deg);
}

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

.demo-modal-badge {
  display: inline-block;
  background: rgba(255, 152, 0, 0.10);
  color: #ff8a00;
  font-weight: 700;
  font-size: 12px;
  padding: 8px 14px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.demo-modal-header h2 {
  margin: 0 0 8px;
  font-size: clamp(24px, 4vw, 30px);
  color: #1f2f39;
  letter-spacing: -0.2px;
}

.demo-modal-header p {
  margin: 0;
  color: #667085;
  font-size: 14px;
}

.demo-form {
  max-width: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.demo-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.demo-form-grid input,
.demo-form-grid select,
.demo-form-grid textarea {
  width: 100%;
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(29, 29, 31, 0.08);
  border-radius: 14px;
  font-size: 14px;
  background: rgba(250, 251, 253, 0.94);
  transition: all 0.25s ease;
}

.demo-form-grid input:focus,
.demo-form-grid select:focus,
.demo-form-grid textarea:focus {
  outline: none;
  border-color: rgba(255, 152, 0, 0.55);
  box-shadow: 0 0 0 4px rgba(255, 152, 0, 0.10);
  background: #ffffff;
}

.demo-form-grid textarea {
  min-height: 120px;
  resize: vertical;
}

.demo-full-width {
  grid-column: 1 / -1;
}

.demo-submit-btn {
  width: 100%;
  margin-top: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #ffffff;
  border: none;
  padding: 14px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(255, 152, 0, 0.18);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.demo-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(255, 152, 0, 0.22);
}

.demo-success-message {
  display: none;
  text-align: center;
  color: #15803d;
  font-weight: 700;
  font-size: 14px;
  margin-top: 14px;
}

body.modal-open {
  overflow: hidden;
}

/* =========================================
   RESPONSIVE
========================================= */
@media (max-width: 1100px) {
  .proof-wrapper,
  .enquiry-wrapper,
  .footer-container-new {
    gap: 18px;
  }
}

@media (max-width: 980px) {
  .proof-wrapper {
    grid-template-columns: 1fr;
  }

  .premium-stats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .enquiry-wrapper {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .enquiry-left {
    padding-right: 0;
  }

  .enquiry-left h2,
  .enquiry-left p {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .navbar {
    justify-content: center;
    padding: 18px 16px;
  }

  nav {
    width: 100%;
  }

  .hero {
    padding: 78px 14px 36px;
  }

  .footer-container-new {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .footer-logo-row {
    justify-content: center;
  }

  .footer-brand,
  .footer-links,
  .footer-contact {
    text-align: center;
  }

  .proof-left,
  .proof-right {
    padding: 20px 16px;
  }

  .proof-left h2,
  .proof-right h2 {
    font-size: 27px;
  }

  .slide p {
    font-size: 15px;
  }

  .floating-buttons {
    right: 14px;
    bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    gap: 12px;
  }

  .floating-btn {
    width: 54px;
    height: 54px;
  }

  .whatsapp-btn svg {
    width: 28px;
    height: 28px;
  }

  .back-to-top {
    right: 14px;
    bottom: calc(142px + env(safe-area-inset-bottom, 0px));
  }
}

@media (max-width: 640px) {
  section {
    padding-inline: 16px;
  }

  .hero-actions {
    gap: 14px;
  }

  .rating-badge {
    width: 100%;
  }

  .form-grid,
  .demo-form-grid,
  .premium-stats-grid {
    grid-template-columns: 1fr;
  }

  .full-width,
  .demo-full-width {
    grid-column: auto;
  }

  .enquiry-left h2 {
    font-size: 26px;
  }

  .proof-subtext {
    max-width: 100%;
  }

  .premium-testimonial-card {
    min-height: auto;
  }

  .contact-right iframe {
    min-height: 240px;
  }

  .demo-modal-content {
    padding: 22px 18px 18px;
    border-radius: 20px;
  }
}