/* Hero Section CSS */
#hero {
  height: 70vh;
  width: 100%;
  display: flex;
  position: relative;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

#hero h1 {
  font-size: 7vw;
  padding: 1vw;
  line-height: 7vw;
  background: -webkit-linear-gradient(#f5ece4, #585757);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

#hero p {
  font-size: 1.4vw;
  font-family: var(--ff-neue-light);
  letter-spacing: 0.1vw;
}

#hero p span {
  color: var(--vibrant-orange);
  font-family: var(--ff-neue-light);
  background-color: #ff660022;
  border-radius: 2vw;
  padding: 0.3vw 1vw;
  border: solid 0.2px var(--vibrant-orange);
}

/* Video CSS */
.home-video-container video {
  position: relative;
  width: 100%;
  border-radius: 35px;
  margin-top: 5vw;
}

.video-player {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Figures Grid CSS */

#hero-cards {
  background: var(--eerie-black);
  height: 45vh;
  position: relative;
}

#hero-cards .text {
  position: absolute;
  bottom: 25px;
  left: 20px;
  color: white;
  font-size: 1rem;
  font-family: var(--ff-neue-roman);
}

.card {
  margin-bottom: 20px;
  transition: transform 0.2s;
  background-color: #111111;
}

.card:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.card-body {
  padding: 20px;
}

.card-text,
.card-title {
  color: var(--soft-beige);
}

/* Grid Section Styles */
#three-by-three-grid {
  height: 100vh;
  width: 100%;
  position: relative;
  margin-bottom: 10vw;
}

#three-by-three-grid {
  background-color: transparent;
}

#three-by-three-grid .container .row .outcomes-head {
  font-size: 4vw;
  color: var(--soft-beige);
  font-family: var(--ff-neue-medium);
}

#three-by-three-grid .card {
  background-color: transparent;
  border: none;
}

#three-by-three-grid .card-title {
  color: var(--soft-beige);
}

#three-by-three-grid .card-text {
  font-family: var(--ff-neue-light);
  letter-spacing: 0.05vw;
  color: var(--soft-beige);
}

#three-by-three-grid .cta {
  margin-top: 2vw;
  margin-bottom: 5vw;
}

/* Overlay Section */
#overlay-section {
  position: relative;
  height: 100vh;
  background-color: #333;
}

/* Overlay Image */
.overlay-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("src/idk.jpg");
  /* Replace with your image path */
  background-size: cover;
  background-position: center;
  opacity: 0.5;
  z-index: 1;
}

/* Main Text */
.main-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--soft-beige);
  text-align: center;
  z-index: 2;
  padding: 20px;
}

.main-text h1 {
  font-size: 3rem;
  line-height: 1.2;
}

.main-text p {
  font-size: 1.25rem;
}

.main-text span {
  font-weight: bold;
  color: var(--vibrant-orange);
}

/* Carousel */
.carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.carousel__stage {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carousel__item {
  flex-shrink: 0;
  width: 100%;
  padding: 40px;
  text-align: center;
  color: var(--soft-beige);
}

.carousel__control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: transparent;
  color: var(--soft-beige);
  border: none;
  padding: 10px;
  cursor: pointer;
  font-size: 1.5rem;
  border-radius: 50%;
  z-index: 20;
}

.carousel__control--prev {
  left: 10px;
}

.carousel__control--next {
  right: 10px;
}

@media (max-width: 1440px) {
  #hero {
    height: 45vh;
  }

  #hero h1 {
    font-size: 6vw;
    line-height: 6.5vw;
  }

  #hero p {
    font-size: 2.5vw;
  }

  #hero p span {
    font-size: 1vw;
    padding: 0.8vw 2vw;
  }

  .home-video-container video {
    position: relative;
    width: 100%;
    border-radius: 35px;
    margin-top: 4vw;
  }

  .video-player {
    width: 100%;
    height: auto;
    object-fit: cover;
  }
}

/* For smaller devices like phones (screen width <= 768px) */
@media screen and (max-width: 768px) {
  #hero {
    height: 30vh;
  }

  #hero h1 {
    font-size: 5.8vw;
    line-height: 5.8vw;
  }

  #hero p {
    font-size: 2vw;
  }

  #hero p span {
    font-size: 1vw;
    padding: 0.8vw 2vw;
  }

  .home-video-container video {
    position: relative;
    width: 100%;
    border-radius: 35px;
    margin-top: 3vw;
  }

  .video-player {
    width: 100%;
    height: auto;
    object-fit: cover;
  }
}

