/* Reset + Base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Segoe UI', sans-serif;
  line-height: 1.6;
  background: #f9fbfd;
  color: #222;
}

/* Header */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  padding: 15px 40px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 1000; /* stays above other sections */
  background: #fff; /* prevents transparent overlap */
}
.logo img {
  height: 40px;
  width: auto;
  object-fit: contain;
}
.logo {
  font-size: 1.5rem;
  font-weight: bold;
}
.logo span {
  color: #00b894;
}
.container {
  max-width: 1200px;  /* prevents sections from stretching edge-to-edge */
  margin: 0 auto;     /* centers content horizontally */
  padding: 0 20px;    /* keeps spacing nice on small screens */
}
.navbar a {
  position: relative;
  margin: 0 15px;
  text-decoration: none;
  color: #333;
  transition: color 0.3s ease;
  padding-bottom: 4px;
}
.navbar a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: #2d7eff;
  transition: width 0.3s ease;
  left: 50%;
  transform: translateX(-50%);
}
  .navbar a:hover {
  color: #2d7eff; /* brand blue */
  
}
.navbar a:hover::after {
  width: 100%;
}
.navbar a.active {
  color: #2d7eff;
}

.navbar a.active::after {
  width: 100%;
}
.btn-primary {
  background: #2d7eff;
  color: #fff;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
}
.btn-primary:hover {
  background: linear-gradient(135deg, #0062ff, #004de6);
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 98, 255, 0.4);
  transition: all 0.3s ease;
  cursor: pointer;
}
.btn-secondary {
  background: #2d7eff;
  color: #fff;
  padding: 10px 30px;
  border-radius: 25px;
  text-decoration: none;
}
.btn-secondary:hover {
  background: linear-gradient(135deg, #0062ff, #004de6);
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 98, 255, 0.4);
  transition: all 0.3s ease;
  cursor: pointer;
}
.btn-primary,
.btn-secondary {
  display: inline-flex;       /* behaves like a flexible block */
  align-items: center;        /* vertically centers text */
  justify-content: center;    /* horizontally centers text */
  transition: all 0.3s ease;  /* smooth hover */
  cursor: pointer;            /* pointer cursor */
}

/* Hero Section */
.hero {
  display: flex;
  justify-content: space-between;
  padding: 60px 40px;
  background: linear-gradient(135deg, #eef4ff, #ffffff);
}
.hero-content {
  max-width: 600px;
}
.hero-content p {
   max-width: 500px; /* Adjust until it lines up visually with 'Billing.' */
  font-size: 1.05rem;
  margin-top: 15px;
  color: #444;
  line-height: 1.6;
}
.hero-content h1 {
  font-size: 2.5rem;
}
.hero-content h1 span {
  color: #2d7eff;
}
.hero-buttons {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;   /* allow buttons to go to next line on small screens */
  gap: 12px;         /* space between buttons, horizontal OR vertical */
}
.hero-description {
  max-width: 500px; /* Adjust until it lines up visually with 'Billing.' */
  font-size: 1.05rem;
  margin-top: 15px;
  color: #444;
  line-height: 1.6;
}
.analytics {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  padding: 20px 25px;
  width: 860px;
  transition: all 0.3s ease; /* prepare for hover effect */
}
.analytics:hover {
  transform: translateY(-2px);
  
  box-shadow: 0 8px 20px rgba(0, 98, 255, 0.4);
}

.analytics-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}
.analytics-header h3 {
  font-size: 1.1rem;
}
.analytics-growth {
  color: green;
  font-weight: bold;
  font-size: 1.2rem;
}

.analytics-metric {
  margin-bottom: 15px;
}
.analytics-metric label {
  font-size: 0.9rem;
  display: block;
  margin-bottom: 6px;
}
.analytics-metric span {
  float: right;
  font-size: 0.85rem;
  font-weight: 600;
}

.bar {
  height: 8px;
  background: #eaeaea;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 5px;
}
.bar-fill {
  height: 100%;
  border-radius: 4px;
}
.bar-fill.blue {
  background: #2d7eff;
}
.bar-fill.green {
  background: #28a745;
}


