@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  color: black;
}

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-thumb {
  background-color: #B4E8E8;
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #3fb1db;
}


.header {
  /* position: fixed; */
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 3%;
  background-color: #f2f8f8;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
}

.logo {
  font-size: 22px;
  color: #00c7c7;
  text-decoration: none;
  font-weight: 600;
}

.navbar {
  display: flex;
  align-items: center;
}

.navbar a {
  font-size: 18px;
  color: #00c7c7;
  text-decoration: none;
  font-weight: 500;
  margin-left: 35px;
  transition: 0.3s;
}

.navbar a.active {
  color: #189393;
}

.hamburger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  cursor: pointer;
}

.hamburger-menu span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #00c7c7;
  transition: all 0.3s ease;
}

.hamburger-menu.active div:nth-child(2) {
  opacity: 0;
}

.hamburger-menu.active div:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger-menu.active div:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

@media screen and (max-width: 768px) {
  .header {
    padding: 20px 2%;
    position: sticky;
  }
  .navbar {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 20px;
  }
  .navbar a {
    margin: 10px 0;
  }
  .hamburger-menu {
    display: flex;
  }
  .navbar.active {
    display: flex;
  }
  .navbar a {
    margin: 10px 0;
  }
}

.static-image img {
  width: 100%;
  height: 100%;
}

.advice {
  background-color: #fff;
  padding: 45px 0;
  text-align: center;
}

.how-can-we-help {
  font-size: 32px;
  color: #189393;
  font-weight: 600;
}

.advice h2 {
  color: #00c7c7;
  font-size: 28px;
}

.row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 40px;
}

.advice-content-col {
  flex: 0 0 300px;
  background-color: #f2f8f8;
  border-radius: 8px;
  padding: 30px;
  margin: 20px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s, box-shadow 0.3s;
}

.advice-content-col:hover {
  transform: translateY(-10px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.advice-content-col h3 {
  font-size: 24px;
  font-weight: 600;
  color: #00c7c7;
  margin-bottom: 15px;
}

.advice-content-col p {
  font-size: 16px;
  color: #555;
  line-height: 1.6;
}

.business-association {
  background-color: #e6ffff;
  padding: 60px 10px;
  text-align: center;
}

.business-association h2 {
  color: #00c7c7;
  font-size: 28px;
  margin-bottom: 30px;
}

.join-button {
  background-color: #00c7c7;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  padding: 1px 22px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.join-button:hover {
  background-color: #00a5a5;
  transform: scale(1.05);
}

.join-button:focus {
  outline: none;
}

.join-button:active {
  transform: scale(0.98);
}

.contact-section {
  background-color: #f8f8f8;
  padding: 60px 0;
}

.contact-section .container {
  max-width: 1200px;
  margin: 0 auto;
}

.contact-section .row {
  justify-content: space-between;
}

.contact-section .col-lg-6 {
  flex-basis: 50%;
  margin-bottom: 30px;
}

.contact-section .card {
  height: 100%;
}

.contact-section .card-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  margin: auto 20px;
}

.contact-section .card-title {
  font-size: 24px;
  font-weight: 600;
  color: #333;
  margin-bottom: 15px;
}

.contact-section .contact-info-item h5 {
  font-size: 18px;
  color: #333;
  font-weight: 600;
  margin-bottom: 8px;
}

.contact-section .contact-info-item a {
  color: #00c7c7;
  text-decoration: none;
}

.contact-section .contact-info-item p {
  color: #555;
  margin-bottom: 0;
}

.contact-section form {
  margin-top: 20px;
}

.contact-section .form-label {
  font-size: 18px;
  color: #333;
  font-weight: 600;
  margin-bottom: 8px;
}

.contact-section .form-control {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  margin-bottom: 15px;
  font-size: 16px;
}

.contact-section .btn-primary {
  background-color: #00c7c7;
  color: #fff;
  display: flex;
  justify-content: center;
  font-size: 18px;
  font-weight: 600;
  padding: 12px 24px; 
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-section .btn-primary:hover {
  background-color: #00a5a5;
}

.footer {
  background-color: #22232d;
  color: white;
  padding: 10px;
  text-align: center;
}

.footer a {
  color: white;
  text-decoration: none;
  margin: 0 10px;
}

.footer p {
  font-size: 13px;
  margin-top: 4px;
  margin-bottom: 2px;
}

.socialicon {
  font-size: 20px;
  margin: 0 5px;
}

.professionals-form{
  display: flex;
  justify-content: space-around;
}

.professionals-form input{
  height: fit-content;
  background-color: white;
  outline: none;
  height: 30px;
  border: 1px solid black;
  border-radius: 4px;
}

.professionals-form  label{
  font-size: 17px;
  font-weight: 500;
}

/* Base styles for large screens */
.section-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 90%;
  margin: auto;
  flex-wrap: nowrap;
}

.member-card {
  flex: 1;
  text-align: center;
  padding: 10px;
  min-width: 200px;
}

.member-image {
  max-width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
}

.member-info {
  font-size: 16px;
  font-weight: 600;
  margin-top: 10px;
}

.founder-label {
  color: blue;
}

.description {
  flex: 2;
  text-align: center;
  padding: 10px;
  width: 90%;
  align-self: center; 
  margin: auto;
  /* margin: 20px auto; */
  font-weight: 600;
  font-size: 20px;
  color: blueviolet;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .section-container {
    flex-wrap: wrap;
  }

  .member-card {
    flex: 0 0 45%;
    margin-bottom: 20px;
  }

  .description {
    flex: 100%;
    order: 1;
  }
}

@media (max-width: 768px) {
  .member-image {
    max-height: 300px;
  }

  .member-info {
    font-size: 14px;
  }

  .description {
    font-size: 16px;
    margin: 10px auto;
  }
}

@media (max-width: 480px) {
  .member-card {
    flex: 0 0 100%;
  }

  .member-image {
    max-height: 250px;
  }

  .member-info {
    font-size: 12px;
  }

  .description {
    font-size: 14px;
  }
}

@media screen and (max-width: 768px) {
  .header {
    padding: 20px 2%;
    position: sticky;
  }
  
  .navbar {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 20px;
  }
  
  .navbar a {
    margin: 10px 0;
  }
  
  .hamburger-menu {
    display: flex;
  }
  
  .navbar.active {
    display: flex;
  }
  
  .navbar a {
    margin: 10px 0;
  }

  .static-image img {
    height: auto;
  }

  .row {
    flex-direction: column;
  }

  .advice-content-col {
    flex: 1 0 auto;
  }

  .contact-section .row {
    flex-direction: column;
  }

  .contact-section .col-lg-6 {
    flex-basis: 100%;
  }

  .contact-info-item
  {
    margin-bottom: 15px;
  }


  .card-body{
    margin: auto 15px;
  }

  .professionals-form{
    display: flex !important;
    justify-content: start !important;
    flex-direction: column !important;
    
  }

  .join-button {
    font-size: 15px;
    width: 30%;
    font-weight: 600;
    padding: 7px 22px;
    transition: background-color 0.3s ease;
    justify-content: center;
    margin: auto;
  }

  .professionals-form-content{
    display: flex;
    /* justify-content: space-around; */
    /* margin: auto; */
    gap: 10px !important;
  }

  .business-association h2{
    font-size: 24px;
  }
}