* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  color: white;
  background:
    radial-gradient(circle at top right,
      rgba(0,174,255,.20),
      transparent 35%),
    radial-gradient(circle at bottom left,
      rgba(37,99,235,.18),
      transparent 40%),
    linear-gradient(
      180deg,
      #020617,
      #071329,
      #0b1f3a
    );
}

nav {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 20px 8%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(2, 6, 23, 0.85);
  backdrop-filter: blur(20px);
  z-index: 1000;
  transition: transform 0.3s ease;
}

nav.hide {
  transform: translateY(-100%);
}

.nav-logo {
  width: 180px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  margin-left: 30px;
  font-weight: 500;
  height: 35px;
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 0 8%;
  background-image: url("assets/SL.HERO.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-content {
  max-width: 700px;
}

.hero h1 {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 25px;
}

.hero p {
  font-size: 1.3rem;
  color: #cbd5e1;
  margin-bottom: 40px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
}

.btn-primary,
.btn-secondary {
  padding: 16px 30px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: bold;
}

.btn-primary {
  background: linear-gradient(
    135deg,
    #0078ff,
    #3b82f6
  );
  color: white;
}

.btn-secondary {
  border: 1px solid rgba(255,255,255,.2);
  color: white;
}

main {
  width: min(100% - 80px, 1200px);
  margin: 20px auto;
}

section {
  margin: 100px 0;
}

section h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 50px;
}

.cards {
  display: grid;
  grid-template-columns:
    repeat(auto-fit, minmax(260px, 1fr));
  gap: 10px;
}

.card {
  background: rgba(15,23,42,.55);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(59,130,246,.15);
  border-radius: 20px;
  padding: 8px 5px;
  transition: .3s;
}

.card h3 {
  font-size: 1.5rem;      /* Keeps the title large */
  font-weight: 700;
  margin: 0 0 18px;
  color: #ffffff;
}

.card p {
  font-size: 0.95rem;     /* Only this text gets smaller */
  line-height: 1.6;
  color: #cbd5e1;
  margin: 0;
}

.card:hover {
  transform: translateY(-10px);
}

#contact {
  background: rgba(15,23,42,.55);
  border-radius: 30px;
  padding: 50px;
  border: 1px solid rgba(59,130,246,.15);
}

.subtitle {
  text-align: center;
  color: #94a3b8;
  margin-bottom: 40px;
}

#contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

#contact-form input,
#contact-form textarea {
  padding: 18px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(2,6,23,.8);
  color: white;
}

#contact-form textarea {
  grid-column: 1/-1;
  min-height: 180px;
}

#contact-form button {
  grid-column: 1/-1;
  padding: 18px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(
    135deg,
    #0078ff,
    #3b82f6
  );
  color: white;
  font-size: 17px;
  font-weight: bold;
  cursor: pointer;
}

#status {
  margin-top: 20px;
  text-align: center;
  color: #93c5fd;
  font-weight: bold;
}

footer {
  text-align: center;
  padding: 40px;
  color: #94a3b8;
}

@media (max-width:768px) {

  .hero h1 {
    font-size: 2.5rem;
  }

  #contact-form {
    grid-template-columns: 1fr;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .nav-links {
    display: none;
  }
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0px;
  padding: 10px 20px;
}

.nav-logo {
  height: 45px;
}

.nav-links {
  display: flex;
  gap: 25px;
}

.nav-links a {
  text-decoration: none;
  color: white; /* adjust to your theme */
  font-weight: 500;
  font-size: 16px;
  height: 35px;
}

.nav-links a:hover {
  opacity: 0.7;
}
.navbar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0px;
  padding: 10px 20px; /* 🔥 reduced height */
  height: 125px;       /* optional but stabilizes bar */
}
.nav-logo {
  height: 125px;      /* smaller = cleaner header */
  width: auto;
  flex-shrink: 0;
  display: block;
}
.navbar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;   /* 🔥 key line */
  gap: 0px;
}
.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0px;
}
