:root {
  --primary: #f86802;
  --secondary: #f59e0b;
  --accent: #d45900;
  --bg: #f8fafc;
  --text: #1f2937;
  --white: #fff;
  --shadow: 0 2px 8px rgba(31,41,55,0.08);
  --radius: 16px;
  --space: 1.5rem;
  --transition: 0.2s cubic-bezier(.4,0,.2,1);
}

html {
  font-size: 16px;
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  margin: 0;
  line-height: 1.7;
  min-height: 100vh;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover, a:focus {
  color: var(--accent);
  outline: none;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  margin-bottom: 0.5em;
  color: var(--text);
  font-family: 'Inter', sans-serif;
}

.section {
  padding: 3.5rem 0 2.5rem 0;
}
.section-title {
  margin-bottom: 2.5rem;
  text-align: center;
}
.section-title h2 {
  font-size: 2.2rem;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-title p {
  color: #6b7280;
  max-width: 500px;
  margin: 0 auto;
}

.minimal-navbar {
  background: var(--white);
  box-shadow: var(--shadow);
  padding: 0.5rem 0;
  transition: background var(--transition), box-shadow var(--transition);
}
.navbar-brand img {
  height: 40px;
}
.navbar-nav .nav-link {
  color: var(--text) !important;
  font-weight: 500;
  margin: 0 0.5rem;
  border-radius: 8px;
  padding: 0.5rem 1rem !important;
  transition: background var(--transition), color var(--transition);
}
.navbar-nav .nav-link:hover, .navbar-nav .nav-link:focus {
  background: var(--primary);
  color: var(--white) !important;
}

/* slide show */

.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  /* background: linear-gradient(120deg, var(--primary) 0%, var(--accent) 100%); */
  color: var(--white);
  position: relative;
  text-align: center;
  padding: 3rem 1rem 2rem 1rem;
  overflow: hidden;
}
.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  z-index: 1;
  pointer-events: none;
  transition: opacity 1s;
  display: flex;
  align-items: center;
  justify-content: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
.hero-slide.active {
  opacity: 1;
  z-index: 2;
  pointer-events: auto;
}
.hero-section .slide-content {
  max-width: 700px;
  margin: 0 auto;
  z-index: 2;
  background: rgba(0, 0, 0, 0.2);
  /* backdrop-filter: blur(0px); */
  padding: 20px;
}
.slide-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--primary);
}
.slide-description {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}
.slide-btn {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--primary);
  color: var(--white);
  border-radius: 50px;
  font-weight: 200;
  font-size: 1rem;
  box-shadow: var(--shadow);
  transition: background var(--transition), color var(--transition);
}
.slide-btn:hover, .slide-btn:focus {
  background: var(--accent);
  color: var(--white);
}
.slide-img-mobile {
      display: none;
      width: 100%;
      height: 50vh;
      object-fit: cover;
      border-radius: 0;
    }

    /* Desktop: Default styles for navigation and dots */
    .slide-nav {
      position: absolute;
      top: 50vh;
      transform: translateY(-50%);
      background: rgba(255,255,255,0.7);
      border: none;
      font-size: 2rem;
      color: #333;
      z-index: 2;
      cursor: pointer;
      padding: 0.25em 0.7em;
      border-radius: 50%;
      transition: background 0.2s;
    }
    .slide-nav.prev { left: 2%; }
    .slide-nav.next { right: 2%; }
    .slide-dots {
      position: absolute;
      left: 50%;
      bottom: 2rem;
      transform: translateX(-50%);
      display: flex;
      gap: 10px;
      z-index: 2;
    }
    .dot {
      width: 12px;
      height: 12px;
      background: #ccc;
      border-radius: 50%;
      display: inline-block;
      cursor: pointer;
    }
    .dot.active, .dot:focus { background: #333; }

    /* Hide navigation and dots on desktop if you want to (optional) */
    /* Remove this block if you want to keep them on desktop! */
    /*
    @media (min-width: 768px) {
      .slide-nav, .slide-dots { display: none !important; }
    }
    */

@media (max-width: 767px) {
  .section-title h2{
    font-size: 1.5rem;
  }
  h2{
  font-size: 20px;
}
  .hero-section {
    height: 100vh !important;
    min-height: 100vh !important;
    max-height: 100vh !important;
    width: 100vw !important;
    max-width: 100vw !important;
    position: relative;
    overflow: hidden;
    padding: 0 !important;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    /* Add padding-top for fixed navbar height if needed, e.g. 56px */
    padding-top: 56px !important;
  }
  .hero-slide {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100vw !important;
    height: calc(100vh - 56px) !important;
    max-width: 100vw !important;
    max-height: calc(100vh - 56px) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start;
    background: none !important;
    padding: 0 !important;
    z-index: 1;
  }
  .hero-slide.active {
    display: flex !important;
  }
  .slide-img-mobile {
    display: block !important;
    width: 100vw !important;
    height: 40%;
    /* max-height: 50%; */
    object-fit: cover !important;
    flex: 0 0 50%;
  }
  .slide-content {
    height: 60%;
    background: #fff !important;
    color: #222;
    padding: 1.5rem 1rem 2rem 1rem;
    text-align: center !important;
    border-radius: 0 0 12px 12px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04) !important;
    z-index: 2;
    position: relative;
    flex: 1 1 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .slide-description {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  padding: 10px;
}
  /* .slide-nav-container {
    position: absolute;
    top: 25%;
    left: 0;
    width: 100vw;
    height: 0;
    z-index: 3;
    display: flex;
    justify-content: space-between;
    align-items: center;
    pointer-events: none;
  }
  .slide-nav {
    position: absolute !important;
    top: 0;
    background: rgba(255,255,255,0.7);
    color: #333;
    font-size: 2rem;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    border-radius: 50%;
    border: none;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
  }
  .slide-nav.prev {
    left: 10px;
    transform: translateY(-50%);
  }
  .slide-nav.next {
    right: 10px;
    transform: translateY(-50%);
  } */
  .slide-dots {
    position: relative !important;
    left: unset;
    bottom: unset;
    transform: none;
    justify-content: center;
    display: flex;
    gap: 10px;
    margin: 0.5rem auto;
    z-index: 4;
  }
  .dot {
    width: 12px;
    height: 12px;
    background: #ccc;
    border-radius: 50%;
    cursor: pointer;
  }
  .dot.active {
    background: #333;
  }
  .slide-overlay {
    display: none !important;
  }
}



    /* Mobile: Stack navigation and dots below content, center them */
    @media (max-width: 767px) {
      .hero-section {
        position: relative;
        padding-bottom: 3.5rem; /* space for nav/dots */
      }
      .slide-nav {
        font-size: 1rem;
      }
      .slide-dots {
        position: static;
        left: unset;
        bottom: unset;
        transform: none;
        justify-content: center;
        margin-bottom: 0rem;
      }
      .slide-overlay {
        display: none;
      }
      .slide-content {
        background: #fff;
        color: #222;
        padding: 1.5rem 1rem 2rem 1rem;
        text-align: center;
        border-radius: 0 0 12px 12px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.04);
      }
      .hero-section {
        padding: 0;
      }

      .hero-slide {
        background: none !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        /* min-height: unset !important; */
        padding: 0 !important;
        position: relative !important;
        height: 100%;
      }
    }
    @media (max-width: 767px) {
  .hero-slide {
    display: none !important;
    position: static !important;
    width: 100% !important;
    height: 100%;
    background: none !important;
    flex-direction: column !important;
    padding: 0 !important;
  }

  .hero-slide.active {
    display: flex !important;
  }

  .slide-img-mobile {
    display: block !important;
    width: 100% !important;
    /* height: 40vh; */
    object-fit: cover !important;
    /* max-height: 50vw !important; */
  }

  .slide-content {
    background: #fff !important;
    padding: 1rem !important;
    text-align: center !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04) !important;
    border-radius: 0 0 12px 12px !important;
  }

  .slide-overlay {
    display: none !important;
  }
}


