/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', system-ui, sans-serif;
}

body {
  background: #f6f8fc;
  color: #1f2937;
  line-height: 1.6;
}

/* NAVBAR */
/* STICKY NAVBAR */
.navbar {
  background: #0857f5;
  padding: 16px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(8px);
}

/* NAVBAR LOGO */
.logo {
  color: #ffffff;        /* white logo */
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: 0.6px;
}


.navbar a {
  color: #eff0f2;
  text-decoration: none;
  margin-left: 20px;
  font-weight: 500;
  transition: color 0.3s;
}

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

/* HERO SECTION */
.hero {
  background: linear-gradient(135deg, #2563eb, #0f172a);
  color: white;
  padding: 90px 20px;
  border-radius: 20px;
  text-align: center;
  margin-top: 40px;
  animation: fadeUp 0.9s ease-out;
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 15px;
}

.hero p {
  font-size: 1.1rem;
  opacity: 0.95;
}

/* BUTTONS */
button {
  margin-top: 25px;
  padding: 14px 28px;
  background: #38bdf8;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  color: #0f172a;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

button:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(56, 189, 248, 0.35);
}

/* CARDS (Services) */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 50px;
}

.card {
  background: white;
  padding: 28px;
  border-radius: 18px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.card h3 {
  margin-bottom: 10px;
}

/* FORMS */
.form {
  max-width: 480px;
  margin-top: 30px;
}

.form input,
.form textarea {
  width: 100%;
  padding: 14px;
  margin-bottom: 16px;
  border-radius: 10px;
  border: 1px solid #cbd5f5;
  font-size: 0.95rem;
}

.form input:focus,
.form textarea:focus {
  outline: none;
  border-color: #38bdf8;
}

/* ANIMATION */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* MOBILE */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.1rem;
  }

  .navbar {
    flex-direction: column;
    gap: 10px;
  }
}

/* SCROLL ANIMATION */
.card {
  opacity: 0;
  transform: translateY(30px);
  animation: slideUp 0.8s ease forwards;
}

.card:nth-child(1) { animation-delay: 0.2s; }
.card:nth-child(2) { animation-delay: 0.4s; }
.card:nth-child(3) { animation-delay: 0.6s; }
.card:nth-child(4) { animation-delay: 0.8s; }

@keyframes slideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* FOOTER */
.footer {
  background: #020617;
  color: #cbd5f5;
  margin-top: 80px;
  padding: 60px 20px 20px;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
}

.footer h3,
.footer h4 {
  color: #ffffff;
  margin-bottom: 12px;
}

.footer p {
  font-size: 0.95rem;
  opacity: 0.9;
}

.footer a {
  display: block;
  color: #cbd5f5;
  text-decoration: none;
  margin-bottom: 8px;
  font-size: 0.95rem;
  transition: color 0.3s;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 40px;
  padding-top: 15px;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.7;
}

/* MOBILE FOOTER */
@media (max-width: 600px) {
  .footer {
    text-align: center;
  }
}


/* SCROLL TO TOP BUTTON */
#scrollTopBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  background: #38bdf8;
  color: #020617;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 22px;
  cursor: pointer;
  display: none;
  box-shadow: 0 12px 30px rgba(56,189,248,0.35);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

#scrollTopBtn:hover {
  transform: translateY(-4px);
}


/* ABOUT PAGE */
.about-section {
  margin-top: 60px;
}

.about-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  align-items: start;
}

.about-text h2 {
  margin-bottom: 15px;
}

.about-text p {
  margin-bottom: 15px;
  opacity: 0.95;
}

.about-highlight {
  background: #ffffff;
  padding: 25px;
  border-radius: 18px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.06);
}

.about-highlight ul {
  list-style: none;
  margin-top: 15px;
}

.about-highlight li {
  margin-bottom: 10px;
  font-weight: 500;
}

/* MISSION SECTION */
.mission-section {
  margin-top: 70px;
}

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


/* CONTACT PAGE */
.contact-section {
  margin-top: 60px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
}

.contact-form h2,
.contact-info h2 {
  margin-bottom: 15px;
}

.contact-info {
  background: #ffffff;
  padding: 30px;
  border-radius: 18px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.06);
}

.contact-note {
  margin-top: 20px;
  padding: 15px;
  background: #f1f5ff;
  border-radius: 12px;
  font-size: 0.95rem;
}

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