@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Great+Vibes&display=swap');

:root {
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  /* Color Palette */
  --primary-deep: #0a2540;
  --primary-blue: #0f4c81;
  --primary-light: #f4f7f6;
  --accent-amber: #d97706;
  --accent-gold: #cc9234;
  --text-dark: #1e293b;
  --text-muted: #64748b;
  --text-light: #ffffff;
  --bg-white: #ffffff;
  --bg-slate: #f8fafc;
  --bg-dark: #0f172a;
  
  /* Layout */
  --container-width: 1200px;
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
  --shadow-lg: 0 20px 25px -5px rgba(15, 76, 129, 0.1), 0 10px 10px -5px rgba(15, 76, 129, 0.04);
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base resets & styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-slate);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--primary-deep);
  font-weight: 700;
  line-height: 1.25;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background-color: transparent;
  transition: var(--transition-normal);
  padding: 24px 0;
}

header.scrolled {
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  padding: 16px 0;
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid rgba(15, 76, 129, 0.08);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
  display: block;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
  color: #194191; /* Navy Blue */
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-text span {
  color: #cc9234; /* Golden Yellow */
}

.logo-rsl-img {
  height: 22px;
  width: auto;
  display: block;
}

.logo-tagline {
  font-family: 'Great Vibes', cursive;
  font-size: 13px;
  font-weight: 400;
  color: #cc9234; /* Solid dark golden yellow */
  -webkit-text-stroke: 0.4px #cc9234; /* Thicken the script font stroke */
  letter-spacing: 0.5px;
  margin-top: 4px; /* Move it down slightly to prevent overlapping */
  line-height: 1.3; /* Prevent vertical clipping of cursive ascenders */
  display: block;
  opacity: 0.95;
  padding-right: 8px; /* Fixes italic clipping */
}

footer .logo-tagline {
  font-size: 16px;
  margin-top: 5px;
  letter-spacing: 0.5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 15px;
  font-weight: 600;
  color: var(--primary-deep);
  position: relative;
  opacity: 0.85;
}

.nav-links a:hover {
  opacity: 1;
  color: var(--primary-blue);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-gold);
  transition: var(--transition-fast);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.cta-btn {
  background-color: var(--primary-blue);
  color: var(--text-light);
  padding: 12px 24px;
  border-radius: var(--border-radius-sm);
  font-weight: 700;
  font-size: 14px;
  border: 2px solid var(--primary-blue);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}

.cta-btn:hover {
  background-color: var(--accent-gold);
  border-color: var(--accent-gold);
  color: var(--primary-deep);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.cta-btn.secondary {
  background-color: transparent;
  color: var(--primary-deep);
  border-color: var(--primary-deep);
  box-shadow: none;
}

.cta-btn.secondary:hover {
  background-color: var(--primary-deep);
  color: var(--text-light);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  border: none;
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--primary-deep);
  transition: var(--transition-fast);
}

/* Hero Section */
.hero {
  padding: 180px 0 100px;
  background: radial-gradient(circle at 80% 20%, rgba(15, 76, 129, 0.05) 0%, transparent 50%),
              radial-gradient(circle at 10% 80%, rgba(217, 119, 6, 0.03) 0%, transparent 40%);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}

.hero-content h1 {
  font-size: 56px;
  margin-bottom: 24px;
  letter-spacing: -1.5px;
}

.hero-content h1 span {
  color: var(--primary-blue);
}

.hero-content p {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 540px;
}

.hero-btns {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  border-top: 1px solid rgba(15, 76, 129, 0.1);
  padding-top: 32px;
}

.stat-item h3 {
  font-size: 32px;
  color: var(--accent-amber);
  margin-bottom: 4px;
}

.stat-item p {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 0;
}

.hero-image-wrapper {
  position: relative;
}

.hero-image {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.hero-image-wrapper::before {
  content: '';
  position: absolute;
  top: -24px;
  left: -24px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--accent-gold);
  border-radius: var(--border-radius-lg);
  z-index: 1;
  opacity: 0.3;
}

/* Glassmorphism Cards */
.glass-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--border-radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.glass-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(15, 76, 129, 0.15);
}

/* Sections General */
section {
  padding: 100px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 64px;
}

.section-tag {
  color: var(--accent-amber);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-size: 40px;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 16px;
}

/* Core Values / DNA */
.dna-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.dna-card {
  text-align: left;
}

