@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* Core Variables */
:root {
  --bg-main: #06090f;
  --bg-surface: #0f141c;
  --bg-surface-hover: #161e2a;
  --bg-nav: rgba(6, 9, 15, 0.8);
  
  --primary: #6366f1;
  --primary-glow: rgba(99, 102, 241, 0.15);
  --cyan: #06b6d4;
  --cyan-glow: rgba(6, 182, 212, 0.15);
  
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --text-dark: #4b5563;
  
  --gradient-neon: linear-gradient(135deg, #06b6d4, #6366f1);
  --gradient-surface: linear-gradient(135deg, #0f141c, #090c12);
  
  --border-glow: rgba(99, 102, 241, 0.12);
  --border-light: rgba(255, 255, 255, 0.05);
  
  --font-main: 'Inter', sans-serif;
  --font-accent: 'Outfit', sans-serif;
}

/* Modern CSS Reset & Basics */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 100px;
}

body {
  background-color: var(--bg-main);
  background-image: 
    radial-gradient(at 0% 0%, rgba(6, 182, 212, 0.03) 0px, transparent 50%),
    radial-gradient(at 100% 0%, rgba(99, 102, 241, 0.03) 0px, transparent 50%),
    radial-gradient(at 50% 50%, rgba(15, 20, 28, 0.2) 0px, transparent 100%);
  color: var(--text-main);
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-accent);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

a {
  color: var(--cyan);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

a:hover {
  color: #38bdf8;
}

/* Sticky Premium Navigation Header */
header {
  background: var(--bg-nav);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
}

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

#logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-accent);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
  background: var(--gradient-neon);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

#logo img {
  height: 38px;
  width: auto;
  filter: drop-shadow(0 0 8px rgba(6, 182, 212, 0.4));
  transition: transform 0.4s ease;
}

#logo:hover img {
  transform: rotate(10deg) scale(1.05);
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 6px 0;
  position: relative;
}

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

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gradient-neon);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* Mobile Menu Toggle button (pure CSS) */
.menu-btn {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
}

.menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-main);
  margin: 5px 0;
  transition: all 0.3s ease;
}

/* Hero Section Styles */
.hero-sec {
  position: relative;
  padding: 100px 25px 80px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  z-index: 10;
}

.hero-gradient-orb {
  position: absolute;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(99,102,241,0.06) 0%, transparent 70%);
  z-index: -1;
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.2);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #a5b4fc;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  animation: pulse-border 3s infinite;
}

@keyframes pulse-border {
  0%, 100% { border-color: rgba(99, 102, 241, 0.2); }
  50% { border-color: rgba(6, 182, 212, 0.6); }
}

.hero-sec h1 {
  font-size: 2.85rem;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #ffffff 30%, #a5b4fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 30px;
  line-height: 1.25;
}

/* Premium Card Grid (Services / Sections Menu) */
.content-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 25px 100px;
}

.grid-menu {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  list-style: none;
}

.grid-menu li {
  background: var(--gradient-surface);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  height: 260px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.grid-menu li::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 1.5px;
  background: linear-gradient(135deg, transparent 40%, rgba(99, 102, 241, 0.2) 80%, rgba(6, 182, 212, 0.4));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.grid-menu li:hover {
  transform: translateY(-8px);
  background: var(--bg-surface-hover);
  box-shadow: 0 12px 40px rgba(99, 102, 241, 0.15);
  border-color: rgba(99, 102, 241, 0.2);
}

.grid-menu li:hover::before {
  opacity: 1;
}

.grid-menu a {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 30px 24px;
  color: var(--text-main);
  z-index: 2;
}

.card-icon {
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--cyan);
  margin-bottom: 24px;
  transition: all 0.3s ease;
}

.grid-menu li:hover .card-icon {
  background: var(--gradient-neon);
  color: #ffffff;
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.4);
}

.card-title {
  font-family: var(--font-accent);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
  transition: color 0.3s ease;
}

.grid-menu li:hover .card-title {
  color: #ffffff;
}

.card-sub {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 400;
}

/* Interior Pages Content Layouts */
.page-hero {
  background: linear-gradient(180deg, rgba(15, 20, 28, 0.6) 0%, rgba(6, 9, 15, 0) 100%);
  border-bottom: 1px solid var(--border-light);
  padding: 70px 25px;
  text-align: center;
}

.page-hero h1 {
  font-size: 2.8rem;
  background: var(--gradient-neon);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 15px;
}

.page-hero p {
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.1rem;
}

.main-content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 60px 25px 100px;
}

.content-section {
  background: var(--gradient-surface);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 45px;
  margin-bottom: 40px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

.content-section h2 {
  font-size: 1.85rem;
  color: #ffffff;
  margin-bottom: 25px;
  position: relative;
  display: inline-block;
}

.content-section h2::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--cyan);
  border-radius: 10px;
}

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

.section-about {
  background: linear-gradient(180deg, rgba(15, 25, 45, 0.92), rgba(9, 18, 35, 0.95));
  border-color: rgba(96, 165, 250, 0.35);
}

.section-about h2::after {
  background: #60a5fa;
}

.section-products {
  background: linear-gradient(180deg, rgba(8, 25, 42, 0.92), rgba(6, 16, 33, 0.95));
  border-color: rgba(6, 182, 212, 0.35);
}

