@import url('https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700');

* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    font-family: 'Poppins' !important;
    cursor: default;
}

:root {
    --lightgolden: #f3dfba !important;
    /* --secondary: #2eca7f; */
    --secondary: #D4AF37;
    --primary:#ffffff;
    --dark:#212529;
}

a{
  text-decoration: none;
}

h2,
h3,
h4,
h5,
h6{
color: var(--primary);
}

body {
  /* background-color: #F2FDF1; */
  background-color: #1C1C1C;
  color: #ffffff;
}

.btn {
  background-color: #fff;
  color: var(--secondary); /* Use your secondary color */
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.btn:hover {
  background-color: #eee;
  color: #000;
}

.pulse-button {
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(0.9);
  }
  50% {
    transform: scale(1);
    box-shadow: 0 0 25px 25px #007bff00;
  }
  100% {
    transform: scale(0.9);
    box-shadow: 0 0 0 0 rgba(0, 123, 255, 0);
  }
}

.btn1 {
  padding: 8px 16px;
  border: 2px solid var(--secondary);
  background-color: var(--secondary);
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  border-radius: 30px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn1:hover {
  background: var(--primary);
  color: #000;
}

.banner {
  position: relative;
  background: url('assets/banner-03.jpg') no-repeat left center/cover;
  color: white;
  padding-top: 1rem;
  padding-bottom: 2rem; /* Added */
  min-height: 600px; /* Changed from height to min-height */
}
.overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.banner-content {
  position: relative;
  z-index: 2;
  padding: 2rem 1rem;
  text-shadow: 2px 2px #000;
}

.heading {
  font-weight: 700;
  margin-bottom: 1rem;
}

.key-point {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.key-point svg {
  width: 24px;
  height: 24px;
  fill: white;
}

.form-container {
  background: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 12px;
  backdrop-filter: blur(10px);
  animation: fadeInUp 1s ease;
}

.form-control, .btn {
  margin-bottom: 1rem;
}
@media (max-width: 768px) {
  .banner {
    padding-top: 2rem;
    padding-bottom: 4rem;
  }
}
@keyframes fadeInDown {
  from { transform: translateY(-20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes fadeInLeft {
  from { transform: translateX(-20px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes fadeInUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Base nav-link style */
.navbar-nav .nav-link {
  position: relative;
  color: #fff; /* default color */
  transition: color 0.3s ease;
}

/* Hover effect: color + underline */
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  color: var(--secondary) !important;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link:focus::after {
  width: 100%;
  background-color: var(--secondary);
}

/* Active link style */
.navbar-nav .nav-link.active {
  color: var(--secondary) !important;
  font-weight: 600;
}

/* Underline effect using ::after pseudo-element */
.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  height: 2px;
  width: 0;
  background-color: transparent;
  transition: all 0.3s ease;
}
/**************** counter section  ******************/
.icon-box {
  flex: 0 0 25%;
  max-width: 25%;
  padding: 10px;
}

.icon-img {
  width: 80px;
  border-radius: 50%;
  border: 1px solid;
  padding: 5px; /* <-- this adds space between image and border */
  background: #fff; /* optional: background color to fill padding space */
  box-sizing: border-box; /* important to make padding not mess with width */
}
.icon-text {
  font-weight: 600;
  font-size: 14px;
  line-height: 1.3;
  color: #000;
}

/* On mobile screens */
@media (max-width: 767px) {
  .icon-box {
    flex-basis: 50%; /* Each icon takes 50% of the width */
    max-width: 50%; /* Ensure max-width is 50% for two columns */
  }

  .icon-img {
    width: 60px;
    border-radius: 50%;
    border: 2px var(--primary);
    padding: 5px; /* <-- this adds space between image and border */
    background: #fff; /* optional: background color to fill padding space */
    box-sizing: border-box; /* important to make padding not mess with width */
  }

  .icon-text {
    font-size: 11px; /* slightly smaller text */
  }
}

/*************** iterior solution*****************/
.carousel-wrapper {
  position: relative;
  padding: 40px 0;
}

.card-item {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.card-item:hover {
  transform: translateY(-5px);
}

.card-img {
  width: 100%;
  height: auto;
  display: block;
}

.card-text-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 20px;
  border-top: 1px solid #eee;
  text-align: center;
}

.card-text-row h4 {
  font-size: 1rem;
  margin: 0;
  font-weight: 600;
  color: #333;
}

.card-text-row p {
  font-size: 0.875rem;
  color: #666;
  margin: 8px 0 12px; /* Add some space between p and button */
}

/* Optional: Center the button */
.card-text-row .btn1 {
  margin-top: 8px;
}


/* Custom Nav Buttons */
.custom-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  border: none;
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  width: 48px;
  height: 48px;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
}

.custom-nav:hover {
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.left-nav {
  left: -20px;
}

.right-nav {
  right: -20px;
}

.arrow {
  font-size: 22px;
  color: #1a1a1a;
  display: block;
  line-height: 48px;
  text-align: center;
}

/* Hide elements on screens smaller than 768px */
@media (max-width: 767.98px) {
  .left-nav,
  .right-nav,
  .arrow {
    display: none !important;
  }
}


/* Responsive */
@media (max-width: 768px) {
  .card-body {
    padding: 16px;
  }

  .card-text-wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .custom-nav {
    width: 40px;
    height: 40px;
  }

  .arrow {
    font-size: 18px;
    line-height: 40px;
  }

  .left-nav, .right-nav {
    top: auto;
    bottom: -20px;
    transform: none;
  }
}
/******************* gallery *******************/
/* Responsive grid if you're not using Bootstrap */
.gallery img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  
  /* Add these: */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  cursor: pointer;
}

/**************** how it works ***************/
.how-it-works .step {
  position: relative;
  margin-bottom: 40px;
}
.how-it-works .icon-wrap {
  position: relative;
  display: inline-block;
}
.how-it-works .icon-wrap img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: #fff;
  z-index: 2;
}
.how-it-works .line {
  border-bottom: 1px dashed grey;
  position: absolute;
  width: 2px;
  height: 65px;
  background: #ccc;
  top: 125px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

/* Remove line from last item */
.how-it-works .step:last-child .line {
  display: none;
}

/* Desktop: horizontal layout */
@media (min-width: 768px) {
  .how-it-works .row {
    flex-wrap: nowrap;
  }

  .how-it-works .step {
    margin-bottom: 0;
  }

  .how-it-works .icon-wrap {
    display: block;
    margin-bottom: 10px;
  }

  .how-it-works .line {
    border-bottom: 2px dashed grey;
    width: 15vw; /* Responsive width */
    height: 2px;
    background: transparent;
    top: 50%;
    left: 70%;
    transform: translateY(-50%);
  }

  .how-it-works .step:last-child .line {
    display: none;
  }
}
/************** service section ******************/
.services-section {
  padding: 60px 20px;
  text-align: center;
}

.services-section h2 {
  font-weight: bold;
  margin-bottom: 40px;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* Mobile view: 2 per row */
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr); /* Desktop: 4 per row */
  }
}

.service-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: transform 0.3s ease;
}

.service-item:hover {
  transform: translateY(-6px);
}

.service-item img {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.service-item h3 {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin: 0;
}
/**************** review **************/
.carousel-box {
  position: relative;
  max-width: 1000px;
  margin: auto;
}

.owl-carousel .review .item {
  max-width: 250px;
  height: auto !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-box {
  background-color: #fff !important;
  border: 1px solid #ddd !important;
  padding: 20px !important;
  text-align: center !important; 
  min-height: 180px !important; 
  height: auto !important; 
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: space-between !important; /* Adjust spacing for a neat layout */
  border-radius: 10px !important;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1) !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.testimonial-box:hover {
  transform: translateY(-5px);
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
}


.profile-pic {
  width: 60px !important;
  height: 60px !important;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ddd;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
  display: inline-block;
}

.profile-header {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 5px;
}

.profile-header b {
  font-size: 16px;
  color: #333;
}

.verified-icon {
  width: 16px !important; /* Explicit width */
  height: 16px !important; /* Explicit height */
  display: inline-block; /* Ensures it respects the dimensions */
  object-fit: contain; /* Maintains the aspect ratio */
  margin-left: 5px; /* Space between the name and icon */
  vertical-align: middle; /* Aligns with the text baseline */
}

.stars {
  color: gold;
  font-size: 18px; /* Adjust size of stars */
  display: flex;
  justify-content: center; /* Center stars horizontally */
}

.testimonial-box p {
  font-size: 14px;
  color: #555;
  line-height: 1.5;
  text-align: center;
}

.nav-left,
.nav-right {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 30px;
  color: #555;
  cursor: pointer;
  padding: 10px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50%; /* Ensures the button is circular */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  width: 50px; /* Fixed width to make it circular */
  height: 50px; /* Fixed height to make it circular */
  display: flex;
  justify-content: center; /* Center the icon horizontally */
  align-items: center; /* Center the icon vertically */
}

.nav-left:hover,
.nav-right:hover {
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.nav-left {
  left: -65px;
}
.nav-right {
  right: -65px;
}

@media (max-width: 600px) {
  .nav-left,
  .nav-right {
      display: none;
  }
}
/*************** Scrolling line  *****************/
.scrolling-line-wrapper {
  background-color: var(--secondary);
  width: 100%;
  overflow: hidden;
  padding: 10px 0;
}

.scrolling-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
}

.scrolling-text {
  display: inline-block;
  color: #fff;
  white-space: nowrap;
  /* animation: scroll 10s linear infinite; */
  font-size: 18px;
  font-weight: bold;
}

/* Hide button on mobile */
@media (max-width: 768px) {
  .scroll-button {
    display: none;
  }
  .scrolling-text {
    display: inline-block;
    color: #fff;
    white-space: nowrap;
    animation: scroll 10s linear infinite;
    font-size: 18px;
    font-weight: bold;
  }
}

@keyframes scroll {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}
/***************** cta 3 ********************/
.cta-section {
  background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.6)), 
              url('assets/cta-bg.jpg') center/cover no-repeat fixed;
  height: 250px;
  display: flex;
  align-items: center;
}

.cta-heading {
  color: #fff;
  text-shadow: 2px 2px #000;
  font-weight: bold;
  margin-bottom: 20px;
}

.cta-buttons a.btn1 {
  background-color: #fff;
  color: var(--secondary); /* Use your secondary color */
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.cta-buttons a.btn1:hover {
  background-color: #eee;
  color: #000;
}

.cta-buttons svg {
  margin-right: 8px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .cta-section {
    height: auto;
    padding: 40px 0;
    background-attachment: scroll;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .cta-buttons a.btn1 {
    width: 100%;
    margin: 8px 0;
  }
}
.curved-underline::after {
  content: "";
  display: block;
  width: 100%;
  max-width: 100%;
  height: 20px;
  margin-top: 2px;
  background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 800 20" xmlns="http://www.w3.org/2000/svg"><path d="M0,15 Q200,-10 350,15" stroke="%23159CA5" fill="transparent" stroke-width="3"/></svg>') no-repeat;
  background-size: 100% 100%;
}
@media (max-width: 480px) {
  .curved-underline::after {
    content: "";
    display: block;
    width: 100%;
    max-width: 100%;
    height: 20px;
    margin-top: 2px;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 800 20" xmlns="http://www.w3.org/2000/svg"><path d="M0,15 Q150,-10 700,15" stroke="white" fill="transparent" stroke-width="5"/></svg>') no-repeat;
    background-size: 100% 100%;
  }
}
/********************** footer  ******************/
  .navbar-toggler {
    border-color: white; /* Optional: white border around the toggler */
  }

  .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23ffffff' viewBox='0 0 30 30'%3e%3cpath stroke='white' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  }