.icon-wrapper {
  width: 64px;
  height: 64px;
  border-radius: var(--border-radius-sm);
  background-color: rgba(15, 76, 129, 0.08);
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 24px;
  transition: var(--transition-fast);
}

.glass-card:hover .icon-wrapper {
  background-color: var(--primary-blue);
  color: var(--text-light);
}

.dna-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.dna-card p {
  color: var(--text-muted);
  font-size: 15px;
}

/* Services section */
.services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
}

.services-grid > .service-card {
  flex: 0 1 calc(33.333% - 22px);
  min-width: 320px;
  box-sizing: border-box;
}

.service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card h3 {
  font-size: 22px;
  margin-bottom: 16px;
}

.service-card p {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 24px;
  flex-grow: 1;
}

.learn-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--primary-blue);
  font-size: 14px;
}

.learn-more span {
  transition: var(--transition-fast);
}

.learn-more:hover span {
  transform: translateX(4px);
}

/* Portfolio & Sectors */
.portfolio-intro {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  margin-bottom: 64px;
  align-items: flex-end;
}

.portfolio-intro h2 {
  font-size: 40px;
  letter-spacing: -0.5px;
}

.portfolio-intro p {
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: 0;
}

.sectors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 1024px) {
  .sectors-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .sectors-grid {
    grid-template-columns: 1fr;
  }
}

.sector-card {
  background: var(--bg-white);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(15, 76, 129, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.sector-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.sector-img-wrapper {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
}

.sector-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.sector-card:hover .sector-img {
  transform: scale(1.08);
}

.sector-content {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.sector-content h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-deep);
  margin-bottom: 10px;
  line-height: 1.3;
}

.sector-content p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0;
}

/* Testimonials Carousel */
.testimonials {
  background-color: var(--primary-deep);
  color: var(--text-light);
}

.testimonials .section-title {
  color: var(--text-light);
}

.testimonials .section-subtitle {
  color: rgba(255, 255, 255, 0.7);
}

/* Testimonials Marquee */
.testimonials-marquee {
  overflow: hidden;
  width: 100%;
  padding: 40px 0;
  position: relative;
}

.testimonials-marquee::before,
.testimonials-marquee::after {
  content: '';
  position: absolute;
  top: 0;
  width: 150px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.testimonials-marquee::before {
  left: 0;
  background: linear-gradient(to right, var(--primary-deep) 0%, transparent 100%);
}

.testimonials-marquee::after {
  right: 0;
  background: linear-gradient(to left, var(--primary-deep) 0%, transparent 100%);
}

.marquee-track {
  display: flex;
  gap: 32px;
  width: max-content;
  animation: scrollMarquee 35s linear infinite;
}

.testimonials-marquee:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes scrollMarquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.testimonial-card {
  width: 400px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--border-radius-md);
  padding: 32px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transition: transform var(--transition-fast), border-color var(--transition-fast), background-color var(--transition-fast);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  border-color: rgba(217, 119, 6, 0.4);
  background: rgba(255, 255, 255, 0.06);
}

.testimonial-rating {
  color: var(--accent-gold);
  font-size: 18px;
  margin-bottom: 16px;
}

.testimonial-quote {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 24px;
  font-style: italic;
  color: rgba(255, 255, 255, 0.95);
  text-align: left;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--primary-blue);
  color: var(--text-light);
  font-weight: 700;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--accent-gold);
}

.author-details {
  text-align: left;
}

.author-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  color: var(--text-light);
}

.author-title {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}

/* Call to Action Footer Section */
.cta-banner {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary-deep) 0%, var(--primary-blue) 100%);
  color: var(--text-light);
  border-radius: var(--border-radius-lg);
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.cta-banner h2 {
  color: var(--text-light);
  font-size: 40px;
  margin-bottom: 16px;
}

