* {
  font-family: Arial, sans-serif;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

header {
  background: linear-gradient(to top, #0C3464, #38658d);
  font-size: 18px;
}

.menu-nav {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.menu-nav span {
  width: 25px;
  height: 3px;
  background-color: #737373;
  border-radius: 5px;
}

.nav-bar {
  width: 1100px;
  max-width: 95%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
}

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

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

.nav-list ul li a {
  text-decoration: none;
  color: #CFD4D8;
  font-weight: bold;
}

.nav-item {
  margin-left: 20px;
  align-items: center;
}

.nav-item a {
  text-decoration: none;
  color: #737373;
  font-weight: bold;
}

.logo img {
  display: flex;
  align-items: center;
  max-height: 120px;
}

.budget-btn {
  background-color: #163d6d;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  padding: 17px 29px;
  border-radius: 27px;
  font-weight: 700;
  font-size: 14px;
}

.budget-btn:hover {
  background-color: #144B8A;
}

.menu-nav {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-nav span {
  width: 25px;
  height: 3px;
  background-color: #CFD4D8;
  border-radius: 3px;
}

@media (max-width: 768px) {
  .nav-list {
    display: none;
    position: absolute;
    top: 70px; 
    left: 0;
    width: 100%;
    background-color: #0C3464;
    padding: 10px 0;
    z-index: 1; 
  }

  .nav-list.active {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .nav-list ul {
    display: flex;
    flex-direction: column;
    width: 100%;
    text-align: center;
    padding: 0;
  }

  .nav-list ul li {
    margin: 10px 0;
  }

  .nav-list ul li a {
    color: #CFD4D8;
    font-size: 18px;
    font-weight: bold;
  }

  .menu-nav {
    display: flex;
    margin-left: auto;
  }

  .budget-btn {
    display: none;
  }

  .logo img {
    max-height: 60px;
  }

  .home-buttons {
    display: none;
  }

  .nav-list.active {
    display: flex;
  }
}

.nav-list.active {
  display: flex;
}

.home {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-background {
  position: absolute;
  inset: 0;
  background: url("../assets/images/home.jpg") no-repeat center center/cover;
}

.home-background::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.5));
}

.home-content {
  position: relative;
  text-align: center;
  color: white;
  padding: 0 1rem;
}

.home-title {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
  line-height: 1.2;
  text-align: center;
}

@media (min-width: 768px) {
  .home-title {
    font-size: 3.5rem;
  }
}

.home-description {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  text-align: center;

}

@media (min-width: 768px) {
  .home-description {
    font-size: 1.5rem;
  }
}

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

@media (min-width: 640px) {
  .home-buttons {
    flex-direction: row;
  }
}

.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  font-size: 1rem;
  border-radius: 0.5rem;
  text-align: center;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.btn-primary {
  background-color: #163d6d;
  color: white;
}

.btn-primary:hover {
  background-color: #144B8A;
}

.btn-secondary {
  background-color: white;
  color: #163d6d;
}

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

.background-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(2px);
}

.name-jpm {
  font-size: 42px;
  font-weight: 900;
  margin: 0;
}

.desc-jpm {
  font-size: 18px;
  margin: 16px 0;
}

.btn-services {
  text-decoration: none;
  background-color: #0C3464;
  text-transform: uppercase;
  padding: 18px 31px;
  border-radius: 27px;
  font-weight: 700;
  font-size: 12px;
  margin: 0 auto;
  display: block;
  width: 189px;
  margin-top: 26px;
  color: white;
}

.btn-services:hover {
  background-color: #144B8A;
}

.btn-services:link,
.btn-services:visited {
  text-decoration: none;
}


@media (max-width: 768px) {
  .name-jpm {
    font-size: 64px;
  }

  .desc-jpm {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .name-jpm {
    font-size: 48px;
  }

  .desc-jpm {
    font-size: 18px;
  }
}

.services-section {
  padding: 5rem 1rem;
  background-color: #f9fafb;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: 2rem;
  font-weight: bold;
  color: #111827;
  margin-bottom: 1rem;
}

.section-description {
  font-size: 1.125rem;
  color: #6b7280;
  max-width: 600px;
  margin: 0 auto;
}

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

.service-card {
  background-color: #fff;
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  border: 1px solid #e5e7eb;
  transition: box-shadow 0.3s ease;
}

.service-card:hover {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  background-color: #eff6ff;
  border-radius: 50%;
  margin-bottom: 1.5rem;
}

.service-icon img {
  width: 2rem;
  height: 2rem;
}

.service-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 0.75rem;
}

.service-description {
  font-size: 1rem;
  color: #6b7280;
  line-height: 1.5;
}

.about {
  padding: 5rem 0;
  background-color: #fff;
}

.about .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.about-header {
  text-align: center;
  margin-bottom: 4rem;
}

.about-title {
  font-size: 2rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 1rem;
}

.about-description {
  font-size: 1rem;
  color: #666;
  max-width: 700px;
  margin: 0 auto;
}

.about-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .about-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.about-card {
  text-align: center;
  background-color: #f9f9f9;
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
}

.about-card:hover {
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.about-icon {
  background-color: #ebf5ff;
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.about-icon img {
  width: 40px;
  height: 40px;
}

.about-card-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 1rem;
}

.about-card-description {
  font-size: 1rem;
  color: #666;
  line-height: 1.6;
}

.contact-section {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  padding: 20px;
  width: 1100px;
  max-width: 95%; 
  margin: 0 auto;
}

.contact-container, .contact-infos {
  background-color: #ffffff; 
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); 
  width: 100%; 
  max-width: 450px; 
}

.contact-container h2 {
  margin-bottom: 15px
}
.description {
  margin-bottom: 15px; 
  border-bottom: 1px solid #ccc; 
  padding-bottom: 10px; 
  text-align: justify;
}

.contact-infos a {
  text-decoration: none;
  color: #007acc; 
}

.contact-infos a:hover {
  color: #4b85ac; 
}

.contact-section input, textarea {
  width: 100%; 
  padding: 12px;

  margin-top: 8px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 14px;
}

.contact-section textarea {
  resize: vertical;
}

.contact-section button {
  width: 100%;
  padding: 14px;
  background-color: #005b96; 
  color: white;
  border: none;
  border-radius: 5px;
  margin-top: 20px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.contact-section button:hover {
  background-color: #007acc;
}

.contact-infos {
  text-align: left;
}

.contact-infos h2 {
  font-size: 22px;
  color: #005b96;
  margin-bottom: 15px;
}

.contact-infos p {
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.6;
  color: black;
}

@media (max-width: 768px) {
  .contact-section {
      flex-direction: column; 
      gap: 20px;
  }
}

.required {
  color: red;
}

.contact-icons {
  width: 1rem;
  height: 1rem;
  vertical-align: middle;
  margin-right: 0.5rem;
}


.footer {
  background: linear-gradient(to top, #0C3464, #38658d);
  color: #ffffff;
  padding: 2rem 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.footer h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  font-weight: bold;
}

.footer p,
.footer ul {
  color: #d1d5db;
  font-size: 0.9rem;
}

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

.footer ul li {
  margin-bottom: 0.5rem;
}

.footer ul li a {
  color: #d1d5db;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer ul li a:hover {
  color: #ffffff;
}

.social-icons {
  display: flex;
  gap: 0.5rem;
}

.social-link {
  color: #d1d5db;
  font-size: 1.5rem;
  transition: color 0.3s ease;
}

.social-link:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid #374151;
  margin-top: 2rem;
  padding-top: 1rem;
  text-align: center;
  color: #9ca3af;
  font-size: 0.9rem;
}

.icon-inline {
  width: 1rem;
  height: 1rem;
  vertical-align: middle;
  margin-right: 0.5rem;
  filter: brightness(0) invert(1);
}

.social-icons {
  display: flex;
  gap: 1rem;
}

.social-link {
  display: inline-block;
  width: 2rem;
  height: 2rem;
}

.social-icon {
  width: 80%;
  height: 100%;
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: brightness(0) invert(1);
}

.social-link:hover .social-icon {
  transform: scale(1.1);
  filter: brightness(0.8) invert(1);
}