/* Reset & Font */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Lexend', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: #050a30;
  padding-top: 100px; /* leave space for fixed header */
}

/* Header Styles */
header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 100px;
  background-color: #4151b4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

header img:first-of-type {
  height: 60px;
  object-fit: contain;
}

/* Navbar container */
nav ul {
  list-style: none;
  display: flex;
  align-items: center; /* 🔧 Ensures vertical alignment */
  gap: 25px;
}

/* Common nav link styles */
nav ul li a {
  position: relative;
  display: inline-block;
  padding-bottom: 5px;
  text-decoration: none;
  color: white;
  font-weight: 600;
  transition: color 0.3s ease;
}

/* Underline animation for regular links */
nav ul li a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0%;
  background-color: #00bfff;
  transition: width 0.3s ease-in-out;
}

nav ul li a:hover::after {
  width: 100%;
}

nav ul li a:hover {
  color: #00bfff;
}

/* ✅ LOGIN button specific styles */
nav ul li a.login-button {
  padding: 6px 14px;               /* Adjust padding */
  border: 2px solid #00bfff;
  border-radius: 6px;
  line-height: 1;                  /* Align better */
  height: auto;
  display: inline-block;
  margin-top: -2px;                /* Slight tweak for vertical centering */
  transition: background-color 0.3s, color 0.3s;
}

nav ul li a.login-button:hover {
  background-color: #00bfff;
  color: #fff;
}

/* Banner Section */
.banner {
  width: 100%;
  height: 400px;
  background: url('../Assets/images/home_banner.png') no-repeat center center;
  background-size: cover;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.banner-logo {
  max-width: 700px;
  width: 100%;
  height: auto;
  z-index: 2;
}

/* Hero Section */
#hero {
  text-align: center;
  margin: 40px auto;
  padding: 40px 20px;
  max-width: 700px;
}

#hero h2 {
  font-size: 32px;
  margin-bottom: 15px;
  color: #fff;
}

#hero p {
  font-size: 18px;
  margin-bottom: 20px;
  color: #fff;
}

/* make sure the button still tilts & pulses */
#startBtn {
  position: relative;
  display: inline-block;
  margin-top: 2rem;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  color: #fff;
  background: #6b33ff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  animation: idleTilt 3s ease-in-out infinite;
}

/* pulse on hover */
#startBtn:hover {
  animation: idleTilt 3s ease-in-out infinite, pulseShadow 1.5s ease-out infinite;
}

/* wrap the text so it shrink‐wraps */
.btn-text {
  position: relative;
  display: inline-block;
}

/* underline bar on the text span */
.btn-text::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  height: 3px;
  width: 0;
  background-color: #00e0ff;
  transition: width 0.6s ease-out;
}

/* expand underline on hover */
#startBtn:hover .btn-text::after {
  width: 100%;
}

/* gentle left↔right tilt */
@keyframes idleTilt {
  0%, 100%   { transform: rotate(0deg); }
  25%        { transform: rotate(2deg); }
  50%        { transform: rotate(0deg); }
  75%        { transform: rotate(-2deg); }
}

/* stronger pulse */
@keyframes pulseShadow {
  0%   { box-shadow: 0 0 0 0   rgba(107,51,255,0.7); }
  50%  { box-shadow: 0 0 40px 16px rgba(107,51,255,0); }
  100% { box-shadow: 0 0 0 0   rgba(107,51,255,0.7); }
}

/* ─── ABOUT SECTION ───────────────────────────────────────────────────────── */
.about-section {
  padding: 4rem 1rem;
  background-color: #050a30;
}

.about-container {
  background-color: #fff;                     /* white card */
  max-width: 1100px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  border: 0.5px solid rgba(0, 225, 255, 0.3);  /* slim cyan border */
}

.about-logo {
  flex: 1 1 240px;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.about-logo img {
  max-width: 300px;
  height: auto;
}

.about-content {
  flex: 2 1 460px;
  padding: 2.5rem 3rem;
  background: #0b0f2f;
  position: relative;
}

/* Title + underline */
.about-title {
  font-size: 2.75rem;
  color: #00e0ff;
  margin: 0 0 1rem;
  position: relative;
  display: inline-block;
  transform: translateX(-60%);
  opacity: 0;
  animation: slideInText 0.8s ease-out forwards 0.2s;
}
.about-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 4px;
  background: #00e0ff;
  animation: aboutUnderline 0.8s ease-out forwards 0.6s;
}

/* Paragraphs slide in */
.about-content p {
  color: #e0e0e0;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  transform: translateX(-60%);
  opacity: 0;
  animation: slideInText 0.8s ease-out forwards;
}
.about-content p:nth-of-type(1) { animation-delay: 0.6s; }
.about-content p:nth-of-type(2) { animation-delay: 0.8s; }
.about-content p:nth-of-type(3) { animation-delay: 1.0s; }

