* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ================= FLOATING TECH SYMBOLS LAYER ================= */
.grid-item {
  background-image:
    url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 2v6M20 32v6M2 20h6M32 20h6M7 7l4 4M29 29l4 4M7 33l4-4M29 11l4-4' stroke='white' stroke-width='1' opacity='0.25'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='30' cy='30' r='8' fill='none' stroke='white' stroke-width='1' opacity='0.25'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg width='50' height='50' viewBox='0 0 50 50' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='10' y='10' width='30' height='30' fill='none' stroke='white' stroke-width='1' opacity='0.25'/%3E%3C/svg%3E");

  background-repeat: repeat;
  background-size: 120px 120px, 160px 160px, 140px 140px;
  background-position: 0 0, 40px 60px, 80px 30px;

  animation: techFloat 60s linear infinite;
}

/* slow floating movement */
@keyframes techFloat {
  0% {
    background-position: 0 0, 40px 60px, 80px 30px;
  }
  100% {
    background-position: 400px 300px, 300px 500px, 600px 200px;
  }
}

*/

/* ===== Footer ===== */
#site_footer {
  background-color: #012f7e;   /* deep navy to match headings */
  color: #ffffff;
  text-align: center;
  padding: 20px 0;
  font-family: 'Times New Roman', Times, serif;
  font-size: 1.4rem;
  margin-top: 0px;  /* space above footer */
  height: 100px;
  padding-top: 40px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

/* Sparkling moving dots */
#site_footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background:
    radial-gradient(circle, rgba(255,255,255,0.8) 1px, transparent 1px) repeat,
    radial-gradient(circle, rgba(255,255,255,0.5) 2px, transparent 2px) repeat;
  background-size: 20px 20px, 50px 50px;
  animation: sparkleMove 15s linear infinite, sparkleFloat 12s linear infinite alternate;
  z-index: 0;
  pointer-events: none;
}

/* Subtle glowing flowing waves */
#site_footer::after {
  content: "";
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: linear-gradient(120deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0.05) 100%);
  background-size: 200% 200%;
  animation: waveFlow 20s linear infinite;
  z-index: 0;
  pointer-events: none;
}

/* Sparkle horizontal/vertical motion */
@keyframes sparkleMove {
  0% { background-position: 0 0, 0 0; }
  50% { background-position: 100px 50px, 50px 100px; }
  100% { background-position: 0 0, 0 0; }
}

/* Slight float up and down for extra magic */
@keyframes sparkleFloat {
  0% { transform: translateY(0); opacity: 0.8; }
  50% { transform: translateY(-5px); opacity: 1; }
  100% { transform: translateY(0); opacity: 0.8; }
}

/* Slow wave movement for premium effect */
@keyframes waveFlow {
  0% { background-position: 0% 0%; }
  50% { background-position: 100% 100%; }
  100% { background-position: 0% 0%; }
}

#site_footer p {
  margin: 0;
  position: relative;
  z-index: 1; /* ensures text stays above magic effects */
}

/* Scroll Top Button */
#scrollTopBtn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 100;
  background: linear-gradient(135deg, #5e0eea, #2600ff);
  color: #fff;
  border-radius: 30px;
  border: none;
  padding: 12px 16px;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  display: none; /* hidden by default */
  transition: all 0.4s ease;
}

/* Hover Effect */
#scrollTopBtn:hover {
  transform: scale(1.2) rotate(10deg);
  box-shadow: 0 8px 25px rgba(0, 150, 255, 0.7);
}

#site_footer {
  background-color: #012f7e;   /* deep navy to match headings */
  color: #ffffff;
  text-align: center;
  padding: 20px 0;
  font-family: 'Times New Roman', Times, serif;
  font-size: 1.4rem;
  margin-top: 50px;  /* space above footer */
  height: 100px;
  padding-top: 40px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

/* Sparkling moving dots */
#site_footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background:
    radial-gradient(circle, rgba(255,255,255,0.8) 1px, transparent 1px) repeat,
    radial-gradient(circle, rgba(255,255,255,0.5) 2px, transparent 2px) repeat;
  background-size: 20px 20px, 50px 50px;
  animation: sparkleMove 15s linear infinite, sparkleFloat 12s linear infinite alternate;
  z-index: 0;
  pointer-events: none;
}

/* Subtle glowing flowing waves */
#site_footer::after {
  content: "";
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: linear-gradient(120deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0.05) 100%);
  background-size: 200% 200%;
  animation: waveFlow 20s linear infinite;
  z-index: 0;
  pointer-events: none;
}

