:root {
  --bg-primary: #0A0A0D;
  --bg-secondary: #13151C;
  --bg-tertiary: #1C1F29;
  --text-primary: #FFFFFF;
  --text-secondary: #B8C2CC;
  --accent-blue: #4361EE;
  --accent-purple: #7209B7;
  --accent-pink: #F72585;
  --accent-cyan: #06D6A0;
  --accent-yellow: #FFD166;
  --glow-blue: 0 0 15px rgba(67, 97, 238, 0.6);
  --glow-purple: 0 0 15px rgba(114, 9, 183, 0.6);
  --glow-pink: 0 0 15px rgba(247, 37, 133, 0.6);
  --grid-color: rgba(67, 97, 238, 0.1);
}
body.light-mode {
  --bg-primary: #f0f0f0;
  --bg-secondary: #e0e0e0;
  --bg-tertiary: #d0d0d0;
  --text-primary: #000000;
  --text-secondary: #333333;
  --accent-blue: #4361EE;
  --accent-purple: #7209B7;
  --accent-pink: #F72585;
  --accent-cyan: #06D6A0;
  --accent-yellow: #FFD166;
  --glow-blue: 0 0 15px rgba(67, 97, 238, 0.4);
  --glow-purple: 0 0 15px rgba(114, 9, 183, 0.4);
  --glow-pink: 0 0 15px rgba(247, 37, 133, 0.4);
  --grid-color: rgba(67, 97, 238, 0.05);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; background-color: var(--bg-primary); }
