/* ==========================================================================
   GLOBAL RESET & BASE STYLES
   ========================================================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Roboto Condensed", sans-serif;
  font-optical-sizing: auto;
  font-weight: 200;
  font-style: normal;
  background-color: black;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */

header {
  height: 70px;
  background-color: transparent;
  z-index: 100;
}

.main-nav {
  display: flex;
  gap: 2rem;
  align-items: center;
  padding-top: 0.7rem;
  justify-content: center;
}

.logo :hover{
  width: 5.1rem;
  cursor: pointer;
}

.logo {
  width: 5rem;
  transition: all 0.3s ease;
  margin-right: 1rem;
  margin-left: 1rem;
}

.logo a {
    display: block;
    text-decoration: none;
}

.desktop-menu {
  position: relative;
  display: flex;
  gap: 2rem;
}

.desktop-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 4rem;
}

.desktop-menu a {
  text-decoration: none;
  transition: color 0.3s ease;
  color: #000;
  font-weight: 600;
}

.desktop-menu li:hover a {
  color: #e1ff00;
  text-shadow:  1px 1px 2px rgba(0, 0, 0, 0.8);
  
}

.mobile-menu-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

.burger {
  width: 40px;
  padding-top: 0.5rem;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero-banner {
  margin-top: -70px;
  z-index: -1;
  position: relative;
  height: 100vh;
  background: url('../images/HEROV3.jpg') no-repeat center center/cover;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: left;
}

.hero-content {
  color: white;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-left: 1rem;
  gap: 2rem;
  position: absolute;
  top: 33%;
  left: 2rem;
  padding-top: 10vh;
}

.hero-content h1 {
  font-size: 4rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  font-weight: 100;
}

.hero-box {
  font-size: 10rem;
  padding: 1.5rem 2rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.15);
  color: #e1ff00;
}

.down-chevron {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  height: 4rem;
  cursor: pointer;
  animation: bounce 1.8s infinite;
  transition: transform 0.3s ease;
}

.down-chevron:hover {
  transform: translateX(-50%) scale(1.1);
}

/* Keyframe animation for bouncing effect */
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-15px);
  }
  60% {
    transform: translateX(-50%) translateY(-8px);
  }
}

/* ==========================================================================
   SERVICES/LEARNING OUTCOMES SECTION
   ========================================================================== */

.LO-section {
  color: white;
}

.learning-outcomes {
  background-color: #000000;
  color: rgb(255, 255, 255);
  font-size: 1.8rem;
  padding: 1.5rem 4rem;
  font-weight: 200;
}

.responsive-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(100px, 1fr));
  gap: 2rem;
  width: 85%;
  margin: 3rem auto;
  max-width: 1700px;
}

.grid-item {
  background-image: url('../images/boxback.png');
  background-color: #514b4b;
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 1.5rem;
  height: 300px;
  border: 0.1rem solid #d9ff00;
}

.grid-item a {
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
  width: 100%;
}

.grid-box {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 1rem;
  text-shadow:  2px 2px 4px rgba(0, 0, 0, 1);
}

.grid-text {
  font-size: 1.2rem;
  font-weight: 350;
  color: #ddd;
  text-shadow:  0px 0px 4px rgba(0, 0, 0, 1);
}

/* ==========================================================================
   WHO AM I SECTION
   ========================================================================== */

.who-am-i-section {
  background-color: rgb(255, 255, 255);
}

.who-am-i {
  background-color: #000000;
  color: rgb(255, 255, 255);
  font-size: 1.8rem;
  padding: 1.5rem 4rem;
}

.who-we-serve-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(100px, 1fr));
  gap: 1rem;
  width: 85%;
  margin: 3rem auto;
  max-width: 1700px;
}

.who-picture {
  width: 20rem;
  height: auto;
  border-radius: 50%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
} 
.serve-item {
  color: #000000;
  padding: 1rem;
}

.serve-item-industry {
  color: #000000;
  padding: 1rem;
  margin-bottom: 4rem;
  max-width: 500px;
  max-height: 350px;
  min-height: 340px;
}

.serve-box,
.serve-box1 {
  font-size: 1.2rem;
  font-weight: 400;
  justify-items: center;
  max-height: 350px;
  justify-self: center;
}

/* ==========================================================================
   CONTACT/CTA SECTION
   ========================================================================== */

.contact-section {
  padding: 5rem 1rem;
  background-color: #000000;
  margin-bottom: 3rem;
}

.cta-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.cta-button-wrapper {
  background-color: #514b4b;
  padding: 1rem 2rem;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  background-color: #fff;
  color: #000000;
  text-decoration: none;
  font-size: 1rem;
  padding: 0.5rem 1rem;
  gap: 0.5rem;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #f3f3f3;
}

/* Portfolio/LO Section Styles */
.LO-section {
  background-color: #000000;
  color: white;
  padding: 3rem 0;
}

.lo-topic {
    text-align: center;
    margin-bottom: 2rem;
    padding: 0 2rem;
}

