/* Global */

body{
  margin:auto;
  background-color:#121212;
  font-family: 'Inter', sans-serif;
  text-align:left;
  color:white;
  
}

/* Nav bar */

#nav-menu-button{
display:none;
}

#mobile-nav-bar{
display:none;
}

.nav-menu-container{
display:none;
}

.nav-bar{
  padding-left:10%;
  padding-right:10%;
  margin-top:-50px;

  z-index: 100;
  position:fixed;
  box-sizing: border-box;

  width:100%;
  display: flex;

  letter-spacing:.05em;
  justify-content: space-between;
  align-items: center;

  transition: background-color 0.1s ease-in-out;
}

.nav-bar.scrolled{
  margin-top:-150px;
  background-color: #121212;
  box-shadow: 0 0 50px 20px 121212;
  background: linear-gradient(180deg, #121212 60%, rgba(255,255,255,0)100%);
  height:275px;
  z-index: 999;
}

.logo{
  cursor: pointer;
  max-height:75px;
}

/* Nav bar */

.nav{
  list-style: none;
}

.nav li{
  display: inline-block;
  padding-left: 30px;
}

.nav li a{
  color: rgb(207, 207, 207);
  text-decoration:none;
}

.nav-button a:hover, .lang-button a:hover, .give-button a:hover{
  transition: all .3s ease 0s;
  color:rgb(107, 182, 101);
}

#selected{
  color:white;
  font-weight:600;
}

/* Projects Section Formatting */

.header{
  margin-top:100px;
  padding-top:100px;
  text-align: center;

  position: relative;
  text-align: center;
  color: white;
  font-weight: bold;
}

.header img{
  top: -50px;
  width:80%;
  height: auto;
  transition: filter .1s ease-in-out;
  filter: brightness(85%)
}

/* Footer */

.footer{
  color:#a9a5b8;
  text-align:center;
  margin-bottom:25px;
}

.text {
  position: absolute;
  top: 53%;
  left: 50%;
  transform: translate(-50%);
  font-size: 50px;
  width: 100%;
}

.content,.container{
  margin-left:10%;
  margin-right:10%;
  margin-top:50px;
  align-items:center;
  text-align: left;
}

.content p, li{
  line-height: 1.5;
  color: rgb(207, 207, 207);
}

