:root {
  --primary: rgb(96, 165, 250);
  --primary-soft: rgba(96, 165, 250, 0.15);
  --primary-glow: rgba(96, 165, 250, 0.6);
  --bg-dark: #020617;
  --bg-card: #0f172a;
  --text: #e2e8f0;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: var(--bg-dark);
  color: var(--text);
  overflow-x: hidden;
}

/* NAVBAR */
.navbar {
  position: fixed;
  width: 100%;
  top: 0;
  padding: 15px 50px;
  display: flex;
  justify-content: space-between;
  background: rgba(2, 6, 23, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--primary-soft);
  z-index: 1000;
}

.navbar a {
  color: var(--text);
  margin-left: 20px;
  text-decoration: none;
  transition: 0.3s;
}

.navbar a:hover {
  color: var(--primary);
  text-shadow: 0 0 10px var(--primary-glow);
}

/* HERO */
.hero {
  height: 100vh;
  background: radial-gradient(circle at top, #0f172a, #020617);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  color: var(--primary);
  text-shadow: 0 0 30px var(--primary-glow);
}

/* BUTTON */
.btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 28px;
  background: var(--primary);
  color: #020617;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: 0.3s;
  box-shadow: 0 0 20px var(--primary-glow);
}

.btn:hover {
  transform: scale(1.08);
  box-shadow: 0 0 35px var(--primary-glow);
}

/* SECTIONS */
.section {
  padding: 100px 20px;
  text-align: center;
}

/* CARDS */
.cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.card {
  background: rgba(15, 23, 42, 0.7);
  margin: 20px;
  padding: 25px;
  width: 260px;
  border-radius: 15px;
  backdrop-filter: blur(14px);
  border: 1px solid var(--primary-soft);
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 40px var(--primary-glow);
}

/* CTA */
.cta {
  padding: 70px;
  background: linear-gradient(
    135deg,
    #020617,
    rgba(96, 165, 250, 0.1)
  );
  border-top: 1px solid var(--primary-soft);
}

/* WHATSAPP */
.whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25D366;
  padding: 15px;
  border-radius: 50%;
  font-size: 20px;
  color: white;
  text-decoration: none;
  box-shadow: 0 0 20px rgba(37,211,102,0.7);
}

/* FOOTER */
footer {
  background: #020617;
  padding: 20px;
  text-align: center;
  border-top: 1px solid var(--primary-soft);
}

/* SCROLL ANIMATION */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: 1s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
  border: 1px solid rgba(96,165,250,0.2);
}

/* Special for certificate (so text is readable) */
.card:first-child img {
  object-fit: contain;
  background: white;
  padding: 10px;
}
/* PRELOADER */
#preloader {
  position: fixed;
  width: 100%;
  height: 100%;
  background: #020617;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
}

/* LOADER ANIMATION */
.loader {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 4px solid rgba(96,165,250,0.2);
  border-top: 4px solid rgb(96,165,250);
  animation: spin 1s linear infinite;
  box-shadow: 0 0 20px rgba(96,165,250,0.6);
}

@keyframes spin {
  100% { transform: rotate(360deg); }
}

/* TOP PROGRESS BAR */
#progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  width: 0%;

  background: rgb(96,165,250);
  box-shadow: 0 0 10px rgba(96,165,250,0.8);

  z-index: 9999;
}
#preloader {
  transition: opacity 0.5s ease;
}
.loader {
  animation: spin 1s linear infinite, pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%,100% { box-shadow: 0 0 10px rgba(96,165,250,0.5); }
  50% { box-shadow: 0 0 30px rgba(96,165,250,1); }
}
.about {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 120px 20px;
}

/* CARD */
.profile-card {
  text-align: center;
  padding: 25px;
  border-radius: 20px;

  background: rgba(15,23,42,0.4);
  backdrop-filter: blur(20px);

  border: 1px solid rgba(96,165,250,0.2);

  box-shadow: 0 0 40px rgba(96,165,250,0.2);

  max-width: 300px;
}

