@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;700&display=swap');

body {
  margin: 0;
  background: url('bg2.png') no-repeat center center fixed;
  background-size: cover;
  color: black;
  font-family: 'Space Grotesk', sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}


header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: transparent;
  z-index: 1000;
  padding: 1rem 0;
  transition: top 0.3s;
}

.header-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.header-logo {
  height: 120px;
  width: auto;
}

header h1 {
  margin: 0;
  font-size: 3rem;
  color: #00ffff;
  text-align: center;
  text-shadow: 0 0 10px #00ffff;
}

.container {
  text-align: center;
  padding-top: 50px;
  padding-bottom: 80px;
}

nav {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: float 3s ease-in-out infinite;
  color: black;
  text-decoration: none;
}

nav a:hover img {
  filter: drop-shadow(0 0 15px #9dd2ff);
}

nav a .logo {
  width: 320px;
  height: auto;
  filter: drop-shadow(0 0 10px white);
  transition: transform 0.5s ease;
}

nav a .logo:hover {
  transform: scale(1.1);
}

.logo-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 320px;
}

.logo-label {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translate(-50%, -110%);
  background: rgba(255, 30, 228, 0.2);
  color: #ff1ee4;
  padding: 5px 12px;
  border-radius: 8px;
  font-size: 0.9rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  pointer-events: none;
  white-space: nowrap;
}

.logo-wrapper:hover .logo-label {
  opacity: 1;
  visibility: visible;
}

.logo-description {
  margin-top: 1rem;
  font-size: 1.05rem;
  line-height: 1.5;
  max-width: 300px;
  color: black;
}

.founders-section {
  padding: 60px 20px;
  text-align: center;
  background: none;
}

.founders-section h2 {
  font-size: 2.5rem;
  color: #ff1ee4;
  margin-bottom: 40px;
}

.founders-section p.final-message {
  margin-top: 40px;
  font-size: 1.2rem;
  color: black;
}

.founders-container {
  display: flex;
  justify-content: center;
  gap: 100px; 
  flex-wrap: wrap;
  margin-top: 40px; 
  margin-bottom: 40px; 
}

.founder-card {
  width: 250px;
  height: 320px;
  perspective: 1000px;
}

.card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s ease;
  transform-style: preserve-3d; 
  -webkit-transform-style: preserve-3d; 
}

.founder-card:hover .card-inner {
  transform: rotateY(180deg) scale(1.05);
}

.card-front, .card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid black;
}

.card-back h3 {
  font-size: 1.5rem; 
  margin: 0;
  text-align: center;
}

.card-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.card-back {
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  justify-content: center; 
  align-items: center; 
  text-align: center;
  padding: 10px;
}

.card-back .icons i {
  font-size: 1.8rem; 
  margin: 8px;
}