.cta-banner p {
  font-size: 18px;
  opacity: 0.85;
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Pricing Page & Selector */
.pricing-tabs {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
}

.tab-btn {
  padding: 12px 28px;
  border-radius: 50px;
  border: 1px solid rgba(15, 76, 129, 0.2);
  background: white;
  font-weight: 700;
  color: var(--primary-deep);
  cursor: pointer;
  transition: var(--transition-fast);
}

.tab-btn.active {
  background: var(--primary-blue);
  color: white;
  border-color: var(--primary-blue);
  box-shadow: var(--shadow-md);
}

.pricing-table-wrapper {
  background: white;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid rgba(15, 76, 129, 0.05);
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.pricing-table th, 
.pricing-table td {
  padding: 20px 24px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.pricing-table th {
  background: var(--primary-deep);
  color: white;
  font-family: var(--font-heading);
  font-weight: 600;
}

.pricing-table tr:hover td {
  background-color: rgba(15, 76, 129, 0.02);
}

.pricing-table tr:last-child td {
  border-bottom: none;
}

.pricing-badge {
  background-color: rgba(217, 119, 6, 0.1);
  color: var(--accent-amber);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
}

.pricing-price {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  color: var(--primary-deep);
}

/* FAQ / Accordions */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: white;
  border-radius: var(--border-radius-sm);
  border: 1px solid rgba(15, 76, 129, 0.1);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}

.faq-question {
  width: 100%;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-deep);
  transition: var(--transition-fast);
}

.faq-question:hover {
  background-color: rgba(15, 76, 129, 0.02);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal);
  padding: 0 24px;
}

.faq-answer p {
  padding-bottom: 24px;
  color: var(--text-muted);
  font-size: 15px;
}

.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(15, 76, 129, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.faq-icon::before {
  content: '+';
  font-size: 18px;
  color: var(--primary-blue);
  font-weight: bold;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  background: var(--accent-gold);
}

.faq-item.active .faq-icon::before {
  color: var(--primary-deep);
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

/* Page Intro/Hero (for inner pages) */
.page-intro {
  padding: 140px 0 60px;
  background: linear-gradient(to bottom, rgba(15, 76, 129, 0.03) 0%, transparent 100%);
  text-align: center;
}

.page-intro h1 {
  font-size: 48px;
  letter-spacing: -1.5px;
  margin-bottom: 12px;
}

.breadcrumbs {
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-muted);
}

.breadcrumbs span {
  color: var(--primary-blue);
  font-weight: 600;
}

/* Contact Page Grid */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: flex-start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.info-item {
  display: flex;
  gap: 20px;
}

.info-item h3 {
  font-size: 18px;
  margin-bottom: 4px;
}

.info-item p {
  color: var(--text-muted);
  font-size: 14px;
}

/* Forms general */
.form-card {
  background: white;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(15, 76, 129, 0.05);
  padding: 40px;
}

.form-group {
  margin-bottom: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.form-group label {
  display: block;
  font-weight: 700;
  font-size: 14px;
  color: var(--primary-deep);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--border-radius-sm);
  border: 1px solid rgba(15, 76, 129, 0.15);
  background: var(--bg-slate);
  outline: none;
  font-size: 15px;
  transition: var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary-blue);
  background: white;
  box-shadow: 0 0 0 3px rgba(15, 76, 129, 0.1);
}

/* File Upload Field */
.file-upload-wrapper {
  position: relative;
  border: 2px dashed rgba(15, 76, 129, 0.2);
  border-radius: var(--border-radius-sm);
  padding: 32px;
  text-align: center;
  background: var(--bg-slate);
  cursor: pointer;
  transition: var(--transition-fast);
}

.file-upload-wrapper:hover,
.file-upload-wrapper.dragover {
  border-color: var(--primary-blue);
  background: rgba(15, 76, 129, 0.02);
}

.file-upload-wrapper input[type="file"] {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.upload-icon {
  font-size: 32px;
  color: var(--primary-blue);
  margin-bottom: 12px;
}

.upload-text {
  font-size: 14px;
  color: var(--text-muted);
}

.upload-text span {
  font-weight: 700;
  color: var(--primary-blue);
}

.file-list {
  margin-top: 12px;
  list-style: none;
  text-align: left;
}

.file-list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background: white;
  border-radius: var(--border-radius-sm);
  margin-bottom: 6px;
  font-size: 13px;
  box-shadow: var(--shadow-sm);
}

/* Multi-step Form Wizard */
.wizard-progress {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
  position: relative;
}

.wizard-progress::before {
  content: '';
  position: absolute;
  top: 15px;
  left: 0;
  width: 100%;
  height: 2px;
  background: rgba(15, 76, 129, 0.1);
  z-index: 1;
}

.wizard-progress-bar {
  position: absolute;
  top: 15px;
  left: 0;
  height: 2px;
  background: var(--accent-gold);
  z-index: 1;
  transition: var(--transition-normal);
  width: 0%;
}