/* IMAGE */
.profile-card img {
  width: 100%;
  max-width: 250px;
  height: 320px;

  object-fit: cover;
  border-radius: 15px;

  border: 2px solid rgb(96,165,250);

  box-shadow: 0 0 25px rgba(96,165,250,0.5);
}

/* TEXT */
.profile-card h2 {
  margin-top: 15px;
  color: rgb(96,165,250);
}

.profile-card p {
  opacity: 0.7;
}
.profile-card img {
  transition: 0.4s;
}

.profile-card:hover img {
  transform: scale(1.05);
  box-shadow: 0 0 40px rgba(96,165,250,0.9);
}
img {
  width: 100%;
}
.about-section {
  max-width: 1000px;
  margin: auto;
  padding: 80px 20px;
  text-align: center;
}

.about-section h1 {
  color: rgb(96,165,250);
  text-shadow: 0 0 20px rgba(96,165,250,0.6);
  margin-bottom: 20px;
}

/* INTRO */
.intro {
  font-size: 1.1rem;
  opacity: 0.8;
  margin-bottom: 40px;
}

.intro span {
  color: rgb(96,165,250);
  font-weight: 600;
}

/* GRID */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

/* CARDS */
.about-card {
  padding: 20px;
  border-radius: 15px;

  background: rgba(15,23,42,0.4);
  backdrop-filter: blur(15px);

  border: 1px solid rgba(96,165,250,0.2);

  transition: 0.3s;
}

.about-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 30px rgba(96,165,250,0.5);
}

.about-card h3 {
  color: rgb(96,165,250);
  margin-bottom: 10px;
}

.about-card p {
  font-size: 0.95rem;
  opacity: 0.75;
}
.about-card {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s ease forwards;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 14px 30px;
  border-radius: 40px;

  background: linear-gradient(135deg, rgb(96,165,250), #3b82f6);
  color: white;
  text-decoration: none;
  font-weight: 500;

  box-shadow: 0 0 20px rgba(96,165,250,0.7);
  transition: 0.3s;
}

.whatsapp-btn span {
  font-size: 18px;
}

/* HOVER */
.whatsapp-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 0 35px rgba(96,165,250,1);
}
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;

  width: 60px;
  height: 60px;
  border-radius: 50%;

  background: #25D366;
  display: flex;
  justify-content: center;
  align-items: center;

  box-shadow: 0 0 20px rgba(37,211,102,0.8);
  z-index: 9999;

  transition: 0.3s;
}

/* HOVER */
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 0 35px rgba(37,211,102,1);
}

/* PULSE ANIMATION */
.whatsapp-float::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;

  background: rgba(37,211,102,0.5);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 0.7; }
  70% { transform: scale(1.6); opacity: 0; }
  100% { transform: scale(1); opacity: 0; }
}
.instant-help {
  display: flex;
  justify-content: center;
  align-items: center;

  padding: 80px 20px;
  text-align: center;
}

/* CENTER BOX */
.help-box {
  padding: 40px 60px;
  border-radius: 20px;

  background: rgba(15,23,42,0.4);
  backdrop-filter: blur(20px);

  border: 1px solid rgba(96,165,250,0.2);

  box-shadow: 0 0 40px rgba(96,165,250,0.2);
}

/* TITLE */
.help-box h2 {
  margin-bottom: 20px;
  color: rgb(96,165,250);
  text-shadow: 0 0 20px rgba(96,165,250,0.6);
}

/* BUTTON (reuse if already exists) */
.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 14px 30px;
  border-radius: 40px;

  background: linear-gradient(135deg, rgb(96,165,250), #3b82f6);
  color: white;
  text-decoration: none;

  box-shadow: 0 0 20px rgba(96,165,250,0.7);
  transition: 0.3s;
}

.whatsapp-btn:hover {
  transform: scale(1.05);
}
.help-box::before {
  content: "";
  position: absolute;
  width: 300px;
  height: 200px;
  background: radial-gradient(circle, rgba(96,165,250,0.3), transparent);
  filter: blur(60px);
  z-index: -1;
}
#page {
  opacity: 1; /* default visible */
  transition: opacity 0.5s ease, transform 0.5s ease;
}

#page.fade-out {
  opacity: 0;
}