/* Sparkle horizontal/vertical motion */
@keyframes sparkleMove {
  0% { background-position: 0 0, 0 0; }
  50% { background-position: 100px 50px, 50px 100px; }
  100% { background-position: 0 0, 0 0; }
}

/* Slight float up and down for extra magic */
@keyframes sparkleFloat {
  0% { transform: translateY(0); opacity: 0.8; }
  50% { transform: translateY(-5px); opacity: 1; }
  100% { transform: translateY(0); opacity: 0.8; }
}

/* Slow wave movement for premium effect */
@keyframes waveFlow {
  0% { background-position: 0% 0%; }
  50% { background-position: 100% 100%; }
  100% { background-position: 0% 0%; }
}

#site_footer p {
  margin: 0;
  position: relative;
  z-index: 1; /* ensures text stays above magic effects */
}


/* Footer adjustments */
@media (max-width: 768px) {
  #site_footer {
    font-size: 0.9rem;
    height: auto;
    padding: 20px 10px;
  }
}

/* ================= Hamburger Menu ================= */
.hamburger-menu {
  display: none;
  font-size: 1.8rem;
  color: white;
  cursor: pointer;
  margin-right: 30px;
}

/* Show hamburger on smaller screens */
@media (max-width: 768px) {
  .navbar {
    padding: 10px 16px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
  }

  .logo {
    order: 1;
    flex: 0 0 auto;
  }

  .logo img {
    width: 64px;
    height: 64px;
    margin-left: 0 !important;
    display: block;
  }

  .hamburger-menu {
    display: block; /* show hamburger */
    order: 2;
    margin: 0 0 0 auto;
    line-height: 1;
    z-index: 6;
  }

  .nav-links,
  .social-icons,
  .join-btn {
    display: none; /* hide normal menu */
    width: 100%;
    text-align: center;
    margin: 0;
  }

  /* Toggle visibility when active */
  .navbar.active .nav-links,
  .navbar.active .social-icons,
  .navbar.active .join-btn {
    display: block;
  }

  .nav-links {
    order: 3;
    margin-left: 0 !important;
    margin-top: 10px !important;
  }

  .nav-links a {
    display: block;
    margin: 2px 0;
  }

  .social-icons {
    order: 4;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-top: 12px !important;
    align-items: center;
    justify-content: center;
    gap: 18px;
  }

  .navbar.active .social-icons {
    display: flex;
  }

  .social-icons a {
    margin: 0;
  }

  .join-btn {
    order: 5;
    width: auto !important;
    margin: 14px auto 10px !important;
  }

  .navbar.active .join-btn {
    display: inline-block;
  }
}

/* ================= PRELOADER ================= */
#preloader{
  position:fixed;
  inset:0;
  background:#000814;
  display:flex;
  justify-content:center;
  align-items:center;
  flex-direction:column;
  z-index:9999;
  color:#00eaff;
}

.loader-ring{
  width:60px;
  height:60px;
  border:4px solid transparent;
  border-top:4px solid #00eaff;
  border-radius:50%;
  animation:spin 1s linear infinite;
}

@keyframes spin{
  100%{transform:rotate(360deg);}
}

/* ================= CURSOR GLOW ================= */
#cursor{
  position:fixed;
  width:18px;
  height:18px;
  border-radius:50%;
  background:rgba(0,255,255,0.6);
  pointer-events:none;
  transform:translate(-50%,-50%);
  filter:blur(2px);
  z-index:9998;
}

/* ================= SCROLL PROGRESS BAR ================= */
#progressBar{
  position:fixed;
  top:0;
  left:0;
  height:4px;
  width:0%;
  background:linear-gradient(90deg,#00eaff,#0066ff);
  z-index:9997;
}

/* ================= SCROLL REVEAL ================= */
.reveal{
  opacity:0;
  transform:translateY(60px);
  transition:1s ease;
}

.reveal.active{
  opacity:1;
  transform:translateY(0);
}

/* ================= NAVBAR SHRINK ================= */
.navbar.shrink{
  padding:8px 20px !important;
  backdrop-filter:blur(10px);
  background:rgba(1,47,126,0.85);
}

/* active link glow */
.nav-links a.active{
  color:#00eaff !important;
  text-shadow:0 0 10px #00eaff;
}


/* ========== COURSE NAVBAR CSS END ========== */

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #14213d;
  background: linear-gradient(180deg, #f7fbff 0%, #eef4ff 100%);
  line-height: 1.6;
}

img {
  width: 100%;
  display: block;
}

.org-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 30px;
  align-items: center;
  padding: 70px 80px 40px;
}

.hero-content {
  position: relative;
  isolation: isolate;
}

