/* Add to existing CSS */
html {
    scroll-behavior: smooth;
}

/* Enhance existing header transition */
header {
    transition: all 0.4s ease;
}

/* Ensure buttons maintain their hover effects */
.btn, .btn-secondary {
    transition: all 0.4s ease;
}

/* Enhance section transitions */
section {
    scroll-margin-top: 80px; /* Accounts for fixed header */
}

/* Ensure smooth mobile menu close */
.nav-links {
    transition: left 0.4s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #2a5bd7;
  --secondary: #ff6b35;
  --dark: #1a1a2e;
  --light: #f8f9fa;
  --gray: #6c757d;
  --light-gray: #e9ecef;
}

body {
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background-color: #fff;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  line-height: 1.3;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

a{
  text-decoration: none;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: var(--primary);
  color: white;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background-color: #1e4abe;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(42, 91, 215, 0.2);
}

.btn-secondary {
  background-color: var(--secondary);
}

.btn-secondary:hover {
  background-color: #e55a2b;
}

section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: var(--dark);
}

.section-title p {
  color: var(--gray);
  max-width: 700px;
  margin: 0 auto;
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 20px 0;
  transition: all 0.3s ease;
}

header.scrolled {
  padding: 15px 0;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  width: 10%;
}


.logo i {
  margin-right: 8px;
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 30px;
}

.nav-links a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--primary);
}

.mobile-menu-btn {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  color: var(--dark);
  cursor: pointer;
}

/* Full-Screen Banner Slider */
.banner-slider {
  position: relative;
  width: 100%;
  height: 80vh;
  overflow: hidden;
  margin-top: 119px;
}

.slider-container {
  width: 100%;
  height: 100%;
  position: relative;
}

.slider-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.slider-slide.active {
  opacity: 1;
}

.slider-slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4));
  z-index: 1;
}

.slider-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.slider-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  width: 100%;
  padding: 0 20px;
  color: white;
  text-align: center;
}

.slider-content h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  color: white;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.slider-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
}

.slider-nav {
  position: absolute;
  bottom: 40px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
}