body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}
h1,h2,h3,h4,h5,h6 { font-weight:700; margin-bottom:1rem; }
.cyber-line { height:3px; background: linear-gradient(90deg, transparent, var(--accent-blue), var(--accent-purple), var(--accent-pink), transparent); width:100%; }
.cyber-grid {
  position: fixed; top:0; left:0; width:100%; height:100%;
  background-image:
    linear-gradient(var(--grid-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
  background-size: 50px 50px; pointer-events:none; z-index:-1; opacity:0.3;
}
#preloader {
  position: fixed; top:0; left:0; width:100%; height:100%; background-color:var(--bg-primary);
  display:flex; justify-content:center; align-items:center; z-index:9999; flex-direction:column;
}
.loader-wrap { display:grid; place-items:center; gap:18px; }
.loader-img{ width:80px; }
.loader-percent{ font-weight:800; font-size:28px; letter-spacing:0.08em; }
.loader-label{ font-size:12px; text-transform:uppercase; color:var(--text-secondary); letter-spacing:0.25em; }
.brand-spark{ width:160px; height:40px; border-radius:20px; background:linear-gradient(90deg, var(--accent-blue), var(--accent-purple), var(--accent-pink)); filter: blur(18px) opacity(0.35); position:absolute; bottom:8%; left:50%; transform:translateX(-50%); animation:brandflow 5s ease-in-out infinite alternate; }
@keyframes brandflow { from{ width:120px; filter: blur(12px) opacity(0.25);} to{ width:220px; filter: blur(22px) opacity(0.45);} }
header {
  position:fixed; top:0; left:0; width:100%; padding:0rem 2rem; display:flex; justify-content:space-between; align-items:center; z-index:100;
}
.logo { font-weight:900; font-size:3rem; background:linear-gradient(90deg, var(--accent-blue), var(--accent-purple), var(--accent-pink)); -webkit-background-clip:text; background-clip:text; color:transparent; text-decoration:none; }
.header-buttons { display:flex; align-items:center; gap:1rem; }
.sound-btn, .theme-btn {
  width:54px; height:54px; border-radius:50%; background: conic-gradient(from 220deg, var(--accent-blue), var(--accent-purple), var(--accent-pink));
  border:1px solid rgba(255,255,255,0.12); display:grid; place-items:center; box-shadow:0 8px 32px rgba(0,0,0,0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease; filter: drop-shadow(0 0 18px rgba(67, 97, 238, 0.35));
  position:relative; z-index:1001; cursor:pointer; font-size:25px; color:white;
}
.sound-btn:hover, .theme-btn:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 12px 40px rgba(0,0,0,0.5); }
.sound-btn.muted::before {
  content: '';
  position: absolute;
  width: 1.3px;
  height: 40px;
  background: white;
  transform: rotate(45deg);
  z-index: 2;
}
.radial-menu { position:relative; z-index:1000; }
.radial-menu .fab { width:54px; height:54px; border-radius:50%; background: conic-gradient(from 220deg, var(--accent-blue), var(--accent-purple), var(--accent-pink)); border:1px solid rgba(255,255,255,0.12); display:grid; place-items:center; box-shadow:0 8px 32px rgba(0,0,0,0.4); transition: transform 0.3s ease, box-shadow 0.3s ease; filter: drop-shadow(0 0 18px rgba(67,97,238,0.35)); position:relative; z-index:1001; }
.radial-menu .fab .line { width:20px; height:2px; background-color:white; transition: all 0.3s ease; position:absolute; }
.radial-menu .fab .line:nth-child(1) { transform: translateY(-6px); }
.radial-menu .fab .line:nth-child(2) { opacity:1; }
.radial-menu .fab .line:nth-child(3) { transform: translateY(6px); }
.radial-menu.open .fab .line:nth-child(1) { transform: translateY(0) rotate(45deg); }
.radial-menu.open .fab .line:nth-child(2) { opacity:0; }
.radial-menu.open .fab .line:nth-child(3) { transform: translateY(0) rotate(-45deg); }
.radial-menu .items {
  position:fixed; top:0; left:0; width:100%; height:100vh; background:rgba(10,10,13,0.95); backdrop-filter: blur(10px);
  display:flex; flex-direction:column; justify-content:center; align-items:center; opacity:0; visibility:hidden; transition: opacity 0.5s ease, visibility 0.5s ease; z-index:1000;
}
body.light-mode .radial-menu .items { background: rgba(255,255,255,0.95); color: var(--text-primary); }
.radial-menu.open .items { opacity:1; visibility:visible; }
.radial-menu .item { display:block; padding:0px 20px; color:#fff; font-size:40px; font-weight:700; transition: all 0.3s ease; text-decoration:none; margin:10px 0; position:relative; overflow:hidden; text-transform:uppercase; }
body.light-mode .radial-menu .item { color:#000; }
body.light-mode .radial-menu .item:hover { color: var(--accent-blue); }
.radial-menu .item::before { content:''; position:absolute; bottom:0; left:0; width:0; height:3px; background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple)); transition: width 0.3s ease; }
.radial-menu .item:hover { color: var(--accent-blue); }
.radial-menu .item:hover::before { width:100%; }
/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}
.hero-bg iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100vw;
  height: 56.25vw;
  min-height: 100vh;
  min-width: calc(100vh * 16 / 9);
  border: none;
  pointer-events: none;
}
.hero-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(10, 10, 13, 0.7) 0%, rgba(67, 97, 238, 0.2) 100%);
  z-index: 1;
}
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0);
  z-index: 1;
  pointer-events: none;
}
.hero h1 { font-size: clamp(2.5rem, 8vw, 5rem); margin-bottom:1.5rem; line-height:1.2; position:relative; z-index:2; transform-origin:center center; }
.hero h1 span { display:inline-block; position:relative; min-width:600px; height:1.2em; vertical-align:bottom; overflow:hidden; }
.hero h1 span .word {
  position:absolute; width:100%; height:100%; display:flex; align-items:center; justify-content:center;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple), var(--accent-pink));
  -webkit-background-clip: text; background-clip: text; color:transparent; opacity:0; transform:translateY(100%); transition: all 0.5s ease;
}
.hero h1 span .word.active { opacity:1; transform:translateY(0); }
.hero h1 span .word.exiting { opacity:0; transform:translateY(-100%); }
.hero p {
  font-size: clamp(1rem, 3vw, 1.5rem);
  max-width:800px; margin-bottom:2.5rem; color:var(--text-secondary); position:relative; z-index:2; transform-origin:center center;
}
.cta-buttons { display:flex; gap:1rem; flex-wrap:wrap; justify-content:center; position:relative; z-index:2; transform-origin:center center; }

/* About Us Section */
.about-us {
  padding: 6rem 2rem;
  background-color: var(--bg-primary);
}
.about-us .section-title {
  text-align: center;
  margin-bottom: 4rem;
}
.about-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-image {
  border-radius: 12px;
  overflow: hidden;
  height: 400px;
}
.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.about-content:hover .about-image img {
  transform: scale(1.05);
}
.about-text h2 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
}
.about-text p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.8;
}
.btn-about {
  padding: 1rem 2rem;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple));
  color: white;
  box-shadow: var(--glow-blue);
}
.btn-about:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(67, 97, 238, 0.4);
}

/* Page Header */
.page-header {
  position: relative;
  height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  margin: 0;
  padding: 0;
  z-index: 1; /* Lower than header */
}
.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(10, 10, 13, 0.7) 0%, rgba(67, 97, 238, 0.2) 100%);
  z-index: 1;
}
.page-header h1, .page-header p {
  position: relative;
  z-index: 2;
  color: white;
}
.page-header h1 {
  font-size: clamp(2.5rem, 8vw, 5rem);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}