.hero-content::before {
  content: "";

  position: absolute;

  width: 320px;
  height: 320px;

  left: -120px;
  top: -100px;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(123, 44, 255, 0.13),
      rgba(0, 200, 255, 0.06) 35%,
      transparent 70%
    );

  filter: blur(20px);

  animation: heroContentAura 8s ease-in-out infinite alternate;

  z-index: -1;
  pointer-events: none;
}

@keyframes heroContentAura {
  0% {
    transform: translate(0, 0) scale(0.9);
    opacity: 0.45;
  }

  50% {
    transform: translate(80px, 35px) scale(1.15);
    opacity: 0.75;
  }

  100% {
    transform: translate(30px, 100px) scale(1);
    opacity: 0.5;
  }
}

.hero-content h1 {
  font-size: clamp(2rem, 3.4vw, 3rem);
  line-height: 1.2;
  margin-bottom: 15px;
  color: #071f4e;
}

.hero-content p {
  font-size: 1.05rem;
  color: #43516f;
}

.section-tag {
  display: inline-block;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.8rem;
  font-weight: 800;
  color: #0054d1;
}

.section-tag {
  position: relative;

  text-shadow:
    0 0 10px rgba(123, 44, 255, 0.15);

  transition:
    letter-spacing 0.4s ease,
    text-shadow 0.4s ease;
}

.hero-content:hover .section-tag {
  letter-spacing: 0.30em;

  text-shadow:
    0 0 12px rgba(123, 44, 255, 0.35);
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.hero-highlights span {
  position: relative;
  overflow: hidden;

  background:
    linear-gradient(
      135deg,
      rgba(238, 232, 255, 0.95),
      rgba(224, 241, 255, 0.95)
    );

  color: #17458f;

  border: 1px solid rgba(123, 44, 255, 0.20);

  padding: 9px 15px;

  border-radius: 999px;

  font-size: 0.9rem;

  box-shadow:
    0 5px 15px rgba(48, 68, 130, 0.08);

  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease,
    border-color 0.4s ease,
    color 0.4s ease;
}

.hero-highlights span::after {
  content: "";

  position: absolute;

  top: -50%;
  left: -80%;

  width: 45%;
  height: 200%;

  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.75),
    transparent
  );

  transform: rotate(20deg);

  animation: highlightShine 5s ease-in-out infinite;

  pointer-events: none;
}

.hero-highlights span:hover {
  transform: translateY(-6px) scale(1.04);

  color: #5420a8;

  border-color: rgba(123, 44, 255, 0.55);

  box-shadow:
    0 10px 24px rgba(76, 48, 160, 0.16),
    0 0 18px rgba(123, 44, 255, 0.20);
}

.hero-highlights span:nth-child(1) {
  animation-delay: 0s;
}

.hero-highlights span:nth-child(2) {
  animation-delay: 1.5s;
}

.hero-highlights span:nth-child(3) {
  animation-delay: 3s;
}

.hero-visual {
  position: relative;
  isolation: isolate;
  border-radius: 28px;
  padding: 3px;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 28px;

  background: linear-gradient(
    120deg,
    #3b0a78,
    #7b2cff,
    #c45cff,
    #6a1bff,
    #00c8ff,
    #7b2cff,
    #3b0a78
  );

  background-size: 300% 300%;

  animation: heroVioletNeon 6s ease-in-out infinite;

  filter:
    drop-shadow(0 0 5px rgba(123, 44, 255, 0.65))
    drop-shadow(0 0 16px rgba(123, 44, 255, 0.30));

  z-index: -1;
}

.hero-visual img {
  position: relative;
  z-index: 1;

  border-radius: 24px;

  box-shadow:
    0 20px 45px rgba(3, 37, 103, 0.16),
    inset 0 0 25px rgba(123, 44, 255, 0.12);

  transition:
    transform 0.5s ease,
    box-shadow 0.5s ease;
}

@keyframes heroVioletNeon {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.hero-visual:hover img {
  transform: scale(1.015);

  box-shadow:
    0 25px 55px rgba(3, 37, 103, 0.20),
    0 0 28px rgba(123, 44, 255, 0.28);
}

.hero-visual:hover::before {
  animation-duration: 2.5s;

  filter:
    drop-shadow(0 0 8px rgba(196, 92, 255, 0.85))
    drop-shadow(0 0 22px rgba(123, 44, 255, 0.45));
}

.org-intro {
  padding: 0 80px 30px;
}

.intro-card {
  background: #fff;
  border-radius: 24px;
  padding: 28px 34px;
  box-shadow: 0 18px 45px rgba(5, 40, 94, 0.12);
}

.intro-card h2 {
  margin-bottom: 10px;
  color: #071f4e;
}

.team-profile-list {
  padding: 20px clamp(40px, 5vw, 100px) 40px;
  display: grid;
  gap: 30px;
}

.profile-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;

  display: grid;
  grid-template-columns: minmax(320px, 380px) minmax(0, 1fr);
  gap: 42px;

  background: #ffffff;
  border: 2px solid transparent;
  border-radius: 24px;
  padding: 24px;

  box-shadow:
    0 18px 40px rgba(8, 40, 92, 0.12),
    0 0 0 rgba(0, 200, 255, 0);

  align-items: center;

  transition:
    transform 0.5s ease,
    box-shadow 0.5s ease;
}

