:root {
    --primary: #0d6efd;           /* Main Blue */
    --primary-dark: #0b5ed7;      /* Darker Blue */
    --primary-soft: #e7f0ff;      /* Soft Blue */
    --secondary: #084298;         /* Deep Navy */
    --secondary-light: #3d8bfd;   /* Light Accent Blue */

    --bg-light: #f4f8ff;
    --bg-white: #ffffff;

    --text-dark: #0f172a;
    --text-muted: #64748b;

    --card-hover: 0 20px 40px rgba(13, 110, 253, 0.15);
}

html, body {
    font-family: 'Inter', system-ui, sans-serif;
    overflow-x: hidden;
}

.navbar {
    background: #ffffff;
}

/* Buttons */
.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--secondary);
    border-color: var(--secondary);
}

.btn-secondary {
    background: transparent;
    border-color: var(--primary);
    color: var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

/* Hero */
.hero {
    padding: 120px 0 90px;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: #fff;
}

.hero h1 {
    font-weight: 800;
    font-size: 3rem;
}

/* Sections */
.section-padding {
    padding: 90px 0;
}

.bg-soft {
    background: var(--bg-light);
}

.icon-color {
    color: var(--primary);
}

/* Footer */
footer {
    background: var(--primary-dark);
    color: #fff;
}

/* Logo */
.logo {
    width: 5%;
    height: 5%;
}

/* Cards */
.card {
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    border-color: transparent;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--card-hover);
    border: 3px solid var(--primary);
}

/* Scroll animations */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }

/* Solution section */
#solution {
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    background-image: url('sample1.png');
}

.before {
    background-color: rgba(13, 110, 253, 0.15);
}

/* Diagonal section */
.diagonal-section {
  height: 380px;
  position: relative;
  overflow: hidden;
}

.diagonal-bg {
  position: relative;
  width: 100%;
  height: 100%;
  background: white;
}

.diagonal-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--primary-dark);
  clip-path: polygon(0 0, 55% 0, 35% 100%, 0 100%);
  z-index: 1;
}

/* Content */
.content {
  position: absolute;
  z-index: 2;
  max-width: 420px;
}

.left-content {
  top: 50%;
  left: 8%;
  transform: translateY(-50%);
  color: #ffffff;
}

.right-content {
  top: 50%;
  right: 8%;
  transform: translateY(-50%);
  color: #222;
  text-align: end;
}

/* Steps */
.step-number {
  font-size: 56px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--secondary-light), var(--secondary));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 10px;
}

.step-card h5 {
  font-weight: 600;
  margin-bottom: 5px;
}

.step-card p {
  color: var(--text-muted);
  font-size: 15px;
}

.steps-footer {
  color: var(--text-muted);
  font-size: 16px;
}

/* Images */
.img-rounded {
  height: 120px;
  width: 120px;
}

/* WhatsApp */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25D366;
  color: white;
  border-radius: 50px;
  padding: 10px 15px;
  text-decoration: none;
  font-weight: 500;
  display: flex;
  align-items: center;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  transition: transform 0.2s ease-in-out;
}

.whatsapp-float:hover {
  transform: scale(1.05);
}

.whatsapp-float img {
  width: 28px;
  height: 28px;
  margin-right: 10px;
}

.wa-text {
  font-size: 16px;
  color: white;
  white-space: nowrap;
}

/* Mobile WhatsApp */
@media (max-width: 576px) {
  .wa-text { display: none; }

  .whatsapp-float {
    border-radius: 50%;
    padding: 12px;
  }

  .whatsapp-float img {
    margin-right: 0;
  }
}

/* Mobile general */
@media (max-width: 768px) {
  .diagonal-section {
    height: auto;
  }

  .diagonal-bg::before {
    clip-path: polygon(0 0, 100% 0, 100% 45%, 0 65%);
  }

  .content {
    position: relative;
    transform: none;
    padding: 2rem;
    max-width: 100%;
  }

  .left-content,
  .right-content {
    left: auto;
    right: auto;
  }

  .left-content {
    color: #fff;
    background: var(--primary-dark);
  }

  .right-content {
    background: white;
  }

  .logo {
      width: 10%;
      height: 10%;
  }
}