.page-header p {
  font-size: clamp(1rem, 3vw, 1.5rem);
  max-width: 800px;
  margin-bottom: 2.5rem;
  color: var(--text-secondary);
}
/* Team Section */
.team {
  padding: 6rem 2rem;
  background-color: var(--bg-primary);
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
.team-member {
  background-color: var(--bg-secondary);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
}
.team-member:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(67, 97, 238, 0.2);
}
.team-image {
  height: 300px;
  overflow: hidden;
}
.team-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.team-member:hover .team-image img {
  transform: scale(1.05);
}
.team-content {
  padding: 1.5rem;
  text-align: center;
}
.team-name {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}
.team-role {
  color: var(--text-secondary);
  font-size: 0.8rem;
}
/* Mission Section */
.mission {
  padding: 6rem 2rem;
  background-color: var(--bg-secondary);
}
.mission-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.mission-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}
.mission-content p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.section-title h2 {text-align:center; margin-bottom: 2rem;}




/* Members Section */
.members {
  padding: 6rem 2rem;
  background-color: var(--bg-primary);
}
.members .section-title {
  text-align: center;
  margin-bottom: 2rem;
}
.members-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}
.member-column {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  flex: 1;
  min-width: 300px;
  max-width: 450px;
}
.member-card {
  background-color: var(--bg-secondary);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem;
}
.member-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(67, 97, 238, 0.2);
}
.member-image {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}
.member-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.member-card:hover .member-image img {
  transform: scale(1.05);
}
.member-info {
  flex: 1;
  padding: 0.5rem 0;
}
.member-name {
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
  color: var(--text-primary);
}
.member-company {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Adaptive */
@media (max-width: 992px) {
  .members-grid {
    flex-direction: column;
  }
  .member-column {
    max-width: 100%;
  }
}
@media (max-width: 576px) {
  .member-card {
    flex-direction: column;
    text-align: center;
  }
  .member-image {
    width: 100%;
    height: 180px;
  }
}





/* Recent News Section */
.recent-news {
  padding: 6rem 2rem;
  background-color: var(--bg-primary);
}
.recent-news .section-title {
  text-align: center;
  margin-bottom: 4rem;
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}
.news-card {
  background-color: var(--bg-secondary);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  height: 400px;
  display: flex;
  flex-direction: column;
}
.news-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(67, 97, 238, 0.2);
}
.news-image {
  height: 200px;
  overflow: hidden;
}
.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.news-card:hover .news-image img {
  transform: scale(1.05);
}
.news-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.news-tag {
  display: inline-block;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple));
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 4px;
  font-size: 0.8rem;
  margin-bottom: 1rem;
  align-self: flex-start;
  transition: all 0.3s ease;
}
.news-card:hover .news-tag {
  transform: translateX(5px);
}
.news-title {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
  transition: all 0.3s ease;
}
.news-card:hover .news-title {
  background: conic-gradient(from 220deg, var(--accent-blue), var(--accent-purple), var(--accent-pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.news-date {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-top: auto;
  transition: all 0.3s ease;
}
.news-card:hover .news-date {
  color: var(--text-secondary);
}

.cta { padding:6rem 2rem; background:var(--bg-primary); text-align:center; position:relative; overflow:hidden; }
.webgl-cta { position:absolute; top:0; left:0; width:100%; height:100%; z-index:0; background: linear-gradient(45deg, rgba(67,97,238,0.05) 0%, rgba(114,9,183,0.05) 50%, rgba(247,37,133,0.05) 100%);}
.cta-content { position:relative; z-index:1; }
.cta h2 { font-size:2.5rem; margin-bottom:1.5rem; }
.cta p { color:var(--text-secondary); max-width:600px; margin:0 auto 2.5rem; }
.cta-buttons { display:flex; gap:1rem; flex-wrap:wrap; justify-content:center; position:relative; z-index:2; transform-origin:center center; }
.btn { padding:1rem 2rem; border:none; border-radius:8px; font-weight:600; font-size:1rem; cursor:pointer; transition: all 0.3s ease; position:relative; overflow:hidden; }
.btn-primary { background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple)); box-shadow: var(--glow-blue); color: var(--text-secondary); text-decoration:none;}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 25px rgba(67,97,238,0.4); color: var(--text-secondary); text-decoration:none;}
.btn-secondary { background:transparent; border:1px solid var(--accent-blue); color: black !important; text-decoration:none;}
.btn-secondary:hover { background: rgba(67,97,238,0.1); box-shadow: var(--glow-blue); color: black !important; text-decoration:none;}