.lo-topic h2 {
    font-size: 2.5rem;
    font-weight: 300;
    color: #e1ff00;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 1rem;
}

.lo-topic-text {
    max-width: 1200px;
    margin: 0 auto 3rem auto;
    padding: 0 2rem;
    font-size: 1.2rem;
    line-height: 1.8;
    font-weight: 300;
    color: #ddd;
}

.lo-topic-text p {
    margin-bottom: 1.5rem;
    text-align: justify;
}

.lo-topic-text p:last-child {
    margin-bottom: 0;
}

.lo-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.lo-images img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border: 0.1rem solid #d9ff00;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.lo-images img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(225, 255, 0, 0.3);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

footer {
  background: rgb(9, 9, 9);
  color: white;
  padding: 2rem 0;
  margin-top: auto;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-section h3 {
  margin-bottom: 1rem;
  color: #fff;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: #fff;
}

.footer-bottom {
  background: #000000;
  text-align: center;
  padding: 1rem;
  color: #ccc;
  font-size: 0.9rem;
}



/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */

/* Mobile Devices (480px and below) */
@media (max-width: 480px) {
  /* Navigation */
  .desktop-menu {
    display: none;
  }

  .logo {
  width: 5rem;
  transition: all 0.3s ease;
  margin-right: 0.1rem;
  margin-left: 0.1rem;
}
  
  .mobile-menu-toggle {
    display: block;
    position: absolute;
    right: 20px;
  }
  
  .burger {
    padding-top: 0.5rem;
  }

  /* Hero Section */
  .hero-banner {
    height: 60vh;
  }
  
  .hero-content {
    padding-left: 0.5rem;
    gap: 1rem;
    left: 10px;
  }
  
  .hero-content h1 {
    font-size: 10vw;
  }
  
  .hero-box {
    font-size: 20vw;
    padding: 1rem 1.5rem;
  }
  
  .down-chevron {
    display: none;
  }

  /* Learning Outcomes */
  .learning-outcomes {
    font-size: 1.4rem;
    padding-left: 2rem;
  }

  /* Grid Adjustments */
  .responsive-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  .who-we-serve-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    justify-self: center;
    max-width: fit-content;
  }

  .serve-box,
  .serve-box1 {
    font-size: 0.9rem;
    font-weight: 400;
    justify-self: center;
  }
  .serve-item-industry {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
  }

  .who-picture {
    width: 10rem;
    height: auto;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  }

  .lo-topic h2 {
        font-size: 1.8rem;
    }
    
    .lo-topic-text {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .lo-images {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .lo-images img {
        height: 200px;
    }
}

@media (min-width: 481px) and (max-width: 890px) {
    .lo-topic h2 {
        font-size: 2.2rem;
    }
    
    .lo-topic-text {
        font-size: 1.1rem;
        padding: 0 1.5rem;
    }
    
    .lo-images {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        padding: 0 1.5rem;
    }
    
    .lo-images img {
        height: 220px;
    }
}

/* Tablet Devices (481px to 890px) */
@media (min-width: 481px) and (max-width: 890px) {
  /* Navigation */
  .desktop-menu {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: block;
    position: absolute;
    right: 20px;
  }
  
  .burger {
    padding-top: 0.3rem;
  }

  /* Hero Section */
  .hero-content h1 {
    font-size: 10vw;
  }
  
  .hero-box {
    font-size: 20vw;
    padding: 1rem 1.5rem;
  }

  /* Grid Adjustments */
  .responsive-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

    .who-we-serve-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    justify-self: center;
    max-width: fit-content;
  }

  .serve-box,
  .serve-box1 {
  justify-self: center ;
  font-size: 1.2rem;
  align-items: center;     /* Centers vertically */
  height: 100%; 
  }

  .who-picture {
  width: 16rem;
  height: auto;
  border-radius: 50%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
} 
}

/* Mobile Menu Dropdown Styles */
.mobile-menu {
  display: none;
  position: absolute;
  top: 98px;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  z-index: 99;
  opacity: 0;
  transform: translateY(-20px);
  transition: all 0.3s ease;
}

.mobile-menu.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu ul {
  list-style: none;
  margin: 0;
  padding: 1rem 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.mobile-menu li {
  border-bottom: 1px solid rgba(225, 255, 0, 0.2);
}

.mobile-menu li:last-child {
  border-bottom: none;
}

.mobile-menu a {
  display: block;
  text-decoration: none;
  color: white;
  font-weight: 600;
  padding: 1rem 2rem;
  transition: all 0.3s ease;
  text-align: center;
}

.mobile-menu a:hover {
  background-color: rgba(225, 255, 0, 0.1);
  color: #e1ff00;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

/* Prevent body scroll when menu is open */
body.menu-open {
  overflow: hidden;
}

@media (min-width: 891px) and (max-width: 1200px) {
    .lo-images {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    }
  }

@media (min-width: 1201px) {
    .lo-images {
        grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    }
  }