.wizard-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
}

.wizard-step-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: white;
  border: 2px solid rgba(15, 76, 129, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.wizard-step-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 8px;
  color: var(--text-muted);
}

.wizard-step.active .wizard-step-circle {
  border-color: var(--primary-blue);
  background: var(--primary-blue);
  color: white;
}

.wizard-step.active .wizard-step-label {
  color: var(--primary-deep);
}

.wizard-step.completed .wizard-step-circle {
  border-color: var(--accent-gold);
  background: var(--accent-gold);
  color: var(--primary-deep);
}

.wizard-form-step {
  display: none;
}

.wizard-form-step.active {
  display: block;
}

.wizard-buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 32px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding-top: 24px;
}

/* Footer styling */
footer {
  background-color: var(--primary-deep);
  color: var(--text-light);
  padding: 80px 0 24px;
  border-top: 4px solid var(--accent-gold);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
  gap: 64px;
  margin-bottom: 64px;
}

.footer-col h3 {
  color: var(--text-light);
  font-size: 18px;
  margin-bottom: 24px;
  font-family: var(--font-heading);
}

.footer-col p {
  opacity: 0.7;
  font-size: 14px;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col ul a {
  opacity: 0.7;
  font-size: 14px;
}

.footer-col ul a:hover {
  opacity: 1;
  color: var(--accent-gold);
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 14px;
  opacity: 0.8;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  opacity: 0.6;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

/* Animation utilities */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: var(--transition-slow);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.fade-in {
  opacity: 0;
  transition: opacity 1s ease;
}

.fade-in.active {
  opacity: 1;
}

/* Mobile responsive menu overrides */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }
  .hero-content h1 {
    font-size: 40px;
  }
  .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-btns {
    justify-content: center;
  }
  .hero-stats {
    max-width: 500px;
    margin: 0 auto;
  }
  .dna-grid {
    grid-template-columns: 1fr;
  }
  .services-grid > .service-card {
    flex: 1 1 100%;
  }
  .sectors-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .portfolio-intro {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 768px) {
  header {
    padding: 16px 0;
  }
  .menu-toggle {
    display: flex;
  }
  .nav-links {
    position: fixed;
    top: 72px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 72px);
    background-color: var(--bg-white);
    flex-direction: column;
    padding: 48px 24px;
    gap: 24px;
    transition: var(--transition-normal);
    z-index: 99;
    box-shadow: var(--shadow-md);
  }
  .nav-links.open {
    left: 0;
  }
  .nav-links li, .nav-links a {
    width: 100%;
    text-align: center;
  }
  .nav-links a::after {
    display: none;
  }
  .nav-links .cta-btn {
    width: 100%;
    justify-content: center;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .wizard-progress-bar {
    display: none;
  }
  .wizard-step-label {
    display: none;
  }
  .wizard-progress::before {
    display: none;
  }
}

/* Navbar CTA button style fixes */
.nav-links a.cta-btn {
  background-color: var(--primary-deep) !important;
  color: var(--text-light) !important;
  border: 2px solid var(--primary-deep) !important;
  padding: 8px 18px !important;
  border-radius: 6px !important;
  opacity: 1 !important;
  font-weight: 700 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
  box-shadow: var(--shadow-sm) !important;
  transition: var(--transition-fast) !important;
}

.nav-links a.cta-btn:hover {
  background-color: var(--accent-gold) !important;
  border-color: var(--accent-gold) !important;
  color: var(--primary-deep) !important;
  transform: translateY(-1px) !important;
  box-shadow: var(--shadow-md) !important;
}

.nav-links a.cta-btn::after {
  display: none !important;
}

/* Dynamic Page Transition Overlay (Notebook paper style) */
.page-transition-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fcfbf7; /* Premium off-white notebook paper color */
  background-image: 
    linear-gradient(rgba(15, 76, 129, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 76, 129, 0.04) 1px, transparent 1px);
  background-size: 30px 30px; /* Notebook grid spacing */
  z-index: 99999;
  pointer-events: none;
  transition: transform 0.65s cubic-bezier(0.76, 0, 0.24, 1);
  transform: translateX(0);
  box-shadow: -10px 0 40px rgba(10, 37, 64, 0.25);
}

