@import url("https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,opsz,wght@0,6..96,400..900;1,6..96,400..900&display=swap");

@import url("https://fonts.googleapis.com/css2?family=Jura:wght@300..700&display=swap");
* {
  padding: 0%;
  margin: 0%;
  box-sizing: border-box;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

:root {
  --Purple500: #63378d;
  --Purple900: #1c0a43;
  --Yellow500: #ffd364;
  --Title-Font: "Bodoni Moda";
  --Body-Font: "Century Gothic";
}
.body {
  overflow: hidden;
  background-color: #63378d;
  color: white;
  height: 100vh;
  width: 100%;
}
/* START -Scrollbar Styling */
body::-webkit-scrollbar {
  width: 1rem;
}

body::-webkit-scrollbar-track {
  background: yellow;
  width: 1rem;
}

body::-webkit-scrollbar-thumb {
  background: var(--Purple900);
}

/* Footer Styling */
.SCMfooter {
  background-color: #1c0a43;
  height: fit-content;
  color: #ffffff;
  text-decoration: none;
  overflow-y: visible;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.SCMfooter > p {
  font-family: var(--Body-Font);
}
.FooterTopRow {
  display: flex;
  overflow: hidden;
  justify-content: flex-start;
}

.FooterBottomRow {
  display: flex;
  justify-content: center;
}

.footerlogo {
  width: 500px;
  margin-top: 0;
  transform: rotate(270deg);
}

.footerlogoIMG {
  width: inherit;
  padding-bottom: 200px;
  padding-right: 2rem;
}

.ContactPrompt {
  display: flex;
  flex-direction: column;
  margin-top: 3rem;
}

.Footer-Social-Links {
  display: flex;
  gap: 3rem;
}

.Footer-Social-Link-Column {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.Footer-Contact-List-Item {
  margin-top: 1rem;
  margin-bottom: 1rem;
  font-family: var(--Body-Font);
}

.Footer-Contact-List-Item > a {
  text-decoration: none;
  color: white;
  font-family: var(--Body-Font);
}

.Footer-Social-Link-Hyper {
  text-decoration: none;
  color: white;
  font-family: var(--Body-Font);
}

.footer-section-services {
  background-color: var(--Purple900);
  color: white;
  padding: 3rem;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 1rem;
  text-align: center;
  font-family: var(--Title-Font);
}

.grid-wrapper {
  display: flex;
  justify-content: center;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr; /* Two columns */
  grid-template-rows: auto auto; /* Two rows */
  gap: 0.5rem 0.5rem; /* Row gap, column gap */
  max-width: 350px; /* Adjust as needed */
}

.service-column h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  font-family: var(--Title-Font);
}

.service-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
  line-height: 1.8;
}

.service-column li {
  font-family: var(--Body-Font);

  color: rgba(255, 255, 255, 0.85); /* Slightly less bright than the headings */
}

.Footer-boring-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 0.5rem;
  padding: 1rem 0;
  flex-wrap: wrap;
  font-family: var(--Body-Font);
}

.TCs-links {
  text-decoration: none;
  color: var(--white);
  font-family: var(--Body-Font);
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--yellow);
}

/* Enhanced Media queries for responsiveness */
@media screen and (max-width: 1024px) {
  .FooterTopRow {
    display: flex;
    flex-direction: column;
    overflow: visible;
    align-items: center;
  }
  .footerlogo {
    width: 500px;
    transform: rotate(0deg);
  }
  .footerlogoIMG {
    padding: 0;
  }
  .services-grid {
    max-width: 300px;
  }
}

@media screen and (max-width: 768px) {
  .FooterTopRow {
    flex-direction: column;
    align-items: center;
  }

  .footerlogo {
    /* Flips logo back to normal layout */
    transform: rotate(0deg);
    width: 250px;
    display: flex;
    justify-content: center;
    margin: 2rem auto 0;
  }
  /* Just for IMG itself, eliminate spacing between img and Contact Prompt  */
  .footerlogoIMG {
    padding: 0;
  }

  .ContactPrompt {
    margin-top: 1rem;
    align-items: center;
    text-align: center;
    padding: 0 1rem;
  }

  .services-grid {
    grid-template-columns: 1fr; /* Stack to single column */
    gap: 1rem;
    max-width: 100%;
  }

  .Footer-Social-Links {
    gap: 1rem;
    justify-content: center;
  }

  .footer-section-services {
    padding: 2rem 1rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .Footer-boring-links {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
}

@media screen and (max-width: 480px) {
  .footerlogo {
    width: 200px;
  }

  .Footer-Social-Links {
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
  }

  .Footer-Social-Link-Column {
    flex-direction: row;
    gap: 1.5rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .service-column h3 {
    font-size: 1.1rem;
    text-align: center;
  }

  .service-column ul {
    text-align: center;
  }

  .service-column {
    margin-bottom: 1.5rem;
  }
}