/* ================= INTERNAL PROFILE CARD LIGHT ================= */

.profile-card .profile-content::before {
  content: "";

  position: absolute;

  width: 260px;
  height: 260px;

  top: -130px;
  right: -80px;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(0, 207, 255, 0.13) 0%,
      rgba(75, 50, 255, 0.07) 35%,
      transparent 72%
    );

  filter: blur(12px);

  animation: profileInternalGlow 8s ease-in-out infinite alternate;

  pointer-events: none;
  z-index: -1;
}

@keyframes profileInternalGlow {

  0% {
    transform: translate(0, 0) scale(0.9);
    opacity: 0.45;
  }

  50% {
    transform: translate(-90px, 70px) scale(1.15);
    opacity: 0.8;
  }

  100% {
    transform: translate(-20px, 120px) scale(1);
    opacity: 0.55;
  }
}

.profile-card .profile-content::after {
  content: "";

  position: absolute;

  top: -100%;
  left: -60%;

  width: 35%;
  height: 300%;

  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.45),
    transparent
  );

  transform: rotate(18deg);

  animation: profileLightSweep 9s ease-in-out infinite;

  pointer-events: none;
  z-index: -1;
}

@keyframes profileLightSweep {

  0% {
    left: -70%;
  }

  45% {
    left: 130%;
  }

  100% {
    left: 130%;
  }
}

/* =========================================================
   UNIQUE PROFILE CARD - FLOATING LIGHT PARTICLES
   ========================================================= */

.profile-card {
  background:
    radial-gradient(circle at 12% 22%,
      rgba(0, 207, 255, 0.55) 0 1.5px,
      transparent 2.5px),

    radial-gradient(circle at 28% 68%,
      rgba(122, 44, 255, 0.45) 0 1.5px,
      transparent 2.5px),

    radial-gradient(circle at 46% 18%,
      rgba(0, 174, 255, 0.40) 0 1px,
      transparent 2px),

    radial-gradient(circle at 64% 78%,
      rgba(0, 255, 157, 0.38) 0 1.5px,
      transparent 2.5px),

    radial-gradient(circle at 82% 30%,
      rgba(255, 43, 214, 0.35) 0 1px,
      transparent 2px),

    radial-gradient(circle at 92% 68%,
      rgba(0, 207, 255, 0.42) 0 1.5px,
      transparent 2.5px),

    #ffffff;

  background-size:
    180px 180px,
    220px 220px,
    260px 260px,
    210px 210px,
    280px 280px,
    190px 190px,
    100% 100%;

  animation: floatingProfileParticles 18s linear infinite;
}

@keyframes floatingProfileParticles {

  0% {
    background-position:
      0 0,
      0 0,
      0 0,
      0 0,
      0 0,
      0 0,
      0 0;
  }

  50% {
    background-position:
      30px -20px,
      -25px 35px,
      40px 20px,
      -30px -25px,
      25px 40px,
      -20px 30px,
      0 0;
  }

  100% {
    background-position:
      60px -40px,
      -50px 70px,
      80px 40px,
      -60px -50px,
      50px 80px,
      -40px 60px,
      0 0;
  }
}

.profile-card:hover {
  background-position:
    40px -30px,
    -35px 45px,
    50px 30px,
    -40px -35px,
    35px 50px,
    -30px 40px,
    0 0;
}

/* ================= PROFILE CARD HOVER ================= */

.profile-card:hover {
  transform: translateY(-8px);

  box-shadow:
    0 28px 65px rgba(8, 40, 92, 0.18),
    0 0 25px rgba(0, 207, 255, 0.15),
    0 0 45px rgba(122, 44, 255, 0.08);
}

.profile-card:hover::before {
  animation-duration: 2.5s;

  filter:
    drop-shadow(0 0 7px rgba(0, 212, 255, 0.75))
    drop-shadow(0 0 18px rgba(0, 102, 255, 0.35));
}

