:root {
  --primary: #4CAF50; /* Updated to a fresh green */
  --primary-light: #81C784;
  --primary-dark: #388E3C;
  --secondary: #2196F3;
  --accent: #FFC107;
  --light: #f8f9fa;
  --dark: #212529;
  --light-gray: #f5f7fa;
  --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
  --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --border-radius: 12px;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.7;
  color: #4a4a4a;
  overflow-x: hidden;
  background-color: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Gradient Text */
.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent; /* Fallback for browsers that don't support background-clip: text */
  display: inline-block;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  margin-bottom: 1rem;
  color: #2c3e50;
}

p.lead {
  font-size: 1.25rem;
  font-weight: 300;
}

/* Book Demo Modal */
#bookDemoModal .modal-content {
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

#bookDemoModal .modal-header {
    border-bottom: 1px solid #eee;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border-radius: 10px 10px 0 0;
    padding: 0.75rem 1rem;
}

#bookDemoModal .modal-title {
    font-weight: 600;
    color: white;
}

#bookDemoModal .btn-close {
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

#bookDemoModal .form-label {
    font-weight: 500;
    color: #333;
    margin-bottom: 0.4rem;
    display: block;
}

#bookDemoModal .form-control, 
#bookDemoModal .form-select {
    border: 1px solid #ddd;
    padding: 10px 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

#bookDemoModal .form-control.form-control-sm,
#bookDemoModal .form-select.form-select-sm {
    padding: 5px 10px;
    min-height: 32px;
}

#bookDemoModal .form-control:focus, 
#bookDemoModal .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.25rem rgba(76, 175, 80, 0.25);
}

#bookDemoModal .form-check {
    margin-bottom: 0.5rem;
}

#bookDemoModal .form-check-input {
    margin-top: 0.2em;
}

#bookDemoModal .form-check-label {
    font-weight: 400;
    color: #444;
}

#bookDemoModal .modal-footer {
    border-top: 1px solid #eee;
    padding: 0.75rem 1rem;
}

#bookDemoModal .modal-body {
    padding: 1rem;
}

#bookDemoModal .btn {
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
}

#bookDemoModal .btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: none;
}

#bookDemoModal .btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

#demoForm .text-danger {
    color: #dc3545 !important;
    font-weight: 500;
}

/* Floating Action Buttons */
.floating-btn {
    position: fixed;
    bottom: 105px;
    right: 30px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    width: 180px;
    height: 60px;
    border-radius: 50px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.floating-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    color: white;
    text-decoration: none;
}

.floating-btn i {
    font-size: 1.2rem;
    margin-right: 8px;
}

.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #25d366;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: all 0.3s ease;
}

.floating-whatsapp:hover {
    color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.floating-whatsapp i {
    font-size: 1.9rem;
}

/* Sticky CTA bar for landing/support pages */
.sticky-cta-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1040;
  background: rgba(255, 255, 255, 0.98);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 -8px 20px rgba(0, 0, 0, 0.08);
}

.sticky-cta-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  gap: 10px;
  justify-content: center;
}

.sticky-cta-inner .btn {
  margin: 0;
  padding: 10px 18px;
  font-size: 0.82rem;
}

.sticky-cta-inner .btn-whatsapp {
  background: #25D366;
  color: #fff;
}

.sticky-cta-inner .btn-whatsapp:hover {
  background: #1fa855;
  color: #fff;
}

/* Buttons */
.btn {
  font-weight: 600;
  padding: 12px 30px;
  border-radius: 50px;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  position: relative;
  overflow: hidden;
  z-index: 1;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: var(--transition);
  z-index: -1;
  border-radius: 50px;
}

.btn:hover::before {
  width: 100%;
}

