body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
}

.offer-section {
  text-align: center;
  padding: 50px 0;
  width: 60%;
  margin: auto;
  margin-top: 25px;
}

.offer-section h2 {
  color: #2C2F67;
  margin-bottom: 30px;
  position: relative;
}

.offer-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  justify-items: center;
}

.offer-item {
  text-align: center;
  color: #2C2F67;
  text-decoration: none;
}

.offer-item img {
  width: 100px;
  margin-bottom: 10px;
}

.offer-item p {
  margin: 0;
  font-weight: bold;
}

.detailed-section {
  padding: 20px;
  width: 80%;
  margin: auto;
}



.detailed-section-content {
  display: flex;
  align-items: center; /* Center items vertically */
  justify-content: space-between; /* Space items evenly */
}

.detailed-section h3 {
  color: #2C2F67;
  /*border-bottom: 2px solid #2C2F67;*/
  padding: 10px;
  width: 100%;
  background-color: #E0E1E9;
}

.detailed-section img {
  width: 45%;
  height: auto;
  max-width: 415px;
  margin-left: 20px; /* Add space between text and image */
}

.detailed-section-text {
  flex: 1; /* Take up remaining space */
  display: flex;
  flex-direction: column;
  justify-content: center; /* Center text vertically */
  padding-right: 20px;
}


@media (min-width: 2250px) {
  .detailed-section p {
    font-size: 28px;
}

.offer-item p {
  font-size: 32px;
}
.offer-item img {
  width: 10vw;
}

.detailed-section h3 {
  width: 500px;
  font-size: 38px;
}

.navbar-nav .nav-item {
  font-size: 24px;
}
}

@media (min-width: 1500px) and (max-width: 2600px){
.detailed-section {
  width: 60%;
}

.offer-item img {
    width: 150px;
}


.offer-item p {
    font-size: 20px;
}

.detailed-section h3 {
    font-size: 22px;
}

.offer-section h2 {
    font-size: 28px;
}
}

@media (max-width: 768px) {
  .detailed-section-content {
    flex-direction: column; /* Stack items vertically on small screens */
    align-items: center;
    text-align: center;
  }

  .detailed-section img {
    width: 100%; /* Make the image responsive */
    max-width: none; /* Remove max-width */
    margin-left: 0;
    margin-bottom: 20px; /* Add margin below the image */
  }

  .detailed-section-text {
    padding-right: 0; /* Remove padding on small screens */
  }
}

@media (max-width: 480px) {

.offer-section {
width:100%
}

.detailed-section {
    width: 85%;}


.offer-item img {
    width: 20vw;
    margin-bottom: 10px;
}
}

@media (max-width: 400px) {
 Body{font-size: 14px;}
.offer-item p {font-size: 12px;}
h2 {
    font-size: 19px;
}
}

@media (max-width: 380px){
.detailed-section h3 {
font-size:15px}
.detailed-section p {
    font-size: 13px;
}
h2.text-center {
    border-bottom: #2C2F67 solid 2px;
    width: 220px;

}.detailed-section h3 {
    width: 210px;
}


}