.content h2{
  background: -webkit-linear-gradient(left, rgb(255, 133, 214) 20%, rgb(202, 188, 241) 70%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.emtvision{
  background: -webkit-linear-gradient(right, #183f6a, #0080ff) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

.v2025{
  background: -webkit-linear-gradient(left, rgb(255, 206, 133) 20%, rgb(79, 197, 126) 70%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

.cream{
  background: -webkit-linear-gradient(left, #a2c3ff 20%, rgb(245, 244, 178) 70%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

.hpe{
  background: -webkit-linear-gradient(left, #28c966 20%, rgb(147, 171, 238) 70%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

.treehacks{
  background: -webkit-linear-gradient(left, #b8f8d0 20%, #16766a 70%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

.aruba{
  background: -webkit-linear-gradient(left, #f58220 20%, #ffb16d 70%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

.research{
  background: -webkit-linear-gradient(left, #b20838 0%,#ca4d70 70%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

.oldweb{
  background: -webkit-linear-gradient(left, #2f8de0 0%,#2560ad 70%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

.c{
  color:rgb(202, 188, 241);
}

.v{
  color:rgb(79, 197, 126);
}

.b{
  color:#a2c3ff;
}

.o{
  color:#f58220;
}

.g{
  color: #6bb665;
}

.teal{
  color: #e8fef3;
}

.ws{
  color: #2f8de0;
}

.emt{
  color: #0080ff;
}

#r, .r{
  color: #db2055; 
}

#r{
  text-decoration: none;
  animation: color .2s ease-in-out;
}

#r:hover{
  color: #df416e; 
}

.link{
  color:rgb(255, 115, 201);
  text-decoration: none;
  animation: color .2s ease-in-out;
}

.link:hover{
  color:rgb(255, 156, 217);
}


.container{
  justify-content: center;
  display:flex;
  max-width: 100%;
  flex-wrap: wrap;
}

.gallery div{
  padding: 0 20px 50px 20px;
}

.gallery img{
  width:325px;
  border-radius: 15px;
  transition: filter .1s ease-in-out;
}

@media only screen and (max-width: 481px){

/* Projects Section Formatting */

.header img{
  width:100%;
  transition: filter .1s ease-in-out;
  filter: brightness(85%)
}

.content h2{
  font-size:30px;
  background: -webkit-linear-gradient(left, rgb(255, 133, 214) 20%, rgb(202, 188, 241) 70%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cream{
  background: -webkit-linear-gradient(left, #a2c3ff 20%, rgb(245, 244, 178) 70%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

.v2025{
  background: -webkit-linear-gradient(left, rgb(255, 206, 133) 20%, rgb(79, 197, 126) 70%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

.aruba{
  background: -webkit-linear-gradient(left, #f58220 20%, #ffb16d 70%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

.hpe{
  background: -webkit-linear-gradient(left, #28c966 20%, rgb(147, 171, 238) 70%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

.treehacks{
  background: -webkit-linear-gradient(left, #b8f8d0 20%, #16766a 70%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

.research{
  background: -webkit-linear-gradient(left, #b20838 0%,#ca4d70 70%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

.text{
  display:none;
}

.c{
  color:rgb(202, 188, 241);
}

.b{
  color:#a2c3ff;
}

.g{
  color: #6bb665;
}

.o{
  color:#f58220;
}

.v{
  color:rgb(79, 197, 126);
}

.teal{
  color: #e8fef3;
}

#r, .r{
  color: #db2055; 
}

#r{
  text-decoration: none;
  animation: color .2s ease-in-out;
}

#r:hover{
  color: #df416e; 
}

.link{
  color:rgb(255, 115, 201);
  text-decoration: none;
  animation: color .2s ease-in-out;
}

.link:hover{
  color:rgb(255, 156, 217);
}


.container{
  justify-content: center;
  display:flex;
  max-width: 100%;
  flex-wrap: wrap;
}

.gallery div{
  padding: 0 20px 50px 20px;
}

.gallery img{
  width:275px;
  border-radius: 15px;
  transition: filter .1s ease-in-out;
}
  

  .nav-menu-container{
      display:block;
  }

  #nav-menu-button{
      background: none;
      display:block;
      font-size: 25px;
  }

  #mobile-nav-bar.fade{
      display:block !important;
      opacity:1 !important;
  }

  #mobile-nav-bar{
      opacity:0;
      transition: opacity .2s !important;
      display:none !important;
      z-index:5;
      position: relative;
      background-color: #121212;
      padding-bottom:100%;
      background: linear-gradient(180deg, rgba(255,255,255,0)5.5%, #121212 5.5%);
  }

  #mobile-nav-bar ul{
      
      margin:auto;
      padding:0;
      padding-top:30%;

      list-style: none;
      text-align: center;
  }

  #mobile-nav-bar a{
      color:white;
      font-weight: bold;

      line-height: 2.2;
      font-size:50px;
      text-decoration: none;
  }

  #mobile-nav-bar{
      padding-left:10%;
      padding-right:10%;
      margin-top:-50px;

      position:fixed;
      box-sizing: border-box;

      width:100%;
      display: flex;

      letter-spacing:.05em;
      justify-content: space-between;
      align-items: center;

      transition: background-color 0.1s ease-in-out;
  }

  .nav-bar.scrolled{
      margin-top:-150px;
      background-color: #121212;
      box-shadow: 0 0 50px 20px 121212;
      background: linear-gradient(180deg, #121212 60%, rgba(255,255,255,0)100%);
      height:275px;
      z-index: 99;
  }

  /* Nav bar */

  .nav-bar{
      z-index:10;
  }

  .nav{
      display:none;
      list-style: none;
  }

  .nav li{
      display: inline-block;
      padding-left: 30px;
  }

  .nav li a{
      color: rgb(207, 207, 207);
      text-decoration:none;
  }

  .nav-button a:hover, .lang-button a:hover, .give-button a:hover, .hover-button:hover{
      transition: all .3s ease 0s;
      color:rgb(107, 182, 101);
  }

  #selected{
      color:white;
      font-weight:600;
  }

}

/* EMT Vision Clean Tile Design */
.hero-section {
    display: flex;
    align-items: center;
    gap: 60px;
    margin: 40px 10% 60px 10%;
    padding: 0;
    background: transparent;
}

.hero-content {
    flex: 1;
}

.project-badge {
    display: inline-block;
    padding: 8px 16px;
    background: #0080ff;
    color: white;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-title {
    font-size: 3.5em;
    font-weight: bold;
    margin: 0 0 10px 0;
    background: linear-gradient(45deg, #0080ff, #183f6a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.5em;
    color: rgb(207, 207, 207);
    margin: 0 0 20px 0;
    font-weight: 300;
}

.hero-description {
    font-size: 1.1em;
    line-height: 1.6;
    color: rgb(207, 207, 207);
    margin: 0 0 30px 0;
    max-width: 600px;
}

.hero-stats {
    display: flex;
    gap: 60px;
    margin: 40px 0;
}

.stat {
    text-align: left;
}

.stat-number {
    font-size: 3em;
    font-weight: bold;
    color: #0080ff;
    margin-bottom: 5px;
    line-height: 1;
}

.stat-label {
    font-size: 1em;
    color: rgb(207, 207, 207);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.cta-button {
    padding: 15px 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9em;
    border: 2px solid;
}

.cta-button.primary {
    background: #0080ff;
    color: white;
    border-color: #0080ff;
}

.cta-button.primary:hover {
    background: transparent;
    color: #0080ff;
}

.cta-button.secondary {
    background: transparent;
    color: #0080ff;
    border-color: #0080ff;
}

.cta-button.secondary:hover {
    background: #0080ff;
    color: white;
}

.hero-visual {
    flex: 1;
    text-align: center;
}

.hero-image {
    max-width: 100%;
    height: auto;
}

.hero-video {
    width: 100%;
    height: auto;
    border-radius: 0;
}

/* Content Toggle - Clean Design */
.content-toggle {
    margin: 0 10% 40px 10%;
    text-align: center;
}

.toggle-buttons {
    display: flex;
    justify-content: center;
    gap: 0;
    background: transparent;
    padding: 0;
    border: none;
}

.toggle-btn {
    padding: 15px 30px;
    background: transparent;
    color: rgb(207, 207, 207);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9em;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.toggle-btn:last-child {
    border-right: none;
}

.toggle-btn.active {
    background: #0080ff;
    color: white;
    border-color: #0080ff;
}

.toggle-btn:hover:not(.active) {
    background: rgba(0, 128, 255, 0.1);
    color: #0080ff;
}

/* Content Sections - Tile Design */
.content-sections {
    margin: 0 10% 40px 10%;
}

.content-section {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.content-section.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Tile Layouts */
.tile-section {
    display: flex;
    align-items: center;
    gap: 60px;
    margin: 60px 0;
    min-height: 350px;
}

.tile-section.reverse {
    flex-direction: row-reverse;
}

.tile-section.centered {
    flex-direction: column;
    text-align: center;
    gap: 10px;
    margin: 30px 0;
}

.tile-section.centered:first-child {
    margin-bottom: 10px;
}

.tile-image {
    flex: 1;
}

.tile-image img {
    width: 100%;
    height: auto;
}

.tile-content {
    flex: 1;
}

.tile-content h2 {
    font-size: 2.5em;
    margin: 0 0 30px 0;
    color: #0080ff;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.2;
}

.tile-content h3 {
    font-size: 1.5em;
    margin: 0 0 20px 0;
    color: white;
    font-weight: 600;
}

.tile-content p {
    font-size: 1.1em;
    line-height: 1.8;
    color: rgb(207, 207, 207);
    margin: 0 0 20px 0;
}

.tile-content ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.tile-content li {
    padding: 8px 0;
    color: rgb(207, 207, 207);
    position: relative;
    padding-left: 20px;
}

.tile-content li:before {
    content: "—";
    position: absolute;
    left: 0;
    color: #0080ff;
    font-weight: bold;
}

/* Special Tile Styles */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin: 40px 0;
}

.stat-item {
    text-align: center;
    padding: 30px;
    border: 1px solid rgba(0, 128, 255, 0.2);
}

.stat-item .number {
    font-size: 3em;
    font-weight: bold;
    color: #0080ff;
    margin-bottom: 10px;
    display: block;
}

.stat-item .label {
    font-size: 0.9em;
    color: rgb(207, 207, 207);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tech-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin: 40px 0;
    max-width: 100%;
}

.tech-column {
    padding: 30px;
    border: 1px solid rgba(0, 128, 255, 0.2);
    min-height: auto;
}

.tech-column h4 {
    font-size: 1.2em;
    color: #0080ff;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tech-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tech-item:last-child {
    border-bottom: none;
}

.tech-name {
    font-weight: 600;
    color: white;
}

.tech-desc {
    color: rgb(207, 207, 207);
    font-size: 0.9em;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin: 40px 0;
}

.team-member {
    text-align: center;
    padding: 20px;
    border: 1px solid rgba(0, 128, 255, 0.2);
}

.member-name {
    font-weight: 600;
    color: white;
    margin-bottom: 5px;
}

.member-role {
    font-size: 0.9em;
    color: rgb(207, 207, 207);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Mobile Responsive */
@media only screen and (max-width: 768px) {
    .hero-section {
        flex-direction: column;
        margin: 50px 5%;
        gap: 40px;
    }
    
    .hero-title {
        font-size: 2.5em;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 30px;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .toggle-buttons {
        flex-wrap: wrap;
    }
    
    .tile-section {
        flex-direction: column;
        gap: 40px;
        margin: 60px 0;
    }
    
    .tile-section.reverse {
        flex-direction: column;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .tech-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}