/* PAGE LOADED */
#page.show {
  opacity: 1;
  transform: translateY(0);
}

/* PAGE EXIT */
#page.fade-out {
  opacity: 0;
  transform: translateY(10px);
}
/* #page {
  transition: opacity 0.7s ease, transform 0.7s ease;
} */
/* MAIN WRAPPER */
.about-wrapper {
  display: flex;
  justify-content: center;   /* 🔥 centers horizontally */
  align-items: center;
  width: 100%;

  padding: 80px 20px;
}

/* CARD */
.profile-card {
  text-align: center;
  max-width: 320px;
  width: 100%;
}
.profile-card {
  margin: auto;   /* 🔥 instantly centers */
}
/* NAVBAR */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;

  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 10px 40px;

  background: rgba(2,6,23,0.7);
  backdrop-filter: blur(10px);
}

/* LOGO */
.logo img {
  height: 50px;   /* 🔥 controls size */
  width: auto;

  object-fit: contain;

  filter: drop-shadow(0 0 10px rgba(96,165,250,0.5));
}

/* LINKS */
.nav-links a {
  margin-left: 20px;
  color: white;
  text-decoration: none;
}
.logo img {
  transition: 0.3s;
}

.logo img:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 0 20px rgba(96,165,250,1));
}
@media (max-width: 768px) {
  
  .section,
  .about-wrapper,
  .instant-help {
    padding: 60px 15px;
  }

  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.4rem;
  }

  p {
    font-size: 0.9rem;
  }
}
@media (max-width: 768px) {
  .whatsapp-btn,
  button {
    width: 100%;
    justify-content: center;
  }
}
@media (max-width: 768px) {
  .profile-card img {
    height: auto;
    max-height: 300px;
  }
}
/* NAVBAR */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 10px 20px;
  position: relative;
}

/* LOGO */
.logo img {
  height: 45px;
}

/* LINKS */
.nav-links {
  display: flex;
  gap: 20px;
}

.nav-links a {
  color: white;
  text-decoration: none;
}

/* HAMBURGER */
.menu-toggle {
  display: none;
  font-size: 26px;
  cursor: pointer;
}

/* 🔥 MOBILE FIX */
@media (max-width: 768px) {

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 70px;
    right: 0;

    width: 100%;
    flex-direction: column;
    align-items: center;

    background: rgba(2,6,23,0.95);
    backdrop-filter: blur(10px);

    padding: 20px 0;

    display: none;
  }

  .nav-links a {
    padding: 10px 0;
    width: 100%;
    text-align: center;
  }

  .nav-links.active {
    display: flex;
  }
}
html {
  scroll-behavior: smooth;
}
.hero-vertical {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;

  max-width: 800px;
  margin: auto;
  padding: 120px 20px;
}

/* TITLE */
.hero-vertical h1 {
  font-size: 2.5rem;
  color: rgb(96,165,250);
  text-shadow: 0 0 25px rgba(96,165,250,0.6);
  margin-bottom: 10px;
}

/* SUBTITLE */
.subtitle {
  opacity: 0.7;
  margin-bottom: 15px;
}

/* DESCRIPTION */
.desc {
  line-height: 1.6;
  margin-bottom: 20px;
  opacity: 0.85;
}

/* HIGHLIGHT */
.highlight {
  margin-bottom: 25px;
}

.highlight span {
  color: rgb(96,165,250);
  font-weight: 600;
}

