.logo a{
  text-decoration:none;
  color:#ffffff;
}

.logo a:hover{
  opacity:0.9;
}


*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:'Poppins',sans-serif;
}

body{
  background:#0f172a;
  color:#fff;
  overflow-x:hidden;
  scroll-behavior:smooth;
}

.center-text{
  text-align:center;
  color:#cbd5f5;
}

/* HEADER */
header{
  position:fixed;
  top:0;
  width:100%;
  padding:15px 50px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  background:rgba(15,23,42,0.85);
  backdrop-filter:blur(10px);
  z-index:1000;
}

header h1{
  color:#38bdf8;
}

.center-heading {
  text-align: center;
}
/* NAV */
nav{
  display:flex;
  align-items:center;
}

nav a{
  margin-left:25px;
  text-decoration:none;
  color:#fff;
  position:relative;
}

nav a::after{
  content:'';
  position:absolute;
  width:0;
  height:2px;
  background:#38bdf8;
  left:0;
  bottom:-5px;
  transition:0.3s;
}

nav a:hover::after{
  width:100%;
}

/* MENU BUTTON */
.menu-btn{
  display:none;
  font-size:30px;
  background:none;
  border:none;
  color:#fff;
  cursor:pointer;
}

/* HERO */
.hero{
  height:100vh;
  display:flex;
  align-items:center;
  padding:0 80px;
  background:
    radial-gradient(circle at top right,#38bdf8,transparent 40%),
    radial-gradient(circle at bottom left,#6366f1,transparent 40%);
}

.hero-content{
  max-width:600px;
  animation:slideIn 1.2s ease;
}

.hero h2{
  font-size:48px;
}

.hero span{
  color:#38bdf8;
}

.hero p{
  margin:20px 0;
  color:#cbd5f5;
}

.btn{
  padding:12px 30px;
  background:#38bdf8;
  color:#000;
  border-radius:30px;
  font-weight:600;
  text-decoration:none;
}

/* SECTIONS */
section{
  padding:100px 80px;
}

.section-title{
  text-align:center;
  font-size:36px;
  margin-bottom:50px;
}

.section-title::after{
  content:'';
  width:80px;
  height:4px;
  background:#38bdf8;
  display:block;
  margin:10px auto;
}

/* CARDS */
.cards{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:30px;
}

.card{
  background:#020617;
  border-radius:20px;
  padding:30px;
  text-align:center;
  opacity:0;
  transform:translateY(50px);
  transition:0.6s;
}

.card.show{
  opacity:1;
  transform:translateY(0);
}

.card img{
  width:80px;
}

.apply-btn{
  display:inline-block;
  margin-top:15px;
  padding:10px 22px;
  border:2px solid #38bdf8;
  color:#38bdf8;
  border-radius:25px;
  text-decoration:none;
}

/* TEAM */
.team{
  background:#020617;
}

.members{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
  gap:40px;
  text-align:center;
}

.member{
  opacity:0;
  transform:scale(0.8);
  transition:0.6s;
}

.member.show{
  opacity:1;
  transform:scale(1);
}

.member img{
  width:120px;
  height:120px;
  border-radius:50%;
  border:4px solid #38bdf8;
}




/* FORM */
form{
  max-width:500px;
  margin:auto;
  display:flex;
  flex-direction:column;
  gap:15px;
}

input, textarea{
  padding:12px;
  border-radius:10px;
  border:none;
}

/* FAQ */
/* ===== FAQ ACCORDION ===== */
.faq-box{
  max-width:900px;
  margin:auto;
}

.faq-item{
  background:#6d63e6;
  border-radius:6px;
  margin-bottom:15px;
  overflow:hidden;
}

.faq-question{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:16px 20px;
  cursor:pointer;
  font-weight:600;
  color:#fff;
}

.faq-question .icon{
  font-size:22px;
}

.faq-answer{
  background:#fff;
  color:#333;
  padding:18px 20px;
  display:none;
  line-height:1.6;
}

.faq-item.active .faq-answer{
  display:block;
}

/* FOOTER */
/* ===== FOOTER ===== */
.site-footer{
  background:linear-gradient(135deg,#9d7bd8,#5e48ec);
  color:#fff;
  margin-top:80px;
}

.footer-content{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:40px;
  padding:70px 80px;
}

.footer-box h3{
  margin-bottom:15px;
  position:relative;
}

.footer-box h3::after{
  content:'';
  width:50px;
  height:3px;
  background:#fff;
  display:block;
  margin-top:6px;
}

.footer-box p{
  font-size:14px;
  line-height:1.7;
  color:#f1f5f9;
}

.footer-box ul{
  list-style:none;
}

.footer-box ul li{
  margin-bottom:10px;
  font-size:14px;
}

.footer-box ul li a{
  text-decoration:none;
  color:#f1f5f9;
  transition:0.3s;
}

.footer-box ul li a:hover{
  padding-left:5px;
  color:#fff;
}

.social-links li{
  display:flex;
  align-items:center;
  gap:10px;
}

/* Footer bottom */
.footer-bottom{
  text-align:center;
  padding:18px;
  font-size:14px;
  background:rgba(0,0,0,0.15);
}

/* Responsive */
@media(max-width:768px){
  .footer-content{
    padding:50px 20px;
    text-align:center;
  }

  .social-links li{
    justify-content:center;
  }
}


/* ANIMATION */
@keyframes slideIn{
  from{opacity:0;transform:translateX(-70px);}
  to{opacity:1;transform:translateX(0);}
}

/* RESPONSIVE */
@media(max-width:768px){
  header{
    padding:15px 20px;
  }

  .menu-btn{
    display:block;
  }

  nav{
    position:absolute;
    top:70px;
    right:20px;
    background:#020617;
    width:230px;
    padding:20px;
    border-radius:15px;
    flex-direction:column;
    display:none;
  }

  nav.active{
    display:flex;
  }

  nav a{
    margin:12px 0;
  }

  section{
    padding:80px 20px;
  }

  .hero{
    padding:0 20px;
  }
}


/* logo */
/* .logo img {
  height: 50px;
  width: auto;
  display: block;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 40px;
  width: auto;
} */

/* new */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 40px;
  width: auto;
  display: block;

  /* Slightly rounded corners */
  border-radius: 6px;

  /* Very subtle shadow */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}


/* ============================= */
/*       WELCOME POPUP           */
/* ============================= */

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  background: rgba(20, 10, 40, 0.45);

  display: flex;
  justify-content: center;
  align-items: center;

  z-index: 99999;

  backdrop-filter: blur(3px);
}


/* Popup Box */

.popup-box {
  position: relative;

  width: 600px;
  max-width: 90%;

  min-height: 350px;

  background: #e8f3f7;

  border-radius: 20px;

  display: flex;
  align-items: center;

  padding: 40px;

  box-shadow:
    0 15px 35px rgba(0, 0, 0, 0.18);

  animation: popupShow 0.35s ease;
}


/* Left Image */

.popup-image {
  width: 50%;

  display: flex;
  justify-content: center;
  align-items: center;
}

.popup-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    border-radius: 150px;

    display: block;
}


