/* Style.css */
@import url('https://fonts.googleapis.com/css2?family=Philosopher:ital,wght@0,400;0,700;1,400;1,700&family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Quicksand:wght@300..700&family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Fauna+One&display=swap');

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(1.25rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}




body {
  margin: 0;
  font-family: "Fauna One", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: #101010;
  color: #f0f0f0;
  line-height: 1.6;
  scrollbar-color: #00bfa5 #1a1a1a;
  scrollbar-width: thin;
  scroll-behavior: smooth;
}



.container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 2.5rem;
}
/* Toggler Button  */
/* Toggle Button */
    .toggle-btn {
      display: none;
      flex-direction: column;
      justify-content: center;
      cursor: pointer;
    }

    .toggle-btn span {
      height: 0.1875rem;
      width: 1.5625rem;
      background-color: #333;
      margin: 0.25rem 0;
      transition: 0.4s;
    }

    /* Mobile Responsive */
    @media (max-width: 48rem) {
      nav {
        display: none;
        flex-direction: column;
        width: 100%;
        margin-top: 0.625rem;
      }

      nav.show {
        display: flex;
      }

      .toggle-btn {
        display: flex;
        
        position: absolute;
        top: 1.25rem;
        right: 1.25rem;
      }
    }
header {
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(0.625rem);
  -webkit-backdrop-filter: blur(0.625rem);
  padding: 1.5rem 0;
  border-bottom: 0.0625rem solid #1a1a1a;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 0.375rem 1.25rem rgba(0, 191, 165, 0.4);
}

body::before {
  content: "";
  display: block;
  height: 5.25rem; /* Empowering and navbar gap */
}
header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
nav {
  display: flex;
  align-items: center;
  gap: 1.5rem; /* space between items */
}

nav a {
  color: #f0f0f0;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.3s ease;
  position: relative;
  padding: 0.5rem 0; /* vertical click area */
}

ul a::after {
  content: '';
  position: absolute;
  bottom: -0.3125rem;
  left: 0;
  width: 0;
  height: 0.125rem;
  background: #00aeef;
  transition: width 0.3s ease;
}

a:hover::after {
  width: 100%;
}
a:hover {
  color: #00aeef;
}


/**/
header .container {
  display: flex;
  align-items: center;
  position: relative;
}

#navMenu {
  display: flex;
  flex: 1;
  align-items: center;
  position: relative;
}

.nav-center {
  display: flex;
  gap: 2rem;
  position: absolute;
  left: 45%;
  transform: translateX(-50%);
}

.nav-center > .dropdown {
  display: flex;
  align-items: center;
}

.nav-center > .dropdown > a {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0;
}

.dropdown i {
  font-size: 0.7rem;
  margin-top: 2px;
}

.nav-right {
  margin-left: auto;
}

.nav-right a {
  background: linear-gradient(135deg, #00bfa5, #00aeef);
  padding: 0.5rem 1.2rem;
  border-radius: 1.5rem;
  font-weight: bold;
  color: #fff;
  transition: background 0.3s ease, transform 0.2s ease;
}

.nav-right a:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #00aeef, #00bfa5);
}

/**/
/**/


.features .card a{
  color: white;
  text-decoration: none;
} 