/* Hero price callout */

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}
.product-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.product-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-bottom: 1px solid #eee;
}
.product-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 6px 24px rgba(99,102,241,0.12);
}
.product-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}
.product-card:hover .product-overlay {
  opacity: 1;
}
.product-overlay a {
  color: var(--white);
  border: 2px solid var(--white);
  border-radius: 50px;
  padding: 0.7rem 1.5rem;
  font-weight: 600;
  background: transparent;
  transition: background var(--transition), color var(--transition);
}
.product-overlay a:hover, .product-overlay a:focus {
  background: var(--white);
  color: var(--primary);
}

/* Product card price and button */
.product-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem 0 0.5rem 0;
  gap: 0.5rem;
}
.product-price {
  font-size: 1.1rem;
  color: var(--primary);
  font-weight: 600;
}
.product-btn {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  border-radius: 50px;
  padding: 0.5rem 1.5rem;
  font-weight: 600;
  text-decoration: none;
  transition: background var(--transition), color var(--transition);
  border: none;
}
.product-btn:hover, .product-btn:focus {
  background: var(--accent);
  color: var(--white);
}

.modern-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem;
  margin-bottom: 1.5rem;
  transition: box-shadow var(--transition), transform var(--transition);
}
.modern-card:hover, .modern-card:focus-within {
  box-shadow: 0 8px 32px rgba(99,102,241,0.13);
  transform: translateY(-4px) scale(1.01);
}

