/* Resets */
*, *::before, *::after{
  margin: 0;
  padding: 0;
  box-sizing: border-box;

  font-family: "DM Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;

  /*outline: 1px solid red !important;*/
}
html{ 
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
:root{
  --VibrantBlue: #2c85ff;
  --HoverVibrantBlue: #0056b3;
  --DarkIndigo: #05063c;
  --SlateGray: #41444d;
  --OffWhite: #f5f6f8;
}
body { 
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  background-color: var(--OffWhite);
}
h1, h2, h3, h4, h5, h6 {
  font-size: inherit;
  font-weight: inherit;
}
ul, ol {
  list-style: none;
}
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}
button, input, textarea, select {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}
a {
  text-decoration: none;
  color: inherit;
}






header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;

  height: 80px;
  width: 100%;
  background-color: var(--OffWhite);

  display: flex;
  justify-content: center;
  align-items: center;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}






.navbar {
  width: 80%;
  height: 100%;

  padding: 0.5rem;

  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
}

@media (max-width: 1300px){
  .navbar {
    width: 100%;
  }
}

.navbar > div{
  /*height: calc(80px - 1rem);*/

  display: flex;
  align-items: center;
  padding: 0 1rem;
}

.navbar-logo {
  height: 100%;
  display: flex;
  align-items: center;
}

.navbar-logo>img{
  height: 60%;
  max-height: 40px;  
  width: auto;
  display: block;
}


.navbar-list {
  width: 100%;

  display: flex;
  flex-direction: horizontal;
  justify-content: center;
  gap: 10%;
}

.navbar-list li{
  border-bottom: 5px solid transparent;
}

#about-link:hover{
  border-bottom: 5px solid var(--VibrantBlue);
}

#services-link:hover{
  border-bottom: 5px solid var(--VibrantBlue);
}

@media (max-width: 1100px){
  .navbar > div {
    padding: 0;
  } 
}



.navbar-right {
  display: flex;
  justify-content: right;
}

.navbar-contactBtn{
  background-color: var(--VibrantBlue);
  border-radius: 20px;

  padding: 0.5rem 2rem;

  color: var(--OffWhite);
  font-weight: bold;

}

.navbar-contactBtn:hover{
  background-color: var(--HoverVibrantBlue);
}


.navbar-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  padding: 0.5rem;
  margin-left: auto;
}
.navbar-hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--DarkIndigo);
  border-radius: 3px;
  transition: all 0.3s ease;
  pointer-events: none;
}

/* mobile menu always hidden by default */
.mobile-menu {
  display: none;
  position: fixed;
  top: calc(80px - 1.2rem);
  left: 0;
  width: 100%;
  background-color: var(--OffWhite);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  padding: 2rem 1rem;
}
.mobile-menu ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  font-size: 1.2rem;
}
.mobile-menu.open {
  display: flex;
}

@media (max-width: 768px) {
  .navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
  }
  .navbar > div {
    height: auto;
    padding: 0;
  }
  .navbar-center,
  .navbar-right {
    display: none !important; /* hide original links on mobile */
  }
  .navbar-hamburger {
    display: flex;
  }
  .navbar-logo img {
    height: 40px;
    width: auto;
  }
  .navbar-left {
    height: auto;
  }

}






main{
  margin-top: 80px;
  width: 100vw;
}


@media (max-width: 1100px){

  .mobile-menu{
    top: 80px;
  }
 
}


footer {
  min-height: 20vh;
  width: 100%;
  background-color: var(--SlateGray);
  

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--OffWhite);
  font-size: 1.2rem;
}

footer > div {
  width: 80%;
}


@media (max-width: 1300px){
  footer > div {
    width: 100%;
  
  }
}

.footer-top {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  margin-top: 1rem;
}


.footer-section {
  width: 30%;
  margin: 1rem;
}

.footer-top-left {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-logo {
  height: 100px;
  width: auto;
}

.footer-contact{
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-socials{
  margin-top: 0.5rem;
}

.footer-contact li, .footer-socials li {
  margin: 0.5rem;
  text-align: center;
}

.footer-socials {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.footer-socials img{
  height: 40px;
  width: auto;
}

.footer-top-center, .footer-top-right{ 
  padding: 1rem;
}

.footer-top h3{
  font-size: 1.4rem;
  /* margin-bottom: 1rem; */
}

.footer-top-center ul {
  width: 50%;
}

.footer-top-center > div{
  display: flex;
  justify-content: space-between; 
}

.footer-links ul{
  display: grid;
  width: 100%;
  grid-template-columns: repeat(2,auto);
}

.footer-top-center li{
  margin-top: 2rem;
}



.footer-bottom{
  font-size: 0.8rem;
  padding: 1rem;
}

.footer-bottom P{
  text-align: center;
}

.footer-bottom a{
  color: inherit;
  opacity: 0.85;
}

.footer-bottom a:hover{
  opacity: 1;
  text-decoration: underline;
}

.footer-partner-list img {
  height: 30px;
  width: auto;
  margin: 0 1rem 0.5rem 1rem;
}

.VMware-Logo {
  background-color: var(--OffWhite);
  padding: 0.2rem;
}


.IBM-Logo {
  background-color: var(--OffWhite);
  padding: 0.1rem;
}

@media (max-width: 768px) {
  .footer-top {
    flex-direction: column;
    align-items: center;
    font-size: 1rem; 
  }
  .footer-top h3 {
    font-size: 1.2rem;
  }
  .footer-section {
    width: 90%;
    margin: 0.5rem 0;
  }
  .footer-top-center > div {
    flex-direction: column; /* stack the two nav columns */
  }
  .footer-top-center ul {
    width: 100%;
    grid-template-columns: repeat(5,auto);

  }
  .footer-top-center li {
    margin-top: 1rem;
  }
  .footer-partner-list {
    display: grid;
    grid-template-columns: repeat(6,auto);
    justify-content: space-between;
  }
  .footer-partner-list img {
    height: 25px;
    margin: 0.4rem;
  }
  .footer-bottom {
    text-align: center;
  }
}

@media (max-width: 600px){
  .footer-links > ul{
    grid-template-columns: repeat(3,auto);
  }
  .footer-partner-list{
    grid-template-columns: repeat(3,auto);
  }
}
