@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@100;200;300;400;600;700;800;900&family=Poppins:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,200;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

:root {
  --fs--300: 0.8rem;
  --fs-400: 0.9rem;
  --fs-450: 0.95rem;
  --fs-500: 1rem;
  --fs-600: 1.7rem;
  --fs-h1: 3rem;
  --fs-h2: 2.8rem;
  --fs-h3: 2rem;
  --fs-4: 1.75rem;
  --fs-xl: clamp(3.5rem, 10vw + 1rem, 10rem);
}

/*  Hamburger*/
.DesignIT--mobile__nav {
  left: -110%;
  position: fixed;
  height: 100%;
  width: 100%;
  background-color: white;
  z-index: 2000;
  transition: 0.3s;
}
.DesignIT-hamburger {
  cursor: pointer;
  display: none;
}
.DesignIT-bar {
  display: block;
  width: 25px;
  height: 4px;
  margin: 5px auto;
  transition: all 0.3s ease-in-out;
  background-color: #b92c00;
  -webkit-transition: all 0.3s ease-in-out;
}

/*  */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: "Poppins", sans-serif;
  font-size: var(--fs-500);
  color: #000000;
  font-weight: 500;
}
li {
  list-style-type: none;
}
a {
  text-decoration: none;
  color: #000000;
}
h1 {
  font-size: var(--fs-h1);
  font-family: "Montserrat", sans-serif;
}
h2 {
  font-size: var(--fs-h2);
  font-family: "Montserrat", sans-serif;
}
h3 {
  font-size: var(--fs-h3);
  font-family: "Montserrat", sans-serif;
}
button {
  cursor: pointer;
}
/* nav */
.nav {
  height: 12%;
  /* padding: 1rem; */
  position: fixed;
  width: 100%;
  /* background-color: white; */
  z-index: 1000;
  /* top: 2rem; */
  /* background-color: rgba(153, 153, 153, 100); */
  display: flex;
  justify-self: center;
  align-items: center;
  /* box-shadow: 0px 2.5px 2.35px 0px rgba(0, 0, 0, 0.25); */
  transition: background-color 0.5s ease-in-out;
}
.nav.active {
  background-color: white;
  color: #b92c00;
}
.logo {
  width: 50%;
}
.logo img {
  display: block;
  margin-left: 3rem;
}
.website-nav-links {
  display: flex;
  justify-content: right;
  padding-right: 0;
  width: 45%;
}
.website-nav-links li {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: 3rem;
}
.website-nav-links a {
  color: white;
  transition: color 0.3s;
}
.website-nav-links li span {
  width: 4px;
  height: 4px;
  background-color: white;
  transition: background-color 0.3s;
  display: inline-block;
  margin-right: 2rem;
  border-radius: 50%;
}

.website-nav-links .join_us_at_designit {
  color: black;
  background-color: white;
  padding: 0.4rem 1rem;
  border-radius: 2px;
}
/*Footer element*/
/* Website footer */


 /* Spinner */

.spinnerCtn {
  position: fixed;
  top: 0;
  left: 0;
  width: 100dvw;
  height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  z-index: 9999999; /* Ensure it stays on top */
}

.spinnerCtn .spin{
  display: flex;
  align-items: center;
  justify-content: center;
  height: 250px;
  width: 250px;
  display: flex;
  align-items: center;
  background: url("../images/DesignIT Africa Logo.svg") center center no-repeat;
  justify-content: center;
  /* background-color: white; */
  border-radius: 50%;
  background-color: white;
  box-shadow: inset -10px -10px 15px rgba(255, 255, 255, 1),
    inset 10px 10px 10px rgba(0, 0, 0, 0.1);
}
.spin::before {
  content: "";
  position: absolute;
  height: 150px;
  width: 150px;
  border-radius: 50%;
  box-shadow: -10px -10px 15px rgba(255, 255, 255, 1),
    10px 10px 10px rgba(0, 0, 0, 0.1);
}
.spin span {
  height: 136px;
  width: 190px;
  position: absolute;
  animation: rotate 5s linear infinite;
}

