/* ===========================
   BANYAN GROUP - Premium Modern Design System
   Brand Colors: Royal Blue #0073BB, Black #0F172A
   Inspired by bold modern layouts with rounded cards,
   pill buttons, floating nav, scroll banner
   =========================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ===========================
   CSS Variables
   =========================== */
:root {
  --blue: #0073BB;
  --blue-light: #0088DD;
  --blue-dark: #005A93;
  --blue-bg: #E8F4FD;
  --navy: #0F172A;
  --navy-light: #1E293B;
  --white: #FFFFFF;
  --off-white: #F8FAFC;
  --gray-50: #F1F5F9;
  --gray-100: #E2E8F0;
  --gray-200: #CBD5E1;
  --gray-400: #94A3B8;
  --gray-600: #475569;
  --gray-800: #1E293B;
  --black: #000000;

  --font-heading: 'Playfair Display', 'Georgia', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 4px 16px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 12px 40px rgba(15, 23, 42, 0.12);
  --shadow-xl: 0 24px 60px rgba(15, 23, 42, 0.15);

  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===========================
   Reset & Base
   =========================== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-body);
  color: var(--navy);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--navy);
  line-height: 1.15;
  font-weight: 700;
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ===========================
   Utility Classes
   =========================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 140px 0;
}

.section--gray {
  background: var(--off-white);
}

.section--dark {
  background: var(--navy);
  color: var(--white);
}

.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--white);
}

/* ===========================
   Typography
   =========================== */
.pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  background: var(--blue-bg);
  color: var(--blue);
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
}

.pill-tag--dark {
  background: var(--navy-light);
  color: var(--blue-light);
}

.heading-xl {
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.08;
}

.heading-lg {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.heading-md {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
}

.heading-sm {
  font-size: 1.25rem;
  font-weight: 600;
}

.text-body {
  font-size: 1.1rem;
  color: var(--gray-800);
  line-height: 1.8;
  font-weight: 400;
}

.text-body--light {
  color: rgba(255, 255, 255, 0.85);
}

.text-accent {
  color: var(--blue);
}

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

/* ===========================
   Buttons
   =========================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

.btn:hover svg {
  transform: translateX(4px);
}

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

.btn-primary:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--gray-200);
}

.btn-outline:hover {
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}

.btn-white:hover {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
  transform: translateY(-2px);
}

/* ===========================
   Floating Navigation
   =========================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  width: 100%;
  background: var(--white);
  padding: 16px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  border-bottom: 1px solid var(--gray-100);
  transition: var(--transition);
}

.navbar > .nav-inner {
  max-width: 1200px;
  width: 100%;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
  padding: 12px 0;
}

.navbar-logo img {
  height: 54px;
  width: auto;
  transition: var(--transition);
}

.navbar.scrolled .navbar-logo img {
  height: 46px;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.navbar-links a {
  padding: 10px 20px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  border-radius: var(--radius-full);
  transition: var(--transition);
}

.navbar-links a:hover {
  color: var(--blue);
  background: var(--blue-bg);
}

.navbar-links a.active {
  color: var(--white);
  background: var(--blue);
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
  border-radius: var(--radius-full);
  z-index: 1001;
}

.menu-toggle span {
  width: 22px;
  height: 2px;
  background: var(--navy);
  transition: var(--transition);
  border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translateY(5px);
}

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

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-5px);
}

/* ===========================
   Hero Section
   =========================== */
.hero {
  padding: 180px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

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

.hero-text .heading-xl {
  margin-bottom: 28px;
}

.hero-text .text-body {
  margin-bottom: 40px;
  max-width: 520px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  z-index: 1;
}

.hero-image-stack {
  position: relative;
  height: 520px;
}

.hero-image-main {
  position: absolute;
  top: 0;
  right: 0;
  width: 85%;
  height: 420px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.hero-image-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-image-float {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 55%;
  height: 260px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 4px solid var(--white);
}

.hero-image-float img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Decorative stat badge on hero */
.hero-stat-badge {
  position: absolute;
  bottom: 100px;
  right: -10px;
  background: var(--blue);
  color: var(--white);
  padding: 20px 28px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  z-index: 3;
  text-align: center;
}

.hero-stat-badge .stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  display: block;
}

.hero-stat-badge .stat-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0.85;
}

/* ===========================
   Scroll Banner / Marquee
   =========================== */
.scroll-banner {
  background: var(--navy);
  color: var(--white);
  padding: 18px 0;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}

.scroll-banner::before,
.scroll-banner::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 2;
}

.scroll-banner::before {
  left: 0;
  background: linear-gradient(to right, var(--navy), transparent);
}

.scroll-banner::after {
  right: 0;
  background: linear-gradient(to left, var(--navy), transparent);
}

.scroll-track {
  display: inline-flex;
  animation: scrollMarquee 30s linear infinite;
}

.scroll-track:hover {
  animation-play-state: paused;
}

