* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
}

/*body {
  background: url("images/Background Image.jpg") no-repeat center center/cover;
  display: flex;
  flex-direction: column;
}*/

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  background-color: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.logo {
  font-size: 24px;
  color: #e91e63;
  font-weight: bold;
}

nav a {
  margin-right: 20px;
  text-decoration: none;
  color: #222;
  font-weight: 500;
}

.banner img {
    width: 103%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    margin-left: 4px;

}
.login-btn {
  padding: 10px 20px;
  border: 2px solid #e91e63;
  background: transparent;
  color: #e91e63;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
}

.first-title {
  color: red;
}
.main {
  display: flex;
  justify-content: space-between;
  padding: 60px;
  flex: 1;
  background: url("images/Background Image.jpg") no-repeat center center/cover;
}

.content {
  color: white;
  max-width: 50%;
}

.content h1 {
  font-size: 40px;
  margin-bottom: 30px;
}

.store-buttons {
  display: flex;
  gap: 20px;
}

.store-img {
  width: 150px;
  cursor: pointer;
}

.form-box {
  background: white;
  padding: 30px;
  margin-bottom: 5rem;
  border-radius: 15px;
  width: 350px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-box h2 {
  margin-bottom: 20px;
  font-size: 20px;
}

.form-box form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-box input,
.form-box select {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.phone-input {
  display: flex;
  gap: 10px;
}

.phone-input select {
  width: 30%;
}

.phone-input input {
  width: 70%;
}

.form-box button {
  background: #e91e63;
  color: white;
  padding: 12px;
  border: none;
  border-radius: 30px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
}

.why-choose {
  background-color: white;
  text-align: center;
  padding: 40px 150px;
  margin: -4rem 7rem 4rem 7rem;
  border: 2px solid red;
  border-radius: 15px;
}
.why-choose span {
  color: #ff0654;
  text-align: center;
}
.why-choose h2 {
  text-align: center;
  padding: 2rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.card-img-one {
  width: 75px;
  height: 75px;
  margin: 0 auto;
}

.card1 {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.card2 {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}
.card-img-two {
  width: 75px;
  height: 75px;
}

.card3 {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}
.card-img-three {
  width: 75px;
  height: 75px;
}

.profiles {
  padding: 25px 4%;
}
.profiles h2 {
  text-align: center;
  margin-bottom: 2rem;
}
/*.profile-cards {
  border-radius: 30px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 0 15rem 2rem 20rem;
  /*border: 2px solid #e7274e;
  padding: 1rem;
  background-color: rgba(175 71 91 / 12%);
}
.profile-marital,
.profile-religion,
.profile-state,
.profile-city {
  padding: 12px;
  text-align: center;
  cursor: pointer;
}
.profile-first1 {
  border: 1px solid red;
  background-color: red;
  color: white;
}

.profile-first2,
.profile-first1,
.profile-first3,
.profile-first4 {
  background-color: #e7274e;
  color: white;
  border-radius: 20px;
  animation: growTabsHorizontal 0.6s cubic-bezier(0.34, 0.71, 0.88, 1) forwards;
}
.profile-first2:hover,
.profile-first1:hover,
.profile-first3:hover,
.profile-first4:hover {
  box-shadow: 0 0 12px rgba(255, 0, 0, 0.6);
}

.profile-cards-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  margin-left: 5rem;
  border: 2px solid red;
  padding: 1rem;
}*/

/* Tab */
.tab {
  border-radius: 30px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 0 15rem 2rem 20rem;
  /* border: 2px solid #e7274e; */
  padding: 1rem;
  background-color: rgba(175 71 91 / 12%);
}

/*.tab div {
  background-color: transparent;
  border: none;
  outline: none;
  padding: 14px 20px;
  cursor: pointer;
  transition: 0.3s;
  font-size: 16px;
}*/

.tab-link {
  padding: 12px;
  text-align: center;
  cursor: pointer;
}

/*.tab button:hover {
  background-color: #ddd;
}*/

.tab div.active {
  background-color: #e7274e;
  border-radius: 20px;
  transition: 0.5s;
  color: white;
  box-shadow: 0px 2px 10px 3px #bd78c2;
  animation: growTabsHorizontal 0.6s cubic-bezier(0.34, 0.71, 0.88, 1) forwards;
}

.tab-content {
  display: none;
  padding: 20px;
  margin-left: 5rem;
  border-top: none;
}

.tab-content.active {
  align-items: center;
  justify-content: center;
  display: flex;
  margin-left: 5rem;
}
.tab-content.active div {
  margin-left: 4rem;
}
.tab-content.active span {
  margin-left: 4rem;
}

/* Footer */
.site-footer {
  background-color: #e91e63;
  color: white;
  padding-top: 40px;
  margin-top: 40px;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 0 4%;
}

.footer-container h3,
.footer-container h4 {
  margin-bottom: 10px;
}

.footer-container p,
.footer-container a {
  font-size: 14px;
  color: white;
  text-decoration: none;
}

.footer-container a:hover {
  text-decoration: underline;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 5px;
}

.footer-bottom {
  text-align: center;
  padding: 15px;
  background-color: #c6304d85;
  font-size: 13px;
}

/*About us*/
.about-us {
  padding: 50px 10%;
  background-color: #e73058;
  color: white;
  text-align: center;
  margin-bottom: 20px;
}

.about-us h2 {
  font-size: 28px;
  color: black;
  margin-bottom: 20px;
}

.about-us p {
  font-size: 16px;
  line-height: 1.6;
  color: #f2f2f2;
  margin-bottom: 15px;
}

/*.tab-content.active div {
  padding: 12px;
}
.tab-content.active div:hover {
  box-shadow: 0 0 12px rgba(255, 0, 0, 0.6);
}*/

/*@media screen and (max-width: 768px) {
  .main {
    flex-direction: column;
    align-items: center;
    padding: 20px;
  }

  .content {
    max-width: 100%;
    text-align: center;
    margin-bottom: 30px;
  }

  nav a {
    display: none;
  }
  .logo {
    margin-left: -2rem;
  }
  .why-choose {
    margin: 3rem;
    padding: 0;
  }
  .why-choose h2 {
    display: inline;
    color: #555454;
    text-align: center;
    font-size: 17.558px;
    font-weight: 700;
    margin-bottom: 10px;
  }
  .cards {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 1rem;
    justify-content: center;
    gap: 0.5rem;
    padding: 0;
  }

  .profile-cards {
    margin: 0;
  }
}
*/
/* Tablet view (max 1024px) */
@media screen and (max-width: 1024px) {
  .main {
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    text-align: center;
  }

  .content {
    max-width: 100%;
    margin-bottom: 2rem;
  }

  .form-box {
    width: 100%;
    max-width: 400px;
  }

  .why-choose {
    margin: 2rem;
    padding: 1.5rem;
  }

  .cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .tab {
    margin: 0 2rem;
    grid-template-columns: repeat(2, 1fr);
  }
  .table-content span {
    display: none;
  }

  .tab-content,
  .tab-content.active {
    margin-left: 0;
    flex-wrap: wrap;
    gap: 1rem;
  }

  .tab-content.active div,
  .tab-content.active span {
    margin-left: 0;
  }
}

/* Mobile view (max 768px) */
@media screen and (max-width: 768px) {
  header {
    flex-direction: row;
    gap: 10px;
    padding: 15px;
    text-align: center;
  }

  nav a {
    display: none;
    margin: 5px 0;
  }

  .main {
    padding: 1rem;
  }

  .store-buttons {
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }

  .why-choose {
    margin: 1rem;
    padding: 1rem;
  }

  .about-us {
    padding: 30px 5%;
  }
  .about-us h2 {
    font-size: 22px;
  }
  .about-us p {
    font-size: 14px;
  }
  .cards {
    grid-template-columns: 1fr;
  }

  .tab {
    grid-template-columns: 1fr;
    margin: 0 1rem;
  }
  .table-content span {
    display: none;
  }
  .tab-content,
  .tab-content.active {
    flex-direction: column;
    gap: 0.5rem;
    margin-left: 0;
    text-align: center;
  }

  .tab-content.active div {
    margin-left: 0;
    gap: 1rem;
  }
  .tab-content.active span {
    display: none;
  }
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

/* Extra small mobile (max 480px) */
@media screen and (max-width: 480px) {
  .content h1 {
    font-size: 1.5rem;
  }

  .store-img {
    width: 120px;
  }

  .form-box {
    padding: 1rem;
  }

  .tab {
    padding: 0.5rem;
  }

  .tab-link {
    font-size: 14px;
    padding: 8px;
  }
}

@keyframes growTabsHorizontal {
  0% {
    transform: scale(0.8);
    opacity: 0.2;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.8;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