/* For very small devices like extra small phones (screen width <= 480px) */
@media screen and (max-width: 480px) {
  #hero {
    height: 25vh;
  }

  #hero h1 {
    font-size: 5.5vw;
    line-height: 5vw;
  }

  #hero p {
    font-size: 3vw;
  }

  #hero p span {
    font-size: 1vw;
    padding: 0.8vw 2vw;
  }

  .home-video-container video {
    position: relative;
    width: 100%;
    border-radius: 35px;
    margin-top: 2vw;
  }

  .video-player {
    width: 100%;
    height: auto;
    object-fit: cover;
  }
}

/* Footer Styles */
.footer {
  padding: 50px 0;
  background-color: var(--eerie-black);
  color: var(--soft-beige);
}

.footer h3 {
  font-family: var(--ff-neue-medium);
  font-size: 1rem;
  margin-bottom: 20px;
}

.footer p {
  font-family: var(--ff-neue-light);
  margin-bottom: 10px;
}

.footer a {
  color: var(--soft-beige);
  text-decoration: none;
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--eerie-black);
  z-index: 1000;
}

.hamburger {
  display: none;
  cursor: pointer;
}

/* Responsive Media Queries */
@media screen and (max-width: 992px) {
  #hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    padding: 15px;
  }

  #hero p {
    font-size: 1rem;
  }

  #hero p span {
    padding: 5px 15px;
  }

  #hero-cards {
    height: auto;
    min-height: 250px;
    margin-bottom: 20px;
  }

  #hero-cards .text {
    position: relative;
    bottom: 0;
    left: 0;
    padding: 20px;
  }

  .home-video-container video {
    border-radius: 20px;
  }

  .container .col-8 {
    width: 100%;
  }

  .container h1[style*="font-size: 5vw"] {
    font-size: 2.5rem !important;
  }

  .container p[style*="font-size: 1.5vw"] {
    font-size: 1rem !important;
  }
}

@media screen and (max-width: 768px) {
  .menu {
    display: none;
  }

  .mobile-menu {
    display: none;
    padding: 20px;
  }

  .mobile-menu.active {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .mobile-menu p {
    margin: 15px 0;
    font-size: 1.2rem;
    text-align: center;
  }

  .hamburger {
    display: block;
  }

  .hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--soft-beige);
    margin: 5px 0;
    transition: all 0.3s ease;
  }

  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }

  #three-by-three-grid {
    height: auto;
    margin-bottom: 50px;
  }

  .footer h1 {
    font-size: 2rem;
  }
}

@media screen and (max-width: 576px) {
  #hero {
    height: auto;
    padding: 50px 20px;
  }

  #hero h1 {
    font-size: 2.5rem;
  }

  #three-by-three-grid .outcomes-head {
    font-size: 2rem !important;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  #hero-cards .text h1 {
    font-size: 1.5rem;
  }

  .carousel__control {
    display: none;
  }
}