/* About */
.about {
  padding: 80px 20px;
  background: #ffffff; /* clean background */
}
.about h2 {
  font-size: 2.2rem;        /* larger heading */
  font-weight: 800;         /* bold */
  margin-bottom: 20px;
  color: #00050c;           /* brand blue */
  /* letter-spacing: 1px; */
  padding-left: 100px;
}
.about p {
  max-width: 750px;         /* wrap text nicely */
  margin: 0 auto;
  font-size: 1.2rem;        /* slightly larger text */
  line-height: 1.8;         /* more readable */
  color: #444;              /* softer than pure black */
  font-weight: 400;
  background: #f8faff;      /* subtle background block */
  padding: 20px 30px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.about p:hover {
  transform: translateY(-2px);
  
  box-shadow: 0 8px 20px rgba(0, 98, 255, 0.4);
}
.about-container {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;        /* take full width of screen */
  max-width: 100%;    /* no restriction */
  padding: 0;         /* remove side padding */
  gap: 40px;          /* keep some gap between text and image */
}

.about-text {
  flex: 1;
  text-align: left;
  padding-left: 200px; /* small breathing space from left edge */
}

.about-text h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: #000;
}

.about-text p {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #444;
  font-weight: 400;
  background: #f8faff;
  padding: 20px 30px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  max-width: 650px;   /* keep paragraph readable */
  margin: 0;          /* ⬅ remove auto-centering */
  text-align: left;   /* ⬅ force left alignment */


}
.about-text p:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 98, 255, 0.4);
}

.about-image {
  flex: 1;
  display: flex;
  justify-content: flex-end; /* align image further right */
  padding-right: 40px;       /* extra push right */
}

.about-image img {
  width: 100%;
  max-width: 600px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
/* Stats Section under Who We Are */
.about-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.stat-card {
  background: linear-gradient(135deg, #f8fbff, #eaf3ff);
  border-radius: 15px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  
}

.stat-icon {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #2d7eff;
}

.stat-card h3 {
  font-size: 1.8rem;
  font-weight: 800;
  color: #111;
  margin-bottom: 5px;
}

.stat-card p {
  font-size: 1rem;
  color: #555;
}


/* Services */
/* Services Section */
.services {
  padding: 80px 40px;
  background: #f9fbff;
  text-align: center;
}

.services h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 40px;
  color: #01040a;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);;
  gap: 25px;
}

.service-card {
  background: #fff;
  border-radius: 15px;
  padding: 25px;
  text-align: left;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.service-card:hover {
  transform: translateY(-5px);
  
  box-shadow: 0 8px 20px rgba(0, 98, 255, 0.4);
}

.service-icon {
  background: #2d7eff;
  color: #fff;
  font-size: 1.5rem;
  padding: 12px;
  border-radius: 10px;
  margin-bottom: 15px;
}

.service-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #111;
}

.service-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
}

/* Plans */
.plans {
  padding: 80px 40px;
  text-align: center;
  background: #f9fbff;
}

.plans h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 40px;
  color: #01040a;
}

.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.price-card {
  background: #fff;
  padding: 30px 25px;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  text-align: left;
  transition: all 0.3s ease;
}

.price-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 98, 255, 0.3);
}

.price-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #01040a;
}

.plan-subtitle {
  font-size: 1rem;
  color: #444;
  margin-bottom: 20px;
}

.plan-features {
  list-style: none;
  padding-left: 0;
}

.plan-features li {
  margin-bottom: 12px;
  padding-left: 25px;
  position: relative;
  color: #333;
  font-size: 0.95rem;
}

.plan-features li::before {
  content: "✔️";
  position: absolute;
  left: 0;
  top: 0;
}

/* Contact */
.contact {
  padding: 80px 40px;
  background: #e3ecff;
}

.contact-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-info {
  flex: 1;
}

.contact-info h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 25px;
  color: #01040a;
}

.contact-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.contact-card {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 98, 255, 0.3);
}

.contact-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #2d7eff;
}

.contact-card p {
  font-size: 1rem;
  color: #333;
}

.contact-form-wrapper {
  flex: 1;
}

.contact-form-wrapper h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #01040a;
}

.contact-form {
  display: grid;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 1rem;
}
.contact-info h2,
.contact-form-wrapper h2 {
  text-align: center;
  width: 100%;       /* makes sure they span full width */
  display: block;    /* ensures proper centering */
}



/* Footer */
.footer {
  background: #0e1b2c;
  color: #fff;
  padding: 40px 20px;
  font-size: 0.95rem;
}

.footer-links {
  text-align: center;
  margin-bottom: 15px;
}