.footer-links {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: black;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.footer-links a:hover {
  color: #ff1ee4;
  text-shadow: 0 0 10px #ff1ee4;
}

.footer-links a:nth-child(4) {
  background: linear-gradient(90deg,#e40303,#7c6c57,#ffed00,#008026,#004dff,#750787);
  background-size: 400%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: rainbowAnimation 2s linear infinite;
  font-weight: bold;
}

@keyframes rainbowAnimation {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

.social-icons {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.social-icons a {
  color: black;
  font-size: 2rem;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.social-icons a:hover {
  color: #ff1ee4;
  text-shadow: 0 0 10px #ff1ee4;
}

p {
  font-size: 1.2rem;
  color: black;
  text-align: center;
}

@keyframes float {
  0%   { transform: translateY(0px); }
  50%  { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

.hide-header {
  top: -120px;
}
.explore-text {
  margin-top: -20px;
  font-size: 1.2rem;
  color: black;
}

@keyframes flyAway {
  0% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate(-200px, -200px) scale(0.2);
    opacity: 0;
  }
}

.logo-fly {
  animation: flyAway 1s ease forwards;
}
.language-switcher {
  position: absolute;
  top: 20px;
  right: 30px;
  display: flex;
  gap: 10px;
  z-index: 1001;
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 5px;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 5px 10px;
  border-radius: 20px;
  color: black;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9rem;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.lang-option img {
  width: 20px;
  height: auto;
  border-radius: 50%;
}

.lang-option:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}
.scroll-element {
  opacity: 0;
  transform: translateY(60px);
  transition: all 1.8s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.scroll-element.visible {
  opacity: 1;
  transform: translateY(0);
}
.scroll-element {
  will-change: opacity, transform;
}
header {
  transition: opacity 0.3s ease;
}

header.hidden {
  opacity: 0;
  pointer-events: none;
}

.group-intro {
  max-width: 900px;
  margin: 180px auto;
  padding: 0 20px;
  text-align: center;
}

.group-intro h2 {
  font-size: 3.5rem;
  color: #ff1ee4;
  margin-bottom: 20px;
}

.group-intro p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 15px;
  color: black;
}

.home-button {
  display: inline-block;
  padding: 12px 24px;
  background-color: #ff1ee4;
  color: white;
  text-decoration: none;
  font-weight: bold;
  border-radius: 30px;
  transition: background-color 0.3s, transform 0.3s;
  box-shadow: 0 0 15px #ff1ee4;
  margin: 40px auto;
}

.home-button:hover {
  background-color: #e600c7;
  transform: scale(1.05);
}

.logo-card-link {
  display: inline-block;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

.logo-wrapper {
  border: 1px solid rgba(255, 255, 255, 0.4); 
  background-color: rgba(255, 255, 255, 0.05); 
  padding: 20px;
  border-radius: 16px;
  transition: all 0.3s ease;
  text-align: center;
  cursor: pointer;
  max-width: 400px;
  margin: 20px auto;
}

.logo-wrapper:hover {
  border-color: rgba(255, 255, 255, 0.8);
  background-color: rgba(255, 255, 255, 0.12);
  transform: scale(1.02);
}

.logo-wrapper img {
  max-width: 100px;
  height: auto;
  margin-bottom: 10px;
}

.logo-description {
  font-size: 16px;
  line-height: 1.4;
  margin-top: 10px;
}

.logo-cards {
  display: flex;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
  padding: 0px 0;
}

.logo-card-link {
  text-decoration: none;
  color: inherit;
}

.logo-wrapper {
  border: 1px solid rgba(255, 255, 255, 0.4);
  background-color: rgba(255, 255, 255, 0.07);
  border-radius: 20px;
  padding: 30px;
  width: 380px;
  text-align: center;
  transition: all 0.3s ease;
}

.logo-wrapper:hover {
  border-color: rgba(255, 255, 255, 0.9);
  background-color: rgba(255, 255, 255, 0.13);
  transform: scale(1.02);
}

.logo-wrapper img {
  max-width: 130px;
  height: auto;
  margin-bottom: 20px;
}

.logo-description {
  font-size: 16px;
  line-height: 1.6;
  margin-top: 15px;
  color: black;
}

h1 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: #ff1ee4;
  margin: 30px 0;
}

.carousel-wrapper {
  position: relative;
  max-width: 100%;
  overflow: hidden;
  height: 500px; 
  perspective: 1000px;
}

.carousel {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 1s;
}

.carousel-item {
  position: absolute;
  top: 50%;
  left: 50%;
  transform-style: preserve-3d;
  transform-origin: center center;
  transition: transform 0.6s, opacity 0.6s;
  border-radius: 12px;
  overflow: hidden;
  background: white;
  cursor: pointer;
}

.carousel-item img {
  display: block;
  width: 300px;
  height: auto;
  object-fit: contain; 
}

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.3);
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background 0.3s ease;
}

.arrow:hover {
  background: rgba(255,255,255,0.6);
}

.arrow svg {
  width: 24px;
  height: 24px;
  fill: black;
}

.arrow.left {
  left: calc(50% - 550px); 
}

.arrow.right {
  left: calc(50% + 500px);
}


.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.8);
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-content {
  position: relative;
  max-width: 80%;
  max-height: 80%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent; 
  padding: 20px;
}

.modal-content img {
  width: 100%;
  height: auto;
  object-fit: contain;
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 12px;
}

.close-btn {
  position: absolute;
  top: -80px;
  right: -30px;
  background: white;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 20px;
  font-weight: bold;
  color: black;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.contact-info {
  text-align: center;
  font-size: 16px;
  margin-top: 40px;
  color: #333;
  line-height: 1.6;
  padding: 0 20px;
}

.contact-info p {
  margin: 0;
}

.contact-info a {
  color: #ff1ee4;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  h1 {
    font-size: 36px;
    margin: 20px 0;
  }
  .carousel-wrapper {
    height: 350px;
  }
  .carousel-item img {
    width: 200px;
  }
  .arrow {
    width: 40px;
    height: 40px;
  }
  .arrow svg {
    width: 20px;
    height: 20px;
  }
  .close-btn {
    top: -50px;
    right: -20px;
    width: 35px;
    height: 35px;
  }
  .contact-info {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 28px;
  }
  .carousel-wrapper {
    height: 280px;
  }
  .carousel-item img {
    width: 160px;
  }
  .contact-info {
    font-size: 13px;
    padding: 0 10px;
  }
}
.services-section {
  padding: 40px 20px;
  display: flex;
  justify-content: center;
}

.services-container {
  display: flex;
  justify-content: center;
  gap: 120px; 
  flex-wrap: wrap;
  max-width: 1000px;
  margin: 0 auto;
}

.service-card {
  width: 200px;
  height: 250px;
  perspective: 1000px; 
  position: relative;   
}

.service-card .card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s ease;
  transform-style: preserve-3d;
}

.service-card:hover .card-inner {
  transform: rotateY(180deg); 
}

.card-front,
.card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  backface-visibility: hidden;       
  -webkit-backface-visibility: hidden; 
  box-sizing: border-box;
}

.card-front h3 {
  font-size: 1.1rem;
  color: #ff1ee4;
  margin-bottom: 10px;
}

.card-back {
  color: #ff1ee4;
  transform: rotateY(180deg);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
  text-align: center;
  word-wrap: break-word;
  font-size: clamp(0.6rem, 2vw, 0.85rem); 
  line-height: 1.2;
  overflow: hidden; 
}

@media (max-width: 1024px) {
  .service-card {
    width: 40%;
    margin-bottom: 20px;
  }
}

@media (max-width: 768px) {
  .service-card {
    width: 80%;
    margin-bottom: 20px;
  }
}

h1, h2, h3, h4, h5, h6, p, b {
  margin: 0;
  padding: 0;
}

p {
  margin-bottom: 1rem; 
}

h2 {
  margin-bottom: 0.5rem; 
}

h3 {
  margin-bottom: 0.5rem;
}

b {
  display: block; 
  margin-bottom: 0.5rem;
}
.group-intro {
  padding: 40px 10px;
}

.services-section {
  padding: 40px 10px;
}

.founders-section {
  padding: 60px 0px;
}

.superstar-carousel {
  padding: 0px 0px; 
}

.explore-text {
  margin: 10px 0; 
  padding: 0;       
}

footer {
  padding: 0px 0px;
}

.intro-text {
  margin-top: 5px;    
  margin-bottom: -200px; 
  padding: 0;          
}

.group-intro.scroll-element {
  padding-top: 20px;      
  padding-bottom: 20px;   
  margin-bottom: 20px;    
}

.logo-section {
  padding-bottom: 40px;   
  margin-bottom: 40px;    
}