.btn-primary {
  background: var(--gradient);
  border: none;
  color: white;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

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

.btn-outline-primary {
  color: var(--primary);
  border: 2px solid var(--primary);
  background: transparent;
  transition: var(--transition);
}

.btn-outline-primary:hover, .btn-outline-primary:focus {
  background: var(--primary);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  border-color: var(--primary);
}

/* Navbar */
.navbar {
  padding: 20px 0;
  transition: var(--transition);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar.scrolled {
  padding: 12px 0;
  background: rgba(255, 255, 255, 0.98) !important;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transform: translateY(0);
}

.navbar-brand {
  font-weight: 800;
  font-size: 1.8rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: flex;
  align-items: center;
}

.navbar-brand img {
  margin-right: 10px;
  transition: var(--transition);
}

.navbar.scrolled .navbar-brand img {
  height: 35px;
}

.navbar-brand {
  font-size: 1.75rem;
  font-weight: 700;
}

.nav-link {
  font-weight: 500;
  margin: 0 6px;
  position: relative;
  padding-right: 0px !important;
  font-size: 0.95rem;
}

.nav-link:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--secondary);
  transition: width 0.3s ease;
}

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

/* Hero Section */
.hero {
  background: linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.8)), url('../images/hero-bg.jpg') no-repeat center center/cover;
  padding: 120px 20px 80px;
  position: relative;
  min-height: 68vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #333;
  overflow: hidden;
}

.hero .container {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  padding: 0 20px;
}

.hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.3;
  color: #222;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  animation: fadeInUp 0.8s ease-out;
}