.section-products h2::after {
  background: #06b6d4;
}

.section-solutions {
  background: linear-gradient(180deg, rgba(14, 22, 48, 0.92), rgba(8, 14, 33, 0.95));
  border-color: rgba(129, 140, 248, 0.35);
}

.section-solutions h2::after {
  background: #818cf8;
}

.section-labs {
  background: linear-gradient(180deg, rgba(8, 22, 34, 0.92), rgba(12, 26, 44, 0.95));
  border-color: rgba(56, 189, 248, 0.35);
}

.section-labs h2::after {
  background: #38bdf8;
}

.section-events {
  background: linear-gradient(180deg, rgba(11, 21, 36, 0.92), rgba(8, 16, 34, 0.95));
  border-color: rgba(34, 211, 238, 0.30);
}

.section-events h2::after {
  background: #22d3ee;
}

.section-support {
  background: linear-gradient(180deg, rgba(9, 19, 32, 0.92), rgba(8, 15, 30, 0.95));
  border-color: rgba(14, 165, 233, 0.3);
}

.section-support h2::after {
  background: #0ea5e9;
}

.section-careers {
  background: linear-gradient(180deg, rgba(14, 20, 36, 0.92), rgba(10, 15, 30, 0.95));
  border-color: rgba(168, 85, 247, 0.28);
}

.section-careers h2::after {
  background: #a855f7;
}

.section-life {
  background: linear-gradient(180deg, rgba(12, 20, 34, 0.92), rgba(8, 14, 28, 0.95));
  border-color: rgba(56, 189, 248, 0.25);
}

.section-life h2::after {
  background: #38bdf8;
}

.section-citizenship {
  background: linear-gradient(180deg, rgba(13, 21, 36, 0.92), rgba(9, 15, 28, 0.95));
  border-color: rgba(34, 211, 238, 0.24);
}

.section-citizenship h2::after {
  background: #2dd4bf;
}

.section-contact {
  background: linear-gradient(180deg, rgba(10, 17, 30, 0.92), rgba(7, 13, 26, 0.95));
  border-color: rgba(59, 130, 246, 0.28);
}

.section-contact h2::after {
  background: #60a5fa;
}

/* Interactive Tabs (Pure CSS) in aboutUs.html */
.tabs-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tab-nav {
  display: flex;
  gap: 12px;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 1px;
}

.tab-nav-btn {
  padding: 12px 24px;
  font-family: var(--font-accent);
  font-weight: 600;
  font-size: 1rem;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.3s ease;
  border-bottom: 2px solid transparent;
}

.tab-nav-btn:hover {
  color: var(--text-main);
}

.tab-nav-btn.active {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
}

.tab-content {
  display: none;
  animation: fadeIn 0.4s ease forwards;
}

.tab-content.active {
  display: block;
}

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

/* Clean Responsive Grid for Solutions & Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 30px;
}

.feature-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 30px;
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(6, 182, 212, 0.3);
  background: rgba(255, 255, 255, 0.04);
}

.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: #ffffff;
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* Premium Form Styling */
.form-container {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.form-control,
.form-select {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  color: var(--text-main);
  font-family: var(--font-main);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 12px var(--cyan-glow);
  background: rgba(255, 255, 255, 0.04);
}

.form-select option {
  background-color: var(--bg-surface);
  color: var(--text-main);
}

.btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 15px 25px;
  background: var(--gradient-neon);
  border: none;
  border-radius: 10px;
  color: #ffffff;
  font-family: var(--font-accent);
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(6, 182, 212, 0.3);
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

/* Response/Thankyou Page Formats */
.thankyou-box {
  text-align: center;
  padding: 40px 20px;
}

.thankyou-box h2 {
  font-size: 2.2rem;
  margin-bottom: 15px;
  background: var(--gradient-neon);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.thankyou-box img {
  border-radius: 16px;
  max-width: 100%;
  height: auto;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  margin-bottom: 30px;
}

/* Premium Structured Footer */
footer {
  background: #04060a;
  border-top: 1px solid var(--border-light);
  padding: 80px 25px 40px;
  margin-top: 60px;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 60px;
}

.footer-brand h3 {
  font-size: 1.4rem;
  margin-bottom: 16px;
  color: #ffffff;
}

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

.footer-col h4 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-main);
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul a {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.footer-col ul a:hover {
  color: var(--cyan);
  padding-left: 4px;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid var(--border-light);
  padding-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom p {
  color: var(--text-dark);
  font-size: 0.85rem;
}

.social-links {
  display: flex;
  gap: 16px;
}

.social-links a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  transition: all 0.3s ease;
}

.social-links a:hover {
  color: #ffffff;
  background: var(--primary);
  border-color: var(--primary);
}

/* Animations */
@keyframes pulse-dot {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.2); }
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 15px;
  }
  
  .menu-btn {
    display: block;
  }
  
  .nav-links {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: var(--bg-main);
    flex-direction: column;
    align-items: center;
    padding-top: 50px;
    transition: all 0.4s ease;
    border-top: 1px solid var(--border-light);
  }
  
  .nav-links.active {
    left: 0;
  }
  
  .hero-sec h1 {
    font-size: 2.1rem;
  }
  
  .page-hero h1 {
    font-size: 2.2rem;
  }

  .content-section {
    padding: 30px 20px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
