* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}
body {
  background: #EFE6EC;
}
nav {
  background: #623950;
  box-shadow: 2px 0.2px 10px #58374A;
  position: fixed;
  width: 100%;
  z-index: 5;  
}
nav:after {
  content: '';
  clear: both;
  display: table;
}
nav .logo {
  float: left;
  font-size: 30px;
   font-weight: bold;
  line-height: 70px;
  padding-left: 35px;
}
nav ul {
  float: right;
  list-style: none;
  margin-right: 100px;
  position: relative;
  gap: 25px;
}
nav ul li {
  float: left;
  display: inline-block;
  background: #623950;
  margin: 0 25px;
}
nav ul li a {
  color: #EFE6EC;
  text-decoration: none;
  line-height: 70px;
  font-size: 20px;
  padding: 10px 15px;
  font-family: Anton SC;
  letter-spacing: 1px;
}

nav ul li a:hover {
  color: #EFE6EC;
  border-radius: 5px;
  box-shadow: 0 0 5px #DCC4D0,
              0 0 5px #D2B2C2;
}

nav ul ul li a:hover {
  color: #E0CCD6;
  box-shadow: none;
}

nav ul ul {
  position: absolute;
  top: 90px;
  border-top: 3px solid #B98DA4;
  opacity: 0;
  visibility: hidden;
  transition: top 0.3s ease, opacity 0.3s ease;
}
nav ul li:hover > ul{
  top: 70px;
  opacity: 1;
  visibility: visible;
}

nav ul ul li {
  position: relative;
  margin: 0px;
  width: 195px;
  float: none;
  display: list-item;
  border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}

nav ul ul li a {
  font-size: 18px;
  line-height: 50px;
  font-family: Anton SC;
  letter-spacing: 1px;
}

nav ul ul ul {
  border-top: none;
}

nav ul ul ul li {
  position: relative;
  left: 195px;
  top: -70px;
}

span .fa-plus {
  margin-right:   30px;
  font-size:  18px;
}

.show, .icon, input {
  display: none;
}

/* main Section Styling */
.main-section {
  min-height: 100vh;
  background-color: #EFE6EC;
}

.main-section .main-section-content {
  display: flex;
  align-items: center;
  min-height: 100vh;
  color: #4B2F40;
  justify-content: space-between;
  padding-left: 120px;
}

.main-section .main-details .main-title {
  font-size: 80px;
  max-width: 100%;
  font-family: Anton SC;
  letter-spacing: 2px;
  word-spacing: 3px;
  line-height: 90px;
}
.main-section .main-details .main-subtitle {
  margin-bottom: 8px;
  font-size: 17px;
  font-family: Carrois Gothic;
  font-weight: bolder;
}
.main-section .main-details .main-subtitle2 {
  margin-top: 15px;
  margin-bottom: 2px;
  font-size: 25px;
  font-family: Anton SC;
  font-weight: bolder;
  letter-spacing: 2px;
}

.main-section .main-details .main-description {
  margin: 24px 0 40px;
  max-width: 90%;
  font-size: 1.45rem;
  font-family:  Roboto Condensed;

}

.section-Header {
  height: 14rem;
  display: flex;
  position: relative;
  padding: 2rem 13vw;
  box-shadow: 0px 1vh #78546A, 0px 2vh #5F4253;
  z-index: 2;
  width: 100%;
  background-color:   #845C75;
}

.title {
  font-size: 28px;
  word-spacing: 5px;
  font-weight: bold;
  font-family: Anton SC;
  letter-spacing: 2px;
  color: #fff;
  margin: -20px;

}

.section-content {
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  text-align: center;
  padding: 55px 0 55px 30px;
  font-size: 45px;
  word-spacing: 5px;
  font-weight: bold;
  font-family: Anton SC;
  word-spacing: 3px;
  line-height: 90px;
  color: #4B2F40;
}
.section-title::after {
  content: "";
  width: 200px;
  height: 5px;
  display: block;
  margin: 5px auto 5px auto;
  border-radius: 5px;
  background-color: #B8819E;
}