/* Right Content */

.popup-content {
  width: 50%;

  padding-left: 20px;
}

.popup-content h2 {
  font-size: 28px;

  font-weight: 400;

  color: #444;

  margin: 0 0 10px;
}

.popup-content p {
  font-size: 14px;

  color: #555;

  margin-bottom: 20px;
}


/* Button */

.popup-btn {
  display: inline-block;

  padding: 9px 45px;

  background: #6c5ce7;

  color: white;

  text-decoration: none;

  border-radius: 25px;

  font-size: 17px;

  font-weight: 600;

  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.18);

  transition: 0.2s;
}

.popup-btn:hover {
  transform: translateY(-2px);

  background: #5b4bd5;
}


/* Close Button */

.popup-close {
  position: absolute;

  top: 20px;
  right: 20px;

  width: 40px;
  height: 40px;

  border: none;

  border-radius: 50%;

  background: #f7f7f7;

  color: #555;

  font-size: 25px;

  cursor: pointer;

  display: flex;

  justify-content: center;
  align-items: center;
}

.popup-close:hover {
  background: #ddd;
}


/* Animation */

@keyframes popupShow {

  from {
    opacity: 0;
    transform: scale(0.9);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }

}



/* =========================
   POPUP OVERLAY
========================= */

.popup-overlay {
    position: fixed;
    inset: 0;

    display: none;

    justify-content: center;
    align-items: center;

    /* Transparent dark overlay */
    background: rgba(0, 0, 0, 0.25);

    z-index: 99999;
}

.popup-box {
    background: rgba(232, 243, 247, 0.55);
    border-radius: 20px;

    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.18);

    
}

/* ============================= */
/*        MOBILE DESIGN          */
/* ============================= */

@media (max-width: 600px) {

  .popup-box {
    width: 90%;

    min-height: auto;

    padding: 30px 20px;

    flex-direction: column;

    text-align: center;
  }

  .popup-image {
    width: 100%;
  }

  .popup-image img {
    width: 180px;
    height: 180px;
  }

  .popup-content {
    width: 100%;

    padding-left: 0;

    margin-top: 15px;
  }

  .popup-content h2 {
    font-size: 24px;

  }

}
