/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8f9fa;
}

/* Header and Navigation */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
  background-color: #ffffff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #1a1a1a;
}

.nav-links {
  display: flex;
  justify-content: space-around;
  width: 40%;
}

.nav-links li {
  list-style: none;
}

.nav-links a {
  color: #1a1a1a;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #007bff;
}

.burger {
  display: none;
  cursor: pointer;
}

.burger div {
  width: 25px;
  height: 3px;
  background-color: #1a1a1a;
  margin: 5px;
  transition: all 0.3s ease;
}

/* Main content */
main {
  padding-top: 80px; /* To account for fixed navbar */
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #1a1a1a;
}

/* Hero Section */
.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4rem 5%;
  background-color: #f0f8ff;
}


.hero-content {
  flex: 1;
  max-width: 600px;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #1a1a1a;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: #555;
}

.hero-image {
  flex: 1;
  text-align: right;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.cta-button {
  display: inline-block;
  background-color: #007bff;
  color: #ffffff;
  padding: 0.8rem 1.5rem;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #0056b3;
}

/* Features Section */
.features {
  padding: 4rem 5%;
  background-color: #ffffff;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature-item {
  text-align: center;
  padding: 2rem;
  background-color: #f8f9fa;
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.feature-item i {
  font-size: 3rem;
  color: #007bff;
  margin-bottom: 1rem;
}

.feature-item h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #1a1a1a;
}

.feature-item p {
  color: #555;
}

/* Services Section */
.services {
  padding: 4rem 5%;
  background-color: #f0f8ff;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-item {
  background-color: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.service-item:hover {
  transform: translateY(-5px);
}

.service-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.service-item h3 {
  font-size: 1.5rem;
  margin: 1rem;
  color: #1a1a1a;
}

.service-item p {
  margin: 0 1rem 1rem;
  color: #555;
}

/* Testimonials Section */
.testimonials {
  padding: 4rem 5%;
  background-color: #ffffff;
}

.testimonial-carousel {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.testimonial-item {
  flex: 0 0 100%;
  scroll-snap-align: start;
  padding: 2rem;
  background-color: #f8f9fa;
  border-radius: 10px;
  margin-right: 2rem;
}

.testimonial-item p {
  font-style: italic;
  margin-bottom: 1rem;
  color: #555;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.testimonial-author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 1rem;
}

.testimonial-author h4 {
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
  color: #1a1a1a;
}

.testimonial-author p {
  font-size: 0.9rem;
  color: #777;
}

/* CTA Section */
.cta {
  text-align: center;
  padding: 4rem 5%;
  background-color: #007bff;
  color: #ffffff;
}

.cta h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.cta .cta-button {
  background-color: #ffffff;
  color: #007bff;
}

.cta .cta-button:hover {
  background-color: #f0f0f0;
}

/* Footer */
footer {
  background-color: #1a1a1a;
  color: #ffffff;
  padding: 4rem 5% 2rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.footer-section {
  flex: 1;
  margin-right: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: #007bff;
}

.social-icons a {
  color: #ffffff;
  font-size: 1.5rem;
  margin-right: 1rem;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #007bff;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #333;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideIn {
  from {
    transform: translateX(-50px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.animate-fade-in {
  animation: fadeIn 1s ease-out forwards;
}

.animate-slide-in {
  animation: slideIn 1s ease-out forwards;
}

/* Responsive design */
@media screen and (max-width: 768px) {
  .nav-links {
    position: fixed;
    right: -100%;
    top: 80px;
    height: calc(100vh - 80px);
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    transition: right 0.5s ease-in-out;
  }

  .nav-links li {
    opacity: 0;
    margin: 1.5rem 0;
  }

  .burger {
    display: block;
  }

  .nav-active {
    right: 0;
  }

  @keyframes navLinkFade {
    from {
      opacity: 0;
      transform: translateX(50px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }

  .toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
  }

  .toggle .line2 {
    opacity: 0;
  }

  .toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
  }

  .hero {
    flex-direction: column;
    text-align: center;
  }

  .hero-content,
  .hero-image {
    flex: none;
    max-width: 100%;
  }

  .hero-image {
    margin-top: 2rem;
  }

  .feature-grid,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    flex-direction: column;
  }

  .footer-section {
    margin-right: 0;
  }

  .about-section,
  .about-section:nth-child(even) {
    flex-direction: column;
  }

  .about-section .content,
  .about-section .image {
    width: 100%;
  }

  .about-section img {
    margin-bottom: 1rem;
  }

  .contact-content {
    flex-direction: column;
  }

  .contact-info,
  .contact-form {
    width: 100%;
  }

  .office-grid {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    padding: 1rem;
  }

  .team-member img {
    height: 250px;
  }

  .team-member h3 {
    font-size: 1.1rem;
  }

  .team-member .position,
  .team-member .description {
    font-size: 0.9rem;
  }
}

/* About Us Page */
.about-us .hero {
  background-color: #f0f8ff;
  text-align: center;
  padding: 6rem 0;
  margin-bottom: 2rem;
}

.about-section {
  display: flex;
  align-items: center;
  margin-bottom: 4rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.about-section.active {
  opacity: 1;
  transform: translateY(0);
}

.about-section:nth-child(even) {
  flex-direction: row-reverse;
}

.about-section .content,
.about-section .image {
  flex: 1;
  padding: 2rem;
}

.about-section h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: #1a1a1a;
}

.about-section p,
.about-section ul {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #333;
}

.about-section ul {
  list-style-type: none;
  padding-left: 0;
}

.about-section li {
  margin-bottom: 1rem;
  position: relative;
  padding-left: 1.5rem;
}

.about-section li::before {
  content: "•";
  color: #007bff;
  font-size: 1.5rem;
  position: absolute;
  left: 0;
  top: -0.2rem;
}

.about-section img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.quote {
  background-color: #007bff;
  color: #fff;
  padding: 4rem 2rem;
  text-align: center;
  margin: 4rem 0;
}

.quote blockquote {
  font-size: 2rem;
  font-style: italic;
  max-width: 800px;
  margin: 0 auto 1rem;
}

.quote-author {
  font-size: 1.2rem;
  font-weight: bold;
}

/* Contact Us Page */
.contact-us .hero {
  background-color: #f0f8ff;
  text-align: center;
  padding: 6rem 0;
  margin-bottom: 2rem;
}

.contact-content {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 4rem;
}

.contact-info,
.contact-form {
  flex: 1;
  min-width: 300px;
}

.contact-info h2,
.contact-form h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #1a1a1a;
}

.info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.info-item i {
  font-size: 1.5rem;
  color: #007bff;
  margin-right: 1rem;
  margin-top: 0.2rem;
}

.contact-form form {
  display: flex;
  flex-direction: column;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: bold;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
}

.form-group textarea {
  height: 150px;
  resize: vertical;
}

.offices {
  margin-top: 4rem;
}

.offices h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 2rem;
}

.office-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.office-item {
  background-color: #f8f9fa;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.office-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.office-item h3 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
  color: #1a1a1a;
}

.office-item p {
  font-size: 1rem;
  color: #333;
}

.map {
  margin-top: 4rem;
}

.map h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 2rem;
}

.map-container {
  width: 100%;
  height: 400px;
  border-radius: 10px;
  overflow: hidden;
}

.map-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Our Team Page */
.our-team .hero {
  background-color: #f0f8ff;
  text-align: center;
  padding: 6rem 0;
  margin-bottom: 2rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  padding: 2rem;
}

.team-member {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.team-member img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-bottom: 3px solid #007bff;
}

.team-member h3 {
  font-size: 1.3rem;
  margin: 1rem 0 0.5rem;
  padding: 0 1rem;
  color: #1a1a1a;
}

.team-member .position {
  font-size: 1rem;
  color: #007bff;
  margin-bottom: 0.5rem;
  padding: 0 1rem;
}

.team-member .description {
  font-size: 0.9rem;
  padding: 0 1rem 1rem;
  color: #333;
}

/* Style the logo image */
.logo-img {
  width: 100px; /* Adjust this size as per your preference */
  height: auto;
  margin-right: 10px; /* Space between the logo and the text */
  vertical-align: middle; /* Align the logo vertically with the text */
}