.fa-2x{
  color: var(--primary);
}

.card-text{
  color: var(--primary);
}

.pricing-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem 1.5rem;
  text-align: center;
  margin-bottom: 1.5rem;
  transition: box-shadow var(--transition), transform var(--transition);
}
.pricing-card.featured {
  background: linear-gradient(90deg, var(--primary), var(--accent));
  color: var(--white);
  transform: scale(1.04);
}
.pricing-card:hover, .pricing-card:focus-within {
  box-shadow: 0 8px 32px rgba(99,102,241,0.13);
  transform: translateY(-4px) scale(1.01);
}

.faq-accordion .accordion-item {
  border: none;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 1rem;
  overflow: hidden;
}
.faq-accordion .accordion-button {
  background: var(--white);
  border: none;
  font-weight: 600;
  color: var(--text);
  padding: 1.2rem 1rem;
}
.accordion-body{
  text-align: justify;
}
.faq-accordion .accordion-button:not(.collapsed) {
  background: var(--primary);
  color: var(--white);
}

/* How it Works step cards */
.how-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}
.how-step {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem 1.2rem 1.5rem 1.2rem;
  max-width: 340px;
  flex: 1 1 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}
.how-step-number {
  position: absolute;
  top: -18px;
  left: 18px;
  background: var(--primary);
  color: var(--white);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  box-shadow: var(--shadow);
}
.how-step-img {
  width: 100%;
  max-width: 220px;
  height: 140px;
  margin-bottom: 1rem;
  overflow: hidden;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.how-step-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}
.how-step-content h5 {
  margin-top: 0.5rem;
  font-size: 1.1rem;
}
.how-step-content p {
  /* margin-top: 0.5rem; */
  /* font-size: 1.1rem; */
  text-align: justify;
}
.footer {
  background: var(--text);
  color: var(--white);
  padding: 2.5rem 0 1rem 0;
}
.footer h5 {
  color: var(--secondary);
  margin-bottom: 1.2rem;
}
.footer a {
  color: #d1d5db;
  transition: color var(--transition);
}
.footer a:hover, .footer a:focus {
  color: var(--secondary);
}