/* ================= PROFILE CARD MULTICOLOUR BORDER ================= */

/* =========================================================
   PROFILE CARD - PREMIUM GOLD SHIMMER BORDER
   ========================================================= */

.profile-card::before {
  content: "";
  position: absolute;
  inset: -2px;

  border-radius: 26px;

background: linear-gradient(
  120deg,
  #063b8f,
  #0077ff,
  #00d4ff,
  #4da6ff,
  #0066d9,
  #0b2f6f,
  #00bfff
);

  background-size: 300% 300%;

  animation: goldBorderShimmer 6s ease-in-out infinite;

  z-index: -2;
  pointer-events: none;

filter:
  drop-shadow(0 0 4px rgba(0, 191, 255, 0.45))
  drop-shadow(0 0 12px rgba(0, 102, 255, 0.20));
}

.profile-card::after {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 22px;

  background:
    linear-gradient(
      rgba(255, 255, 255, 0.78),
      rgba(255, 255, 255, 0.78)
    ),
    url("./images/GOLD_BG.gif");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  z-index: -1;
  pointer-events: none;
}

@keyframes profileAuroraMove {
  0% {
    background-position:
      0% 0%,
      100% 100%,
      50% 100%,
      0 0;
  }

  50% {
    background-position:
      60% 35%,
      30% 70%,
      80% 40%,
      0 0;
  }

  100% {
    background-position:
      100% 70%,
      0% 20%,
      20% 10%,
      0 0;
  }
}

/* =========================================================
   FLOATING PARTICLES INSIDE PROFILE CARD
   ========================================================= */

.profile-card .profile-content {
  position: relative;
  z-index: 2;
}

.profile-card .profile-content {
  --particle-color: rgba(0, 174, 255, 0.45);
}

.profile-card .profile-content::marker {
  display: none;
}

/* =========================================================
   UNIQUE INTERNAL AURORA EFFECT
   ========================================================= */

.profile-card {
  background:
    radial-gradient(
      circle at 15% 20%,
      rgba(0, 207, 255, 0.08),
      transparent 28%
    ),
    radial-gradient(
      circle at 85% 75%,
      rgba(122, 44, 255, 0.07),
      transparent 30%
    ),
    radial-gradient(
      circle at 50% 100%,
      rgba(0, 255, 157, 0.045),
      transparent 32%
    ),
    #ffffff;
}

.profile-card.reverse {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 380px);
}

.profile-card.reverse .profile-image {
  order: 2;
}

.profile-card.reverse .profile-content {
  order: 1;
}

.profile-image {
  position: relative;
  border-radius: 22px;
  padding: 3px;
  overflow: hidden;
  isolation: isolate;
}

.profile-image::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;

  background: linear-gradient(
    120deg,
    #012f7e,
    #00cfff,
    #0066ff,
    #012f7e
  );

  background-size: 300% 300%;
  animation: photoBorderGlow 5s linear infinite;

  z-index: -1;
}

.profile-image img {
  width: 100%;
  height: 340px;
  display: block;

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

  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.14),
    inset 0 0 20px rgba(0, 207, 255, 0.12);

  transition:
    transform 0.6s ease,
    filter 0.6s ease,
    box-shadow 0.6s ease;
}

.profile-content h3 {
  font-size: 1.45rem;
  color: #071f4e;
  margin-bottom: 6px;
}

.profile-content .role {
  font-weight: 700;
  color: #0054d1;
  margin-bottom: 12px;
}

.profile-content .summary {
  color: #43516f;
  margin-bottom: 12px;
}

.profile-content h4 {
  margin: 12px 0 8px;
  color: #071f4e;
}

.profile-content p,
.profile-content li {
  color: #43516f;
  line-height: 1.75;
}

.profile-content strong {
  color: #071f4e;
}

.profile-content .profile-block {
  margin-top: 12px;
}

.profile-content ul {
  padding-left: 18px;
  color: #43516f;
}

.profile-content li {
  margin-bottom: 6px;
}

.cta-section {
  padding: 40px 80px 20px;
  text-align: center;
}

.cta-section h2 {
  color: #071f4e;
  margin-bottom: 10px;
}

.cta-section p {
  color: #43516f;
  margin-bottom: 18px;
}

