   /* Reset & base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}
body {
  background: #fff;
  color: #333;
  line-height: 1.6;
  scroll-behavior: smooth;
}
a {
  color: #002855;
  text-decoration: none;
  cursor: pointer;
}
a:hover {
  text-decoration: underline;
}

/* Navbar */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: white;
  border-bottom: 1px solid #eee;
  box-shadow: 0 1px 5px rgb(0 0 0 / 0.05);
  z-index: 1000;
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
}
.logo {
  font-weight: 700;
  font-size: 1.4rem;
  color: #000;
}
.logo span {
  font-weight: 900;
  color: #002855;
}
ul.nav-links {
  list-style: none;
  display: flex;
  gap: 24px;
  font-weight: 500;
  font-size: 0.95rem;
}
ul.nav-links li {
  position: relative;
}
ul.nav-links li a {
  padding: 6px 0;
  display: inline-block;
  transition: color 0.3s;
}
ul.nav-links li a:hover,
ul.nav-links li a.active {
  color: #00C853;
  font-weight: 700;
}

/* Button on nav */
.btn-primary-nav {
  background: #002855;
  color: white;
  padding: 8px 18px;
  border-radius: 5px;
  font-weight: 600;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
}
.btn-primary-nav:hover {
  background: #00C853;
}
.btn-primary-nav-view{
  background: #00C853;
  color: white;
  padding: 8px 18px;
  border-radius: 5px;
  font-weight: 600;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
}

/* Main Hero Section */
header.hero {
  padding: 120px 20px 60px;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  flex-wrap: wrap;
}
.hero-content {
  flex: 1 1 450px;
  max-width: 550px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.hero-content.visible {
  opacity: 1;
  transform: translateY(0);
}
.hero-content h1 {
  font-size: 2.6rem;
  margin-bottom: 15px;
  font-weight: 700;
  color: #111;
  line-height: 1.2;
}
.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 25px;
  color: #666;
}
.hero-content .btn-primary {
  background: #002855;
  color: white;
  padding: 12px 26px;
  border: none;
  border-radius: 6px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.hero-content .btn-primary:hover {
  background: #00C853;
}
.hero-image {
  flex: 1 1 350px;
  max-width: 450px;
  text-align: center;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease 0.3s, transform 0.8s ease 0.3s;
}
.hero-image.visible {
  opacity: 1;
  transform: translateY(0);
}
.hero-image img {
  width: 100%;
  border-radius: 50%;
  box-shadow: 0 4px 30px rgb(0 40 85 / 0.3);
}
.hero-bubble {
  background: #002855;
  color: white;
  padding: 14px 20px;
  border-radius: 8px;
  font-weight: 600;
  position: absolute;
  top: 50%;
  right: 20%;
  max-width: 220px;
  box-shadow: 0 4px 12px rgb(0 40 85 / 0.3);
  font-size: 0.95rem;
  line-height: 1.3;
  transform: translateY(-50%);
  display: none;
  animation: bubbleFadeIn 1s ease forwards;
}
@keyframes bubbleFadeIn {
  from {
    opacity: 0;
    transform: translateY(-60%) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(-50%) scale(1);
  }
}
@media(min-width: 900px) {
  .hero {
    position: relative;
  }
  .hero-bubble {
    display: block;
  }
}

/* Section Styling */
section {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
section.visible {
  opacity: 1;
  transform: translateY(0);
}
section h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #00C853;
  text-align: center;
}
section p.section-subtitle {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 50px;
  font-size: 1.05rem;
  color: #555;
  font-weight: 500;
}

/* Features Grid */
.features-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: repeat(3, 1fr);
}
.feature-card {
  background: #f8faff;
  border-radius: 10px;
  padding: 25px 20px;
  box-shadow: 0 4px 10px rgb(0 40 85 / 0.1);
  text-align: center;
  transition: box-shadow 0.3s ease, transform 0.5s ease;
  opacity: 0;
  transform: translateY(20px);
}
.feature-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.feature-card:hover {
  box-shadow: 0 8px 20px rgb(0 40 85 / 0.25);
  transform: translateY(-5px);
}
.feature-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  fill: #00C853;
}
.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: #002855;
  font-weight: 700;
}
.feature-card p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.4;
}

