/* Updated CSS with exact styling to match screenshots */

/* Base styles */
body {
  font-family: "Montserrat", sans-serif;
  overflow-x: hidden;
}

body.modal-open {
  /* Prevents Bootstrap from adding padding to compensate for the scrollbar width */
  /* Use !important if external Bootstrap CSS is overriding this */
  padding-right: 0 !important;
  margin-right: 0 !important;
}

/* Add smooth scrolling and offset for sticky navbar */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  /* Offset for sticky navbar */
}

/* Add scroll margin to sections for proper anchor positioning */
section[id] {
  scroll-margin-top: 50px;
}

/* Responsive scroll offset */
@media (max-width: 768px) {
  html {
    scroll-padding-top: 70px;
  }

  section[id] {
    scroll-margin-top: 70px;
  }
}

/* Custom primary color matching screenshot */
:root {
  --bs-primary: #3bafda;
  --bs-primary-rgb: 59, 175, 218;
}

.btn-primary {
  background-color: #3bafda;
  border-color: #3bafda;
  font-weight: 600;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background-color: #2a9ec9;
  border-color: #2a9ec9;
}

.btn-outline-primary {
  color: #3bafda;
  border-color: #3bafda;
  border-width: 2px;
  font-weight: 600;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active {
  background-color: #3bafda;
  border-color: #3bafda;
  color: white;
}

.text-primary {
  color: #3bafda !important;
}

/* Navbar styling */
.navbar {
  padding: 1rem 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.nav-link {
  color: #333 !important;
  transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #3bafda !important;
}

/* Hero section */
.hero-section {
  min-height: 70vh;
  display: flex;
  align-items: center;
}

/* About section - overlapping cards matching screenshot */
.about-cards-wrapper {
  position: relative;
  height: 450px;
  margin: 0 auto;
}

.about-card-1 {
  position: absolute;
  top: 0;
  left: 0;
  width: 320px;
  z-index: 2;
  border-radius: 12px;
}

.about-card-2 {
  position: absolute;
  top: 120px;
  left: 260px;
  width: 320px;
  z-index: 1;
  border-radius: 12px;
}

.about-card-1 img,
.about-card-2 img {
  border-radius: 12px;
}

/* Feature cards */
.feature-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 12px;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

.feature-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon img {
  width: 35px;
  height: 35px;
}

/* Slider section matching screenshot */
.slider-section {
  /* background: linear-gradient(135deg, #3bafda 0%, #2a9ec9 100%); */
  background-image: url('timetracker_landingpage/image/bg.webp');
  min-height: 700px;
  display: flex;
  align-items: center;
}

.swiper {
  width: 150%;
  /* padding: 0px 0;s */
  margin-left: -25%;

}

.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-slide img {
  width: 100%;
  max-width: 600px;
  height: auto;
  object-fit: contain;
  transition: transform 0.5s ease, opacity 0.5s ease;
  border-radius: 12px;
}

.swiper-slide-active img {
  transform: scale(1);
  opacity: 1;
  z-index: 10;
}

.swiper-slide-prev img,
.swiper-slide-next img {
  transform: scale(0.85);
  opacity: 0.6;
}

/* Pricing card */
.pricing-card {
  border-radius: 20px;
  overflow: hidden;
}

/* Download modal */
.download-option {
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.download-option:hover {
  background-color: #f8f9fa;
  border-color: #3bafda;
  transform: translateY(-4px);
}

/* Decorative dots */
.dot-decoration {
  pointer-events: none;
  user-select: none;
}

/* Accordion customization */
.accordion-button {
  font-size: 1rem;
}

.accordion-button:not(.collapsed) {
  background-color: #f8f9fa;
  color: #333;
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: none;
  border-color: rgba(0, 0, 0, 0.125);
}

.accordion-item {
  border-radius: 8px !important;
  overflow: hidden;
}

/* Form controls */
.form-control:focus,
.form-control:active {
  border-color: #3bafda;
  box-shadow: 0 0 0 0.25rem rgba(59, 175, 218, 0.25);
}

/* Footer links */
.footer-section a:hover {
  color: #3bafda !important;
}

/* Responsive adjustments */
@media (max-width: 1199px) {

  .about-card-1,
  .about-card-2 {
    width: 280px;
  }

  .about-card-2 {
    left: 220px;
  }
}

@media (max-width: 991px) {
  .col-lg-6 img {
    max-width: 100%;
    width: 100%;
    height: auto;
  }
}

@media (max-width: 991px) {
  .faq-section h2 {
    font-size: 1.8rem;
  }

  .faq-section p {
    font-size: 0.95rem;
  }

  .faq-section {
    text-align: center;
  }

  .faq-section .accordion-button {
    font-size: 0.95rem;
    padding: 0.9rem 1rem;
  }

  .faq-section .accordion-body {
    font-size: 0.9rem;
  }
}

@media (max-width: 576px) {
  .faq-section h2 {
    font-size: 1.5rem;
  }

  .faq-section .accordion-button {
    font-size: 0.9rem;
  }
}

@media (max-width: 991px) {
  .hero-section {
    min-height: auto;
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .about-cards-wrapper {
    height: 350px;
  }

  .about-card-1,
  .about-card-2 {
    width: 240px;
  }

  .about-card-2 {
    top: 100px;
    left: 180px;
  }

  .slider-section {
    min-height: 500px;
  }

  .swiper-slide img {
    max-width: 500px;
  }
}

@media (max-width: 767px) {
  .about-cards-wrapper {
    height: 300px;
  }

  .about-card-1,
  .about-card-2 {
    width: 200px;
  }

  .about-card-2 {
    top: 80px;
    left: 140px;
  }

  .slider-section {
    min-height: 400px;
  }

  .swiper-slide img {
    max-width: 400px;
  }

  .display-4 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.8rem !important;
  }
}

@media (max-width: 575px) {
  .about-cards-wrapper {
    height: 250px;
  }

  .about-card-1,
  .about-card-2 {
    width: 160px;
  }

  .about-card-2 {
    top: 60px;
    left: 100px;
  }

  .slider-section {
    min-height: 350px;
  }

  .swiper-slide img {
    max-width: 300px;
  }

  .display-4 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.5rem !important;
  }

  .feature-icon {
    width: 60px;
    height: 60px;
  }

  .feature-icon img {
    width: 28px;
    height: 28px;
  }
}

/* Extra small devices */
@media (max-width: 400px) {
  .about-cards-wrapper {
    height: 220px;
  }

  .about-card-1,
  .about-card-2 {
    width: 140px;
  }

  .about-card-2 {
    top: 50px;
    left: 80px;
  }
}


/* Pricing Section Responsive Styles */
@media (max-width: 1200px) {
  #pricing h1 {
    font-size: 2.3rem !important;
  }

  #pricing .display-4 {
    font-size: 2.5rem !important;
  }
}