.hero {
  background: linear-gradient(135deg, #00bfa5, #00aeef),
              radial-gradient(circle at top right, rgba(0,174,239,0.8), transparent 70%),
              radial-gradient(circle at bottom left, rgba(0,191,165,0.8), transparent 70%);
  padding: 7.5rem 0;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><rect width="1" height="1" fill="rgba(255,255,255,0.05)"/></svg>');
  opacity: 0.3;
}
.hero h1 {
  font-size: 3.25rem;
  margin-bottom: 1.25rem;
  max-width: 50rem;
  margin-inline: auto;
}
.hero p {
  font-size: 1.25rem;
  max-width: 45rem;
  margin-inline: auto;
  
}


.section {
  padding: 3.125rem 0;
  text-align: center;
  animation: fadeInUp 0.8s ease-out;
  font-family: "Quicksand", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}
.section h2 {
  font-size: 2.25rem;
  color: #00bfa5;
  margin-bottom: 1.875rem;
  font-family: "Philosopher", sans-serif;
  font-weight: 400;
  font-style: normal;
}
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.875rem;
  margin-top: 1.875rem;
}
.card {
  background: #1a1a1a;
  padding: 1.875rem;
  border-radius: 0.75rem;
  text-align: left;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
background: linear-gradient(45deg, transparent, rgba(93, 200, 204, 0.1), transparent);
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0 ;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent, rgba(0, 191, 165, 0.1), transparent);
  transform: translateX(-100%);
  transition: 0.6s;
}