.scroll-item {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 0 40px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.scroll-item .dot {
  width: 6px;
  height: 6px;
  background: var(--blue);
  border-radius: 50%;
  flex-shrink: 0;
}

@keyframes scrollMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===========================
   Rounded Cards
   =========================== */
.card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 48px 36px;
  border: 1px solid var(--gray-100);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.card-icon svg {
  width: 28px;
  height: 28px;
  stroke-width: 1.5;
}

.card-icon--blue {
  background: var(--blue-bg);
  color: var(--blue);
}

.card-icon--blue svg {
  stroke: var(--blue);
}

.card-icon--navy {
  background: var(--navy);
  color: var(--white);
}

.card-icon--navy svg {
  stroke: var(--white);
}

.card h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.card p {
  color: var(--gray-600);
  line-height: 1.7;
  font-size: 0.95rem;
}

.card-number {
  position: absolute;
  top: 24px;
  right: 28px;
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--gray-50);
  line-height: 1;
}

/* Cards grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.cards-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

.cards-grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

/* ===========================
   Stats Counter Section
   =========================== */
/* Image Banner sections */
.image-banner {
  position: relative;
  padding: 120px 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.image-banner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(15, 23, 42, 0.75);
  z-index: 1;
}

.image-banner > .container {
  position: relative;
  z-index: 2;
}

.image-banner h2,
.image-banner h3,
.image-banner h4 {
  color: var(--white);
}

.image-banner p {
  color: rgba(255, 255, 255, 0.85);
}

/* ===========================
   Split Content (image + text)
   =========================== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.split--reverse {
  direction: rtl;
}

.split--reverse > * {
  direction: ltr;
}

.split-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 400px;
}

.split-content .heading-lg {
  margin-bottom: 24px;
}

.split-content .text-body {
  margin-bottom: 32px;
}

.check-list {
  list-style: none;
  margin-bottom: 36px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 1rem;
  color: var(--gray-600);
}

.check-list li svg {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 2px;
}

/* ===========================
   CTA Banner
   =========================== */
.cta-banner {
  background: var(--blue);
  border-radius: var(--radius-xl);
  padding: 80px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: 20px;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto 36px;
}

.cta-banner .cta-decor {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
}

.cta-banner .cta-decor--1 {
  top: -100px;
  right: -80px;
}

.cta-banner .cta-decor--2 {
  bottom: -120px;
  left: -60px;
}

/* ===========================
   Process / Timeline
   =========================== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
}

.process-step {
  text-align: center;
  padding: 40px;
  position: relative;
}

.process-step::after {
  content: '';
  position: absolute;
  top: 46px;
  right: 0;
  width: 50%;
  height: 2px;
  background: var(--gray-100);
}

.process-step:last-child::after {
  display: none;
}

.process-step::before {
  content: '';
  position: absolute;
  top: 46px;
  left: 0;
  width: 50%;
  height: 2px;
  background: var(--gray-100);
}

.process-step:first-child::before {
  display: none;
}

.process-dot {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0 auto 24px;
  position: relative;
  z-index: 1;
}

.process-step h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.process-step p {
  color: var(--gray-600);
  font-size: 0.95rem;
}

/* ===========================
   Contact Form
   =========================== */
.form-field {
  margin-bottom: 28px;
}

.form-field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 10px;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 16px 20px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--navy);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 115, 187, 0.1);
}

.form-field textarea {
  min-height: 140px;
  resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--gray-400);
}

/* ===========================
   Contact Details
   =========================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
}

.contact-info-block {
  margin-bottom: 36px;
}

.contact-info-block h4 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 12px;
}

.contact-info-block p,
.contact-info-block a {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--navy);
}

.contact-info-block a:hover {
  color: var(--blue);
}

/* ===========================
   Page Content (Privacy etc)
   =========================== */
.page-text h2 {
  font-size: 1.5rem;
  margin-top: 48px;
  margin-bottom: 16px;
}

.page-text p {
  color: var(--gray-600);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

/* ===========================
   Footer
   =========================== */
.footer {
  background: var(--navy);
  color: var(--white);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand p {
  color: var(--gray-400);
  font-size: 0.95rem;
  margin-top: 20px;
  line-height: 1.7;
  max-width: 320px;
}

.footer-brand img {
  height: 44px;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 24px;
}

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

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

.footer-col a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 28px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--gray-400);
}

.footer-bottom a {
  color: var(--gray-400);
}

.footer-bottom a:hover {
  color: var(--white);
}

/* ===========================
   Animations
   =========================== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.25s; }
.delay-4 { transition-delay: 0.3s; }

/* ===========================
   Map
   =========================== */
.map-section {
  height: 420px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.map-section iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ===========================
   Responsive
   =========================== */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-image-stack { height: 400px; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split--reverse { direction: ltr; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .cards-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

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

  .navbar {
    top: 12px;
    width: calc(100% - 24px);
    padding: 10px 10px 10px 20px;
  }

  .menu-toggle { display: flex; }

  .navbar-links {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(15, 23, 42, 0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 12px;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    z-index: 999;
  }

  .navbar-links.open {
    opacity: 1;
    pointer-events: auto;
  }

  .navbar-links a {
    font-size: 1.25rem;
    padding: 14px 32px;
  }

  .hero { padding: 140px 0 60px; }
  .hero-image-stack { height: 300px; }
  .hero-image-main { width: 100%; height: 300px; }
  .hero-image-float { display: none; }
  .hero-stat-badge { display: none; }

  .cards-grid,
  .cards-grid--4 { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; gap: 20px; }
  .process-grid { grid-template-columns: 1fr; }
  .process-step::before, .process-step::after { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }

  .cta-banner { padding: 60px 28px; }
}
