* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
}
body {
  background: #0f172a;
  color: #f8fafc; 
  line-height: 1.6;
}
a {
  text-decoration: none;
  color: inherit;
}

/* Navbar */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 5%;
  background: #1e293b;
  position: sticky;
  top: 0;
  z-index: 1000;
}
header h1 {
  font-style: italic;
  font-size: 1.6rem;
  font-weight: 700;
  color: #38bdf8;
}
nav ul {
  font-style: italic;
  display: flex;
  gap: 2rem;
  list-style: none;
}
nav ul li a {
  font-weight: 500;
  transition: color 0.3s;
}
nav ul li a:hover {
  color: #38bdf8;
}

.hero {
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 2rem;
  background: linear-gradient(to bottom right, #0f172a, #1e293b);
}
.hero h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
}
.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 600px;
}
.hero .btn {
  background: #38bdf8;
  color: #0f172a;
  padding: 0.8rem 1.6rem;
  border-radius: 8px;
  font-weight: 600;
  transition: background 0.3s;
}
.hero .btn:hover {
  background: #0ea5e9;
}


.servicesButton:hover {
  background: #0ea5e9;
}

.servicesButton{
  justify-content: center;
  display: flex;
  background: #38bdf8;
  color: #0f172a;
  padding: 0.8rem 1.6rem;
  border-radius: 8px;
  font-weight: 600;
  transition: background 0.3s;
}

.services {
  padding: 4rem 10%;
  background: #111827;
}
.services h3 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #38bdf8;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}
.card {
  background: #1e293b;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s;
}
.card:hover {
  transform: translateY(-5px);
}
.card h4 {
  margin-bottom: 1rem;
  font-size: 1.3rem;
  color: #38bdf8;
}


footer {
  background: #0f172a;
  text-align: center;
  padding: 2rem 1rem;
  border-top: 1px solid #1e293b;
  font-size: 0.9rem;
}
footer p {
  color: #94a3b8;
}



/* Default: show nav on desktop */
nav ul {
  font-style: italic;
  display: flex;
  gap: 2rem;
  list-style: none;
}

/* Hide hamburger on desktop */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #38bdf8;
  cursor: pointer;
}

/* Mobile Styles */
@media (max-width: 768px) {
  nav ul {
    display: none;
    flex-direction: column;
    gap: 1rem;
    background: #1e293b;
    position: absolute;
    top: 70px; /* height of header */
    right: 5%;
    padding: 1rem 2rem;
    border-radius: 8px;
  }

  nav ul.show {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }
}