.card:hover::before {
  transform: translateX(100%);
  background: none;
}
.card:hover {
  transform: translateY(-0.5rem);
  background-color: #222;
  box-shadow: 0 0 1.25rem #00bfa5;
  cursor: pointer;
}
#summary{
  font-weight:bold;
  font-size: larger;
  text-align:right ;
  padding-bottom: 0rem;
  margin-bottom: 0%;
}
.placeholder-img {
  border-radius: 0.5rem;
  margin-bottom: 1.25rem;
  min-height: 11.25rem;
}
.teammember{
  margin-top: 0.9375rem;
}
img{
  width: 80%;
  height: 80%;
  object-fit: fill;
  border-radius: 1rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.carousel-wrapper {
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  max-width: 68.75rem;
  margin: 0 auto;
  width: 100%;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.carousel-wrapper::-webkit-scrollbar {
  display: none;
}

.carousel-track {
  display: flex;
  gap: 20px;
  padding: 20px;
}
.carousel-card {
  flex: 0 0 280px;
  margin: 0;
  background: #1a1a1a;
  padding: 1.25rem;
  border-radius: 0.75rem;
  text-align: center;
  border: 0.0625rem solid rgba(0, 191, 165, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0.25rem 1.25rem rgba(0, 0, 0, 0.2);
  scroll-snap-align: center;
}

/* Mobile-specific carousel styles */
@media (max-width: 768px) {
  .carousel-wrapper {
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  
  .carousel-track {
    gap: 15px;
    padding: 15px;
  }
  
  .carousel-card {
    flex: 0 0 85vw;
    min-width: 280px;
    max-width: 350px;
    scroll-snap-align: center;
  }
}

.carousel-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent, rgba(0, 191, 165, 0.1), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.carousel-card:hover::before {
  transform: translateX(100%);
}

.carousel-card:hover {
  transform: translateY(-0.3125rem);
  box-shadow: 0 0.625rem 1.875rem rgba(0, 191, 165, 0.3);
  border-color: rgba(0, 191, 165, 0.5);
}

.carousel-card .img {
  width: 100%;
  height: 250px;
  margin-bottom: 1rem;
  overflow: hidden;
  border-radius: 0.5rem;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  background: #f8f8f8;
}

.carousel-card .img img {
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 0.5rem;
  transition: transform 0.3s ease;
}

.carousel-card:hover .img img {
  transform: scale(1.05);
}

.carousel-card .teammember {
  color: #f0f0f0;
  font-size: 0.9rem;
  line-height: 1.4;
}

.carousel-card .teammember strong {
  color: #00bfa5;
  font-size: 1.1rem;
  display: block;
  margin-bottom: 0.5rem;
}
/* Mobile carousel optimizations */
@media (max-width: 768px) {
  .carousel-wrapper {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
  }
  
  .carousel-track {
    gap: 10px;
    padding: 0 10px;
  }
  
  .carousel-card {
    flex: 0 0 85%;
    min-width: 280px;
    scroll-snap-align: center;
  }
}

/* Desktop carousel styles */
@media (min-width: 769px) {
  .carousel-card {
    flex: 0 0 280px;
  }
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  padding: 1rem;
  margin-bottom: 6.25rem;
  align-items: center;
  justify-content: center;
}
form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
input,
textarea {
  padding: 0.9375rem 1.25rem;
  border: 0.0625rem solid #444;
  border-radius: 1.875rem;
  font-size: 1rem;
  background: #fff;
  color: #000;
  transition: all 0.3s ease;
  box-shadow: inset 0 0 0 0.0625rem rgba(0, 191, 165, 0.1);
}

input:focus,
textarea:focus {
  outline: none;
  box-shadow: inset 0 0 0 0.125rem #00bfa5;
  transform: translateY(-0.125rem);
}
input:invalid {
  border: 0.125rem solid #f44336;
}

textarea {
  border-radius: 1.25rem;
  height: 9.375rem;
  resize: vertical;
}

#contact-grid-btn {
  padding: 0.9375rem 1.875rem;
  border: none;
  border-radius: 1.875rem;
  background: linear-gradient(to right, #5f2c82, #49a09d);
  color: white;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  width: fit-content;
  transition: background 0.3s ease, transform 0.2s ease;
}
#contact-grid-btn:hover {
  transform: translateY(-0.1875rem);
}
.call-contact {
  font-size: 1.125rem;
  background: linear-gradient(145deg, #121212, #0a0a0a);
  border: 0.0625rem solid #1f1f1f;
  border-radius: 1.25rem;
  box-shadow: 0 0 1.875rem rgba(0, 191, 165, 0.15);
  color: #f0f0f0;
  line-height: 1.8;
  max-width: 43.75rem;
  margin-inline: auto;
  transition: all 0.3s ease;
  gap: 0.875rem;
  background: #2a2a2a;
  border-radius: 0.5rem;
  margin: 1.25rem;
  padding: 2.5rem;
  min-height: 7.5rem;
  text-align: left;
}
.svg{
  font-size: x-large
}
.line{
  width: 100%;
  height: 0.125rem;
  background-color: #2a2a2a;
}

.call-contact a {
  color: #00e6c3;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.call-contact a:hover {
  color: #00aeef;
  text-shadow: 0 0 0.375rem #00aeef;
}

.call-contact br {
  display: none;
}

.scroll-top {
  position: fixed;
  bottom: 3.125rem;
  right: 1.875rem;
  width: 2.5rem;
  height: 2.5rem;
  cursor: pointer;
  z-index: 1001;
  filter: invert(1) brightness(1.3);
  opacity: 0.8;
  transition: all 0.3s ease;
  transform: rotate(180deg);
  display: none;
}
.scroll-top:hover {
  opacity: 1;
  filter: drop-shadow(0 0 0.625rem #00bfa5) brightness(1.5);
}
.footer {
  background: #0a0a0a;
  padding: 2.5rem 0;
  text-align: center;
  font-size: 0.875rem;
  color: #888;
  border-top: 0.0625rem solid #1a1a1a;
  margin-top: 3.75rem;
}

@media (max-width: 48rem) {
  .section .contact-grid {
    display: block;
    margin: 0%;
    padding: 0%;
  }
  #contact-grid-btn {
    justify-items: center;
    align-items: center;
    width: 100%;
  }
  .features {
    grid-template-columns: repeat(1, 1fr); /* 1 per row on small screens */
  }
  .carousel-card {
    flex: 0 0 80%;
    margin: 0 0.625rem;
  }
}
#contact-grid-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: 0.5s;
}

#contact-grid-btn:hover::before {
  left: 100%;
}

.call-contact {
  font-size: 1.125rem;
  margin-top: 3.75rem;
  padding: 3.75rem 3.75rem;
  background: linear-gradient(145deg, #121212, #0a0a0a);
  border: 0.0625rem solid #1f1f1f;
  border-radius: 1.25rem;
  box-shadow: 0 0 1.875rem rgba(0, 191, 165, 0.15);
  color: #f0f0f0;
  line-height: 1.8;
  max-width: 43.75rem;
  margin-inline: auto;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.call-contact a {
  color: #00e6c3;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.call-contact a:hover {
  color: #00aeef;
  text-shadow: 0 0 0.375rem #00aeef;
}

/* .call-contact br {
  display: none;
} */

.scroll-top {
  position: fixed;
  bottom: 3.125rem;
  right: 1.875rem;
  width: 2.5rem;
  height: 2.5rem;
  cursor: pointer;
  z-index: 1001;
  filter: invert(1) brightness(1.3);
  opacity: 0.8;
  transition: all 0.3s ease;
  transform: rotate(180deg);
  display: none;
}
.scroll-top:hover {
  opacity: 1;
  filter: drop-shadow(0 0 0.625rem #00bfa5) brightness(1.5);
}
.footer {
  background: #0a0a0a;
  padding: 2.5rem 0;
  text-align: center;
  font-size: 0.875rem;
  color: #888;
  border-top: 0.0625rem solid #1a1a1a;
  margin-top: 3.75rem;
}

.footer .links {
  display: flex;
  justify-content: center;
  gap: 1.875rem; /* space between icons */
  margin-bottom: 0.625rem;
}

.footer .links a {
  color: #fff; /* white icons */
  font-size: 2rem;
  transition: all 0.3s ease;
}

.footer .links a:hover {
  color: #00bfa5; /* gold on hover */
  transform: scale(1.2); /* slight zoom on hover */
}
/* MODAL STYLING */
/* MODAL STYLING - FIXED VERSION */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  z-index: 999;
  display: none;
}

.modal-overlay.active {
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-expand {
  position: relative;
  background: #2a2a2a;
  padding: 1.5rem;
  border-radius: 0.75rem;
  border: 0.0625rem solid rgba(0, 191, 165, 0.1);
  z-index: 1000;
  max-width: 32rem;
  width: 85%;
  max-height: 80vh;
  box-shadow: 0 0.625rem 2.5rem rgba(0, 0, 0, 0.3);
  text-align: center;
  font-family: "Quicksand", sans-serif;
  overflow-y: auto;
  font-size: 15px;
  line-height: 1.4;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal-expand:not(.active) {
  display: none;
}

.modal-expand.active {
  display: block;
}

.modal-expand img {
  width: 70%;
  max-width: 10rem;
  height: auto;
  margin: 1rem auto;
  border-radius: 0.75rem;
  display: block;
}

.modal-expand h1 {
  color: #00bfa5;
  margin-bottom: 0.5rem;
  font-family: "Philosopher", sans-serif;
  font-size: 1.5rem;
}

.modal-expand h4 {
  margin: 0.5rem 0;
  color: #ccc;
  font-size: 1rem;
}

.modal-expand p {
  padding-top: 1rem;
  animation: fadeInUp 0.6s ease-out;
  font-size: 15px;
  text-align: left;
  margin: 0 auto;
}

.modal-expand .close-btn {
  position: absolute;
  top: 0.625rem;
  right: 0.9375rem;
  font-size: 1.625rem;
  color: #aaa;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.3s ease;
}

.modal-expand .close-btn:hover {
  color: #00aeef;
}


@media (max-width: 37.5rem) {
  .modal-expand {
    width: 90%;
    height: auto;
    font-size: 14px;
    padding: 1rem;
    max-height: 85vh;
  }  

  .modal-expand img {
    width: 50%;
    max-width: 8rem;
    height: auto;
    margin: 0.5rem auto;
  }  

  .modal-expand p {
    padding: 0.5rem;
    font-size: 14px;
  }

  .modal-expand .close-btn {
    font-size: 1.8rem;
    top: 0.3rem;
    right: 0.5rem;
  }

  .modal-expand h1 {
    font-size: 1.2rem;
  }

  .modal-expand h4 {
    font-size: 0.9rem;
  }
}
/* ===== NAVBAR DROPDOWN STYLING (Smooth Animation) ===== */

@media (min-width:56.25rem) {
  
  .dropdown {
    position: relative;
  }
  
  .dropdown-content {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 240px;
    background: #1a1a1a;
    border-radius: 0.5rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    z-index: 1000;
    padding: 0.5rem 0;
    
    /* Animation defaults */
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  }
  
  .dropdown:hover > .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition-delay: 0.1s; /* smooth open delay */
  }
  
  .dropdown-sub {
    position: relative;
  }
  
  .dropdown-submenu {
    position: absolute;
    top: 0;
    left: 100%;
    min-width: 220px;
    background: #1a1a1a;
    border-radius: 0.5rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    padding: 0.5rem 0;
    
    /* Animation defaults */
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  }
  
  .dropdown-sub:hover > .dropdown-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition-delay: 0.1s;
  }
  
  .dropdown-content a,
  .dropdown-submenu a {
    color: #f0f0f0;
    padding: 0.7rem 1rem;
    display: block;
    text-decoration: none;
    font-weight: 500;
  }
  
  .dropdown-content a:hover,
  .dropdown-submenu a:hover {
    background: rgba(0, 191, 165, 0.15);
    color: #00bfa5;
  }
  
}

@media (max-width: 900px) {

  /* Hide desktop nav and show mobile hamburger */
  #navMenu {
    position: relative;
    background: #1a1a1a;
    padding: 0.5rem 1rem;
  }

  /* Hamburger button (you need to add this in your HTML or JS) */
  #navToggle {
    display: block;
    font-size: 1.8rem;
    color: #f0f0f0;
    cursor: pointer;
    user-select: none;
  }

  /* By default hide nav links - shown on toggle */
  #navMenu .nav-center,
  #navMenu .nav-right {
    display: none;
    flex-direction: column;
    margin-top: 1rem;
  }

  /* When nav is active (use JS to toggle this class) */
  #navMenu.active .nav-center,
  #navMenu.active .nav-right {
    display: flex;
  }

  /* Center nav links stacked */
  #navMenu .nav-center a,
  #navMenu .nav-right a {
    color: #f0f0f0;
    padding: 0.75rem 0;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid #333;
  }

  #navMenu .nav-center a:hover,
  #navMenu .nav-right a:hover {
    color: #00bfa5;
    background: rgba(0, 191, 165, 0.15);
  }

  /* Dropdown container */
  .dropdown {
    width: 100%;
  }

  /* Dropdown toggle link styles */
  .dropdown > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    color: #f0f0f0;
    font-weight: 600;
    cursor: pointer;
    border-bottom: 1px solid #333;
    text-decoration: none;
  }

  /* Dropdown content - initially hidden */
  .dropdown-content {
    display: none;
    flex-direction: column;
    padding-left: 1rem;
    border-left: 2px solid #00bfa5;
  }

  /* Dropdown submenu toggle link */
  .dropdown-sub > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    color: #ddd;
    cursor: pointer;
    font-weight: 500;
    text-decoration: none;
  }

  /* Dropdown submenu content - hidden by default */
  .dropdown-submenu {
    display: none;
    flex-direction: column;
    padding-left: 1rem;
    border-left: 2px solid #008c81;
  }

  /* Links inside dropdown-content and submenu */
  .dropdown-content a,
  .dropdown-submenu a {
    padding: 0.5rem 0;
    color: #ccc;
    font-weight: 400;
    text-decoration: none;
  }

  .dropdown-content a:hover,
  .dropdown-submenu a:hover {
    color: #00bfa5;
    background: rgba(0, 191, 165, 0.15);
  }

  /* Arrow icons rotate on open */
  .dropdown > a .fa-chevron-down,
  .dropdown-sub > a .fa-chevron-right {
    transition: transform 0.3s ease;
  }

  .dropdown.open > a .fa-chevron-down {
    transform: rotate(180deg);
  }

  .dropdown-sub.open > a .fa-chevron-right {
    transform: rotate(90deg);
  }
}

