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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f0f0f0;
}

.container {
  margin: 0 auto;
  padding: 0px 40px;
}

/* Colors */
:root {
  --red-primary: #F04A23;
  --blue-dark: #0B243F;
  --gray-light: #F9FAFB;
  --gray-medium: #6B7280;
  --white: #FFFFFF;
  --grey-color: #d1d5db;
  --background-color: #f0f0f0;
}

/* Header */
.header {
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.nav-menu {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.logo {
  height: 2rem;
  cursor: pointer;
}

.nav-link {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-link a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s;
}


.nav-link:hover {
  color: var(--red-primary);
}


.no-link-style {
  text-decoration: none;
  color: inherit;
}

.no-link-style:visited {
  color: inherit;
}

.no-link-style:hover {
  color: inherit;
}

.ship-btn {
  color: var(--red-primary);
  background-color: var(--white);
  border: 1px solid var(--red-primary);
  padding: 10px 20px;
  border-radius: 20px;
  cursor: pointer;
  font-weight: bold;
  align-items: center;
}

.ship-btn:hover {
  color: var(--red-primary);
  background-color: #ffd8ce;
  border: 1px solid var(--red-primary);
  transition: 0.4s;
}


/* Services */
.services-wrapper {
  position: relative;
}

.nav-link {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-weight: 500;
  color: var(--text-color, #222);
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--red-primary);
}

.services-list {
  list-style: none;
  background-color: var(--background-color, #fff);
  padding: 0.8rem 1.2rem;
  border-radius: 0.6rem;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
  position: absolute;
  top: 2.2rem;
  left: 0;
  z-index: 1000;
  min-width: 210px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.services-list ul {
  margin: 0;
  padding: 0;
}

.services-list li {
  list-style: none;
}

.services-list .list {
  padding: 0.6rem 0.8rem;
  border-radius: 0.4rem;
  transition: background 0.3s ease, color 0.3s ease;
}

.services-list .list a {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--text-color, #333);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.services-list .list:hover {
  background: rgba(240, 74, 35, 0.08);
}

.services-list .list:hover a {
  color: var(--red-primary);
}

.services-wrapper:hover .services-list {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: #333;
}

/* Hero Section */
.hero-about {
  background: linear-gradient(135deg, var(--blue-dark), #0d3764);
  padding: 4rem 0;
  overflow: hidden;
  margin-block: 2rem;
  border-radius: 1rem;
  margin-inline: 4rem;
}

.hero-about-title {
  font-size: 2.5rem;
  font-weight: 500;
  line-height: 1;
  text-align: center;
  color: white;
}
  

/* AboutUS Conainer */
.aboutus-container {
  padding-inline: 8rem;
}

/* About Sarathi*/
.about {
  display: flex;
  gap: 4rem;
  align-items: center;
  padding: 4rem 5rem;
  background: #f9fafc;
  border-radius: 1rem;
}

.about .detail {
  flex: 1;
}

.about .detail h1 {
  font-weight: 600;
  font-size: 2rem;
  border-bottom: 4px solid var(--red-primary);
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--blue-dark);
}

.detail h2 {
  font-weight: 500;
  font-size: 1.2rem;
  color: var(--red-primary);
}


.about .detail p {
  margin-bottom: 1.2rem;
  color: #4a6078;
  font-size: 1rem;
  line-height: 1.7;
  text-align: justify;
}

.about-img {
  flex: 1;
  display: flex;
  justify-content: center;
}

.about-img img {
  height: 20rem;
  width: auto;
  border-radius: 1rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.4s ease;
}

.about-img img:hover {
  transform: scale(1.05);
}


/* Mission */
.mission-container {
  padding-block: 5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mission-detail {
  background: linear-gradient(135deg, var(--blue-dark), #0d3764);
  padding: 3rem 2rem;
  border-radius: 2rem;
  display: flex;
  flex-direction: row;
  gap: 3rem;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

.mission-card {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  height: 13rem;
  border-radius: 1rem;
  transition: transform 0.3s ease, background 0.3s ease;
}


.mission-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.1);
}

.mission-card h1 {
  color: #ffffff;
  font-weight: 600;
  font-size: 1.5rem;
  border-bottom: 3px solid #ff3131;
  display: inline-block;
  margin-bottom: 1rem;
}

.mission-card p {
  color: #fef2f2;
  font-size: 1rem;
  line-height: 1.6;
}


/* Info */
.info-container {
  display: flex;
  padding-bottom: 4rem;
  gap: 100px;
}

.info-detail {
  display: inline-block;
}

.info-detail h1 {
  border-bottom: 4px solid #FF3131;
  font-weight: 500;
  font-size: x-large;
  display: inline-block;
}

.info-detail h1 span {
  color: #FF3131;
}

.core-values {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-block: 2rem;
}

.first-row {
  display: flex;
  flex-direction: row;
  gap: 3rem;
}

.second-row {
  display: flex;
  flex-direction: row;
  gap: 3rem;
}

.one {
  list-style: none;
  max-height: 100%;
  width: 100%;
  padding: 1rem;
  background-color: rgba(176, 176, 176, 0.2);
  border-radius: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: all 0.3s ease-in-out;
  cursor: pointer;
  box-shadow: 1px 3px 5px 2px rgba(143, 143, 143, 0.3);
}

.one:hover {
  transform: scale(1.05);
  background-color: rgba(211, 211, 211, 0.35);
  box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.15);
}

.one:hover li {
  color: var(--red-primary);
}


.one li {
  font-weight: 500;
  font-size: large;
  color: var(--blue-dark);
  margin-left: 1.5rem;
}

.one p {
  margin-left: 1.5rem;
}

.info-detail p {
  color: #667B99;
}

.info-container img {
  height: 17rem;
  width: 30rem;
  background-color: #252A3F;
}


/* Our Team */
.team-container {
  padding: 4rem 2rem;
  background: #f9f9f9;
  text-align: center;
}

.team-header {
  border-bottom: 4px solid #FF3131;
  font-weight: 600;
  font-size: 2rem;
  display: inline-block;
  margin-bottom: 1rem;
}

.team-header span {
  color: #FF3131;
}

.team-paragraph {
  padding-inline: 10rem;
}

.team-footer {
  padding-inline: 10rem;
  padding-top: 4rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.team-card {
  background: #fff;
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: left;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  text-align: center;
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.team-img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  margin: 0 auto;
  background-color: var(--grey-color);
}

.team-card h2 {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0.5rem 0 0.2rem;
}

.team-card h3 {
  font-size: 0.95rem;
  color: #FF3131;
  margin-bottom: 0.8rem;
}

.team-card p {
  font-size: 0.9rem;
  line-height: 1.5;
  text-align: justify;
  color: #555;
}

/* Career */
.career {
  position: relative;
  height: 30rem;
  background: url("/assets/sarathi_app/images/assets/Career.jpg") center/cover no-repeat;
  margin-block: 3rem;
  display: flex;
  border-radius: 1rem;
  overflow: hidden;
}

.career-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13, 49, 89, 0.4);
}

.career-detail {
  position: absolute;
  top: 6rem;
  right: 4rem;
  color: var(--white);
  max-width: 600px;
  text-align: center;
}

.career-subtitle {
  font-size: 3rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.career-title {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: white;
}

.career-text {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.career-btn {
  display: inline-block;
  padding: 0.6rem 1.25rem;
  background: var(--red-primary);
  color: var(--white);
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease, transform 0.2s ease;
}

.career-btn:hover {
  background: #a82e09;
  transform: translateY(-3px);
}


/* Newsletter */
.newsletter {
  background: #F15627;
  color: white;
  text-align: center;
}

.newsletter-inside {
  padding: 30px;
}

.newsletter-submit {
  justify-content: space-between;
  gap: 10px;
  padding-top: 10px
}

.newsletter input {
  padding: 10px;
  border: none;
  border-radius: 5px;
  width: 250px;
}

.newsletter-btn {
  background-color: #0B233F;
  color: white;
  padding: 10px;
  border-radius: 5px;
  border: none;
}

/* Footer */
footer {
  background-color: #0B233F;
  color: white;
  padding: 40px 20px 10px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
}

.footer-logo img {
  height: 35px;
  margin-bottom: 10px;
}

.about-sarathi {
  width: 300px;
  color: #D1D5DB;
}

.footer-links ul,
.footer-services ul {
  list-style: none;
  padding: 0;
}

.footer-links a,
.footer-services a {
  color: #D1D5DB;
  text-decoration: none;
  font-size: 16px;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-contact p {
  list-style: none;
  padding: 0;
  margin: 0;
  text-decoration: none;
  color: #D1D5DB;
}

.footer-bottom {
  text-align: center;
  font-size: 14px;
  border-top: 1px solid #ffffff30;
  color: #ccc;
  margin-top: 30px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    font-size: 1.8rem;
    cursor: pointer;
    color: #333;
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    font-size: 1.1rem;
    gap: 2.2rem;
    position: absolute;
    top: 70px;
    right: 0;
    width: 100%;
    background: #fff;
    padding: 1rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 200;
  }

  /* When active */
  .nav-menu.active {
    display: flex;
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center !important;
  }

  .hero-about-title {
    font-size: 2.5rem;
  }

  .testimonial-content {
    grid-template-columns: 1fr;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .trust-badges {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .legal-links {
    flex-direction: column;
    gap: 0.5rem;
  }
}

@media (max-width: 480px) {
  .nav-menu {
    display: none;
  }

  .hero-about {
    padding: 1rem 0;
    margin-inline: 2rem;
  }

  .hero-about-title {
    font-size: 1.5rem;
  }


  .aboutus-container {
    padding-inline: 2rem;
  }

  .about {
    display: flex;
    flex-direction: column;
    padding: 1rem 2rem;
  }

  .about .detail p {
    margin-bottom: 0rem;
  }

  .about-img img {
    display: none;
  }

  .mission-container {
    display: flex;
    flex-direction: row;
  }

  .mission-detail {
    display: flex;
    flex-direction: column;
  }

  .core-values {
    gap: 1rem;
  }

  .first-row {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 26rem;
  }

  .second-row {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 26rem;
  }

  .team-container {
    padding: 2rem 0.5rem;
    background: #f9f9f9;
    text-align: center;
  }

  .team-paragraph {
    padding-inline: 1rem;
    text-align: justify;
  }

  .team-section {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .team-card {
    flex: 0 0 90%;
    scroll-snap-align: center;
    border-radius: 1rem;
  }

  
.carousel-dotstwo {
      display: flex;
      justify-content: center;
      margin-top: 1rem;
      gap: 8px;
    }
    
    .carousel-dotstwo button {
      width: 10px;
      height: 10px;
      border-radius: 50%;
      border: none;
      background: #ccc;
      cursor: pointer;
      transition: background 0.3s ease;
    }

    .carousel-dotstwo button.active {
      background: var(--red-primary);
    }
  
  .team-grid {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 1rem;
    padding: 1rem;
    width: 100%;
  }

  .team-grid::-webkit-scrollbar {
    display: none;
  }

  .team-footer {
    padding-inline: 1rem;
    padding-top: 2rem;
    text-align: justify;
  }

  .career-overlay {
    position: absolute;
    inset: 0;
    background: rgba(13, 49, 89, 0.8);
  }

  .career-detail {
    top: 6rem;
    right: 0rem;
  }

  .career-subtitle {
    font-size: 2rem;
  }

  .career-title {
    font-size: 1.2rem;
    font-weight: 600;
  }

  .footer-container {
    margin-inline: 1rem;
  }

}

@media (min-width: 481px) and (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

  .hero-about {
    padding: 1.5rem 1rem;
    margin-inline: 2rem;
  }

  .hero-about-title {
    font-size: 2rem;
    line-height: 1.3;
  }

  .aboutus-container {
    padding-inline: 2rem;
  }

  .about {
    flex-direction: column;
    padding: 2rem 1.5rem;
    gap: 2rem;
  }

  .about-img img {
    height: 14rem;
    width: auto;
    display: block;
    margin: 0 auto;
  }

  .mission-container {
    padding-block: 2rem;
  }

  .mission-detail {
    flex-direction: column;
    gap: 2rem;
    padding: 2rem 1.5rem;
  }

  .info-container {
    flex-direction: column;
    gap: 2rem;
    align-items: center;
  }

  .info-container img {
    width: 100%;
    height: auto;
    max-width: 22rem;
  }

  .first-row,
  .second-row {
    flex-direction: column;
    gap: 1.5rem;
    max-width: 100%;
  }

  .team-container {
    padding: 2rem 1rem;
  }

  .team-paragraph,
  .team-footer {
    padding-inline: 2rem;
  }

  .career {
    height: auto;
    min-height: 22rem;
  }

  .career-detail {
    top: 3rem;
    right: 1rem;
    left: 1rem;
    max-width: 100%;
  }

  .career-subtitle {
    font-size: 2.2rem;
  }

  .career-title {
    font-size: 1.4rem;
  }
}


html,
body {
  overflow-x: hidden;
}