@media (max-width: 992px) {
  #pricing h1 {
    font-size: 2rem !important;
  }

  #pricing .display-4 {
    font-size: 2.2rem !important;
  }

  #pricing span.fs-5 {
    font-size: 1rem !important;
  }

  #pricing .card-body {
    padding: 2rem !important;
  }
}

@media (max-width: 768px) {
  #pricing h1 {
    font-size: 1.8rem !important;
    line-height: 1.4;
  }

  #pricing .display-4 {
    font-size: 2rem !important;
  }

  #pricing span.fs-5 {
    font-size: 0.95rem !important;
  }

  #pricing ul li {
    font-size: 0.95rem !important;
  }

  #pricing .btn {
    font-size: 1rem !important;
    padding: 0.6rem 1.8rem !important;
  }
}

@media (max-width: 576px) {
  #pricing h1 {
    font-size: 1.6rem !important;
  }

  #pricing .display-4 {
    font-size: 1.8rem !important;
  }

  #pricing span.fs-5 {
    font-size: 0.9rem !important;
  }

  #pricing ul li {
    font-size: 0.9rem !important;
  }

  #pricing .btn {
    font-size: 0.95rem !important;
    padding: 0.5rem 1.5rem !important;
  }
}

/* Contact Section Responsive Styles */
@media (max-width: 1200px) {
  #contact h2 {
    font-size: 2.2rem !important;
  }

  #contact p {
    font-size: 1rem !important;
  }

  #contact img {
    max-width: 420px !important;
  }
}

@media (max-width: 992px) {
  #contact h2 {
    font-size: 2rem !important;
  }

  #contact p {
    font-size: 0.95rem !important;
  }

  #contact form .form-control-lg {
    font-size: 1rem !important;
    padding: 0.6rem 1rem !important;
  }

  #contact button {
    font-size: 1rem !important;
    padding: 0.6rem 2rem !important;
  }

  #contact img {
    max-width: 350px !important;
    margin-top: 2rem !important;
  }
}

@media (max-width: 768px) {
  #contact h2 {
    font-size: 1.8rem !important;
  }

  #contact p {
    font-size: 0.9rem !important;
  }

  #contact form label {
    font-size: 0.9rem !important;
  }

  #contact form .form-control-lg {
    font-size: 0.95rem !important;
    padding: 0.55rem 0.9rem !important;
  }

  #contact button {
    font-size: 0.95rem !important;
    padding: 0.55rem 1.6rem !important;
  }

  #contact img {
    max-width: 300px !important;
    margin-top: 2rem !important;
  }
}

@media (max-width: 576px) {
  #contact h2 {
    font-size: 1.6rem !important;
  }

  #contact p {
    font-size: 0.9rem !important;
  }

  #contact form label {
    font-size: 0.85rem !important;
  }

  #contact form .form-control-lg {
    font-size: 0.9rem !important;
    padding: 0.5rem 0.8rem !important;
  }

  #contact button {
    font-size: 0.9rem !important;
    padding: 0.5rem 1.4rem !important;
  }

  #contact img {
    max-width: 250px !important;
    margin-top: 2rem !important;
  }
}