.hero p.lead {
  font-size: 1.4rem;
  margin: 0 auto 35px;
  max-width: 700px;
  color: #444;
  line-height: 1.7;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero .cta-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero .btn {
  padding: 12px 32px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  min-width: 180px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.hero .btn-primary {
  background: var(--primary);
  border: 2px solid var(--primary);
  color: white;
}

.hero .btn-outline-primary {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.hero .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero p.lead {
    font-size: 1.2rem;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: 70vh;
    padding: 120px 15px;
  }
  
  .hero h1 {
    font-size: 2.2rem;
    margin-bottom: 15px;
  }
  
  .hero p.lead {
    font-size: 1.1rem;
    margin-bottom: 25px;
  }
  
  .hero .btn {
    padding: 10px 25px;
    font-size: 1rem;
  }
}

/* Ensure content is not hidden behind fixed navbar */
body {
  padding-top: 80px;
}

/* Navbar adjustment */
.navbar {
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  background-color: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(10px);
}

/* Make sure hero is below navbar */
.hero {
  margin-top: -80px;
  padding-top: 150px;
}

.hero p.lead {
  font-size: 1.5rem;
  margin-bottom: 30px;
  color: #555;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 1s ease 0.2s both;
}

.hero .btn {
  animation: fadeInUp 1s ease 0.4s both;
}

.hero-benefits {
  max-width: 700px;
  margin: 0 auto;
}

.hero-benefits li {
  margin-bottom: 10px;
  font-weight: 500;
  color: #2c3e50;
}

.trust-strip h3 {
  font-size: 2rem;
  color: var(--primary-dark);
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

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

/* Feature Cards */
.feature-card {
  background: white;
  border-radius: 15px;
  padding: 40px 30px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  border: 1px solid #f0f0f0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
  z-index: -1;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  border-color: transparent;
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  border-radius: 20px;
  font-size: 32px;
  color: white;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Transport Agency Icon */
.feature-card:first-child .feature-icon {
  background: linear-gradient(135deg, #4CAF50 0%, #2E7D32 100%);
}

/* Broker Agency Icon */
.feature-card:last-child .feature-icon {
  background: linear-gradient(135deg, #2196F3 0%, #1565C0 100%);
}

.feature-icon i {
  transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
  transform: rotateY(180deg) scale(1.1);
}

.feature-card:hover .feature-icon i {
  transform: rotateY(-180deg) scale(1.1);
}

.feature-card h3 {
  margin-bottom: 20px;
  color: #2c3e50;
  font-weight: 700;
  transition: color 0.3s ease;
  text-align: center;
}

.feature-card:hover h3 {
  color: var(--primary);
}

.feature-card ul {
  padding-left: 20px;
  margin-bottom: 25px;
}

.feature-card ul li {
  margin-bottom: 12px;
  color: #555;
  position: relative;
  padding-left: 30px;
  line-height: 1.6;
}

.feature-card ul li i {
  color: var(--primary);
  position: absolute;
  left: 0;
  top: 6px;
  font-size: 14px;
  background: rgba(76, 175, 80, 0.1);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-card .btn {
  display: block;
  margin: 0 auto;
  padding: 10px 25px;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.feature-card .btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transition: width 0.3s ease;
  z-index: -1;
}

.feature-card .btn:hover {
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.feature-card .btn:hover::before {
  width: 100%;
}

.dashboard-img:hover {
  transform: translateY(-10px);
}

/* Trial & refund */
.trial-section {
  background: linear-gradient(180deg, #ffffff 0%, var(--light-gray) 50%, #ffffff 100%);
}

.trial-section .trial-card {
  border: 1px solid rgba(76, 175, 80, 0.18);
  box-shadow: 0 12px 40px rgba(33, 150, 243, 0.06);
}

.trial-section .trial-card p {
  color: #555;
  line-height: 1.65;
}

.trial-footnote {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

/* Sections */
.section {
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

.section-title {
  position: relative;
  margin-bottom: 30px;
  text-align: center;
  font-weight: 800;
  color: var(--dark);
  font-size: 2.5rem;
}

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

.section-subtitle {
  color: #6c757d;
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 30px;
  text-align: center;
  line-height: 1.6;
}

/* Dashboard Image */
.dashboard-img {
    max-width: 108%;
    width: 108%;
    height: auto;
    margin-left: -3%;
    opacity: 0.95;
    transition: transform 0.3s ease;
}

.hero-visual-wrap {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(76, 175, 80, 0.12);
  border-radius: 18px;
  padding: 10px;
}

/* Feature Images */
.feature-img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

.feature-image-wrapper {
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 10px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-image-wrapper {
    padding: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 250px;
}

.feature-image-wrapper:hover img {
    transform: translateY(-5px);
}

/* Animate on scroll */
[data-aos] {
    opacity: 0;
    transition-property: opacity, transform;
}

[data-aos].aos-animate {
    opacity: 1;
}

[data-aos="fade-up"] {
    transform: translateY(30px);
}

[data-aos="fade-down"] {
    transform: translateY(-30px);
}

[data-aos="fade-right"] {
    transform: translateX(-30px);
}

[data-aos="fade-left"] {
    transform: translateX(30px);
}

[data-aos].aos-animate {
    transform: translate(0, 0);
}

/* Contact Section */
#contact {
  position: relative;
  background-color: #f8f9fa;
  padding: 100px 0;
  overflow: hidden;
}

#contact .section-title {
  position: relative;
  margin: 0 auto 60px;
  text-align: center !important;
  width: 100%;
  display: block;
  color: var(--dark);
}

.contact-form {
  background: white;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  height: 100%;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-form:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.contact-form .form-control {
  height: 50px;
  padding: 10px 15px;
  border: 1px solid #e1e5ee;
  border-radius: 8px;
  margin-bottom: 20px;
  transition: all 0.3s ease;
  font-size: 15px;
}

.contact-form .form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.2rem rgba(76, 175, 80, 0.15);
}

.contact-form textarea.form-control {
  height: auto;
  min-height: 150px;
  resize: none;
}

.contact-info {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  padding: 40px;
  border-radius: 15px;
  height: 100%;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.contact-info h3 {
  color: white;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 15px;
}

.contact-info h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 2px;
  background: rgba(255, 255, 255, 0.5);
}

.contact-info-item {
  display: flex;
  margin-bottom: 25px;
  align-items: flex-start;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  font-size: 20px;
  color: white;
  flex-shrink: 0;
}

.contact-info-item h5 {
  color: white;
  margin-bottom: 5px;
  font-weight: 600;
}

.contact-info-item p,
.contact-info-item a {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0;
  text-decoration: none;
  transition: all 0.3s ease;
}

.contact-info-item a:hover {
  color: white;
  text-decoration: none;
  padding-left: 5px;
}

.whatsapp-btn {
  background: #25D366;
  color: white !important;
  border: none;
  padding: 12px 25px;
  border-radius: 50px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  text-decoration: none !important;
  margin-top: 20px;
  width: 100%;
}

.whatsapp-btn i {
  margin-right: 10px;
  font-size: 20px;
}

.whatsapp-btn:hover {
  background: #128C7E;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
  color: white;
}

/* Animated Background Elements */
.bg-shape {
  position: absolute;
  z-index: 0;
  opacity: 0.1;
  pointer-events: none;
}

.bg-shape-1 {
  top: 10%;
  left: 5%;
  width: 300px;
  height: 300px;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  background: var(--primary);
  animation: float 8s ease-in-out infinite;
}

.bg-shape-2 {
  bottom: 10%;
  right: 5%;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: var(--secondary);
  animation: pulse 6s ease-in-out infinite;
}

/* Feature Box */
.feature-box {
  padding: 40px 30px;
  text-align: center;
  border-radius: var(--border-radius);
  background: white;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  height: 100%;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.feature-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--gradient);
  transition: var(--transition);
  z-index: -1;
}

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

.feature-box:hover::before {
  height: 100%;
  opacity: 0.05;
}

.feature-box .icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(76, 175, 80, 0.1);
  border-radius: 50%;
  color: var(--primary);
  font-size: 36px;
  transition: var(--transition);
}

.feature-box:hover .icon {
  background: var(--gradient);
  color: white;
  transform: rotateY(180deg);
}

.feature-box h4 {
  margin-bottom: 15px;
  font-weight: 700;
  color: var(--dark);
  transition: var(--transition);
}

.feature-box:hover h4 {
  color: var(--primary);
}

.feature-box p {
  color: #6c757d;
  margin-bottom: 0;
  transition: var(--transition);
}

.feature-box:hover p {
  color: var(--dark);
}

/* Section Title */
.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 3rem;
  position: relative;
  display: inline-block;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: center;
  width: 100%;
}

.section-title::after {
  content: '';
  position: absolute;
  width: 60px;
  height: 4px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  left: 50%;
  bottom: -15px;
  transform: translateX(-50%);
  border-radius: 2px;
}

.testimonial-card {
  background: white;
  padding: 40px;
  border-radius: var(--border-radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  position: relative;
  margin: 30px 15px 50px;
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.05);
  z-index: 1;
  overflow: hidden;
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 0;
  background: var(--gradient);
  transition: var(--transition);
  z-index: -1;
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.testimonial-card:hover::before {
  height: 100%;
  width: 100%;
  opacity: 0.05;
}

.testimonial-card .quote-icon {
  font-size: 60px;
  color: var(--primary);
  opacity: 0.2;
  position: absolute;
  top: 20px;
  right: 30px;
  line-height: 1;
  transition: var(--transition);
}

.testimonial-card:hover .quote-icon {
  opacity: 0.3;
  transform: scale(1.1);
}

.testimonial-content {
  margin-bottom: 25px;
  position: relative;
  z-index: 2;
  font-style: italic;
  color: #555;
  line-height: 1.8;
}

.testimonial-author {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 2;
}

.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-right: 15px;
  border: 3px solid white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.testimonial-card:hover .testimonial-author img {
  transform: scale(1.1);
  border-color: var(--primary);
}

.author-info h5 {
  margin-bottom: 5px;
  font-weight: 700;
  color: var(--dark);
}

.author-info p {
  margin: 0;
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 500;
}

/* Testimonial Navigation */
.testimonial-nav {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.testimonial-nav button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: #e0e0e0;
  margin: 0 5px;
  padding: 0;
  cursor: pointer;
  transition: var(--transition);
}

.testimonial-nav button.active {
  background: var(--primary);
  transform: scale(1.2);
}

.testimonial-nav button:focus {
  outline: none;
}

.testimonial-card > * {
  position: relative;
  z-index: 1;
}

/* Team Section */
.team-card {
  text-align: center;
  margin-bottom: 30px;
  transition: all 0.3s ease;
}

.team-card img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin-bottom: 20px;
  object-fit: cover;
  border: 5px solid white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.team-card:hover img {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.team-card h4 {
  margin: 15px 0 5px;
  font-size: 1.25rem;
}

.team-card p {
  margin-bottom: 5px;
  color: #6c757d;
}

/* Contact Form */
.contact-section {
  position: relative;
  overflow: hidden;
}

.contact-form {
  background: white;
  padding: 50px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  position: relative;
  z-index: 1;
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-form:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.contact-form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: var(--gradient);
  transition: var(--transition);
  z-index: -1;
}

.contact-form:hover::before {
  width: 100%;
  opacity: 0.05;
}

.form-control {
  height: 55px;
  border: 1px solid #e1e5ee;
  border-radius: var(--border-radius);
  padding: 10px 20px;
  font-size: 16px;
  transition: var(--transition);
  margin-bottom: 20px;
  box-shadow: none;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.2rem rgba(76, 175, 80, 0.25);
}

textarea.form-control {
  height: auto;
  min-height: 100px;
  resize: none;
}

.contact-info {
  padding: 50px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: var(--border-radius);
  color: white;
  height: 100%;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.contact-info::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxkZWZzPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuX2JhY2tncm91bmQiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiIHBhdHRlcm5UcmFuc2Zvcm09InJvdGF0ZSgxMjApIiB3aWR0aD0iNTAiIGhlaWdodD0iNTAiPjxyZWN0IHdpZHRoPSI1MCIgaGVpZ2h0PSI1MCIgZmlsbD0icmdiYSgyNTUsMjU1LDI1NSwwLjA1KSIvPjxwYXRoIGQ9Ik0wIDBINDBWNDBIMHoiIGZpbGw9InJnYmEoMjU1LDI1NSwyNTUsMC4xKSIvPjwvcGF0dGVybj48L2RlZnM+PHJlY3Qgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsbD0idXJsKCNwYXR0ZXJuX2JhY2tncm91bmQpIi8+PC9zdmc+');
  opacity: 0.3;
  z-index: -1;
}

.contact-info h3 {
  color: white;
  margin-bottom: 25px;
  font-weight: 700;
  position: relative;
  padding-bottom: 15px;
}

.contact-info h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: white;
  border-radius: 2px;
}

.contact-info p {
  margin-bottom: 30px;
  opacity: 0.9;
  line-height: 1.8;
}

.contact-details {
  margin-top: 40px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  flex-shrink: 0;
  font-size: 20px;
  color: white;
  transition: var(--transition);
}

.contact-item:hover .contact-icon {
  background: white;
  color: var(--primary);
  transform: translateY(-5px);
}

.contact-text h5 {
  color: white;
  margin-bottom: 5px;
  font-weight: 600;
}

.contact-text p, .contact-text a {
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  text-decoration: none;
  transition: var(--transition);
}

.contact-text a:hover {
  color: white;
  text-decoration: none;
  padding-left: 5px;
}

.social-links {
  display: flex;
  margin-top: 30px;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  color: white;
  font-size: 18px;
  transition: var(--transition);
}

.social-links a:hover {
  background: white;
  color: var(--primary);
  transform: translateY(-5px);
}

.form-control {
  height: 40px;
  border: 1px solid #e1e5ee;
  border-radius: 4px;
  padding: 10px 15px;
  font-size: 16px;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 0.2rem rgba(0, 150, 136, 0.25);
}

textarea.form-control {
  height: auto;
  min-height: 150px;
  resize: none;
}

/* Footer */
.footer {
  background: linear-gradient(135deg, #1a1f2c 0%, #2c3e50 100%);
  color: white;
  padding: 80px 0 20px;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxkZWZzPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuX2JhY2tncm91bmQiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiIHBhdHRlcm5UcmFuc2Zvcm09InJvdGF0ZSgxMjApIiB3aWR0aD0iNTAiIGhlaWdodD0iNTAiPjxyZWN0IHdpZHRoPSI1MCIgaGVpZ2h0PSI1MCIgZmlsbD0icmdiYSgyNTUsMjU1LDI1NSwwLjAyKSIvPjxwYXRoIGQ9Ik0wIDBINDBWNDBIMHoiIGZpbGw9InJnYmEoMjU1LDI1NSwyNTUsMC4wNSkiLz48L3BhdHRlcm4+PC9kZWZzPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjcGF0dGVybl9iYWNrZ3JvdW5kKSIvPjwvc3ZnPg==');
  opacity: 0.5;
  z-index: 0;
}

.footer .container {
  position: relative;
  z-index: 1;
}

.footer-logo {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 20px;
  display: inline-block;
  background: linear-gradient(90deg, #4CAF50, #2196F3);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-about p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 25px;
  line-height: 1.8;
}

.footer-links h4, .footer-newsletter h4 {
  color: white;
  font-weight: 700;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 15px;
}

.footer-links h4::after, .footer-newsletter h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background: var(--primary);
}

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

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

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--transition);
  display: inline-block;
  position: relative;
  padding-left: 0;
}

.footer-links a::before {
  content: '→';
  position: absolute;
  left: -20px;
  opacity: 0;
  transition: var(--transition);
  color: var(--primary);
}

.footer-links a:hover {
  color: white;
  padding-left: 20px;
}

.footer-links a:hover::before {
  left: 0;
  opacity: 1;
}

.newsletter-form {
  position: relative;
  margin-bottom: 20px;
}

.newsletter-form input {
  width: 100%;
  padding: 12px 20px;
  border: none;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  transition: var(--transition);
}

.newsletter-form input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 0 2px var(--primary);
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.newsletter-form button {
  position: absolute;
  top: 5px;
  right: 5px;
  bottom: 5px;
  padding: 0 20px;
  border: none;
  background: var(--primary);
  color: white;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.newsletter-form button:hover {
  background: var(--primary-dark);
  transform: translateX(5px);
}

.social-icons {
  display: flex;
  margin-top: 25px;
}

.social-icons a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  color: white;
  font-size: 16px;
  transition: var(--transition);
}

.social-icons a:hover {
  background: var(--primary);
  transform: translateY(-5px);
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  margin-top: 50px;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
}

.footer-bottom p a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

.footer-bottom p a:hover {
  color: white;
  text-decoration: underline;
}

footer h5 {
  color: white;
  font-weight: 600;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

footer h5:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background: var(--primary);
}

footer ul li {
  margin-bottom: 10px;
}

footer a {
  color: #bdc3c7;
  text-decoration: none;
  transition: all 0.3s ease;
}

footer a:hover {
  color: white;
  padding-left: 5px;
}

.social-icons a {
  display: inline-block;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  text-align: center;
  line-height: 40px;
  margin-right: 10px;
  color: white;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background: var(--primary);
  color: #2c3e50;
  transform: translateY(-3px);
}

/* Responsive Styles */
@media (max-width: 1199.98px) {
  .hero h1 {
    font-size: 3rem;
  }
  
  .section-title {
    font-size: 2.2rem;
  }
}

@media (max-width: 991.98px) {
  .hero {
    padding: 120px 0 80px;
    text-align: center;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .section {
    padding: 80px 0;
  }
  
  .section-title {
    font-size: 2rem;
    margin-bottom: 50px;
  }
  
  .feature-box, .testimonial-card, .contact-form {
    margin-bottom: 30px;
  }
  
  .contact-info {
    margin-top: 30px;
  }
  
  .navbar-collapse {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-top: 15px;
  }
  
  .navbar-nav {
    padding: 10px 0;
  }
  
  .nav-link {
    padding: 10px 0;
    margin: 0;
  }

  .nav-link {
    font-size: 1rem;
  }
}

@media (max-width: 767.98px) {
  .hero {
    padding: 100px 0 60px;
  }
  
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .hero p.lead {
    font-size: 1.2rem;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .section-title {
    font-size: 1.8rem;
    margin-bottom: 40px;
  }
  
  .feature-box, .testimonial-card, .contact-form {
    padding: 30px 20px;
  }
  
  .footer {
    padding: 60px 0 20px;
  }
  
  .footer-about, .footer-links, .footer-newsletter {
    margin-bottom: 40px;
  }
}

@media (max-width: 575.98px) {
  .hero h1 {
    font-size: 1.8rem;
  }
  
  .hero p.lead {
    font-size: 1.1rem;
  }
  
  .btn {
    padding: 10px 20px;
    font-size: 0.85rem;
  }
  
  .section-title {
    font-size: 1.6rem;
  }
  
  .feature-box .icon {
    width: 60px;
    height: 60px;
    font-size: 28px;
  }
  
  .testimonial-card {
    margin: 20px 0 40px;
  }
  
  .contact-form, .contact-info {
    padding: 30px 20px;
  }
}

/* Animation Classes */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.visible {
  opacity: 1 !important;
  transform: translateY(0);
}

/* Hover Effects */
.hover-scale {
  transition: var(--transition);
}

.hover-scale:hover {
  transform: scale(1.03);
}

.hover-lift {
  transition: var(--transition);
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 5px;
  transition: var(--transition);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

/* Preloader */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.5s, visibility 0.5s;
}

#preloader.hide {
  opacity: 0;
  visibility: hidden;
}

.loader {
  width: 50px;
  height: 50px;
  border: 5px solid #f3f3f3;
  border-top: 5px solid var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@media (max-width: 767.98px) {
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p.lead {
    font-size: 1.25rem;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .testimonial-card {
    padding: 30px 20px;
  }
  
  .contact-form {
    margin-bottom: 30px;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fadeInUp {
  animation: fadeInUp 0.6s ease forwards;
}

/* Utility Classes */
.bg-primary {
  background-color: var(--primary) !important;
}

.bg-secondary {
  background-color: var(--secondary) !important;
}

.text-primary {
  color: var(--primary) !important;
}

.text-secondary {
  color: var(--secondary) !important;
}

.rounded-lg {
  border-radius: 10px;
}

.shadow-lg {
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: var(--secondary);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: #00796b;
}

/* Policy / legal long-form pages */
.policy-document {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.policy-document .policy-meta {
  color: #6c757d;
  font-size: 0.95rem;
}

.policy-document h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.35rem;
}

.policy-document h3 {
  margin-top: 1.25rem;
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}

.policy-document p {
  margin-bottom: 1rem;
}

.policy-document ul,
.policy-document ol {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

.policy-document li {
  margin-bottom: 0.35rem;
}

.policy-document a {
  color: var(--secondary);
  word-break: break-word;
}

.policy-document a:hover {
  color: var(--primary-dark);
}

.policy-document hr {
  opacity: 0.15;
  margin: 1.5rem 0;
}

/* --- Mobile Responsiveness Overrides (Added) --- */
@media (max-width: 991.98px) {
  .dashboard-img {
    max-width: 92%;
    width: 92%;
    height: auto;
    margin: 18px auto 0;
    opacity: 1;
    display: block;
  }
}

@media (max-width: 767.98px) {
  body {
    overflow-x: hidden;
  }

  .floating-btn {
    width: auto;
    padding: 0 20px;
    font-size: 0.85rem;
    height: 45px;
    right: 15px;
    bottom: 80px;
  }
  
  .floating-whatsapp {
    width: 50px;
    height: 50px;
    right: 15px;
    bottom: 15px;
  }
  
  .floating-whatsapp i {
    font-size: 1.5rem;
  }

  .sticky-cta-inner {
    padding: 8px 10px;
    gap: 8px;
  }

  .sticky-cta-inner .btn {
    flex: 1;
    min-width: 0;
    padding: 9px 8px;
    font-size: 0.72rem;
    letter-spacing: 0.4px;
  }
  
  .hero .btn {
    width: 100%;
    min-width: 0;
    margin-bottom: 15px;
  }

  /* Fix card contents overflowing */
  .feature-card {
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
}
