:root {
  --black: rgb(0 0 0);
  --cream: rgb(255, 243, 194);
  --white: rgb(255 255 255);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--black);
  color: var(--white);
  margin: 0;
  padding: 0;
  font-family: "Roboto", serif;
}

/* NAV BAR */

.logo {
  width: 300px;
}

.nav-link {
  color: var(--white);
}

/* HERO STYLES */

.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 80%;
  height: 80vh;
}

.home-btn {
  /* display: flex; */
  /* justify-content: space-around; */
  background-color: var(--cream);
  border-radius: 20px;
  padding: 10px;
  margin: 5px;
  width: 140px;
}

.home-btn i::before {
  height: auto;
  width: auto;
}

@media (max-width: 768px) {
  .hero {
    width: auto;
  }
}

/* SECTION-2 STYLES */

.section-2 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: var(--black);
  padding: 0 !important;
  text-align: justify;
}

.section-2-wrapper {
  width: 70%;
  /* text-align: center; */
  font-size: 2rem;
  color: var(--white);
}

#highlight-para {
  max-width: 50vw !important;
}

#highlight-para span {
  display: block; /* Each line as a block */
  opacity: 0.1;
  /* transform: translateY(20px);  */
  transition: opacity 1s ease, transform 0.5s ease; /* Transition effects */
}

.highlight {
  color: var(--white); /* Highlight color */
  opacity: 1 !important; /* Make visible */
  /* transform: translateY(0); */
}

@media (max-width: 768px) {
  .section-2-wrapper {
    width: 80%;
    font-size: 1.5rem;
  }

  #highlight-para {
    max-width: 80vw !important;
  }
}

/* SECTION-3 STYLES */

.section-3 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: var(--cream);
  padding: 0 !important;
  text-align: justify;
  border-radius: 50px;
}

.section-3-wrapper {
  width: 70%;
  /* text-align: center; */
  font-size: 2rem;
  color: var(--black);
}

.semicircle-container {
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--cream);
  height: 100vh;
}

.semicircle {
  position: relative;
  width: 100%;
  height: 100%;
  margin: 20px auto;
  overflow: visible;
}

.center-content {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 1; /* Ensure it stays above the semicircle */
  pointer-events: none; /* Allow clicking through to circles */
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* border: 1px solid black; */
  width: 25%;
}

.center-content h2 {
  margin-bottom: 0.5rem;
  color: var(--black);
}

.center-content p {
  line-height: 1.4;
  color: var(--black);
  margin: 0;
  /* width: 75%; */
}

.center-content {
  color: var(--black);
}

.phone-only {
  display: none;
}

.icon {
  position: absolute;
  height: 50px;
  width: 50px;
  /* Initial positions are important for the calculation */
  top: 0;
  left: 0;
  font-size: 40px;
  color: var(--black);
}

.icon:hover {
  /* background-color: var(--cream); */
  transform: scaleX(50%);
}

/* .bi::before {
  height: 50px;
  width: 50px;
} */

/* .icon:hover::after {
  content: attr(data-tooltip);
  position: relative;
  bottom: 60px; 
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--cream);
  color: var(--black);
  padding: 5px 10px;
  border-radius: 5px;
  white-space: nowrap;
  z-index: 10;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.tooltip {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease;
  pointer-events: none;
  z-index: 100;
}

.tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: rgba(0, 0, 0, 0.8) transparent transparent transparent;
}

.icon:hover .tooltip {
  opacity: 1;
  visibility: visible;
} */

.center-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

button {
  margin-top: 10px;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
}

@media (max-width: 769px) {
  .semicircle-container {
    border-radius: 20px;
  }

  .semicircle {
    width: auto;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .center-content {
    position: static;
    transform: none;
    width: 100%;
    padding: 20px 0;
    order: -1; /* Place content above stacked circles */
    pointer-events: auto;
  }

  .phone-only {
    color: var(--black);
    display: inline;
    margin-top: 4px;
  }

  .icon {
    position: static;
    transform: none !important;
    height: 20px;
    width: 20px;
    font-size: 25px;
  }
}

/* FOOTER STYLES */

.footer {
  background-color: var(--black);
  color: var(--white);
}

.foot-cont {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 150px 0;
}

.foot-break {
  display: none;
}

.foot-left {
  width: 50%;
}

.foot-mid {
  width: 30%;
}

.footer-btn {
  padding: 10px;
  width: 140px;
  background-color: var(--cream);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.foot-icon {
  /* background-color: #fff; */
  margin-left: 10px;
  color: var(--black);
  font-size: 25px;
  align-self: center;
}

.footer-btn i::before {
  height: auto;
  width: auto;
}

@media (max-width: 768px) {
  .foot-cont {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }

  .foot-left {
    width: 100%;
  }

  .foot-break {
    display: block;
  }

  .foot-mid {
    display: none;
    visibility: hidden;
  }

  .footer-btn {
    width: 150px;
  }
}