.footer-links a {
  color: #ccc;
  margin: 0 12px;
  text-decoration: none;
}

.footer-links a:hover {
  color: #fff;
}

.footer-copy {
  text-align: center;
  margin-bottom: 15px;
  color: #aaa;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 15px;
  margin-top: 15px;
}

.footer-left {
  font-size: 0.9rem;
  color: #bbb;
}

.footer-right {
  font-size: 0.9rem;
  color: #bbb;
  text-align: right;
}

.footer-bottom p {
  margin: 0;
}


.phone-pill {
  background: #2d7eff;
  color: #dce3e9;
  border: 1px solid #ffeeba;
  padding: 6px 12px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 20px;
  display: inline-block;
  margin-left: auto; /* Pushes it right in flex layout */
  margin-right: 10px;
  white-space: nowrap;
  text-decoration: none;
  padding: 5.5px 20px;
}

.phone-pill:hover {
  background: linear-gradient(135deg, #0062ff, #004de6);
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 98, 255, 0.4);
  transition: all 0.3s ease;
  cursor: pointer;
  
}
.btn-primary,
.phone-pill {
  display: inline-flex;      /* ensures they behave like flexible blocks */
  align-items: center;       /* vertical centering */
  justify-content: center;   /* horizontal centering if needed */
  transition: all 0.3s ease; /* smooth hover effect */
}
button {
  border: none;
  outline: none;
}


@media (max-width: 612px) {
  /* Header/Nav */
  .header {
    flex-direction: column;
    align-items: flex-start;
  }
  .navbar {
    position: relative;
    width: 100%;            /* make it span full width */
    background: #fff;       /* give it background so it doesn’t overlap text */
    padding: 10px 0;
    z-index: 1000;          /* keep it above content */
  }
  .navbar a {
   display: block;
    padding: 10px;
    text-align: center;
    border-bottom: 1px solid #eee;
  }

  .phone-pill {
    margin: 10px 0;
  }

  /* Hero Section */
  .hero {
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
  }
  .hero-content {
    width: 100%;
  }
  .analytics {
     width: 100% !important; 
  }

/* About Section */
  .about-container {
    flex-direction: column;   /* stack text above image */
    align-items: center;      /* center both */
    text-align: center;       /* center text */
    gap: 30px;
    padding: 0 20px;          /* smaller padding */
  }

  .about-text {
    padding-left: 0 !important;         /* reset desktop offset */
  }

  .about-text h2 {
    padding-left: 0 !important;         /* reset heading offset */
    font-size: 2rem;          /* shrink heading */
  }

  .about-text p {
    font-size: 1rem;
    line-height: 1.6;
    padding: 15px 20px;       /* smaller box */
    margin: 0 auto;           /* center block */
  }

  .about-image {
    justify-content: center;  /* center image */
    padding-right: 0;
  }

  .about-image img {
    max-width: 90%;           /* smaller image */
  }

  .about-stats {
    grid-template-columns: 1fr; /* 2 cards per row on tablets */
    gap: 15px;
  }

  /* Services (What We Do) */
  section.what-we-do {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 15px !important;   /* breathing space */
    margin: 0 auto !important;    /* center the block */
    box-sizing: border-box !important;
  }

  section.what-we-do .cards {
    display: block !important;    /* stack cards */
    width: 100% !important;
  }

  section.what-we-do .card {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 20px 0 !important;
    box-sizing: border-box !important;
  }
.service-grid {
    grid-template-columns: 1fr !important;  /* stack cards */
  }

  .service-card {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 20px 0 !important;
    box-sizing: border-box !important;
  }

  /* Plans Section */
  .pricing {
    grid-template-columns: repeat(1, 1fr);
  }

  /* Contact */
  .contact-container {
    flex-direction: column;
    text-align: center;
  }

  .contact-info h2 {
    text-align: center;
  }

  .contact-cards {
    grid-template-columns: 1fr;
  }

  .contact-form-wrapper {
    margin-top: 30px;
  }

  /* Typography adjustments */
  .hero-content h1 {
    font-size: 1.8rem;
  }
  .hero-content p {
    font-size: 1rem;
  }

  /* Footer */
  .footer {
    text-align: center;
  }
  .footer-content {
    flex-direction: column;
    gap: 10px;
  }
  
  html, body {
  overflow-x: hidden;
}

}