/* Contact */
.contact-info {
  text-align: center;
  font-size: 1rem;
  line-height: 1.6;
  color: #444;
  margin-bottom: 18px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.contact-info.visible {
  opacity: 1;
  transform: translateY(0);
}
.contact-info a {
  color: #002855;
  font-weight: 600;
}

/* Footer */
/* Footer */
footer {
  background: #f3f6fc;
  padding: 20px;
  text-align: center;
  font-size: 0.9rem;
  color: #777;
  border-top: 1px solid #e1e7f3;
  margin-top: 60px;

  /* Added for full width */
  width: 100vw;  
  margin-left: calc(-50vw + 50%);
}


/* Get Started Call To Action */
#get-started {
  background: #002855;
  color: white;
  padding: 50px 20px;
  text-align: center;
  border-radius: 8px;
  max-width: 800px;
  margin: 80px auto;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
#get-started.visible {
  opacity: 1;
  transform: translateY(0);
}
#get-started h2 {
  margin-bottom: 12px;
}
#get-started p {
  max-width: 650px;
  margin: 0 auto 30px;
  font-size: 1.1rem;
}
#get-started button.btn-primary {
  font-size: 1.25rem;
  padding: 14px 32px;
  max-width: 250px;
  cursor: pointer;
  border-radius: 6px;
  border: none;
  background: white;
  color: #002855;
  font-weight: 700;
  transition: background-color 0.3s ease, color 0.3s ease;
}
#get-started button.btn-primary:hover {
  background: #00C853;
  color: white;
}

/* Responsive Nav for smaller screens */
@media(max-width: 768px) {
  nav .nav-container {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }
  ul.nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    width: 100%;
    margin-top: 10px;
  }
  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: 100px;
  }
  .hero-content, .hero-image {
    max-width: 100%;
  }
  .hero-bubble {
    position: static;
    transform: none;
    margin: 20px auto 0;
  }
}

  
  /* Feature Slider Container */
  .feature-slider {
    overflow: hidden;
    max-width: 100%;
    margin: 0 auto;
    padding-bottom: 20px;
    position: relative;
  }

  /* Track with flex items sliding horizontally */
  .slider-track {
    display: flex;
    gap: 24px;
    animation: scrollLeft 20s linear infinite;
  }

  /* Each feature card styles */
  .feature-card {
    flex: 0 0 280px;
    background: #f8faff;
    border-radius: 10px;
    padding: 25px 20px;
    box-shadow: 0 4px 10px rgba(0, 40, 85, 0.1);
    text-align: center;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
  }
  .feature-card:hover {
    box-shadow: 0 8px 20px rgba(0, 40, 85, 0.25);
    transform: translateY(-5px);
  }
  .feature-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 15px;
  }
  .feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: 700;
  }
  .feature-card p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.4;
  }

  /* Keyframes for infinite horizontal scroll */
  @keyframes scrollLeft {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(calc(-280px * 5 - 24px * 4));
    }
  }

  /* Pause animation on hover */
  .feature-slider:hover .slider-track {
    animation-play-state: paused;
  }

  /* Responsive adjustments */
  @media (max-width: 768px) {
    .feature-card {
      flex: 0 0 80vw;
    }
    .slider-track {
      gap: 16px;
      animation-duration: 15s;
    }
  }


  /* ========================
   MOBILE RESPONSIVE STYLES
======================== */

/* For tablets and small laptops */
@media (max-width: 992px) {
  header nav ul {
    display: none; /* Hide big menu */
  }

  header .menu-toggle {
    display: block; /* Show hamburger icon */
  }

  section {
    padding: 40px 20px;
  }

  .container {
    flex-direction: column;
    align-items: center;
  }
}

/* For mobile devices */
@media (max-width: 768px) {
  /* Header */
  header {
    flex-direction: column;
    text-align: center;
    padding: 10px;
  }
  header h1 {
    font-size: 1.5rem;
  }

  /* Hero / Banner section */
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 40px 15px;
  }
  .hero img {
    max-width: 100%;
    height: auto;
  }

  /* Services */
  .services {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  .service-card {
    width: 100%;
    text-align: center;
    padding: 20px;
  }

  /* About section */
  .about {
    flex-direction: column;
    text-align: center;
  }
  .about img {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
  }

  /* Contact form */
  .contact-form {
    width: 100%;
    padding: 0 15px;
  }
  .contact-form input,
  .contact-form textarea {
    width: 100%;
  }

  /* Footer */
  footer {
    text-align: center;
    padding: 20px 10px;
  }
  footer .footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  footer .footer-container > div {
    min-width: auto;
    flex: unset;
  }
  footer h3 {
    margin-bottom: 8px;
  }
  footer p,
  footer a {
    font-size: 0.85rem;
  }
  footer .social-icons {
    gap: 15px !important;
  }
}

