/* ================================
   NAVBAR - COMMON STRUCTURE
================================ */
:root {
      --text: #f7f2ff;
      --muted: #d0c4e6;
      --blue: #5f8dff;
      --cyan: #74f0d8;
      --pink: #f45eea;
      --gold: #ffcc67;
      --rose: #ff9acc;
      --line: rgba(205, 140, 255, .22);
      --card: linear-gradient(180deg, rgba(28, 14, 47, .93), rgba(14, 12, 30, .98));
      --shadow: 0 0 0 1px rgba(192, 126, 255, .05), 0 24px 70px rgba(14, 6, 24, .5);
      --radius: 28px;
      --max: 1220px
    }

    * {
      box-sizing: border-box
    }
    
    .wrap {
    width: min(calc(100% - 28px), var(--max));
    margin: 0 auto;
}

a {
    text-decoration: none;
}
/* Navbar base */
.navbar {
  width: 100%;
  padding: 14px 0;  
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #220d30;
    border-bottom: 1px solid rgb(119 236 165);
}

/* bottom gradient line (color will override in page css) */
.navbar::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
}

/* layout */
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Arrow style */
.arrow {
  margin-left: 6px;
  font-size: 12px;
  transition: transform 0.3s ease;
  display: inline-block;
}

/* Rotate arrow on hover */
.dropdown:hover .arrow {
  transform: rotate(180deg);
}

/* Mobile arrow rotate when open */
.dropdown.active .arrow {
  transform: rotate(180deg);
}

/* logo */
/*.logo {*/
/*  font-size: 20px;*/
/*  font-weight: 700;*/
/*}*/
/*.logo-img {*/
  /*height: 45px;  */
/*  width: auto;*/
/*  object-fit: contain;*/
/*  display: block;*/
/*}*/

.logo img {
  width: 40%;
  height: auto;
}

/* Mobile */
@media (max-width: 768px) {
  .logo img {
    width: 50%;
  }
}
/* menu */
.nav-menu {
  list-style: none;
  display: flex;
  gap: 28px;
}

.nav-menu li a {
  position: relative;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  transition: 0.3s;
}

/* underline effect */
.nav-menu li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0%;
  height: 2px;
  transition: 0.3s ease;
}

.nav-menu li a:hover::after {
  width: 100%;
}

.no-scroll {
  overflow: hidden;
}

/* button */
.nav-btn {
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}

/* hamburger */
.menu-toggle {
  display: none;
  font-size: 26px;
  cursor: pointer;
  position: relative;
  z-index: 1001;
  color: white;
}

/* ================================
   DROPDOWN
================================ */

.dropdown {
  position: relative;
  width: 111px;
}

.dropdown-menu {
  position: absolute;
  top: 120%;
  left: 0;
  border-radius: 10px;
  padding: 10px 0;
  min-width: 200px;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: 0.3s;
  z-index: 999;
  background: #3a1d55;
}

.dropdown-menu li {
  list-style: none;
}

.dropdown-menu li a {
  display: block;
  padding: 10px 18px;
  font-size: 14px;
}

/* show dropdown */
.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ================================
   MOBILE
================================ */

@media (max-width: 768px) {

  .menu-toggle {
    display: block;
  }
  
    .nav-menu {
        position: fixed;
        /* changed from fixed */
        top: 15%;
        /* directly below navbar */
        right: -100%;
        left: 0;
        width: 100%;
        background: #0f172a;

        flex-direction: column;
        align-items: center;
        gap: 4px;

        max-height: 0;
        overflow-y: auto;
        transition: 0.4s ease;

        padding: 0;
    }

  .nav-menu.active {
    right: 0;  
    max-height: 310px;
    padding: 15px 0;
  }

  .nav-menu li {
    width: 100%;
    text-align: center;
  }

  .nav-menu li a {
    display: block;
    padding: 12px 0;
    font-size: 16px;
  }

  /* mobile dropdown */
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: hidden;
    padding: 0px 0;
    max-height: 0;
    overflow: hidden;
    transform: none;
    background: #623d842e;
  }

  .dropdown-menu.show {
    visibility: visible;
    max-height: 300px;
  }
}



/* ================================
   FOOTER - COMMON STRUCTURE
================================ */

/* Footer Grid */
.footer-wrap {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 50px;
  padding: 60px 0;
}

/* LOGO - Desktop */
.footer-col .logo {
  display: flex;
  justify-content: flex-start; /* left on desktop */
}

.brand-logo-footer {
  width: 50%;
  max-width: 220px;
  height: auto;
  display: inline;
}

/* Mobile */
@media (max-width: 768px) {

  .footer-wrap {
    grid-template-columns: 1fr; /* stack columns */
    text-align: center;
  }

  .footer-col .logo {
    justify-content: center; /* center logo */
  }

  .brand-logo {
    width: 70%;
    margin: 0 auto;
  }

  .footer-col {
    text-align: center;
  }
}

/* Text */
.footer-text {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 18px;
}

/* CONTACT */
.footer-contact p {
  margin: 6px 0;
  font-size: 14px;
}

/* SOCIAL */
.footer-social {
  margin-top: 16px;
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  transition: 0.3s;
}

/* LINKS */
.footer-col h4 {
  margin-bottom: 18px;
  font-size: 18px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  position: relative;
  transition: 0.3s;
}

/* underline animation */
.footer-col ul li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0%;
  height: 2px;
  transition: 0.3s;
}

.footer-col ul li a:hover::after {
  width: 100%;
}