.cta-btn {
  display: inline-block;
  background: linear-gradient(135deg, #012f7e 0%, #0054d1 100%);
  color: #fff;
  text-decoration: none;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
}


.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: all 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes goldBorderShimmer {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

@keyframes photoBorderGlow {
  0% {
    background-position: 0% 50%;
    filter: brightness(1);
  }

  50% {
    background-position: 100% 50%;
    filter: brightness(1.25);
  }

  100% {
    background-position: 0% 50%;
    filter: brightness(1);
  }
}

.profile-image::after {
  content: "";
  position: absolute;
  inset: 3px;

  border-radius: 19px;

  box-shadow:
    inset 0 0 25px rgba(0, 207, 255, 0.12),
    inset 0 0 55px rgba(1, 47, 126, 0.08);

  pointer-events: none;
  z-index: 2;
}

.profile-card:hover .profile-image img {
  transform: scale(1.035);

  filter:
    brightness(1.05)
    saturate(1.08);

  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.18),
    0 0 22px rgba(0, 207, 255, 0.30);
}

.profile-card:hover .profile-content::before {
  opacity: 1;

  animation-duration: 4s;
}

.profile-card .profile-content h3 {
  transition:
    transform 0.4s ease,
    text-shadow 0.4s ease;
}

.profile-card:hover .profile-content h3 {
  transform: translateX(5px);

  text-shadow:
    0 0 10px rgba(0, 174, 255, 0.18);
}

@keyframes aurora {
  0% { transform: translate(0,0) scale(1); }
  50% { transform: translate(-200px, -120px) scale(1.4); }
  100% { transform: translate(0,0) scale(1); }
}

@keyframes circuitMove {
  0% { transform: rotate(0deg) scale(1); }
  100% { transform: rotate(360deg) scale(1.1); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
  .org-hero {
    grid-template-columns: 1fr;
    padding: 60px 24px 30px;
  }

  .org-intro,
  .team-profile-list,
  .cta-section {
    padding-left: 24px;
    padding-right: 24px;
  }

  .profile-card,
  .profile-card.reverse {
    grid-template-columns: 1fr;
  }

  .profile-card.reverse .profile-image,
  .profile-card.reverse .profile-content {
    order: initial;
  }
}

@media (max-width: 760px) {
  .navbar {
    flex-wrap: wrap;
    padding: 12px 16px;
  }

.nav-links {
  display: none;
  width: 100%;
  flex-direction: column;
  margin: 0 !important;
  padding: 0 !important;
  gap: 0 !important;
}

  .nav-links a {
  padding: 0 !important;
  margin: 0 !important;
  line-height: 1.2 !important;
  font-size: 0.96rem;
}

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

  .social-icons {
    display: none;
  }

  .join-btn {
    margin-left: auto;
    margin-right: 12px;
  }

  .hamburger-menu {
    display: block;
  }

  .intro-card,
  .profile-card {
    padding: 18px;
  }

  .profile-image img {
    height: 260px;
  }

  .profile-card:hover {
  transform: none;
}

.profile-card:hover .profile-image img {
  transform: none;
}

.profile-card:hover::before {
  animation-duration: 7s;
}

.profile-card .profile-content::after {
  display: none;
}
}

/* =========================================================
   NAVBAR FINAL FIX
   ========================================================= */

/* Keep all normal website text in Times New Roman */
html,
body,
.navbar a,
.navbar span {
  font-family: "Times New Roman", Times, serif !important;
}

/* Restore Font Awesome icons */
.social-icons .fab {
  font-family: "Font Awesome 6 Brands" !important;
  font-weight: 400 !important;
}

.hamburger-menu .fas {
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
}

/* Make JOIN NOW compact like the other pages */
.navbar .join-btn {
  line-height: 1 !important;
  padding: 9px 17px !important;
  font-size: 0.9rem !important;
  height: auto !important;
  min-height: 0 !important;
}

/* =========================================================
   ORGANIZATION INTRO — PREMIUM GLOWING CARD
   ========================================================= */

.org-intro {
  position: relative;
}


/* =========================================================
   MAIN CARD
   ========================================================= */

.intro-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;

  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.98),
      rgba(247, 251, 255, 0.98)
    );

  border: 1px solid rgba(39, 139, 213, 0.22);
  border-radius: 24px;

  box-shadow:
    0 18px 45px rgba(5, 40, 94, 0.12),
    0 0 0 1px rgba(39, 139, 213, 0.04);

  transition:
    transform 0.45s ease,
    box-shadow 0.45s ease,
    border-color 0.45s ease;
}


/* =========================================================
   GLOWING ANIMATED BORDER
   ========================================================= */

/* =========================================================
   GLOWING ANIMATED BORDER
   ========================================================= */

.intro-card::before {
  content: "";
  position: absolute;
  inset: -2px;

  border-radius: inherit;

background: linear-gradient(
  90deg,
  transparent 0%,
  rgba(1, 47, 126, 0.08) 20%,
  rgba(0, 102, 255, 0.40) 50%,
  rgba(18, 74, 180, 0.12) 80%,
  transparent 100%
);

  background-size: 200% 100%;

  animation: introBorderGlow 5s linear infinite;

  pointer-events: none;
  z-index: -1;
}

