:root {
  --primary: #fbbf24;
  --accent: #ff3366;
  --accent-hover: #ff1149;
  --text-primary: #fafafa;
  --text-secondary: #a3a3a3;
  --text-muted: #999;
  --bg-dark: #000;
  --light-dark: #2e2e2e;
  --bg-section: #0a0a0a;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Space Grotesk", sans-serif;
  background: var(--bg-dark);
  color: var(--text-primary);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(13, 13, 13, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--light-dark);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo img {
  height: 26px;
}

.logo-icon {
  margin-right: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-links {
  margin: 0px !important;
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links .active {
  color: var(--accent);
  text-decoration: underline;
}

.nav-cta {
  background: var(--accent);
  color: var(--bg-dark);
  padding: 0.6rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s;
}

.nav-cta span {
  display: inline;
  background: transparent;
  padding: 0;
}

.nav-cta:hover {
  background: var(--primary);
  transform: translateY(-1px);
}

/* ===============================
   RESPONSIVE NAVBAR
================================= */

/* Hide mobile CTA by default */
.mobile-cta {
  display: none;
}

/* Tablet + Mobile */
@media (max-width: 1024px) {
  .mobile-menu-btn {
    display: block;
  }

  .desktop-cta {
    display: none;
  }

  .nav-container {
    position: relative;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(13, 13, 13, 0.96);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: flex-start;
    gap: 1.4rem;
    padding: 2rem;
    display: none;
    border-bottom: 1px solid var(--light-dark);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    font-size: 1.05rem;
    width: 100%;
  }

  /* CTA at bottom */
  .mobile-cta {
    display: block;
    width: 100%;
    margin-top: 1.5rem;
  }

  .mobile-cta .nav-cta {
    width: 100%;
    text-align: center;
    padding: 0.9rem;
    font-size: 1rem;
    color: black;
  }
}

/* Mobile fine-tuning */
@media (max-width: 768px) {
  .nav-container {
    padding: 1rem 1.5rem;
  }

  .nav-links {
    padding: 1.5rem;
    gap: 1.2rem;
  }

  .nav-links a {
    font-size: 1rem;
  }
}

/* Hero Section */

.hero-section {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 300px;

  --s: 37px; /* control the size */

  --c: #0000, #282828 0.5deg 119.5deg, #0000 120deg;
  --g1: conic-gradient(from 60deg at 56.25% calc(425% / 6), var(--c));
  --g2: conic-gradient(from 180deg at 43.75% calc(425% / 6), var(--c));
  --g3: conic-gradient(from -60deg at 50% calc(175% / 12), var(--c));
  background: var(--g1), var(--g1) var(--s) calc(1.73 * var(--s)), var(--g2),
    var(--g2) var(--s) calc(1.73 * var(--s)), var(--g3) var(--s) 0,
    var(--g3) 0 calc(1.73 * var(--s)) #1e1e1e;
  background-size: calc(2 * var(--s)) calc(3.46 * var(--s));
}

.hero-section p {
  font-family: "Space Grotesk", sans-serif;
  font-size: 48px;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 80px;
}

/* Team Review */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-label {
  font-size: 22px;
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.section-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto;
}

.instructors {
  padding: 6rem 2rem;
  background: var(--bg-section);
}

.instructors .section-label {
  color: var(--primary);
}

.instructors .section-title {
  color: var(--text-primary);
}

.instructors .section-description {
  color: var(--text-secondary);
}

.instructors-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: flex-end;
  gap: 40px;
}

.instructor-card {
  text-align: center;
  transition: transform 0.3s;
}

.instructor-card:hover {
  transform: translateY(-5px);
}

.instructor-image {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  border: 4px solid var(--light-dark);
  transition: all 0.3s;
  overflow: hidden;
  background: var(--light-dark);
}

.ceo {
  width: 180px;
  height: 180px;
}

.ceo-title {
  background: #ff3366;
  border-radius: 16px;
  margin-bottom: 8px;
  width: fit-content;
  position: relative;
  left: 15%;
  padding: 2px 7px;
}

.instructor-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(20%);
  transition: filter 0.3s;
}

.instructor-card:hover .instructor-image {
  border-color: var(--accent);
  box-shadow: 0 0 20px rgba(255, 51, 102, 0.3);
}

.instructor-card:hover .instructor-image img {
  filter: grayscale(0%);
}

.instructor-name {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--text-primary);
}