/* Additional Utility Classes */
.fade-in {
  animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.video-player {
  aspect-ratio: 16/9;
}

img {
  max-width: 100%;
  height: auto;
}

/* Team Section Styles */
.team-section {
  background-color: var(--eerie-black);
  padding: 80px 0;
}

/* Section Header */
.section-header .subtitle {
  font-family: var(--ff-neue-light);
  color: var(--vibrant-orange);
  font-size: 1.2rem;
  display: block;
  margin-bottom: 1rem;
}

.gradient-text {
  font-size: 4.5rem;
  background: linear-gradient(45deg, #f5ece4, #585757);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1.5rem;
}

.section-description {
  color: var(--dark-grey);
  font-family: var(--ff-neue-light);
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Team Cards */
.team-card {
  background: linear-gradient(145deg, #1a1a1a, #111111);
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.card-image {
  position: relative;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.team-card:hover .card-image img {
  transform: scale(1.1);
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.team-card:hover .overlay {
  opacity: 1;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-link {
  color: var(--soft-beige);
  font-size: 1.5rem;
  transition: color 0.3s ease;
}

.social-link:hover {
  color: var(--vibrant-orange);
}

.card-content {
  padding: 2rem;
}

.role-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-family: var(--ff-neue-medium);
  margin-bottom: 1rem;
}

.role-badge.leadership {
  background: rgba(255, 102, 0, 0.1);
  color: var(--vibrant-orange);
}

.role-badge.design {
  background: rgba(147, 51, 234, 0.1);
  color: #9333ea;
}

.role-badge.technology {
  background: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
}

.member-name {
  color: var(--soft-beige);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.member-position {
  color: var(--dark-grey);
  font-family: var(--ff-neue-medium);
  margin-bottom: 1rem;
}

.member-bio {
  color: var(--soft-beige);
  font-family: var(--ff-neue-light);
  line-height: 1.6;
}

/* Team Stats */
.team-stats {
  margin-top: 5rem;
}

.stat-item {
  padding: 2rem;
  background: linear-gradient(145deg, #1a1a1a, #111111);
  border-radius: 15px;
  transition: transform 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
}

.stat-number {
  color: var(--soft-beige);
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  background: linear-gradient(45deg, var(--vibrant-orange), #ff8533);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  color: var(--dark-grey);
  font-family: var(--ff-neue-light);
}

/* CTA Button */
.cta-button {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: linear-gradient(45deg, var(--vibrant-orange), #ff8533);
  color: white;
  border-radius: 50px;
  font-family: var(--ff-neue-medium);
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
  transform: translateY(-3px);
  color: white;
}

/* Responsive Styles */
@media (max-width: 991px) {
  .gradient-text {
    font-size: 3.5rem;
  }

  .card-image img {
    height: 250px;
  }
}

@media (max-width: 768px) {
  .gradient-text {
    font-size: 3rem;
  }

  .team-stats .col-md-3 {
    margin-bottom: 1rem;
  }

  .stat-item {
    padding: 1.5rem;
  }
}

@media (max-width: 576px) {
  .gradient-text {
    font-size: 2.5rem;
  }

  .section-description {
    font-size: 1rem;
  }

  .card-content {
    padding: 1.5rem;
  }

  .member-name {
    font-size: 1.25rem;
  }

  .stat-number {
    font-size: 2rem;
  }
}

/* Journey Timeline Section */
@media screen and (max-width: 768px) {
  .journey-timeline {
    display: flex;
    flex-direction: column;
  }

  .journey-timeline #hero-cards {
    width: 100%;
    margin: 10px 0;
    height: auto;
    min-height: 150px;
  }

  .journey-timeline .text {
    position: relative;
    padding: 20px;
  }

  .journey-timeline .text h1 {
    font-size: 2rem;
    margin-bottom: 10px;
  }
}

/* Mission Section */
@media screen and (max-width: 768px) {
  .container .row .col-8 {
    width: 100%;
    padding: 0 20px;
  }

  .container .row .col-8 h1 {
    font-size: 2.5rem !important;
    text-align: left;
  }

  .container .row .col-8 p {
    font-size: 1rem !important;
    text-align: left;
  }
}

/* Core Values & Culture Section */
@media screen and (max-width: 768px) {
  .container .mission-cards {
    display: flex;
    flex-direction: column;
  }

  .container .row #hero-cards {
    width: 100%;
    margin: 10px 0;
    height: auto;
    min-height: 150px;
  }

  .container .row #hero-cards .text {
    position: relative;
    padding: 20px;
  }

  .container .row #hero-cards .text h1 {
    font-size: 1.75rem;
    margin-bottom: 10px;
  }
}

/* Awards & Recognition Section */
@media screen and (max-width: 768px) {
  .awards-recognition .row {
    display: flex;
    flex-direction: column;
  }

  .awards-recognition #hero-cards {
    width: 100%;
    margin: 10px 0;
    height: auto;
    min-height: 150px;
  }

  .awards-recognition .text {
    position: relative;
    padding: 20px;
  }

  .awards-recognition h1.mb-5 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem !important;
  }
}

/* General Container Spacing */
@media screen and (max-width: 768px) {
  .container {
    padding: 0 15px;
  }

  .my-5 {
    margin-top: 3rem !important;
    margin-bottom: 3rem !important;
  }

  .py-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }

  /* Improve spacing between stacked cards */
  .row {
    margin-left: 0;
    margin-right: 0;
  }

  /* Add margin between stacked elements */
  .col {
    margin-bottom: 15px;
  }

  /* Ensure text remains readable */
  .text br {
    display: none;
  }
}
