*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 500;
  padding: 500;
  scroll-behavior: smooth;
}

:root {

  --base-paper: #fff2e095;
  --base-lav-one: #C0C9EE;
  --base-lav-two: #A2AADB;
  --base-lav-three: #898AC4;


  --b-base: #555;
  --blue: #001cbb28;
  --green: #368a52;
  --green-light: #368a5281;
  --blue-dark: #0a61ae;
  --b-text: #333;
  --b-text-light: #666;
  --light-purple: #bda0ff3f;
  --black: #000000;
  --white: #ffffff;
  --dark-grey: #535353;
  --light-grey: #5353538a;

}

a {
  text-decoration: none;
  color: var(--dark-grey);
  display: inline-block;
}

header {
  
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 40px;
  padding-right: 40px;
  max-width: 1440px;
  margin: auto;
  justify-content: space-between;
  border-bottom: 1px solid rgba(0, 0, 0, .2);
  display: flex;

  .logo-holder {
    align-items: center;
    display: flex;
    padding: 10px;
    gap: 8px;
    /* Add gap to control spacing between logo and text */

    .logo {
      display: flex;
      background-color: var(--base-lav-three);
      color: var(--white);
      font-size: 24px;
      height: 64px;
      width: 64px;
      margin-right: 6px;
      border-radius: 50%;
      align-items: center;
      justify-content: center;
      font-weight: normal !important;
    }

    .logo-text {
      flex: 1;
      font-size: 36px;
      font-weight: normal !important;
    }
  }

  nav {

    display: flex;
    align-items: center;

    ul {
      font-size: 24px;
      display: flex;
      list-style-type: none;
      padding: 0px;
      gap: 5px;

      li {
        a {
          display: inline-block;
          padding: 8px 15px;

          &:hover {
            background-color: var(--base-lav-two);
            color: var(--white);
            border-radius: 5px;
            text-decoration: none;
          }
        }
      }

      menu-toggle {
        color: var(--base-lav-three);
      }
    }

    .menu-toggle {
      display: none;
      color: var(--base-lav-three);
      padding: 10px;
      margin-top: 20px;

      @media (max-width:768px) {
        display: inline-block;
        position: absolute;
        top: 20px;
        right: 20px;
      }
    }
  }

  @media (max-width: 1024px) {
    flex-direction: column;
    align-items: center;
  }

  @media (max-width: 768px) {
    flex-direction: column;
    align-items: center;

    nav {
      margin-top: 10px;
      width: 100%;

      ul {
        display: none;
        flex-direction: column;
        text-align: center;
        width: 100%;

        a {
          width: 100%;
        }

        &.active {
          display: flex;
        }
      }
    }
  }
}

body {
  font-family: 'Roboto Flex', sans-serif;
  font-weight: 400;
  font-style: normal;
  background: var(--base-paper);
}



.projects.container,
.gallery.container {
  max-width: 800px;
  margin: 40px auto;
  padding: 0 16px;
}

/* Optionally, remove horizontal padding from the generic .container class if not needed elsewhere */
.container {
  gap: 30px;
  max-width: 1440px;
  margin: auto;
  padding-top: 20px;
  padding-bottom: 20px;
  margin-top: 30px;
  margin-bottom: 30px;
  /* Remove padding-left and padding-right here */
}

.button {
  display: inline-block;
  padding: 10px 20px;
  background-color: var(--base-lav-one);
  color: var(--white);
  border-radius: 5px;

  &:hover {
    background-color: var(--base-lav-three);
  }

  transition: ease 0.3s;
}

h1 {
  font-size: 50px;
  font-weight: 600;
}

small {
  display: block;
  font-weight: 400;
}

p1 {
  font-size: 22px;
  font-weight: 300;
  display: block;
}

.hero {
  display: flex;
  margin-top: 30px;
  align-items: center;

  @media (max-width: 1024px) {
    flex-direction: column;
    text-align: center;
    padding: 30px;
  }

  background-color: var(--base-lav-one);
  padding: 30px;
  border-radius: 30px;

  .hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;

    img {

      max-width: 420px;
      border-radius: 30px;

      @media (min-width: 1025px) {
        margin-left: 60px;
      }
    }
  }


  .hero-text {
    flex: 1;

    display: flex;
    flex-direction: column;
    justify-content: center;

    .call-to-action {
      margin-top: 30px;
      margin-bottom: 20px;

      a {
        color: var(--black);
        margin-right: 10px;
        margin-left: 0px;
        &:hover{
          color: #fff;
        }
      }
      
    }

    .social-links {
      margin-top: 20px;

      a {
        margin-right: 10px;

        img {
          filter: grayscale(100%);
          transition: filter 0.3s ease;

          &:hover {
            filter: grayscale(0%);
          }
        }
      }
    }
  }

}

.logos {
  background-color: var(--base-lav-two);
  border-radius: 30px;
  padding: 25px 20px;

  @media(max-width:1440px) {
    border-radius: 0px;
  }

  .marquee {
    width: 100wv;
    max-width: 100%;
    height: 120px;
    overflow: hidden;
    position: relative;

    .track {
      position: absolute;
      white-space: nowrap;
      will-change: transform;
      animation: marquee 20s linear infinite;
      display: flex;
      gap: 50px;
    }
  }
}

@keyframes marquee {
  0% {
    transform: translateX(0%);
  }

  100% {
    transform: translateX(-50%);
  }

}

.logos img {
  width: 100px;
  /* change this to resize all logos */
  height: auto;
  /* keeps aspect ratio */
  margin: 0px 10px;
  /* optional spacing between logos */
}


.gallery.container h1 {
  margin-top: 0;
  margin-bottom: 0px;
  display: block;
}
.projects.container h1{
  margin-top: 0px;
  margin-bottom: 0px;
  display: block;
}

.projects.container p1{
  margin-top: 15px;
  margin-bottom: 24px;
  display: block;
}
.gallery.container p1 {
  margin-top: 0 !important;
  margin-bottom: 24px;
  display: block;
}

.pdf-viewer {
  max-width: 800px;
  margin: 40px auto;
  padding: 0 16px;
}

.pdf-viewer h2 {
  margin-bottom: 24px;
}

.pdf-viewer iframe {
  width: 100%;
  height: 800px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  background: #fff;
}

.project-list,
.gallery {
  display: flex;
  flex-direction: column;
  gap: 20px;

}


.project-box {
  background: var(--base-lav-two);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  padding: 18px 24px;
  cursor: pointer;
  border: 1px solid #e0e0e0;
  transition: background 0.3s, color 0.3s, box-shadow 0.2s;

}

.project-box:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.project-header {
  display: flex;
  flex-direction: column;
}

.project-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #222;
}

.project-desc {
  font-size: 1rem;
  color: #555;
  margin-top: 4px;
}

.project-details {
  margin-top: 14px;
  display: none;
  color: #333;
  font-size: 0.98rem;
}

.project-box.active .project-details {
  display: block;
  transition: all 0.8s ease;
}
.project-box.active {
  background: var(--base-lav-one);
  color: var(--white);
  transition: background 0.3s, color 0.3s;
}

.gallery.container p1 a {
  text-decoration: underline; /* optional for emphasis */
}
.gallery.container p1 a:hover {
  color: var(--blue-dark)
}


.gallery img {
  display: block;
  width: 100%;
  height: auto;
}