.instructor-role {
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.instructor-bio {
  cursor: pointer;
  color: var(--text-muted);
  font-size: 0.85rem;
  text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .instructors-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 880px) {
  .instructors-grid {
    grid-template-columns: 1fr;
  }
}

/* ==============================
   ABOUT SECTION
================================ */
.about {
  background: var(--white-color);
}

.about-image {
  border-radius: var(--border-radius-medium);
  width: 100%;
  height: auto;
  object-fit: cover;
}

.about-thumb {
  padding-left: 20px;
  padding-right: 20px;
}

.section-title-wrap {
  background: var(--secondary-color);
  border-radius: var(--border-radius-small);
  padding: 12px 24px;
}

.section-title-wrap h2 {
  font-size: var(--h2-font-size);
  color: var(--white-color);
}

.avatar-image {
  width: 140px;
  height: 140px;
  border-radius: var(--border-radius-large);
  object-fit: cover;
}

#section_2 h3 {
  font-size: var(--h3-font-size);
  color: var(--dark-color);
}

#section_2 p {
  font-size: var(--p-font-size);
  color: var(--p-color);
  line-height: 1.7;
}

/* Indivisual Style */

/* Section Common (used by About header) */
section {
  position: relative;
  z-index: 2;
  padding: 120px 60px;
}

.section-header {
  text-align: center;
  margin-bottom: 80px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-green);
  margin-bottom: 24px;
}

.section-title {
  font-family: "Syne", sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -2px;
  color: var(--text-primary);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 20px auto 0;
}

/* ==============================
   ABOUT SECTION
================================ */
.about {
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(255, 61, 90, 0.02) 50%,
    transparent 100%
  );
}

.about-grid {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  gap: 80px;
  justify-content: center;
}

.about-image {
  position: relative;
}

.about-image-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
  height: 450px;
}

.about-img-item {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-glass);
  position: relative;
  transition: all 0.4s ease;
}

.about-img-item:hover {
  border-color: var(--border-glow);
  transform: scale(1.02);
}

.about-img-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-img-item.img-1 {
  grid-row: span 2;
}

.about-img-item.img-2,
.about-img-item.img-3 {
  grid-column: 2;
}

.about-content {
  width: 619px;
  height: fit-content;
}
/* Content */
.about-content h3 {
  font-family: "Syne", sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 24px;
  line-height: 1.2;
}

.about-content h3 span {
  color: var(--accent-red);
}

.about-content p {
  color: var(--text-secondary);
  margin-bottom: 20px;
  font-size: 1.05rem;
}

/* Features */
.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 40px;
}

.about-feature {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  font-size: 0.95rem;
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

.about-feature:hover {
  border-color: var(--accent-hover);
  background: rgba(255, 255, 255, 0.08);
}

.about-feature svg {
  width: 20px;
  height: 20px;
  stroke: var(--accent-hover);
  flex-shrink: 0;
}

/* TemplateMo Box */
.about-templatemo {
  margin-top: 40px;
  padding: 28px;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}

.about-templatemo::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-green), var(--accent-gold));
}

.about-templatemo p {
  font-size: 0.95rem;
  margin-bottom: 20px;
  color: var(--text-secondary);
}

.about-templatemo p strong {
  color: var(--accent-gold);
}

.btn-templatemo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--accent-green), #00b894);
  border-radius: 12px;
  color: var(--bg-dark);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.btn-templatemo:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px var(--glow-green);
}

.btn-templatemo svg {
  width: 18px;
  height: 18px;
  stroke: var(--bg-dark);
}

/* ==============================
   RESPONSIVE
================================ */
@media (max-width: 920px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-image {
    max-width: 400px;
    margin: 0 auto;
  }

  .about-image-stack {
    height: 350px;
  }

  .about-features {
    grid-template-columns: 1fr;
  }
}