/* Keyframes */
@keyframes slideInText {
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
@keyframes aboutUnderline {
  to {
    width: 100%;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .about-container {
    flex-direction: column;
  }
  .about-logo,
  .about-content {
    padding: 1.5rem;
  }
  .about-content {
    padding-top: 0;
  }
}

/* ─── MISSION SECTION ───────────────────────────────────────────────────────── */
#mission {
  padding: 4rem 2rem;
  margin: 5rem 0;
  background-color: #050a30;
}

.mission-content {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.mission-text {
  flex: 1;
  color: #e0e0ff;
  text-align: left;
  max-width: 600px;
}

.mission-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.mission-text p {
  font-size: 1.1rem;
  line-height: 1.6;
}

/* ─── MISSION IMAGE + STRONGER RADAR ARC & SHADOW ───────────────────────── */
.cool-image-wrapper {
  position: relative;
  width: 300px;
  height: 300px;
  overflow: visible;               /* allow glow to show */
  border-radius: 50%;              /* ensure wrapper is circular */
  
  /* constant soft glow around the entire circle */
  box-shadow: 0 0 20px rgba(0, 224, 255, 0.3);
  
  /* hover: scale up */
  transition: transform 0.4s ease;
}
.cool-image-wrapper:hover {
  transform: scale(1.1);
}

/* ─── MISSION IMAGE: SIMPLE SHADOW ───────────────────────── */
.cool-image-wrapper {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  overflow: hidden;
  /* plain soft shadow */
  box-shadow: 0 8px 20px rgba(0, 204, 255, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* keep the image perfectly circular */
.cool-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  clip-path: circle(50% at 50% 50%);
}

/* subtle scale + stronger shadow on hover */
.cool-image-wrapper:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}
/* ─── RESPONSIVE ADJUSTMENTS ───────────────────────────────────────────────── */
@media (max-width: 768px) {
  .mission-content {
    flex-direction: column;
    gap: 2rem;
  }
  .cool-image-wrapper {
    width: 100%;
    height: auto;
    border-radius: 0;
  }
  .masked-image {
    clip-path: none;
  }
}
/* ─── PARTNERS SECTION ───────────────────────────────────────────────── */
.partners-section {
  background-color: #fff;     /* white background */
  padding: 3rem 0;            /* vertical spacing */
}
.partners-section .container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}
.partners-title {
  font-size: 1.5rem;
  color: #1e2479;             /* dark indigo */
  margin-bottom: 2rem;
}
.partners-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;                  /* space between logos */
  flex-wrap: wrap;
}
.partners-logos img {
  max-height: 100px;         /* was 60px */
  object-fit: contain;
  filter: grayscale(0.3);
  transition: filter 0.3s ease;
}
.partners-logos img:hover {
  filter: none;
}

/* mobile: shrink gap and logo size */
@media (max-width: 600px) {
  .partners-logos {
    gap: 1.5rem;
  }
  .partners-logos img {
    max-height: 64px;       /* was 48px */
  }
}

/* Typewriter effect */
.typewriter {
  font-size: 20px;
  color: #00e0ff;
  font-family: 'Lucida Sans', 'Lucida Sans Regular',
               'Lucida Grande', 'Lucida Sans Unicode',
               Geneva, Verdana, sans-serif;
  overflow: hidden;                   /* hide overflow */
  white-space: nowrap;                /* single line */
  border-right: 3px solid #00e0ff;    /* cursor */
  width: 0ch;                         /* start collapsed */
  margin: 20px auto 0;                /* adjust as needed */
  animation:
    typing 3s steps(39, end) forwards,   /* type in 39 characters */
    blinkCursor 0.8s step-end infinite;  /* blink the cursor */
}

@keyframes typing {
  from { width: 0ch; }
  to   { width: 39ch; }               /* match your exact character count */
}

@keyframes blinkCursor {
  0%, 100% { border-color: #00e0ff; }
  50%      { border-color: transparent; }
}

/* ─── FEATURES + TESTIMONIALS SECTION ───────────────────────────────────────────────── */
.ft-section {
  background: linear-gradient(180deg, #111536 0%, #050a30 100%);
  padding: 4rem 1rem;
}
.ft-section .container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Shared heading style */
.ft-title {
  text-align: center;
  color: #fff;
  font-size: 2.5rem;
  margin: 2rem 0 1.5rem;
}
.ft-title .highlight {
  color: #00e0ff;
}

/* 3‐column grid for both features & testimonials */
.ft-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
@media (min-width: 768px) {
  .ft-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Card base */
.ft-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(0,224,255,0.2);
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}
.ft-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.6);
}

/* Feature icon */
.ft-icon {
  font-size: 2rem;
  color: #00e0ff;
  margin-bottom: 1rem;
}

/* Testimonial avatar */
.avatar {
  width: 48px;
  height: 48px;
  background-color: #00e0ff;
  border-radius: 50%;
  color: #050a30;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1rem;
}

/* Card titles */
.ft-card h3 {
  margin: 0;
  color: #fff;
  font-size: 1.25rem;
}
.ft-card .role {
  margin: 0.25rem 0 1rem;
  color: #c0c0cf;
  font-size: 0.9rem;
}

/* Feature/testimonial text */
.ft-card p,
.ft-card blockquote {
  color: #e0e0e0;
  line-height: 1.6;
  margin: 0 0 1rem;
}
.ft-card blockquote {
  font-style: italic;
}