.slider-dots {
  display: flex;
  gap: 12px;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-dot.active {
  background-color: white;
  transform: scale(1.2);
}

.slider-arrows {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 30px;
  transform: translateY(-50%);
  z-index: 10;
}

.slider-arrow {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.slider-arrow:hover {
  background-color: var(--primary);
  transform: scale(1.1);
}

.slider-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: rgba(255, 255, 255, 0.2);
  z-index: 10;
}

.slider-progress-bar {
  height: 100%;
  width: 0%;
  background-color: var(--primary);
  transition: width 0.1s linear;
}

/* Services Section */
.services {
  background-color: var(--light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: white;
  border-radius: 8px;
  padding: 40px 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  text-align: center;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
  width: 70px;
  height: 70px;
  background-color: rgba(42, 91, 215, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  color: var(--primary);
  font-size: 1.8rem;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.service-card p {
  color: var(--gray);
}

/* About Section */
.about-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.about-content {
  flex: 1;
  max-width: 600px;
}

.about-content h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.about-content p {
  margin-bottom: 20px;
  color: var(--gray);
}

.about-image {
  flex: 1;
  text-align: center;
}

.about-image img {
  max-width: 90%;
  border-radius: 10px;
}

/* Why Choose Us Section */
.why-choose-us {
  background-color: var(--light);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.feature-card {
  background-color: white;
  border-radius: 8px;
  padding: 40px 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  width: 70px;
  height: 70px;
  background-color: rgba(255, 107, 53, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  color: var(--secondary);
  font-size: 1.8rem;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--dark);
}

.feature-card p {
  color: var(--gray);
}

/* How It Works Section */
.process-steps {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-top: 50px;
  position: relative;
  gap: 20px;
}

.step {
  flex: 1;
  min-width: 200px;
  text-align: center;
  position: relative;
  z-index: 2;
  padding: 20px;
  margin-bottom: 10px;
  background-color: #fff;
  box-shadow: 5px 5px 15px 0 rgba(0, 0, 0, 0.2);
  border-radius: 8px;
}

.step-number {
  width: 80px;
  height: 80px;
  background-color: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0 auto 25px;
  border: 5px solid white;
  box-shadow: 0 0 0 4px rgba(42, 91, 215, 0.2);
}

.step h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: var(--dark);
}

.step p {
  color: var(--gray);
  max-width: 250px;
  margin: 0 auto;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, #1e4abe 100%);
  color: white;
  text-align: center;
  padding: 100px 0;
}

.cta-content h2 {
  font-size: 2.8rem;
  margin-bottom: 20px;
  color: white;
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.cta-buttons .btn {
  background-color: white;
  color: var(--primary);
}

.cta-buttons .btn:hover {
  background-color: var(--light-gray);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.cta-buttons .btn-secondary {
  background-color: var(--secondary);
  color: white;
}

.cta-buttons .btn-secondary:hover {
  background-color: #e55a2b;
}

/* Testimonials */
.testimonial-slider {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.testimonial-slide {
  background-color: white;
  border-radius: 8px;
  padding: 40px;
  box-shadow: 2px 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  display: none;
  margin: 10px;
}

.testimonial-slide.active {
  display: block;
}

.testimonial-content {
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 30px;
  color: var(--dark);
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
}

.author-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 15px;
}

.author-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider-controls {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.slider-btn {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--light-gray);
  border: none;
  margin: 0 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.slider-btn.active {
  background-color: var(--primary);
}

/* Contact Section - Updated with Boxes */
.contact {
  background-color: var(--light);
}

.contact-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-box {
  background-color: white;
  border-radius: 8px;
  padding: 40px 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.contact-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.contact-icon {
  width: 70px;
  height: 70px;
  background-color: rgba(42, 91, 215, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  color: var(--primary);
  font-size: 1.8rem;
}

.contact-box h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: var(--dark);
}

.contact-box p {
  color: var(--gray);
  margin-bottom: 15px;
  line-height: 1.6;
}

.contact-detail {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--light-gray);
}

.contact-detail p {
  margin-bottom: 8px;
  color: var(--dark);
  font-weight: 500;
}

.contact-detail a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-detail a:hover {
  color: var(--secondary);
  text-decoration: underline;
}

.contact-action {
  margin-top: 30px;
}

/* Footer */
footer {
  background-color: var(--dark);
  color: white;
  padding: 70px 0 30px;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer-col {
  flex: 1;
  min-width: 250px;
  /* margin-bottom: 40px; */
}

.footer-col h3 {
  font-size: 1.3rem;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
  width: 100%;
}

.footer-col h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 2px;
  background-color: var(--primary);
}

.footer-col p {
  color: #aaa;
  margin-bottom: 20px;
}

.footer-col.col-2{
  padding-left: 40px;
  /* display: flex;
  flex-wrap: wrap;
  gap: 20px; */
}

.footer-col.addr a{
  color: #aaa;
}

.footer-col.addr a:hover{
  color: #fff;
}
.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #aaa;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: white;
}

.social-links {
  display: flex;
  margin-top: 20px;
}

.social-links a {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  color: white;
  transition: background-color 0.3s ease;
  text-decoration: none;
}

.social-links a:hover {
  background-color: var(--primary);
}

.copyright {
  text-align: center;
  padding-top: 30px;
  margin-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #aaa;
  font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .hero-container,
  .about-container {
    flex-direction: column;
  }

  .hero-content,
  .about-content {
    margin-bottom: 50px;
    max-width: 100%;
  }

  .section-title h2 {
    font-size: 2.2rem;
  }

  .slider-content h1 {
    font-size: 2.8rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: white;
    flex-direction: column;
    align-items: center;
    padding-top: 50px;
    transition: left 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }

  .nav-links.active {
    left: 0;
  }

  .nav-links li {
    margin: 15px 0;
  }

  .mobile-menu-btn {
    display: block;
  }

  .section-title h2 {
    font-size: 2rem;
  }

  .cta-content h2 {
    font-size: 2.2rem;
  }

  section {
    padding: 60px 0;
  }

  .step {
    min-width: 100%;
  }

  .slider-content h1 {
    font-size: 2.3rem;
  }

  .slider-content p {
    font-size: 1rem;
  }

  .slider-arrows {
    padding: 0 15px;
  }

  .slider-arrow {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
}

@media (max-width: 576px) {
  .btn {
    padding: 10px 25px;
  }

  .cta-content h2 {
    font-size: 1.8rem;
  }

  .testimonial-slide {
    padding: 30px 20px;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-buttons .btn {
    width: 100%;
    max-width: 250px;
  }

  .slider-content h1 {
    font-size: 2rem;
  }

  .slider-content p {
    font-size: 0.95rem;
  }
}



@media only screen and (min-width:1024px) and (max-width:1179px) {
.banner-slider{
  height: 50vh;
}

}

@media only screen and (min-width:768px) and (max-width:1023px) {
.banner-slider{
  height: 50vh;
}

.slider-content h1{
  font-size: 38px;
  line-height: 48px;
}

.slider-content p{
  width: 80%;
}

.about-container{
  flex-direction: column-reverse;
  gap: 20px;
}

.about-container .about-image{
  text-align: left;
}

.process-steps{
  flex-direction: row;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.step{
  min-width: 48%;
  max-width: 48%;
}

}


@media only screen and (min-width:320px) and (max-width:767px) {

  .nav-links{
    top: 100px;
  }
  .nav-links li{
    margin: 10px 0;
  }

.slider-content h1{
  font-size: 32px;
  line-height: 42px;
}

.slider-arrows{
  padding: 0 10px;
}

.slider-content p{
  width: 80%;
}

.slider-content a:nth-child(3){
  margin-bottom: 10px;
}

h2{
  font-size: 28px !important;
}
h3{
  font-size: 24px !important;
  line-height: 34px !important;
}

footer{
  padding: 70px 0px 0px;
}

.footer-container{
  gap: 20px;
}

.footer-col.col-2{
  padding: 0;
}

.copyright{
  margin-top: 0px;
  padding: 15px 0;
}

}