.whatsapp-float {
  position: fixed;
  bottom: 5px;
  right: 5px;
  background: #25d366;
  color: var(--white);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  z-index: 1000;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.whatsapp-float:hover, .whatsapp-float:focus {
  transform: scale(1.08);
  box-shadow: 0 8px 32px rgba(37,211,102,0.18);
}

.back-to-top {
  position: fixed;
  bottom: 70px;
  right: 15px;
  background: var(--primary);
  color: var(--white);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  z-index: 999;
  cursor: pointer;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}
.back-to-top.show {
  opacity: 1;
  visibility: visible;
}
.back-to-top:hover, .back-to-top:focus {
  background: var(--accent);
}

.loading {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: linear-gradient(120deg, var(--primary) 0%, var(--accent) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity var(--transition);
}
.loading.hidden {
  opacity: 0;
  pointer-events: none;
}
.spinner {
  width: 44px;
  height: 44px;
  border: 3px solid rgba(255,255,255,0.3);
  border-top: 3px solid var(--white);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Blog grid modern layout */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 2rem;
}
.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition), transform var(--transition);
}
.blog-card:hover, .blog-card:focus-within {
  box-shadow: 0 8px 32px rgba(99,102,241,0.13);
  transform: translateY(-4px) scale(1.01);
}
.blog-img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  display: block;
}
.blog-content {
  padding: 1.2rem 1.2rem 1.5rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.blog-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}
.blog-snippet {
  color: #555;
  font-size: 0.98rem;
  flex: 1 1 auto;
  text-align: justify;
}
.blog-btn {
  align-self: flex-start;
  background: var(--primary);
  color: var(--white);
  border-radius: 50px;
  padding: 0.4rem 1.2rem;
  font-weight: 600;
  text-decoration: none;
  transition: background var(--transition), color var(--transition);
  border: none;
  font-size: 0.98rem;
}
.blog-btn:hover, .blog-btn:focus {
  background: var(--accent);
  color: var(--white);
}

/* Hide default Bootstrap toggler icon and control custom icons */
.navbar-toggler-icon {
  display: none !important;
}
.navbar-toggler-custom-icon,
.navbar-toggler-close-icon {
  font-size: 2rem;
  line-height: 1;
  vertical-align: middle;
  display: none;
  pointer-events: none;
}
.navbar-toggler[aria-expanded="false"] > .navbar-toggler-custom-icon {
  display: inline;
}
.navbar-toggler[aria-expanded="true"] > .navbar-toggler-close-icon {
  display: inline;
}

.no-pointer {
  pointer-events: none;
}
.navbar-toggler {
  position: relative;
  z-index: 1051;
}

.call-btn {
  background: var(--primary);
  color: var(--white) !important;
  border-radius: 24px;
  padding: 0.4rem 1.1rem !important;
  margin-left: 0.7rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: background var(--transition), color var(--transition);
}
.call-btn:hover, .call-btn:focus {
  background: var(--accent);
  color: var(--white) !important;
}
.slide-dots {
  /* display: flex; */
  gap: 10px;
  justify-content: center;
  margin-top: 1.5rem;
}
.dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
  border: 2px solid var(--primary);
  outline: none;
  display: inline-block;
}
.dot.active, .dot:focus {
  background: var(--primary);
  transform: scale(1.2);
  border-color: var(--accent);
}

@media (max-width: 991px) {
  .navbar-nav {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-top: 0.5rem;
    padding: 0.5rem 0;
  }
  .navbar-nav .nav-link {
    margin: 0.2rem 0;
    padding: 0.7rem 1.2rem !important;
    display: block;
  }
}
@media (max-width: 768px) {
  .section {
    padding: 2.2rem 0 1.2rem 0;
  }
  .slide-title {
    font-size: 1.2rem;
    margin-bottom: 0%;
  }
  .product-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .modern-card, .pricing-card {
    padding: 1.2rem;
  }
}
@media (max-width: 900px) {
  .how-steps {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
}
@media (max-width: 600px) {
  .blog-img {
    height: 250px;
  }
  .how-step {
    padding: 1.2rem 0.7rem 1rem 0.7rem;
    max-width: 100%;
  }
  .how-step-img {
    max-width: 100%;
    height: 400px;
  }
} 

/* Ensure equal height for portfolio cards */
#portfolio .row.g-4 > [class^='col-'] {
  display: flex;
}
#portfolio .modern-card.portfolio-card {
  flex: 1 1 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}
#portfolio .modern-card.portfolio-card .card-body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
} 