.DesignIT-techAtour img {
  width: 100%;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}


/* Rolling icon when submitting email */
.spi {
  display: none;
  border: 5px solid #f3f3f3; /* Light grey */
  border-top: 5px solid #3498db; /* Blue */
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 2s linear infinite;
  transform: translate(-50%, -50%);
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Style for success message */
.success-message {
    display: none;
    color: green;
    text-align: center;
    margin-top: 20px;
}

/* Ensure form and spinner container have proper positioning */
.form-container {
    position: relative;
}

@keyframes rotate {
  100% {
    transform: rotate(360deg);
  }
}
.spin span::before {
  content: "";
  position: absolute;
  height: 30px;
  border-radius: 50%;
  width: 30px;
  background: linear-gradient(45deg, #3eb7db, #008DB9);
  box-shadow: 0 5px 10px rgb(0 0 0 / 30%);
}

@keyframes rotate {
  to {
    transform: rotate(1turn);
  }
}


@keyframes rotate {
  to {
    transform: rotate(1turn);
  }
}

@media (max-width: 107rem) {
  :root {
    --fs--300: 0.75rem;
    --fs-400: 0.85rem;
    --fs-450: 0.9rem;
    --fs-500: 0.95rem;
    --fs-600: 1.5rem;
    --fs-h1: 2.5rem;
    --fs-h2: 2.5rem;
    --fs-h3: 1.75rem;
    --fs-4: 1.5rem;
    --fs-xl: clamp(3.5rem, 10vw + 1rem, 10rem);
    /* --fs-xl: clamp(4rem, 12vw + 1rem, 12rem); */
  }
  .website-nav-links li {
    margin-left: 1.7rem;
  }
}

@media (max-width: 89rem) {
  :root {
    --fs--300: 0.7rem;
    --fs-400: 0.8rem;
    --fs-450: 0.85rem;
    --fs-500: 1rem;
    --fs-600: 1rem;
    --fs-h1: 2rem;
    --fs-h2: 2rem;
    --fs-h3: 1.25rem;
    --fs-4: 1rem;
    /* --fs-xl: clamp(4rem, 12vw + 1rem, 12rem); */
  }

  .logo img {
    margin-left: 1.5rem;
  }

  .website-nav-links li {
    margin-left: 1.3rem;
  }

}

@media (max-width: 85rem) {
  .website-nav-links li {
    margin-left: 1.1rem;
  }
}

@media (max-width: 83rem) {
  .website-nav-links li {
    margin-left: 1rem;
  }
  .website-nav-links li span {
    width: 3px;
    height: 3px;
    margin-right: 1.5rem;
    border-radius: 50%;
  }
}

@media (max-width: 78rem) {
  .website-nav-links li {
    margin-left: 0.6rem;
  }
}
@media (max-width: 75rem) {
  .website-nav-links li {
    margin-left: 0.7rem;
  }

  .website-nav-links li span {
    display: none;
  }
}

@media (max-width: 63.1rem) {
  .website-nav-links li {
    margin-left: 0.2rem;
  }
  .website-nav-links a {
    font-size: 15px;
  }
}

@media (max-width: 58rem) {
  h1 {
    text-align: center;
  }
  .logo img {
    margin-left: unset;
  }

  .subscribe-section {
    margin: auto;
    text-align: center;
    margin: 4rem auto;
  }
  .DesignIT-hamburger {
    display: block;
    margin-right: 1rem;
    /* position: fixed; */
  }
  .DesignIT-hamburger.active {
  }
  .DesignIT-hamburger.active .DesignIT-bar:nth-child(2) {
    opacity: 0;
  }
  .DesignIT-hamburger.active .DesignIT-bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  .DesignIT-hamburger.active .DesignIT-bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }

  .website-nav-links {
    display: none;
  }

  .nav {
    height: 12%;
    /* padding: 2rem; */
    width: 100%;
    z-index: unset;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    margin: auto;
    z-index: 100000;
    background-color: white;
  }

  /* mobile nav */

  .DesignIT--mobile__nav.active {
    left: 0;
  }
  .DesignIT--mobile_nav-links {
    width: 100%;
    height: 50%;
    margin: auto;
  }
  .DesignIT--mobile_nav-link {
    height: 15%;
    text-align: center;
    margin: 1rem;
    font-size: var(--fs-h1);
    font-weight: 700;
  }
  .DesignIT--mobile_nav-link a {
    color: #b92c00;
  }

  .mobile-website__nav--link {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    height: 40%;
    display: flex;
  }
  .mobile-website__nav--link li {
    margin: 0 0.5rem;
  }

  /*  */
}

@media (max-width: 560px) {
  .section-1 p span {
    display: none;
  }
}
@media (max-width: 400px) {
  .section-1 p {
    display: none;
  }
}


footer {
  background-color: #000;
  color: #fff;
  padding: 4rem 0;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: left;
}

.footer-container {
  width: 90%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap; /* Allow wrapping for responsive design */
}

.footer-left {
  max-width: 30%;
  flex: 1; /* Allow it to grow and shrink */
  min-width: 200px; /* Set a minimum width */
}

.footer-logo {
  width: 100px;
}

.footer-text {
  margin: 1rem 0;
}

.footer-social-icons {
  display: flex;
  gap: 1rem;
  margin: 1rem 0;
}

.footer-social-icons .social-icon {
  color: #B92C00;
  font-size: 1.5rem;
  text-decoration: none;
}

.footer-social-icons .social-icon:hover {
  color: #008db9;
}

.footer-right {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap; /* Allow wrapping for responsive design */
  flex: 2; /* Allow it to grow and shrink */
  justify-content: right;
}

.footer-column {
  max-width: 200px;
  flex: 1; /* Allow it to grow and shrink */
  min-width: 150px; /* Set a minimum width */
}

.footer-column h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

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

.footer-column ul li {
  margin: 0.5rem 0;
}

.footer-column ul li a {
  color: #fff;
  text-decoration: none;
}

.footer-column ul li a:hover {
  color: #008db9;
}

.footer-copyright {
  margin-top: 2rem;
  font-size: 0.9rem;
  width: 100%; /* Take full width on mobile */
}

/* Optional: FontAwesome for social icons */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css');

/* Responsive Design */

@media (max-width : 68rem) {
.footer-right {
  gap: 0rem; 
  flex: unset;
  /* flex: 1; Allow it to grow and shrink */
}

}
@media (max-width: 768px) {
  footer {
    position: relative;
  }
  .footer-container {
      flex-direction: column; /* Stack items vertically on smaller screens */
      align-items: center;
  }

  .footer-social-icons {
      justify-content: center;
  }


  .footer-copyright {
    text-align: center;
    position: absolute;
    bottom: 0;
    width: 100%;
    left: 0;
    margin-bottom: 1rem;
  }

  .footer-left, .footer-right {
      max-width: 100%;
  }

  .footer-right {
      margin-top: 2rem; /* Add space between left and right sections */
  }

  .footer-column {
      max-width: 100%;
      margin: 5px;
      margin-bottom: 30px;
  }
}



@media screen and (max-width: 58rem) {

  .footer-copyright {
    bottom: 50px;
  }
  .footer-right {
      margin-bottom: 1rem;
  }

 
}

@media  (max-width: 48rem) {

  .footer-social-icons {
      justify-content: center;
      width: 100%;
      position: absolute;
      text-align: cter;
      bottom: 0; 
      left: 0;
  }
   .footer-text {
      text-align: center;
  } 
  
}