/* =========================================================
   SOFT INTERNAL LIGHT
   ========================================================= */

.intro-card::after {
  content: "";
  position: absolute;

  width: 420px;
  height: 420px;

  top: -250px;
  right: -180px;

  border-radius: 50%;

background:
  radial-gradient(
    circle,
  rgba(0, 102, 255, 0.025) 0%,
  rgba(1, 47, 126, 0.012) 35%,
    transparent 72%
  );

  filter: blur(20px);

  animation: introAmbientGlow 8s ease-in-out infinite alternate;

  pointer-events: none;
  z-index: -1;
}


/* =========================================================
   SUBTLE TECHNOLOGY GRID
   ========================================================= */

.intro-card {
  background-image:
    linear-gradient(
      rgba(39, 139, 213, 0.035) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(39, 139, 213, 0.035) 1px,
      transparent 1px
    ),
    linear-gradient(
      135deg,
      rgba(255,255,255,0.98),
      rgba(247,251,255,0.98)
    );

  background-size:
    38px 38px,
    38px 38px,
    100% 100%;
}


/* =========================================================
   MOVING LIGHT SWEEP
   ========================================================= */

.intro-card h2,
.intro-card p {
  position: relative;
  z-index: 3;
}

.intro-card h2::after {
  content: "";

  position: absolute;
  left: 0;
  bottom: -7px;

  width: 70px;
  height: 3px;

  border-radius: 10px;

  background:
    linear-gradient(
      90deg,
      #012f7e,
      #00cfff,
      transparent
    );

  box-shadow:
    0 0 8px rgba(0, 207, 255, 0.45),
    0 0 18px rgba(0, 207, 255, 0.20);

  animation: introLinePulse 3s ease-in-out infinite;
}


/* =========================================================
   PARAGRAPH — PREMIUM LEFT ACCENT
   ========================================================= */

.intro-card p {
  padding-left: 16px;

  border-left: 2px solid rgba(39, 139, 213, 0.35);

  transition:
    border-color 0.4s ease,
    padding-left 0.4s ease;
}


/* =========================================================
   HOVER EFFECT
   ========================================================= */

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

  border-color: rgba(39, 139, 213, 0.42);

  box-shadow:
    0 25px 60px rgba(5, 40, 94, 0.16),
    0 0 28px rgba(39, 139, 213, 0.12);
}

.intro-card:hover p {
  border-left-color: rgba(0, 174, 255, 0.75);
  padding-left: 20px;
}


/* =========================================================
   ANIMATIONS
   ========================================================= */

@keyframes introBorderGlow {

  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

@keyframes introAmbientGlow {

  0% {
    transform: translate(0, 0) scale(1);
    opacity: 0.55;
  }

  50% {
    transform: translate(-45px, 30px) scale(1.12);
    opacity: 0.85;
  }

  100% {
    transform: translate(20px, -20px) scale(1);
    opacity: 0.60;
  }
}


@keyframes introLinePulse {

  0%,
  100% {
    width: 55px;
    opacity: 0.7;
  }

  50% {
    width: 95px;
    opacity: 1;
  }
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

  .intro-card {
    border-radius: 22px;
  }
}


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

@media (max-width: 760px) {

  .intro-card {
    padding: 22px 20px;
    border-radius: 20px;
  }

  .intro-card p {
    padding-left: 12px;
  }

  .intro-card:hover {
    transform: none;
  }

  .intro-card::after {
    width: 280px;
    height: 280px;
    top: -160px;
    right: -130px;
  }
}


/* =========================================================
   SMALL PHONES
   ========================================================= */

@media (max-width: 430px) {

  .intro-card {
    padding: 20px 17px;
    border-radius: 18px;
  }

  .intro-card h2::after {
    bottom: -6px;
    height: 2px;
  }

  .intro-card p {
    padding-left: 10px;
  }
}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

  .intro-card::before,
  .intro-card::after,
  .intro-card h2::after {
    animation: none;
  }

  .intro-card {
    transition: none;
  }
}

/* =========================================================
   MOBILE — PROFILE IMAGE ZOOM OUT
   ========================================================= */

@media (max-width: 760px) {

  /* 2nd profile — Mr. P. Vijayakumar */
  .org-profile--director .org-image-frame {
    aspect-ratio: 0.82;
  }

  .org-profile--director .org-image-frame img {
    object-fit: cover;
    object-position: center top;
  }


  /* 3rd profile — Ms. J. Lavanya */
  .org-profile--centre-head .org-image-frame {
    aspect-ratio: 0.68;
  }

  .org-profile--centre-head .org-image-frame img {
    object-fit: cover;
    object-position: center top;
  }

}

