* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
}
html {
  scroll-behavior: smooth;
}
:root {
  --primary-color: #0d4dad;
  --color-white: #fff;
}
a {
  text-decoration: none;
  color: #fff;
}
li {
  list-style: none;
}
/*==================== NAVBAR SECTION =================================*/
nav {
  height: 70px;
  width: 100%;
  color: var(--primary-color);
  position: fixed;
  display: flex;
  justify-content: space-between;
  z-index: 100;
  background: var(--color-white);
  box-shadow: 5px 7px 30px 1px rgba(57, 11, 66, 0.57);
}
nav .container {
  width: 80%;
  text-align: center;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: auto;
  text-transform: uppercase;
}
.nav-logo a {
  font-size: 18px;
  font-weight: 600;
  color: var(--primary-color);
}
.nav-logo a img {
  width: 50px;
  height: 50px;
}
.navlinks ul {
  display: flex;
  gap: 20px;
  font-size: 15px;
}
.navlinks ul li a {
  position: relative;
  margin-bottom: 10px;
  color: var(--primary-color);
}
.navlinks ul li a i {
  font-size: 20px;
  font-weight: bold;
  color: var(--primary-color);
}
.navlinks ul li a::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 100%;
  background: var(--primary-color);
  transform: scaleX(0);
  transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
  transform-origin: right center;
}
.navlinks ul li a:hover:before {
  transform: scaleX(1);
  transform-origin: left center;
  transition-duration: 0.4s;
}

@media only screen and (min-width: 851px) {
  .menu-btn {
    display: none;
  }
}