/* Notebook paper red double margin line */
.page-transition-overlay::before {
  content: '';
  position: absolute;
  top: 0;
  left: 70px;
  width: 2px;
  height: 100%;
  background-color: rgba(220, 38, 38, 0.25);
}

.page-transition-overlay::after {
  content: '';
  position: absolute;
  top: 0;
  left: 75px;
  width: 1px;
  height: 100%;
  background-color: rgba(220, 38, 38, 0.15);
}



/* Floating Contact Widget */
.floating-contact-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  z-index: 9999;
}

.floating-contact-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
  color: white;
  text-decoration: none;
  position: relative;
}

.floating-contact-btn:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.floating-contact-btn.whatsapp {
  background-color: #25d366;
}

.floating-contact-btn.phone {
  background-color: var(--primary-blue);
}

.floating-contact-btn.share {
  background-color: var(--primary-blue);
  animation: pulse-primary 2s infinite;
}

@keyframes pulse-primary {
  0% {
    box-shadow: 0 0 0 0 rgba(15, 76, 129, 0.6);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(15, 76, 129, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(15, 76, 129, 0);
  }
}

.floating-contact-btn svg {
  width: 26px;
  height: 26px;
}

/* Tooltip container */
.share-tooltip {
  position: absolute;
  right: 70px;
  top: 249px;
  transform: translateY(-50%) scale(0.9) translateX(10px);
  background-color: rgba(10, 37, 64, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  border: 1px solid rgba(15, 76, 129, 0.2);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 10px 16px;
  border-radius: 12px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 100;
}

/* Show state */
.share-tooltip.show {
  opacity: 1;
  transform: translateY(-50%) scale(1) translateX(0);
  pointer-events: auto;
}

/* Speech Bubble Arrow pointing right */
.share-tooltip-arrow {
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 6px solid rgba(10, 37, 64, 0.96);
}

/* Emoji bounce animation */
.share-tooltip-emoji {
  animation: bounce-emoji 1s infinite alternate;
  font-family: sans-serif;
  color: #cc9234; /* Match corporate golden text */
}

@keyframes bounce-emoji {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-4px);
  }
}

/* Glassmorphic Modal overlay backdrop */
.share-modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(10, 37, 64, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.share-modal-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

/* Modal Card */
.share-modal {
  background-color: #ffffff;
  border-radius: 24px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  max-width: 400px;
  width: 100%;
  border: 1px solid #f4f4f5;
  overflow: hidden;
  position: relative;
  transform: scale(0.95) translateY(20px);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.share-modal-overlay.show .share-modal {
  transform: scale(1) translateY(0);
  opacity: 1;
}

/* Header */
.share-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
  border-bottom: 1px solid #f4f4f5;
}

.share-modal-header h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-deep);
  margin: 0;
}

.share-modal-header p {
  font-size: 12px;
  color: #71717a;
  margin: 4px 0 0 0;
}

.share-modal-close {
  background: none;
  border: none;
  padding: 8px;
  border-radius: 50%;
  color: #a1a1aa;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s, color 0.2s;
}

.share-modal-close:hover {
  background-color: #f4f4f5;
  color: var(--primary-deep);
}

/* Content Body */
.share-modal-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Social grid */
.share-social-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.share-social-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  outline: none;
}

.share-social-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
  color: #ffffff;
}

