/* ==========================
   1. Reset & Base Styles
========================== */

html, body {
  width: 100%;
  overflow-x: hidden;
}


 
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 1rem;
  color: #212529;
  
}

p {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 1rem;
  line-height: 1.6rem;
}


img, video, iframe {
  max-width: 100%;
  height: auto;
  display: block;
}


a,
a.nav-link {
  color: #000;               /* default color */
  text-decoration: none;     /* remove underline */
  transition: color 0.3s ease; /* smooth hover */
}

a:hover,
a.nav-link:hover {
  color: #555;               /* change color on hover */
  text-decoration: none;     /* still no underline */
}




h1, h2, h3, h4, h5 {
  color: #0f172a;
}

h1, h2, h3, .headline {
  font-family: 'Source Serif Pro', serif;
}

small { font-size: 1rem !important; }

h2 {
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.display-5 { font-size: 4rem; }

.bottom-logo {
  text-align: left;
}

.display-4{
  color: #1A1A1A;
  margin-bottom: 0px; 
  margin-top: 110px; 
  letter-spacing: 1px; 
  font-size: 4rem; 
  font-weight: 600;
  text-shadow: 0 2px 4px rgba(0,0,0,0.06);
}

.bg-image {
  padding-top: 0;
  margin-top: 0;
}


.bg-image {
  background: linear-gradient(
      rgba(255, 255, 255, 0.4),  /* less white */
      rgba(255, 255, 255, 0.4)
    ),
    url('/assets/images/bg-pattern-5.jpg') no-repeat top center fixed;
  background-size: cover;
}




.py-55 {
  margin-top: 5rem !important;
  margin-bottom: 5rem !important;
}

.features-shape-1 {
  position: absolute;
  left: 50px;
  bottom: 0px;
  top: 60px;
  -webkit-animation: animationFramesThree 20s linear infinite;
  animation: animationFramesThree 20s linear infinite;
  z-index: 1;
}

.bg-hero {
  background-image: url('/assets/images/bg.jpg'); /* replace with your image URL */
  background-size: cover;      /* makes the image cover the whole screen */
  background-position: center; /* centers the image */
  background-repeat: no-repeat; /* prevents tiling */
  background-attachment: fixed; /* optional: keeps image fixed while scrolling */
}

@keyframes animationFramesThree {
  0% { transform: translate(0, 0); }
  25% { transform: translate(100px, 50px); }
  50% { transform: translate(0, 100px); }
  75% { transform: translate(-100px, 50px); }
  100% { transform: translate(0, 0); }
}


/* ==========================
   2. Typography & Utilities
========================== */
.font-regular { font-weight: 400; }
.font-light { font-weight: 300; }

.section-title { margin-bottom: 2rem; }

.text-white { color: #fff !important; }

.bg-light { background-color: #fff8f3 !important; }
.bg-primary { background-color: #e34848 !important; }
.bg-secondary { background-color: #475569 !important; }
.bg-light-primary { background-color: #e9f2ff !important; }

/* ==========================
   3. Navbar
========================== */
.navbar {
  background-color: #fffffff5;
  backdrop-filter: blur(8px);
  padding: 1rem 0;
}

.navbar-brand {
  font-family: 'Source Serif Pro', serif;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #e34848;
}

.shadow-nav { box-shadow: 0px 10px 20px rgba(8, 0, 42, 0.08); }
.navbar-shadow { 
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: box-shadow 0.3s ease;
}

/* ==========================
   4. Buttons
========================== */
button, .btn {
  font-family: 'Source Sans Pro', sans-serif;
}

.btn {
  padding: 13px;
  font-size: 16px;
  font-weight: 500;
  border: none;
  color: #fff;
  background-color: #e34848;
  text-align: center;
  display: inline-block;
  position: relative;
  line-height: 1;
  margin-bottom: 0;
  transition: all 0.3s ease;
  white-space: nowrap;
  touch-action: manipulation;
  vertical-align: middle;
  border-radius: 30px;
}

.btn-primary {
  background: linear-gradient(135deg, #e34848, #ff6b6b);
  transition: all 0.3s ease-in-out;
  box-shadow: 0 6px 15px rgba(227, 72, 72, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #c63a3a, #e34848) !important;
  box-shadow: 0 8px 20px rgba(227, 72, 72, 0.5);
}



.btn-dark {
  background-color: #000000 !important;
  border-color: #000000 !important;
  color: #fff !important;
}

.btn-dark:hover,
.btn-dark:focus,
.btn-dark:active {
  box-shadow: none !important;
}

.btn-outline-primary {
  background-color: #fff !important;
  color: #e34848 !important;
  border: 1px solid #e34848 !important;
  box-shadow: 0 6px 15px rgba(227, 72, 72, 0.3);
}

.btn-outline-primary:hover {
  background-color: #e34848 !important;
  color: #fff !important;
  box-shadow: 0 8px 20px rgba(227, 72, 72, 0.5);
}

/* ==========================
   5. Forms
========================== */
.form-control {
  padding: 9px 20px;
  border-radius: 5px !important;
  border: 1px solid #e34848 !important;
}

.form-control:focus {
  box-shadow: none;
}

.subscribe,
.sub {
  border-radius: 30px !important;
}

.pricing-card.featured {
  box-shadow: 0 0 25px rgba(227, 72, 72, 0.2);
}

.appie-pricing-tab-btn {
  text-align: center; /* centers the nav */
  margin-top: 40px;   /* more responsive than fixed px in child */
}

.appie-pricing-tab-btn .nav {
  display: inline-flex !important; /* flex layout for responsiveness */
  flex-wrap: wrap;                 /* wrap items on small screens */
  justify-content: center;         /* center items */
  gap: 10px;                       /* space between tabs */
  border: 2px solid #e7eaef;
  padding: 2px;                     /* slightly bigger padding for touch devices */
  border-radius: 40px;
}

.appie-pricing-tab-btn .nav li {
  list-style: none; /* remove default bullets */
}

.appie-pricing-tab-btn .nav .nav-item {
  border-bottom: none !important;
}

.appie-pricing-tab-btn .nav li a {
  border-radius: 30px;
  font-weight: 500;
  font-size: 14px;
  color: #505056;
  padding: 6px 20px;       /* slightly larger padding for small screens */
  text-align: center;
  display: inline-block;    /* ensures clickable area covers padding */
  transition: all 0.3s ease;
  white-space: nowrap;      /* prevents breaking inside a word */
}

.appie-pricing-tab-btn .nav li a.active {
  color: #fff;
  background: #e34848;
}

/* Small screens adjustments */
@media (max-width: 576px) {
  .appie-pricing-tab-btn .nav {
    padding: 4px;
    gap: 6px;
  }
  .appie-pricing-tab-btn .nav li a {
    font-size: 13px;
    padding: 6px 12px;
  }

  .appie-pricing-tab-btn .nav .nav-item {
  border-bottom: none !important;
}
}


.trusted-by {
  background: #fff;
}

.logo-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}

.trusted-logo {
  max-width: 150px;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.trusted-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}

/* Responsive */
@media (max-width: 768px) {
  .trusted-logo {
    max-width: 120px;
    margin-bottom: 1rem;
  }
}

@media (max-width: 480px) {
  .trusted-logo {
    max-width: 100px;
    margin-bottom: 1rem;
  }
}


/* ==========================
   6. Cards
========================== */
.card {
  border-radius: 25px;
  border: 1px solid #e34848;
}

/* ==========================
   7. Lists & Utilities
========================== */
.benifits li {
  display: flex;
  align-items: center;
}

.list-unstyled li {
  margin-bottom: 0.5rem;
}

.last-row, .last-th, .last-td {
  background-color: transparent !important;
  border: none !important;
}

.hero-image {border-radius: 25px; margin-top: 100px;}
.lether-image {border-radius: 25px; margin-left: -22px; margin-top: -639px;}
.rating-image {border-radius: 25px; margin-top: 296px;}

/* ==========================
   8. Hero Section
========================== */

.star-icons i {
  color: #edb202; /* yellow */
  margin-right: 4px; /* spacing between stars */
}

.hero {
  margin-top: 50px !important;
}
.hero-section {
  background-color: #0f172a;
  padding-bottom: 60px;
}

.hero h1, 
.hero p, 
.hero a, 
.hero .framework {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease forwards;
}

.hero h1 { animation-delay: 0.2s; }
.hero p { animation-delay: 0.4s;font-size: 1rem; color: #555; }
.hero a { animation-delay: 0.6s; }
.hero .framework { animation-delay: 0.8s; }

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================
   9. Footer
========================== */
footer {
  font-size: 0.95rem;
}

footer h5 { color: #fff; margin-bottom: 1rem; }
footer p, footer li { color: #ccc; }
footer li { list-style: none; }
footer ul { padding-left: 0; }

.footer-social a {
  font-size: 15px;
  color: #fff;
  margin: 15px 15px 0 0;
  display: inline-block;
  width: 40px;
  height: 40px;
  background: #e34848;
  text-align: center;
  line-height: 40px;
  border-radius: 30px;
}

.links ul li a {
  font-size: 15px;
  color: #ccc;
}

.f-contact i {
  width: 40px;
  height: 40px;
  background: #e34848;
  line-height: 40px;
  color: #fff !important;
  text-align: center;
  border-radius: 30px;
  float: left;
  margin-right: 15px;
}

.scroll-top-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #e34848;
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: background-color 0.3s ease, opacity 0.3s;
  opacity: 0;           /* hidden by default */
  pointer-events: none; /* disabled until visible */
  z-index: 999;         /* keep above other content */
}

.scroll-top-btn.show {
  opacity: 1;
  pointer-events: auto;
}

.scroll-top-btn:hover {
  background-color: #c63a3a; /* darker hover */
}

/* ==========================
   10. Icon Circles & Special Elements
========================== */
.icon-circle, .icon-circle5 {
  background-color: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 30px;
}

.icon-circle { width: 55px !important; height: 55px !important; }
.icon-circle5 { width: 55px; height: 55px !important; }

.and {
  width: 40px;
  height: 40px;
  display: inline-block;
  text-align: center;
  line-height: 40px;
  border-radius: 55px;
  color: white;
  background-color: black;
  margin: 5px 10px;
  font-size: 20px;
}


.icon-circle i { font-size: 20px; color: #fff; }

.hidden {
  display: none;
}

/* ==========================
   11. Tables
========================== */
table.table { table-layout: fixed; width: 100%; }
table.table th, table.table td { width: 25%; word-wrap: break-word; }

th span { font-size: 20px; }

.table-bordered {
  border-collapse: collapse !important;
}

.table-bordered td,
.table-bordered th {
  border: 1px solid #dee2e6 !important;
  background-color: white;
}

.table-bordered td:first-child,
.table-bordered th:first-child {
  background-color: #333;
  color: #fff;
}

thead th {
  background-color: #e9f2ff;
  border-bottom: 2px solid #dee2e6;
  text-align: center;
  vertical-align: middle;
}

.table-bordered thead th:first-child {
  font-size: 26px;
  margin-left: 220px;
}

/* ==========================
   12. Accordion
========================== */
.accordion-item { background-color: #fff; color: #1f2937; border: 1px solid #e34848;}
.accordion-button {
  background-color: #fff;
  color: #1f2937;
  box-shadow: none;
}

.accordion-button:not(.collapsed) {
  background-color: #e34848;
  color: #fff;
}

.accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='black' viewBox='0 0 16 16'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 16 16'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-button:focus { border: none; box-shadow: none; }

/* ==========================
   13. Feature List & Check Icons
========================== */
.features-list p {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.check-icon {
  width: 26px;
  height: 26px;
  background-color: #31c369;
  color: #fff;
  font-weight: bold;
  font-size: 0.9rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ==========================
   14. Animations
========================== */
@keyframes floatY { 0%{transform:translateY(0);}50%{transform:translateY(-15px);}100%{transform:translateY(0);} }
@keyframes floatX { 0%{transform:translateX(0);}50%{transform:translateX(15px);}100%{transform:translateX(0);} }
@keyframes floatXReverse { 0%{transform:translateX(0);}50%{transform:translateX(-15px);}100%{transform:translateX(0);} }

.float-up-down { animation: floatY 3s ease-in-out infinite; }
.float-left-right { animation: floatX 3s ease-in-out infinite; }
.float-right-left { animation: floatXReverse 3s ease-in-out infinite; }

.vertical-animate {
  position: relative;
}

.vertical-animate::after {
  content: "";
  position: absolute;
  right: -2px;
  width: 3px;
  height: 30px;
  background-color: #000000;
  animation: moveUpDown 4s ease-in-out infinite;
}

@keyframes moveUpDown {
  0% { top: 0; }
  50% { top: calc(100% - 20px); }
  100% { top: 0; }
}

.line1::after { animation-duration: 4s; }
.line2::after { animation-duration: 4.8s; animation-delay: 0.5s; }
.line3::after { animation-duration: 5.2s; animation-delay: 1s; }

/* ==========================
   15. Rating Image
========================== */
.rating-img {
  position: absolute;
  right: -25px !important;
  top: 0%;
  transform: translateY(-50%);
  z-index: 6;

}

/* ==========================
   16. Misc Helpers
========================== */
.price { font-size: 49px; line-height: 47px; font-weight: 400; color: #e34848; }
.product { position: relative; z-index: 5; }

.shadow { box-shadow: 0px 40px 40px 0px rgba(14,17,51,0.1); }
.rounded-5 { border-radius: 50px; }
.section { padding: 100px 0; position: relative; }

/* ==========================
   17. Testimonial
========================== */
.author_img img { max-width: 100px; }
.author_name { overflow: hidden; }
.author_name h6 { margin-bottom: 5px; }
.author_name span { color: #FF324D; }
.testimonial_box.box_shadow1 { margin: 10px; }
.testimonial_desc p:last-child { margin-bottom: 0; }

.testimonial_style1 .author_img { margin-right: 15px; }
.testimonial_style1 .author_img img { max-width: 60px; }
.testimonial_style1 .testimonial_desc {
  display: inline-block;
  width: 100%;
  text-align: center;
  margin-bottom: 25px;
}
.testimonial_style1 .testimonial_box { position: relative; z-index: 1; }
.author_wrap {
  margin: 0 auto;
  display: flex;
  align-items: center;
}
.testimonial_style1 .author_wrap {
  justify-content: center;
  margin-bottom: 20px;
}
.testimonial_wrap { padding: 0 60px; }

/* ==========================
   18. Owl Carousel
========================== */
/* Parent relative */

body .owl-theme .owl-nav [class*="owl-"] {
  background-color: #fff;
  color: #222;
  font-size: 26px;
  line-height: 50px;
  transition: all 0.3s ease-in-out;
  height: 50px;
  padding: 0;
  margin: 0;
  width: 50px;
  text-align: center;
}

.testimonial_wrap.owl-carousel {
  position: relative;
}

/* Nav buttons */
.owl-carousel .owl-nav .owl-prev,
.owl-carousel .owl-nav .owl-next {
  position: absolute;
  top: 20%; 
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50% !important;
  border: none;
  background: transparent !important;
  color: #e34848;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  padding: 0;
  z-index: 10;
  transition: all 0.3s ease;
}

/* Left / Right placement */
.owl-carousel .owl-nav .owl-prev { left: -150px; }
.owl-carousel .owl-nav .owl-next { right: -150px; }

/* Hover */
.owl-carousel .owl-nav .owl-prev:hover,
.owl-carousel .owl-nav .owl-next:hover {
  background: #e34848 !important;
  color: #fff !important;
}



/* Mobile adjustments */
@media (max-width: 575px) {
  .owl-carousel .owl-nav button.owl-prev { left: -10px; }
  .owl-carousel .owl-nav button.owl-next { right: -10px; }
}

/* Remove span conflicts */
.owl-carousel .owl-nav button span { margin: 0; padding: 0; line-height: 1; }



.no-border {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

.no-border:focus,
.no-border:active {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

.navbar-toggler {
  box-shadow: none;
  border: none;
} 

.navbar-toggler:focus {
  box-shadow: none;
  border: none;
}

.navbar-togglar {
  border: none !important;
}

/* ==========================
   RESPONSIVE MEDIA QUERIES
========================== */

/* --- Large screens down to tablets --- */
@media (max-width: 991px) {
  h1 { font-size: 2.5rem; }  /* 40px */
  h2 { font-size: 2.2rem; }  /* 35px */
  h3 { font-size: 1.9rem; }  /* 30px */
  h4 { font-size: 1.6rem; }  /* 26px */
  h5 { font-size: 1.3rem; }  /* 21px */

  .display-4 {
    font-size: 3.5rem;
  }

  .appie-pricing-tab-btn .nav .nav-item {
  border-bottom: none !important;
}

  .product.float-left-right {
    margin-left: 0 !important;
    margin-top: 0 !important;
    width: 250px;   
    height: auto;
  }

  .features {
    margin-top: 0px;
  }

  .nav-item {
      display: flex
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #cdcdcd;
  }

  .nav-item:last-child {
  border-bottom: none;
}

  .nav-link {
    display: block;
        text-align: center;
        padding-top: 15px;
        padding-bottom: 15px;
  }

  .navbar-nav {
    margin-top: 30px;
  }
}

/* --- Tablets & small laptops --- */
@media (max-width: 768px) {
  h1 { font-size: 2.2rem; }  /* 35px */
  h2 { font-size: 2rem; }    /* 32px */
  h3 { font-size: 1.7rem; }  /* 27px */
  h4 { font-size: 1.4rem; }  /* 22px */
  h5 { font-size: 1.2rem; }  /* 19px */

  .border-end {
    border-right: none !important;
  }

  .display-4 {
    font-size: 2.5rem;
    margin-bottom: 4px;
  }

  .solution {
    max-width: 882px !important;
  }

  .benifits p {
    text-align: left;
  }

  .features {
    margin-top: 0px;
  }
}

/* --- Mobile phones --- */
/* Small devices (phones, up to 575px) */
@media (max-width: 575px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.5rem; }
  h4 { font-size: 1.25rem; }
  h5 { font-size: 1.1rem; }

  .owl-stage-outer .owl-nav button.owl-prev { left: -10px; }
  .owl-stage-outer .owl-nav button.owl-next { right: -10px; }

  .bottom-logo {
    display: block;
    margin: 0 auto; /* Center image */
  }

  .navbar-brand-logo {
    width: 118px;
  }

  .analytics {
    margin-top: -11px !important;
  }

  .twitter, .facebook {
    display: none;
  }

  .col-12 {
  width: 96%;
}

  .features { margin-top: 0px; }
  .form-control { width: 97%; }

  .price-card .col-lg-4 {
    margin-bottom: 20px;
    width: 95%;
  }

  .navbar-brand {margin-left: 15px;}

  .hero-image {
    margin-top: 394px;
  }

  #faqs {
    padding: 20px 10px;
  }

  #faqs h2 { font-size: 1.5rem; }
  #faqs p { font-size: 0.95rem; }

  .accordion-button {
    font-size: 0.9rem;
    padding: 0.75rem;
  }
}

/* Medium and larger devices (≥576px) */
@media (min-width: 576px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.5rem; }
  h4 { font-size: 1.25rem; }
  h5 { font-size: 1.1rem; }

  .bottom-logo {
    display: block;
    margin: 0; /* Left aligned */
  }

  /* Optional: fine-tune nav buttons */
  .owl-stage-outer .owl-nav button.owl-prev { left: -10px; }
  .owl-stage-outer .owl-nav button.owl-next { right: -10px; }
}