@media only screen and (max-width: 850px) {
  .navlinks {
    position: absolute;
    top: 80px;
    right: 0px;
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: var(--color-white);
    color: var(--primary-color);
    width: 300px;
    height: 400px;
  }
  .showlinks {
    position: absolute;
    top: 70px;
    right: 0px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: var(--color-white);
    color: var(--primary-color);
    width: 300px;
    animation: slidein 1s;
    height: 250px;
  }
  @keyframes slidein {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
  .navlinks ul {
    display: flex;
    flex-direction: column;
  }
}

/*==================== NAVBAR SECTION ENDS HERE =================================*/
main {
  width: 100%;
  padding-top: 70px;
}

/* Hero Section */
.about-hero {
  background: linear-gradient(135deg, #6e48aa 0%, var(--primary-color) 100%);
  color: white;
  padding: 18rem 0 6rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.about-hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.about-hero .subtitle {
  font-size: 1.5rem;
  max-width: 700px;
  margin: 0 auto 2rem;
  opacity: 0.9;
}

.scroll-down {
  color: white;
  font-size: 2rem;
  display: inline-block;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-15px);
  }
  60% {
    transform: translateY(-10px);
  }
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-label {
  display: inline-block;
  color: var(--primary-color);
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 1rem;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.section-description {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.1rem;
  color: #555;
}

/* Timeline */
.timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 0;
}

.timeline::before {
  content: "";
  position: absolute;
  width: 4px;
  background-color: var(--primary-color);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -2px;
  border-radius: 2px;
}

.timeline-item {
  padding: 1rem 3rem;
  position: relative;
  width: 50%;
  box-sizing: border-box;
}

.timeline-item:nth-child(odd) {
  left: 0;
}

.timeline-item:nth-child(even) {
  left: 50%;
}

.timeline-year {
  background-color: var(--primary-color);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  display: inline-block;
  font-weight: bold;
  margin-bottom: 1rem;
}

.timeline-content {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
  position: relative;
}

.timeline-content h3 {
  margin-top: 0;
  color: var(--primary-color);
}

.timeline-item:nth-child(odd) .timeline-content::after {
  content: "";
  position: absolute;
  border-style: solid;
  border-width: 10px 0 10px 10px;
  border-color: transparent transparent transparent white;
  right: -10px;
  top: 30px;
}

.timeline-item:nth-child(even) .timeline-content::after {
  content: "";
  position: absolute;
  border-style: solid;
  border-width: 10px 10px 10px 0;
  border-color: transparent white transparent transparent;
  left: -10px;
  top: 30px;
}

/* Mission Section */
.mission-section {
  padding: 6rem 0;
  background-color: #f9f9f9;
}

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

.grid-box {
  background: white;
  padding: 2.5rem;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.grid-box:hover {
  transform: translateY(-5px);
}

.grid-box i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  display: inline-block;
}

.grid-box h3 {
  margin-top: 0;
  font-size: 1.5rem;
  color: #333;
}

.shaded {
  background: linear-gradient(135deg, #6e48aa 0%, var(--primary-color) 100%);
  color: white;
}

.shaded i,
.shaded h3 {
  color: white;
}

.mission-values {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.mission-values h4 {
  margin-bottom: 1rem;
}

.mission-values li {
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 1.5rem;
}

.mission-values li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: white;
}

/* Team Section */
.team-section {
  padding: 6rem 0;
  text-align: center;
}

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

.team-member {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

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

.placeholder-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background-color: #eee;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 2rem;
}
.placeholder-photo img{
  width: 100%;
  border-radius: 50%;
  height: 120px;
  object-fit: cover;
}

.team-member h3 {
  margin: 0 0 0.5rem;
  color: #333;
}

.position {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 1rem;
  display: block;
}

.bio {
  color: #666;
  font-size: 0.9rem;
  line-height: 1.6;
}

.team-cta {
  max-width: 600px;
  margin: 3rem auto 0;
  padding: 2rem;
  background: #f5f5f5;
  border-radius: 8px;
}

/* Why Choose Us */
.whyus {
  padding: 6rem 0;
  background-color: #f9f9f9;
}

.whyus-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.whyus-image {
  border-radius: 8px;
  overflow: hidden;
}

.image-placeholder {
  height: 400px;
  background-color: #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
}

.whyus_points {
  display: grid;
  gap: 1.5rem;
}

.point {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.point i {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-top: 0.2rem;
}

.point h3 {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
}

.point p {
  margin: 0;
  color: #666;
}

.client-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  max-width: 800px;
  margin: 4rem auto 0;
  text-align: center;
}

.stat {
  background: white;
  padding: 2rem 1rem;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  line-height: 1;
}

.label {
  color: #666;
  font-size: 0.9rem;
}

/* CTA Section */
.cta-section {
  padding: 6rem 0;
  text-align: center;
  background-color: #f5f5f5;
}

.cta-content {
  max-width: 700px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.cta-text {
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.primary-button {
  background: linear-gradient(135deg, #6e48aa 0%, var(--primary-color) 100%);
  color: white;
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.primary-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(110, 72, 170, 0.3);
}

.secondary-button {
  background: white;
  color: var(--primary-color);
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid #6e48aa;
}

.secondary-button:hover {
  background: var(--primary-color);
  color: white;
}

/* ============================================ FOOTER ============================================== */
footer {
  width: 100%;
  display: flex;
  align-items: center;
  color: var(--color-white);
  height: auto;
  margin-top: 150px;
  background: var(--primary-color);
}
footer .container {
  width: 90%;
  margin: auto;
}
footer .grid_col-4 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  justify-content: start;
}
.cols {
  justify-content: left;
  text-align: left;
  margin: 10px 10px;
}
.cols ul li {
  list-style-type: none;
  text-align: start;
}
.cols ul li a {
  display: flex;
  flex-direction: column;
  color: var(--color-white);
}
.cols ul li a:hover {
  text-decoration: underline;
}
.cols input {
  padding: 5px 5px;
  border: 2px solid var(--color-white);
  background: var(--primary-color);
}
.cols input::placeholder {
  color: var(--color-white);
}
.cols input:active {
  border: 1px solid var(--color-white);
}
.cols input :placeholder-shown {
  color: #000;
}
.cols_4 a {
  color: var(--color-white);
}
.cols_4 a i {
  gap: 10px;
  margin-right: 10px;
}
.divider {
  border: 0.5px solid var(--color-white);
  margin-top: 40px;
}
#ft {
  padding: 10px 10px;
  margin-top: 10px;
}

/*========================================== MEDIA QUERRIES =============================================*/
@media screen and (max-width: 650px) {
  footer .grid_col-4 {
    display: grid;
    grid-template-columns: 1fr;
    justify-content: start;
  }
  .whyus_points, .client-stats{
    width: 90%;
    margin: auto;
  }
}

/* Responsive Styles */
@media (max-width: 992px) {
  .timeline::before {
    left: 40px;
  }

  .timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 20px;
  }

  .timeline-item:nth-child(even) {
    left: 0;
  }

  .timeline-item:nth-child(odd) .timeline-content::after,
  .timeline-item:nth-child(even) .timeline-content::after {
    left: auto;
    right: -10px;
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent white;
  }

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

  .whyus-image {
    order: -1;
  }
}

@media (max-width: 768px) {
  .about-hero h1 {
    font-size: 2.5rem;
  }

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

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

@media (max-width: 576px) {
  .about-hero {
    padding: 6rem 0 4rem;
  }

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

  .cta-buttons {
    flex-direction: column;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
  }

  .legal-links {
    gap: 1rem;
  }
}

/* Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.timeline-item,
.grid-box,
.team-member,
.testimonial {
  animation: fadeIn 0.6s ease forwards;
}

.timeline-item:nth-child(1) {
  animation-delay: 0.1s;
}
.timeline-item:nth-child(2) {
  animation-delay: 0.3s;
}
.timeline-item:nth-child(3) {
  animation-delay: 0.5s;
}
.timeline-item:nth-child(4) {
  animation-delay: 0.7s;
}