/* Parallax STEMworks */
.parallax1 {
  min-height: 100vh;
  background-image: url("./Public/Portfolio Photos/STEMworks Innovation Internship Participants.png");

  background-size: 100%;
  background-position: center center;
  background-attachment: fixed;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.parallax-title1 {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 10px;
  letter-spacing: 2px;
  color: #F0E5EB;
  text-align: center;
  font-family: Anton SC;
}

.parallax-subtitle1 {
  color: #F0E5EB;
  font-size: 1.8rem;
  font-weight: 400;
  margin-top: 0;
  letter-spacing: 1px;
  text-align: center;
  font-family: Carrois Gothic;
  font-weight: bolder;
  font-style: italic;
}

.parallax2 {
  min-height: 100vh;
  background-image: url("./Public/Portfolio Photos/"); 
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.parallax-title2 {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 10px;
  letter-spacing: 2px;
  color: #623950;
  text-align: center;
  font-family: Anton SC;
}

.parallax-subtitle2 {
  color: #623950;
  font-size: 1.8rem;
  font-weight: 400;
  margin-top: 0;
  letter-spacing: 1px;
  text-align: center;
  font-family: Carrois Gothic;
  font-weight: bolder;
  font-style: italic;
}

/* Internship Cards */

.internship1-section {
  padding: 20px 0 20px;
  background: #EADDE1;
  min-height: 100vh;
}

.internship2-section {
  padding: 20px 0 20px;
  background: #EADDE1;
  min-height: 100vh;  
}

.section-content {
	justify-content: center;
  width: 100%;
  margin-top: 5px;
  margin-left: auto;
  margin-right: auto;
  display: grid;
  grid-template-columns: repeat(2, 590px);
  grid-template-rows: auto;
  gap: 40px;
}

/* Experience */

.exp-section {
  padding: 20px 0 20px;
  background: #EADDE1;
  min-height: 100vh;
}

/* Grid item styles */
.card1, .card2 {
  border: 3px solid #5F4253;
  box-shadow: -2px -2px 5px 0px #45363E;
  background-color: #5F4253;
  border-radius: 10px;
  height: 29.4rem;
  grid-column: span 1;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  padding: 0;
  margin-top: 135px;
  margin-bottom: -20px;

  box-shadow: 
    -2px -2px 5px 0px #45363E,
    0 4px 24px rgba(44, 21, 30, 0.10), 8px 8px 0 #845C74;
  transition: transform 0.25s cubic-bezier(.4,2,.5,1), box-shadow 0.2s;
}

.card1:hover {
  transform: scale(1.03) translateY(-4px);
  box-shadow: 0 8px 32px rgba(44, 21, 30, 0.19), 12px 12px 0 #A06A88;
}

.card2:hover {
  transform: scale(1.03) translateY(-4px);
  box-shadow: 0 8px 32px rgba(44, 21, 30, 0.19), 12px 12px 0 #A06A88;
}

/* Area text styling */
.area-name {
  margin-top: 1.35rem; /* Add space between image and text */
  margin-bottom: 1.3rem;
  color: #fff;
  text-align: center;
  font-size: 1.4rem;
  font-family: Roboto Condensed;
  font-weight: 900;
}

.content {
  margin-top: 1.35rem; /* Add space between image and text */
  margin-bottom: 1.3rem;
  color: #fff;
  font-size: 1rem;
  font-family: Roboto Condensed;
  font-weight: 900;
}

/* Evidence list to contain images horizontally */
.evidence-list {
  display: flex;
  flex-wrap: nowrap; /* Prevent wrapping of images */
  height: 100%;
  width: 100%; 
  gap: 0;
  padding: 0;
  margin: 0;
  box-sizing: border-box; /* Prevent overflow due to padding/margin */
}

/* Slider wrapper for full-width scrolling */
.card1 .card-wrapper {
  cursor:   pointer;
  display: flex;
  width: 100%; 
  height: 100%; 
  overflow-x: scroll; /* Enable horizontal scrolling */
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory; /* Snap to each image */
  padding: 0;
  margin: 0;
  box-sizing: border-box; /* Ensure padding/margin is accounted for */
}

.card-wrapper::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Edge */
}

.card2 .card-wrapper {
  cursor:   pointer;
  display: flex;
  width: 100%; 
  height: 100%; 
  padding: 0;
  margin: 0;
  box-sizing: border-box; /* Ensure padding/margin is accounted for */
}

iframe {
	border-radius: 10px;
}

/* Image styling */
.internship1-section .card1 .evidence-list iframe {
  flex: 0 0 100%; 
  height: 100%;
  width: 100%;
  object-fit: cover; /* Ensure the image fills the container without zooming */
  scroll-snap-align: start; /* Snap to the start of each image */
  display: block;
  margin: 0; /* Remove any default margins */
  border: 3px solid #5F4253;
  overflow: hidden;
}

.internship2-section .card1 .evidence-list iframe {
  flex: 0 0 100%; 
  height: 100%;
  width: 100%;
  object-fit: cover; /* Ensure the image fills the container without zooming */
  scroll-snap-align: start; /* Snap to the start of each image */
  display: block;
  margin: 0; /* Remove any default margins */
  border: 3px solid #5F4253;
  overflow: hidden;
}

/* Image styling */
.GIS-image {
  flex: 0 0 100%; 
  height: 100%;
  width: 100%;
  object-fit: cover; /* Ensure the image fills the container without zooming */
  scroll-snap-align: start; /* Snap to the start of each image */
  display: block;
  margin: 0; /* Remove any default margins */
  border: 3px solid #5F4253;
  border-radius: 10px;
  overflow: hidden;
}