.share-social-item:hover .share-social-icon-wrapper {
  transform: translateY(-4px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.share-social-icon-wrapper svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.share-social-name {
  font-size: 11px;
  font-weight: 500;
  color: #52525b;
  transition: color 0.2s;
}

.share-social-item:hover .share-social-name {
  color: var(--primary-blue);
}

/* Colors for platforms */
.share-social-icon-wrapper.whatsapp {
  background-color: #25D366;
}
.share-social-icon-wrapper.whatsapp:hover {
  background-color: #20ba59;
}

.share-social-icon-wrapper.facebook {
  background-color: #1877F2;
}
.share-social-icon-wrapper.facebook:hover {
  background-color: #166fe5;
}

.share-social-icon-wrapper.twitter {
  background-color: #0f1419;
}
.share-social-icon-wrapper.twitter:hover {
  background-color: #262c33;
}

.share-social-icon-wrapper.linkedin {
  background-color: #0077B5;
}
.share-social-icon-wrapper.linkedin:hover {
  background-color: #00669c;
}

/* Copy Link Section */
.share-copy-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #a1a1aa;
  margin-bottom: 8px;
  display: block;
}

.share-copy-container {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: #fafafa;
  border: 1px solid #e4e4e7;
  border-radius: 16px;
  padding: 8px 8px 8px 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.share-copy-container:focus-within {
  border-color: rgba(15, 76, 129, 0.5);
  box-shadow: 0 0 0 4px rgba(15, 76, 129, 0.1);
}

.share-copy-input {
  width: 100%;
  background: transparent;
  border: none;
  font-size: 14px;
  color: #3f3f46;
  outline: none;
}

.share-copy-btn {
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.share-copy-btn.default {
  background-color: var(--primary-blue);
  color: #ffffff;
  box-shadow: 0 4px 6px -1px rgba(15, 76, 129, 0.2);
}

.share-copy-btn.default:hover {
  background-color: var(--primary-deep);
}

.share-copy-btn.copied {
  background-color: #25D366;
  color: #ffffff;
  box-shadow: 0 4px 6px -1px rgba(37, 211, 102, 0.2);
}

/* Native share fallback button */
.share-native-btn {
  width: 100%;
  padding: 14px;
  background-color: rgba(250, 250, 250, 0.5);
  border: 2px dashed #e4e4e7;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #52525b;
  cursor: pointer;
  transition: all 0.3s ease;
}

.share-native-btn:hover {
  border-color: rgba(15, 76, 129, 0.5);
  color: var(--primary-blue);
  background-color: #ffffff;
}

.share-native-btn svg {
  width: 16px;
  height: 16px;
  stroke: var(--primary-blue);
}

/* Share toast notification */
.share-toast {
  position: fixed;
  bottom: 30px;
  left: 30px;
  background-color: #1e293b;
  color: #ffffff;
  padding: 14px 24px;
  border-radius: var(--border-radius-sm);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 10000;
  pointer-events: none;
}

.share-toast.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .chatbot-tooltip {
    display: none !important;
  }
  .floating-contact-widget {
    bottom: 20px;
    right: 20px;
    gap: 10px;
  }
  .floating-contact-btn {
    width: 48px;
    height: 48px;
  }
  .floating-contact-btn.chatbot {
    width: 52px;
    height: 52px;
  }
  .floating-contact-btn svg {
    width: 22px;
    height: 22px;
  }
  .share-tooltip {
    right: 60px;
    top: 202px;
  }
  .share-toast {
    bottom: 20px;
    left: 20px;
    font-size: 12px;
    padding: 10px 18px;
  }
}

/* Call Modal overlay backdrop */
.call-modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(10, 37, 64, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.call-modal-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

/* Call Modal Card */
.call-modal {
  background-color: #ffffff;
  border-radius: 24px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  max-width: 400px;
  width: 100%;
  border: 1px solid #f4f4f5;
  overflow: hidden;
  position: relative;
  transform: scale(0.95) translateY(20px);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.call-modal-overlay.show .call-modal {
  transform: scale(1) translateY(0);
  opacity: 1;
}

/* Header */
.call-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
  border-bottom: 1px solid #f4f4f5;
}

.call-modal-header h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-deep);
  margin: 0;
}

.call-modal-header p {
  font-size: 12px;
  color: #71717a;
  margin: 4px 0 0 0;
}

.call-modal-close {
  background: none;
  border: none;
  font-size: 28px;
  font-weight: 300;
  color: #a1a1aa;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s, color 0.2s;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  line-height: 1;
}

.call-modal-close:hover {
  background-color: #f4f4f5;
  color: var(--primary-deep);
}

/* Body and Buttons */
.call-modal-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.call-option-btn {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background-color: #fafafa;
  border: 1px solid #e4e4e7;
  border-radius: 16px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.call-option-btn:hover {
  border-color: rgba(15, 76, 129, 0.5);
  background-color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

.call-option-icon {
  font-size: 24px;
}

.call-option-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.call-option-label {
  font-size: 12px;
  color: #71717a;
  font-weight: 500;
}

.call-option-number {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-blue);
  margin-top: 2px;
}

/* Chatbot Styles */
.floating-contact-btn.chatbot {
  background: var(--primary-deep);
  border: 2px solid var(--accent-gold);
  cursor: pointer;
  width: 64px;
  height: 64px;
}

.floating-contact-btn.chatbot::after {
  content: '';
  position: absolute;
  top: 2px;
  right: 2px;
  width: 12px;
  height: 12px;
  background-color: #22c55e;
  border: 2px solid var(--primary-deep);
  border-radius: 50%;
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(34, 197, 94, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

/* Chatbot Tooltip */
.chatbot-tooltip {
  position: absolute;
  right: 70px;
  top: 50%;
  transform: translateY(-50%) scale(0.95);
  background-color: #ffffff;
  color: #0c2340; /* corporate dark blue */
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 12px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  z-index: 10000;
}

.chatbot-tooltip.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) scale(1);
}

.chatbot-tooltip-arrow {
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 6px solid #ffffff;
}

.chat-window {
  position: fixed;
  bottom: 100px;
  right: 30px;
  width: 360px;
  max-width: calc(100vw - 60px);
  height: 500px;
  max-height: calc(100vh - 150px);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(10, 37, 64, 0.15);
  border-radius: 20px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 10000;
  transform: scale(0.8) translateY(30px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.chat-window.show {
  transform: scale(1) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.chat-header {
  background: var(--primary-deep);
  color: white;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.chat-header-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chat-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid var(--accent-gold);
  overflow: hidden;
  background: #f4f4f5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.chat-meta {
  display: flex;
  flex-direction: column;
}

.chat-meta-name {
  font-weight: 700;
  font-size: 14px;
  color: #ffffff;
}

.chat-meta-status {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  gap: 4px;
}

.chat-status-dot {
  width: 6px;
  height: 6px;
  background: #22c55e;
  border-radius: 50%;
  display: inline-block;
}

.chat-close-btn {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 28px;
  cursor: pointer;
  line-height: 0.5;
  padding: 8px;
  transition: color 0.2s;
}

.chat-close-btn:hover {
  color: var(--accent-gold);
}

.chat-messages {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.chat-message {
  max-width: 80%;
  padding: 12px 16px;
  font-size: 13.5px;
  line-height: 1.5;
  box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.chat-message.user {
  align-self: flex-end;
  background: var(--primary-deep);
  color: white;
  border-radius: 18px 18px 4px 18px;
}

.chat-message.assistant {
  align-self: flex-start;
  background: rgba(10, 37, 64, 0.06);
  color: var(--text-dark);
  border-radius: 18px 18px 18px 4px;
  border: 1px solid rgba(10, 37, 64, 0.06);
}

.chat-message.typing {
  align-self: flex-start;
  background: rgba(10, 37, 64, 0.04);
  color: var(--text-muted);
  border-radius: 18px 18px 18px 4px;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px 16px;
}

.chat-typing-dots span {
  width: 5px;
  height: 5px;
  background: var(--text-muted);
  border-radius: 50%;
  display: inline-block;
  animation: typing-bounce 1.4s infinite ease-in-out both;
}

.chat-typing-dots span:nth-child(1) { animation-delay: -0.32s; }
.chat-typing-dots span:nth-child(2) { animation-delay: -0.16s; }

@keyframes typing-bounce {
  0%, 80%, 100% { transform: scale(0); }
  40% { transform: scale(1.0); }
}

.chat-input-area {
  padding: 14px 16px;
  background: #ffffff;
  border-top: 1px solid rgba(10, 37, 64, 0.08);
  display: flex;
  gap: 8px;
  align-items: center;
}

.chat-input-field {
  flex: 1;
  border: 1px solid rgba(10, 37, 64, 0.15);
  border-radius: 24px;
  padding: 10px 18px;
  font-size: 13.5px;
  outline: none;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.chat-input-field:focus {
  border-color: var(--primary-deep);
  box-shadow: 0 0 0 2px rgba(10, 37, 64, 0.1);
}

.chat-send-btn {
  background: var(--primary-deep);
  color: white;
  border: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.chat-send-btn:hover {
  background: var(--accent-gold);
  transform: scale(1.05);
}

.chat-send-btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  margin-left: 2px;
}

/* Make sure chatbot button is hidden inside success/apply templates if necessary, but floating widget handles it */
@media (max-width: 768px) {
  .chat-window {
    bottom: 90px;
    right: 20px;
    width: calc(100vw - 40px);
    height: 420px;
  }
}

/* Responsive Two Column Grid */
.two-col-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 768px) {
  .two-col-grid {
    grid-template-columns: 1fr;
  }
}