.single-team-profile {
  width: 400px;
  height: -webkit-fill-available;
  padding: 60px 0px;
  background: #07182e;
  position: relative;
  display: flex;
  flex-direction: column;
  place-content: center;
  place-items: center;
  overflow: hidden;
  border-radius: 20px;
}

.single-team-profile h2,
.single-team-profile p {
  z-index: 1;
  color: white;
  margin: 0px;
}

.single-team-profile h2 {
  margin-top: 30px;
  margin-bottom: 8px;
}

.single-team-profile p {
  font-size: 14px;
  font-weight: 300;
}

.single-team-profile img {
  z-index: 1;
  height: 300px;
  border-radius: 15px;
  width: fit-content;
}

.single-team-profile::before {
  content: "";
  position: absolute;
  width: 100px;
  background-image: linear-gradient(
    180deg,
    var(--accent-hover),
    var(--primary)
  );
  height: 130%;
  animation: rotBGimg 3s linear infinite;
  transition: all 0.2s linear;
}

@keyframes rotBGimg {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.single-team-profile::after {
  content: "";
  position: absolute;
  background: var(--bg-section);
  inset: 5px;
  border-radius: 15px;
}
/* .card:hover:before {
  background-image: linear-gradient(180deg, rgb(81, 255, 0), purple);
  animation: rotBGimg 3.5s linear infinite;
} */

.opposite {
  background: var(--bg-section);
}

.opposite .single-team-profile::after {
  background: #000000;
}

/* Footer */
footer {
  padding: 4rem 2rem 2rem;
  border-top: 1px solid var(--border);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 1rem;
  max-width: 280px;
}

.footer-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
}

.footer-links {
  padding-left: 0px !important;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-bottom a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-bottom a:hover {
  color: var(--accent-light);
}

/* Responsive Footer */
@media (max-width: 1024px) {
  .logo {
    justify-content: center;
  }
  .footer-social-icons-row {
    justify-content: center;
  }
  .footer-icons-container button {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 880px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand p {
    margin: 1rem auto;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

.footer-icons-container {
  position: relative;
  width: fit-content;
  /*  choose your size */
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 1rem;
}

.footer-icons-container button {
  width: 50px;
  height: 50px;
  border: none;
  background-color: #313638;
  transition: 0.3s;
  cursor: pointer;
}

.icon {
  width: 26px;
  height: 26px;
  fill: #fff;
}

.footer-icons-container button:nth-child(1):hover {
  background-color: #2753a7;
}

.title {
  color: gray;
  font-weight: 700;
  font-size: 17px;
  position: absolute;
  top: -35px;
  left: 0;
}

/* Floating Scroll-to-Top Button */
/* Floating Scroll-to-Top Button */
#scrollTopBtn {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  position: fixed; /* Make it float */
  bottom: 30px; /* Distance from bottom */
  right: 30px; /* Distance from right */
  z-index: 1000; /* Always on top */
  overflow: hidden;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
  background: linear-gradient(144deg, #af40ff, #5b42f3 50%, #00ddeb);
  transition: width 0.3s, height 0.3s;
  animation: float 2.5s ease-in-out infinite; /* Floating animation */
}

/* Icon */
#scrollTopBtn .sign {
  width: 100%;
  font-size: 1.5em;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

/* Text */
#scrollTopBtn .text {
  position: absolute;
  right: 0;
  width: 0;
  opacity: 0;
  color: white;
  font-size: 1.2em;
  font-weight: 500;
  transition: all 0.3s;
  white-space: nowrap;
}

/* Hover expand */
#scrollTopBtn:hover {
  width: 120px;
  border-radius: 25px;
}

#scrollTopBtn:hover .sign {
  width: 30%;
  padding-left: 15px;
}

#scrollTopBtn:hover .text {
  opacity: 1;
  width: 70%;
  padding-right: 15px;
}

/* Click effect */
#scrollTopBtn:active {
  transform: translate(2px, 2px);
}

.footer-social-icons-row {
  display: flex;
  flex-direction: row;
  gap: 20px;
}

/* Floating keyframes */
@keyframes float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
  100% {
    transform: translateY(0);
  }
}