/* COPYRIGHT */
.footer-bottom {
  padding: 16px 0;
}

.footer-bottom-wrap {
  display: flex;
  justify-content: space-between; /* LEFT + RIGHT */
  align-items: center;
  flex-wrap: wrap; /* responsive */
}

.payment-line {
  display: flex;
  gap: 12px;
  align-items: center;
}

.footer-bottom p {
  margin: 0;
  font-size: 14px;
}

.footer-mini-links {
  display: flex;
  gap: 18px;
}

.footer-mini-links a {
  font-size: 14px;
}

.nav {
      min-height: 84px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px
    }

    .brand {
      display: flex;
      align-items: center;
      gap: 14px;
      font-family: "Sora", sans-serif;
      font-weight: 800;
      letter-spacing: -.04em
    }

    .brand-mark {
      width: 50px;
      height: 50px;
      border-radius: 16px;
      display: grid;
      place-items: center;
      background: linear-gradient(135deg, var(--blue), var(--pink));
      box-shadow: 0 0 24px rgba(122, 110, 255, .24)
    }

    .brand-copy strong {
      display: block;
      font-size: 1.65rem;
      line-height: 1
    }

    .brand-copy span {
      display: block;
      color: #d8e1ff;
      font-size: .92rem
    }
    

/* ================================
   MOBILE
================================ */

@media (max-width: 768px) {
    .brand{
         justify-content: center;
         margin-top: 10px;
    }
  .footer-wrap {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
    padding: 10px;
  }

  .footer-bottom-wrap {
    flex-direction: column;
    gap: 10px;
  }

  .footer-social {
    justify-content: center;
  }
}


    /*contact model*/
    /* Overlay */
.contact-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* Box */
.contact-box {
  background: #210631;
  padding: 25px;
  border-radius: 12px;
  width: 90%;
  color: white;
  max-width: 500px;
  position: relative;
  animation: popup 0.3s ease;
}

@keyframes popup {
  from {transform: scale(0.8); opacity: 0;}
  to {transform: scale(1); opacity: 1;}
}

/* Close */
.close-btn {
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 22px;
  cursor: pointer;
}

/* Info */
.contact-info {
  margin: 10px 0 15px;
  font-size: 14px;
}

/* Form */
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #ddd;
  border-radius: 6px;
}

.contact-form button {
  width: 100%;
  padding: 10px;
  background: #949ddd;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
}

.contact-form button:hover {
  background: #818fef;
}

/*modals*/
.policy-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}
.policy-box {
  width: 90%;
  max-width: 700px;
  height: 80vh; /* FIXED HEIGHT */
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  overflow: hidden; /* IMPORTANT */

  background: linear-gradient(
    180deg,
    rgba(28, 14, 47, 0.95),
    rgba(14, 12, 30, 0.98)
  );

  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.policy-wrapper {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/*popup*/
.visitor-popup {
  position: fixed;
  left: 20px;
  bottom: 80px; 
  background: #fff;
  color: #000;
  width: 300px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  transform: translateY(120%);
  opacity: 0;
  transition: 0.4s ease;
  z-index: 9999;
}

.visitor-popup.show {
  transform: translateY(0);
  opacity: 1;
}

.visitor-img {
  width: 45px;
  height: 45px;
  border-radius: 8px;
  object-fit: cover;
}

.visitor-content strong {
  display: block;
  font-size: 14px;
  color: #7c3aed; /* purple like image */
}

.visitor-content p {
  margin: 2px 0;
  font-size: 13px;
}

.visitor-content span {
  font-size: 12px;
  color: gray;
}
@media(max-width:768px){
  .visitor-popup{
    left: 10px;
    right: 10px;
    width: auto;
    bottom: 60px;
  }
}

/*sticky button*/
/* Mobile Sticky CTA */
/* Wrapper controls position */
.mobile-cta-wrap {
  position: sticky;
  bottom: 0;
  width: 100%;
  padding: 10px;
  z-index: 9999;
}

/* Button */
.mobile-cta {
  display: block;
  width: 100%;
  text-align: center;

  background: linear-gradient(90deg, #7bffd4, #43ddff, #ff69bf);
  color: #061018;
  padding: 14px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 12px;
  text-decoration: none;

  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.mobile-cta-wrap {
  display: none;
}

@media (max-width: 768px) {
  .mobile-cta-wrap {
    display: block;
  }
}

/*.mobile-cta {*/
/*  position: fixed !important;*/
/*  bottom: 15px !important;*/
/*  left: 10px !important;*/
/*  right: 10px !important;*/
/*  background: linear-gradient(90deg, #7bffd4, #43ddff, #ff69bf);*/
/*  color: #061018;*/
/*  text-align: center;*/
/*  padding: 14px;*/
/*  font-size: 16px;*/
/*  font-weight: 700;*/
/*  border-radius: 12px;  */
/*  text-decoration: none;*/
/*  box-shadow: 0 10px 25px rgba(0,0,0,0.3);*/
/*  z-index: 9999 !important;*/
/*  display: none;*/
  /*transition: 0.3s;*/
/*}*/

/* Hover effect */
.mobile-cta:hover {
  transform: scale(1.02);
}

/* Show only on mobile */
@media (max-width: 768px) {
  .mobile-cta {
    display: block;
  }
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255,105,191,0.7); }
  70% { box-shadow: 0 0 0 15px rgba(255,105,191,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,105,191,0); }
}

.mobile-cta {
  animation: pulse 2s infinite;
}