/* ================= RESET ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', Arial, sans-serif;
}

body {
  background: #020617;
  color: #e2e8f0;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ================= BACKGROUND ================= */
.bg-animation {
  position: fixed;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 30%, #0ea5e9 0%, transparent 40%),
              radial-gradient(circle at 80% 70%, #6366f1 0%, transparent 40%);
  filter: blur(120px);
  z-index: -1;
  animation: moveBg 12s infinite alternate ease-in-out;
}

@keyframes moveBg {
  0% { transform: translate(0,0); }
  100% { transform: translate(-80px, -80px); }
}

/* ================= NAVBAR ================= */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 40px;
  backdrop-filter: blur(25px);
  background: rgba(2,6,23,0.7);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.5px;
  background: linear-gradient(90deg, #38bdf8, #6366f1);
  -webkit-background-clip: text;
  color: transparent;
}

.navbar nav {
  display: flex;
  align-items: center;
}

.navbar a {
  color: #cbd5f5;
  margin-left: 25px;
  text-decoration: none;
  font-size: 14px;
  transition: 0.3s;
  position: relative;
}

.navbar a::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: -4px;
  left: 0;
  background: #38bdf8;
  transition: 0.3s;
}

.navbar a:hover::after {
  width: 100%;
}

.navbar a:hover {
  color: #38bdf8;
}

/* ================= HERO ================= */
.hero {
  height: 90vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero h1 {
  font-size: 56px;
  font-weight: 700;
  background: linear-gradient(90deg, #38bdf8, #6366f1);
  -webkit-background-clip: text;
  color: transparent;
  text-shadow: 0 0 40px rgba(56,189,248,0.3);
}

.hero p {
  margin: 20px 0;
  color: #94a3b8;
  font-size: 18px;
}

.hero button {
  padding: 14px 28px;
  background: linear-gradient(135deg, #06b6d4, #3b82f6);
  border: none;
  border-radius: 10px;
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
  box-shadow: 0 0 20px rgba(56,189,248,0.3);
}

.hero button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.5);
}

/* ================= SECTIONS ================= */
.section {
  padding: 100px 20px;
  text-align: center;
}

.dark {
  background: rgba(255,255,255,0.02);
}

.about-section {
  padding: 100px 20px;
}

.about-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

/* LEFT SIDE */
.about-text h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.about-text p {
  color: #cbd5e1;
  line-height: 1.7;
  margin-bottom: 18px;
  text-align: left;
}

.about-text .mission {
  margin-top: 20px;
  font-weight: 500;
  color: #ffffff;
}

/* RIGHT CARD */
.about-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 30px;
  backdrop-filter: blur(10px);
}

.about-card h3 {
  margin-bottom: 20px;
}

.about-card ul {
  list-style: none;
  padding: 0;
}

.about-card li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.about-card li:last-child {
  border-bottom: none;
}


/* ================= LOGOS ================= */
.logos {
  display: flex;
  justify-content: center;
  gap: 50px;
  margin-top: 30px;
  opacity: 0.6;
}

.logos span {
  font-size: 18px;
  color: #94a3b8;
  transition: 0.3s;
}

.logos span:hover {
  color: #38bdf8;
}

/* ================= GRID ================= */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

/* ================= CARDS ================= */
.card {
  padding: 30px;
  border-radius: 14px;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255,255,255,0.05);
  transition: 0.4s;
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 50px rgba(0,0,0,0.6);
}

/* Glow sweep */
.card::before {
  content: "";
  position: absolute;
  width: 200%;
  height: 200%;
  background: linear-gradient(120deg, transparent, rgba(56,189,248,0.25), transparent);
  transform: rotate(25deg);
  top: -150%;
  left: -50%;
  transition: 0.6s;
}

.card:hover::before {
  top: 100%;
}

/* ================= CONTACT ================= */
.contact-section {
  padding: 100px 20px;
  display: flex;
  justify-content: center;
}

.contact-container {
  max-width: 520px;
  width: 100%;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(25px);
  border-radius: 18px;
  padding: 45px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}

.subtitle {
  color: #94a3b8;
  margin-bottom: 30px;
}

/* ================= INPUTS ================= */
.input-group {
  position: relative;
  margin-bottom: 25px;
}

.input-group input,
.input-group textarea {
  width: 100%;
  padding: 15px;
  border: none;
  outline: none;
  background: rgba(255,255,255,0.08);
  color: white;
  border-radius: 10px;
  font-size: 14px;
}

.input-group textarea {
  height: 130px;
  resize: none;
}

.input-group label {
  position: absolute;
  left: 14px;
  top: 15px;
  color: #94a3b8;
  font-size: 13px;
  pointer-events: none;
  transition: 0.3s ease;
}

.input-group input:focus + label,
.input-group input:valid + label,
.input-group textarea:focus + label,
.input-group textarea:valid + label {
  top: -8px;
  left: 12px;
  font-size: 11px;
  color: #38bdf8;
}

/* ================= BUTTON ================= */
.btn {
  width: 100%;
  padding: 15px;
  background: linear-gradient(135deg, #06b6d4, #3b82f6);
  border: none;
  border-radius: 10px;
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
  position: relative;
  box-shadow: 0 0 25px rgba(56,189,248,0.4);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

/* ================= LOADER ================= */
.loader {
  width: 18px;
  height: 18px;
  border: 2px solid white;
  border-top: 2px solid transparent;
  border-radius: 50%;
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  animation: spin 1s linear infinite;
}

.hidden {
  display: none;
}

@keyframes spin {
  to { transform: rotate(360deg) translateY(-50%); }
}

/* ================= MESSAGE ================= */
.form-message {
  margin-top: 15px;
  font-size: 14px;
}

.success {
  color: #22c55e;
}

.error {
  color: #ef4444;
}

/* ================= FOOTER ================= */
footer {
  text-align: center;
  padding: 30px;
  color: #64748b;
}

/* ================= PARTICLES ================= */
#particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

/* ================= CURSOR GLOW ================= */
.cursor-glow {
  position: fixed;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(56,189,248,0.25), transparent 60%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: -1;
}

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

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

/* MOBILE */
@media (max-width: 900px) {
  .about-container {
    grid-template-columns: 1fr;
  }

  .about-text {
    text-align: center;
  }

  .about-text p {
    text-align: center;
  }
}
