.contact-info-main {
  display: flex;
  width: 100%;
  background-color: black;
}

.left,
.right {
  justify-content: center;
  padding: 10px 0px;
  display: flex;
  flex-wrap: wrap;
}

.left {
  width: 20%;
  display: flex;
  flex-direction: column;
  clip-path: polygon(0 0, 100% 0%, 75% 100%, 0% 100%);
}

.right {
  width: 80%;
  display: flex;
  justify-content: space-evenly;
}

.social-logo,
.info-icon {
  width: 25px;
  height: 25px;
}

.social-div {
  display: flex;
  gap: 10px;
}

.inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.info {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
}

.info p {
  word-wrap: break-word;
  overflow-wrap: break-word;
  margin: 0; /* Remove any default margins for better control */
  white-space: normal; /* Ensure text breaks and doesn't overflow */
}

/* navbar  */

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* padding: 10px 20px; */
  padding: 0px 20px;
}

/* .logo {
  width: 120px;
} */

.navbar-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.navbar-links ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

.navbar-links ul li {
  position: relative;
}

.navbar-links ul li a {
  text-decoration: none;
  color: inherit;
}

.enroll-btn {
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 10px;
}

.enroll-btn:hover {
  background: linear-gradient(
    90deg,
    rgb(5, 80, 141) 20%,
    rgb(46, 170, 172) 80%
  );
}

.drop-down {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.down-arrow {
  height: 12px;
}

.drop-down:hover .down-arrow {
  filter: brightness(0) saturate(100%) invert(25%) sepia(83%) saturate(1078%)
    hue-rotate(189deg) brightness(89%) contrast(95%);
  transition: filter 0.3s ease;
}

.dropdown-menu {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: white;
  border: 1px solid #ddd;
  list-style: none;
  padding: 10px 0;
  margin: 0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 10;
  text-align: center;
}

.dropdown-menu div {
  padding: 10px 20px;
  cursor: pointer;
  white-space: nowrap;
  border-bottom: 1px solid rgb(209, 209, 209);
}

.dropdown-menu div:hover {
  background-color: #f2f2f2;
}

/* bottom line styling, */

/* General hover effect for pages-link */

.pages-link {
  position: relative;
}

.pages-link a {
  text-decoration: none;
  display: inline-block;
  padding: 5px 0;
  color: black;
}

.pages-link a:hover,
.pages-link a.active {
  color: #046498;
}

.pages-link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #046498;
}

.pages-link:hover::after {
  width: 100%;
  height: 2px;
  background-color: #046498;
}

.pages-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #046498;
  transition: width 0.3s ease;
}

.pages-link.active {
  position: relative;
  color: #046498 !important;
}

.pages-link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #046498;
}

/* hamburger code  */

.hamburger {
  width: 60px;
  text-align: center;
  padding: 0.4rem;
}
.hamburger-img {
  width: 30px;
}
/* footer code  */

.footer-section {
  padding: 20px;
  border-top-left-radius: 30px;
  border-top-right-radius: 30px;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.footer-column {
  flex: 1 1 calc(16.66% - 20px);
  margin: 10px;
  min-width: 150px;
}

.footer-logo-img {
  max-width: 100%;
  height: auto;
}

.footer-heading {
  margin-bottom: 10px;
}

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

.footer-item {
  margin-bottom: 5px;
  cursor: pointer;
  transition: all 0.3s ease; /* Smooth transition */
}

.footer-item:hover {
  color: #000000 !important;
  border-left: 2px solid #000000;
  padding-left: 15px;
}

.footer-item a {
  display: inline-block;
  word-wrap: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
  white-space: normal;
}

.footer-item:hover .footer-link {
  color: black !important;
}

.footer-social-row {
  justify-content: space-between;
  align-items: center;
}

.footer-icon {
  width: 30px;
}

.footer-social {
  display: flex;
  gap: 15px;
}

.footer-subscribe {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.footer-subscribe-form {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.footer-input {
  padding: 8px 10px;
  flex: 1;
  border: none;
  outline: none;
  border-radius: 7px;
  width: 250px;
}

.footer-button {
  padding: 12px 15px;
  border: none;
  cursor: pointer;
  border-radius: 7px;
}

.footer-text {
  margin: 5px 0;
}

.footer-anchor {
  color: white;
}

/* Updated footer properties */

.footer-bottom {
  display: flex;
  align-content: center;
  justify-content: space-between;
  margin-top: 1rem;
  gap: 0.5rem;
}
.flexbox {
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 5px;
  cursor: pointer;
}

/* Responsive Design */

@media (max-width: 1200px) {
  .right {
    align-items: center;
    /* flex-direction: column; */
    gap: 15px;
  }
  .footer-subscribe {
    flex-direction: column;
    align-items: start;
  }
  .info.email {
    display: none;
  }
}

@media (max-width: 992px) {
  .navbar-links {
    display: flex;
    align-items: center;
    flex-direction: column;
    position: absolute;
    background: #ffffff;
    top: 138px;
    gap: 20px;
    right: 0px;
    left: 0;
    width: 100%;
    padding: 10px 0px;
    z-index: 2;
    overflow-x: hidden;
  }

  .navbar-links ul li {
    border-bottom: 1px solid rgb(209, 209, 209);
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 0px;
    margin-bottom: -15px;
  }

  .enroll-btn {
    margin-top: 10px;
  }

  .navbar-links ul {
    flex-direction: column;
  }

  .contact-info-main {
  }

  .right,
  .left {
    width: 60%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .info {
    width: 80%;
  }

  .footer-column {
    flex: 1 1 calc(50% - 20px);
  }

  .right.black-bg {
    display: none;
  }
}

@media (max-width: 700px) {
  .footer-input {
    width: 70%;
  }
  .logo {
    transform: scale(0.8);
  }
  .navbar-container {
    padding: 0px 20px;
  }
  .navbar-links {
    top: 136px;
  }
}

@media (max-width: 556px) {
  .info {
    width: 90%;
  }

  /* .navbar-links {
    width: 80vw;
    top: 310px;
  } */

  .footer-column {
    flex: 1 1 50%;
  }

  .footer-subscribe-form {
    zoom: 1;
  }
  .right,
  .left {
    width: 100%;
    align-items: baseline;
  }
  .inner {
    margin-left: 2rem;
  }
  .navbar-container {
    padding: 0px 10px;
  }
  .logo-parent {
    margin-left: -2rem;
  }
  .flexbox {
    justify-content: start;
    gap: 8px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 2rem;
  }
}

@media (max-width: 330px) {
  .info {
    flex-direction: column;
    align-items: normal;
  }

  /* .navbar-links {
    top: 400px;
  } */
}