footer { background-color:var(--bg-tertiary); padding:4rem 2rem 2rem; }
.footer-content { max-width:1200px; margin:0 auto; display:grid; grid-template-columns:1.5fr repeat(3,1fr); gap:4rem; }
.footer-column:first-child { padding-right:2rem; }
.footer-column h3 { font-size:1.2rem; margin-bottom:1.5rem; position:relative; padding-bottom:0.5rem; }
.footer-column h3::after { content:''; position:absolute; bottom:0; left:0; width:50px; height:3px; background:linear-gradient(90deg, var(--accent-blue), var(--accent-purple)); }
.footer-column p { color:var(--text-secondary); margin-bottom:1.5rem; }
.footer-links { list-style:none; }
.footer-links li { margin-bottom:0.8rem; }
.footer-links a { color:var(--text-secondary); text-decoration:none; transition: color 0.3s ease; }
.footer-links a:hover { color:var(--accent-blue); }
.social-links { display:flex; gap:1rem; margin-top:1.5rem;}
.social-links a { display:inline-flex; align-items:center; justify-content:center; width:40px; height:40px; border-radius:50%; background-color:var(--bg-secondary); color:var(--text-primary); transition:all 0.3s ease;  text-decoration: none; text-transform: lowercase; font-family: revert;}
.social-links a:hover { color:#fff; background:linear-gradient(90deg, var(--accent-blue), var(--accent-purple)); transform:translateY(-3px); }
.copyright { text-align:center; padding-top:3rem; border-top:1px solid rgba(255,255,255,0.1); color:var(--text-secondary); font-size:0.9rem; }
.lightbox { position:fixed; top:0; left:0; width:100%; height:100%; background-color: rgba(10,10,13,0.95); display:flex; justify-content:center; align-items:center; z-index:1000; opacity:0; visibility:hidden; transition: opacity 0.3s ease, visibility 0.3s ease; }
body.light-mode .lightbox { background-color: rgba(255,255,255,0.95); }
.lightbox.active { opacity:1; visibility:visible; }
.lightbox-content { background-color:var(--bg-secondary); border-radius:8px; width:90%; max-width:800px; max-height:90vh; overflow-y:auto; position:relative; padding:2rem; transform:scale(0.9); transition: transform 0.3s ease; }
.lightbox.active .lightbox-content { transform:scale(1); }
.lightbox-close { position:absolute; top:1rem; right:1rem; background:none; border:none; color:var(--text-primary); font-size:1.5rem; cursor:pointer; z-index:10; }
.lightbox-image { width:100%; height:300px; border-radius:8px; overflow:hidden; margin-bottom:1.5rem; }
.lightbox-image img { width:100%; height:100%; object-fit:cover; }
.lightbox-title { font-size:1.8rem; margin-bottom:1rem; }
.lightbox-category { display:inline-block; background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple)); color:white; padding:0.3rem 0.8rem; border-radius:4px; font-size:0.8rem; margin-bottom:1rem; }
.lightbox-desc { color:var(--text-secondary); line-height:1.6; }
.lightbox-content::-webkit-scrollbar { width:8px; }
.lightbox-content::-webkit-scrollbar-track { background: var(--bg-tertiary); border-radius:4px; }
.lightbox-content::-webkit-scrollbar-thumb { background: var(--accent-purple); border-radius:4px; box-shadow:0 0 10px rgba(114,9,183,0.5); }
.lightbox-content::-webkit-scrollbar-thumb:hover { background: var(--accent-pink); }
/* Light mode adjustments */
body.light-mode .hero h1,
body.light-mode .hero p,
body.light-mode .cta .btn,
body.light-mode .hero h1 span .word {
  color: #FFFFFF !important;
}
body.light-mode .hero h1 span .word {
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple), var(--accent-pink)) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
}
body.light-mode .marquee .logo {
  background: linear-gradient(135deg, rgba(10, 10, 13, 0.85), rgba(30,30,35,0.8));
  color: #fff;
  border: 1px solid rgba(255,255,255,0.06);
}
body.light-mode .radial-menu .item:hover {
  color: var(--accent-blue);
}
@media (max-width:1200px) { .footer-content { grid-template-columns:1fr 1fr; gap:3rem; } }
@media (max-width:992px) { .about-content { grid-template-columns:1fr; gap:2rem; } }
@media (max-width:768px) {
  header { padding:1rem; }
  .hero { padding:8rem 1rem 4rem; }
  .hero-bg iframe { width:100%; height:100%; }
  .cta-buttons { flex-direction:column; align-items:center; }
  .marquee .logo { width:250px; height:100px; font-size:14px; }
  .footer-content { grid-template-columns:1fr; gap:2rem; }
  .footer-column:first-child { padding-right:0; }
  .marquee-nav { left: 5px; right: 5px; }
  .marquee-nav button { width: 40px; height: 40px; font-size: 20px; }
  .marquee .logo { width: 200px; height: 80px; font-size: 12px; }
}
@media (max-width:576px) {
  .section-title h2 { font-size:2rem; }
  .lightbox-content { padding:1.5rem; }
  #buttons { flex-wrap:wrap; justify-content:center; width:100%; padding:0 10px; }
  #buttons button { font-size:11px; padding:6px 10px; }
  .news-grid { grid-template-columns:1fr; }
  .marquee .logo { width:200px; height:80px; font-size:12px; }
}