/* For very small devices */
@media (max-width: 480px) {
  header h1 {
    font-size: 1.2rem;
  }
  .hero {
    padding: 30px 10px;
  }
  .hero h2 {
    font-size: 1.4rem;
  }
  .hero p {
    font-size: 0.9rem;
  }
  footer {
    font-size: 0.8rem;
  }
  footer .footer-container {
    gap: 15px;
  }
  footer .social-icons a {
    font-size: 1.2rem;
  }
}


  /* Features Grid Responsive Adjustments */
  .features-grid {
    display: grid;
    grid-template-columns: (3, 1fr);
    gap: 20px;
    padding: 20px 0;
  }

  .feature-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
  }

  .feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  }

  .feature-card h3 {
    font-size: 1.1rem;
    margin-top: 10px;
  }

  .feature-card p {
    font-size: 0.9rem;
    line-height: 1.4;
  }

  @media (max-width: 768px) {
    .feature-card {
      padding: 15px;
    }
  }


  /* Base Navbar Styles */
.nav-links {
  display: flex;
  gap: 20px;
  list-style: none;
}

.nav-links li a {
  text-decoration: none;
  color: #002855;
  padding: 8px 12px;
}

/* Hamburger button hidden by default */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Mobile Styles */
@media (max-width: 768px) {
  .nav-links {
    display: none;          /* hide menu initially */
    flex-direction: column; /* vertical menu on mobile */
    gap: 10px;
    background: #fff;
    position: absolute;
    top: 60px; /* adjust according to nav height */
    right: 20px;
    width: 200px;
    padding: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-radius: 8px;
    z-index: 100;
  }

  .nav-links.active {
    display: flex; /* show menu when active */
  }

  .nav-toggle {
    display: block; /* show hamburger */
    color: #002855;
  }

  .btn-primary-nav {
    display: none; /* hide button on mobile if needed */
  }
}

/* =========================
   GENERAL MOBILE RESPONSIVE FIXES
========================= */

/* Tablets and small laptops */
@media (max-width: 992px) {
  section {
    padding: 40px 20px;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 columns on tablet */
    gap: 20px;
  }
}

/* Mobile devices */
@media (max-width: 768px) {
  /* Navbar */
  .nav-container {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }
  ul.nav-links {
    display: none;
    flex-direction: column;
    gap: 10px;
    background: #fff;
    position: absolute;
    top: 60px;
    right: 20px;
    width: 200px;
    padding: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-radius: 8px;
    z-index: 100;
  }
  ul.nav-links.active {
    display: flex;
  }
  .nav-toggle {
    display: block;
  }
  .btn-primary-nav {
    display: none;
  }

  /* Hero */
  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: 80px;
  }
  .hero-content, .hero-image {
    max-width: 100%;
    text-align: center;
  }
  .hero-bubble {
    position: static;
    transform: none;
    margin: 20px auto 0;
  }

  /* Features */
  .features-grid {
    grid-template-columns: 1fr; /* 1 column on mobile */
    gap: 15px;
    padding: 20px 0;
  }
  .feature-card {
    flex: 0 0 90%;
    padding: 15px;
    margin: 0 auto;
  }
  .slider-track {
    flex-wrap: nowrap;
    animation-duration: 15s;
  }

  /* Services & About */
  .services, .about {
    flex-direction: column;
    text-align: center;
  }
  .services img, .about img {
    max-width: 100%;
    margin-bottom: 15px;
  }

  /* Contact form */
  .contact-form {
    width: 100%;
    padding: 0 15px;
  }
  .contact-form input,
  .contact-form textarea {
    width: 100%;
  }

  /* Get Started Section */
  #get-started {
    padding: 40px 15px;
    margin: 60px auto;
  }
  #get-started button.btn-primary {
    width: 80%;
    max-width: 220px;
    font-size: 1.1rem;
    padding: 12px 20px;
  }

  /* Footer */
  footer {
    padding: 20px 10px;
    text-align: center;
  }
  footer .footer-container {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  footer p, footer a {
    font-size: 0.85rem;
  }
}

/* Very small devices <480px */
@media (max-width: 480px) {
  header h1 {
    font-size: 1.2rem;
  }
  .hero {
    padding: 30px 10px;
  }
  .hero-content h1 {
    font-size: 1.8rem;
  }
  .hero-content p {
    font-size: 0.95rem;
  }
  .feature-card h3 {
    font-size: 1rem;
  }
  .feature-card p {
    font-size: 0.85rem;
  }
  #get-started h2 {
    font-size: 1.4rem;
  }
  #get-started p {
    font-size: 0.95rem;
  }
  footer {
    font-size: 0.8rem;
  }
}