@media (min-width: 1536px) {
  .team-profile-list .profile-card:nth-child(2) .profile-image {
    transform: translateX(-150px);
  }
}

/* =========================================================
   2XL — CENTER NAVIGATION LINKS
   ========================================================= */

@media (min-width: 1536px) {
  .nav-links {
    position: absolute;
    left: 20%;
    transform: translateX(-20%);
  }
}

/* =========================================================
   ORGANIZATION NAMES — GLOWING / COLOUR ANIMATION
   ========================================================= */

.person-name {
  position: relative;
  display: inline-block;
  font-weight: 700;

  background: linear-gradient(
    90deg,
    #1f417c,
    #0077ff,
    #8a2be2,
    #00bfff,
    #1f417c
  );

  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;

  animation:
    nameColorFlow 5s ease-in-out infinite,
    nameGlow 2.8s ease-in-out infinite;

  cursor: pointer;

  transition:
    transform 0.35s ease,
    filter 0.35s ease;
}


/* COLOUR MOVEMENT */
@keyframes nameColorFlow {

  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }

}


/* SOFT GLOW / PULSE */
@keyframes nameGlow {

  0%,
  100% {
    filter:
      drop-shadow(0 0 0px rgba(0, 119, 255, 0));
  }

  50% {
    filter:
      drop-shadow(0 0 7px rgba(0, 119, 255, 0.45));
  }

}


/* HOVER EFFECT */
.person-name:hover {

  transform: translateY(-2px) scale(1.035);

  filter:
    drop-shadow(0 0 5px rgba(0, 191, 255, 0.8))
    drop-shadow(0 0 14px rgba(138, 43, 226, 0.55));

}


/* SMALL HIGHLIGHT LINE UNDER THE NAME */
.person-name::after {

  content: "";

  position: absolute;

  left: 0;
  bottom: -3px;

  width: 0;
  height: 2px;

  border-radius: 10px;

  background: linear-gradient(
    90deg,
    #00bfff,
    #8a2be2,
    #0077ff
  );

  box-shadow:
    0 0 6px rgba(0, 191, 255, 0.8),
    0 0 12px rgba(138, 43, 226, 0.6);

  transition: width 0.4s ease;
}


/* HOVER → LINE EXPANDS */
.person-name:hover::after {
  width: 100%;
}

/* ONLY 2nd profile image - Director */
.profile-card:nth-child(2) .profile-image img {
    height: 450px;
    object-fit: cover;
    object-position: center top;
}

/* ONLY 3RD profile image - */
.profile-card:nth-child(3) .profile-image img {
    height: 450px;
    object-fit: cover;
    object-position: center top;
}

/* ONLY 4th profile image - */
.profile-card:nth-child(4) .profile-image img {
    height: 450px;
    object-fit: cover;
    object-position: center top;
}

/* ONLY 5TH profile image - */
.profile-card:nth-child(5) .profile-image img {
    height: 450px;
    object-fit: cover;
    object-position: center top;
}

/* =========================================================
   ORGANIZATION NAMES - MOBILE FIX
   ========================================================= */

.organization-names {
  display: block;
  line-height: 1.8;
}

.organization-names .person-name {
  position: relative;

  display: block !important;

  width: max-content !important;
  max-width: none !important;

  white-space: nowrap !important;
  word-break: keep-all !important;
  overflow-wrap: normal !important;

  font-weight: 700;

  background: linear-gradient(
    90deg,
    #1f417c,
    #0077ff,
    #8a2be2,
    #00bfff,
    #1f417c
  );

  background-size: 300% 100%;

  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;

  animation:
    nameColorFlow 5s ease-in-out infinite,
    nameGlow 2.8s ease-in-out infinite;

  margin: 0;
  padding: 0;
}

.organization-names .organization-ending {
  display: block;
  margin-top: 8px;
}


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

@media (max-width: 760px) {

  .organization-names .person-name {
    display: block !important;

    white-space: nowrap !important;
    word-break: keep-all !important;
    overflow-wrap: normal !important;

    width: max-content !important;
    max-width: none !important;

    /*
      Automatically makes long names smaller
      so they remain on ONE LINE.
    */
    font-size: clamp(0.68rem, 2.65vw, 0.92rem);

    line-height: 1.8;
  }

  .organization-names .organization-ending {
    display: block;
    margin-top: 8px;
  }
}