/* BUTTON */
.hero-btn {
  padding: 14px 30px;
  border-radius: 30px;

  background: linear-gradient(135deg, rgb(96,165,250), #3b82f6);
  color: white;
  text-decoration: none;

  box-shadow: 0 0 25px rgba(96,165,250,0.8);
  transition: 0.3s;
}

.hero-btn:hover {
  transform: scale(1.05);
}
.about {
  background: linear-gradient(180deg, #020617, #020617);
  color: #ffffff;
  padding: 100px 20px;
  font-family: 'Poppins', sans-serif;
}

.container {
  max-width: 900px;
  margin: auto;
  text-align: center;
}

h2 {
  font-size: 42px;
  margin-bottom: 10px;
}

.tagline {
  color: #f97316;
  margin-bottom: 25px;
}

h3 {
  font-size: 26px;
  margin-bottom: 10px;
}

.role {
  opacity: 0.8;
  margin-bottom: 15px;
}

.highlight {
  color: #a855f7;
  font-weight: 600;
  margin-bottom: 30px;
}

p {
  font-size: 16px;
  line-height: 1.9;
  margin-bottom: 20px;
  opacity: 0.9;
}

.final {
  margin-top: 40px;
  font-size: 18px;
  color: #a855f7;
  font-weight: 500;
}
h2 {
  text-shadow: 0 0 20px rgba(168,85,247,0.6);
}
.profile-card {
  width: 320px;
  margin: 50px auto;
  padding: 25px 20px;
  background: rgba(255,255,255,0.04);
  border-radius: 18px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.1);

  /* FIX: remove stretch */
  height: auto;
}

/* IMAGE FIX (MOST IMPORTANT) */
.profile-img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 15px;

  box-shadow: 0 0 20px rgba(168,85,247,0.5);
}

/* TEXT FIX */
.profile-card h2 {
  font-size: 20px;
  line-height: 1.4;
  margin-bottom: 10px;
  color: #a855f7;
}

.role {
  font-size: 14px;
  opacity: 0.8;
  margin-bottom: 8px;
}

.desc {
  font-size: 13px;
  opacity: 0.6;
}
#magic-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: radial-gradient(circle at center, #020617, #000000);
}
.navbar {
  position: sticky; /* main thing */
  top: 0;
  z-index: 1000;

  background: rgba(2, 6, 23, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.nav-container {
  max-width: 1200px;
  margin: auto;
  padding: 15px 20px;

  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-weight: bold;
  color: #a855f7;
  font-size: 18px;
}

nav a {
  margin-left: 20px;
  text-decoration: none;
  color: #fff;
  opacity: 0.8;
  transition: 0.3s;
}

nav a:hover {
  color: #a855f7;
  opacity: 1;
}
.social-float {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9999;

  display: flex;
  flex-direction: column;
  gap: 12px;
}

.social-float a {
  width: 50px;
  height: 50px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;
  text-decoration: none;
  font-size: 22px;
  color: white;

  transition: 0.3s;
}

/* COLORS */
.insta { background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af); }
.fb { background: #1877f2; }
.yt { background: #ff0000; }

.social-float a:hover {
  transform: scale(1.15);
  box-shadow: 0 0 15px rgba(255,255,255,0.4);
}
.social-float {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 9999;
}

.social-float img {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  transition: 0.3s;
}

.social-float img:hover {
  transform: scale(1.2);
  box-shadow: 0 0 20px rgba(168,85,247,0.6);
}
.social-bar {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9999;

  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* BUTTON STYLE */
.social {
  display: flex;
  align-items: center;
  gap: 12px;

  width: 50px;
  height: 50px;
  padding: 5px;

  border-radius: 50px;
  overflow: hidden;

  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);

  transition: 0.4s ease;
  cursor: pointer;
}

/* ICON */
.social img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

/* TEXT (HIDDEN INITIALLY) */
.social span {
  white-space: nowrap;
  color: white;
  opacity: 0;
  font-size: 14px;
  transition: 0.3s;
}

/* HOVER EXPAND */
.social:hover {
  width: 160px;
  background: rgba(168,85,247,0.15);
  box-shadow: 0 0 20px rgba(168,85,247,0.6);
}

/* SHOW TEXT ON HOVER */
.social:hover span {
  opacity: 1;
}

/* PLATFORM COLORS (GLOW) */
.insta:hover { box-shadow: 0 0 20px #e1306c; }
.fb:hover { box-shadow: 0 0 20px #1877f2; }
.yt:hover { box-shadow: 0 0 20px #ff0000; }
.social {
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}
.social {
  text-decoration: none;   /* remove underline */
}

.social:hover {
  text-decoration: none;   /* remove on hover */
}
.social span {
  text-decoration: none;
}
.social,
.social:hover,
.social:focus,
.social:active {
  text-decoration: none;
  color: white;
}