:root {
  --primary: #2563eb; /* bright blue */
  --accent: #f97316;  /* orange */
  --dark: #0f172a;
  --light: #f8fafc;
  --text: #1e293b;
}

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  background: var(--light);
  scroll-behavior: smooth;
}

/* NAVBAR */
.navbar {
  background: linear-gradient(90deg, var(--dark), var(--primary));
  color: white;
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.nav-wrapper {
  width: 90%;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-weight: 700;
  font-size: 1.5rem;
}

.logo span {
  color: var(--accent);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color .2s;
}

.nav-links a:hover {
  color: var(--accent);
}

.menu-btn {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.7rem;
}

/* HERO (background animation handled inline in HTML) */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
}

.hero-content h1,
.hero-content h2 {
  font-size: 2.8rem;
  line-height: 1.2;
  margin-bottom: 10px;
}

.hero-content h1 span,
.hero-content h2 span {
  color: var(--accent);
}

.hero-buttons {
  margin-top: 20px;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  margin: 6px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.2s;
}

.primary {
  background: var(--accent);
  color: white;
}

.secondary {
  background: white;
  color: var(--primary);
}

.btn:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

/* SECTIONS */
section {
  padding: 70px 0;
}

.container {
  width: 90%;
  margin: auto;
  max-width: 1100px;
}

.services h2,
.about h2,
.contact h2 {
  text-align: center;
  color: var(--primary);
  margin-bottom: 20px;
}

.section-subtitle {
  text-align: center;
  color: #475569;
  margin-bottom: 40px;
}

/* SERVICE CARDS */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 25px;
}

.card {
  background: white;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  text-align: center;
  transition: transform .2s;
}

.card:hover {
  transform: translateY(-5px);
  border-top: 3px solid var(--accent);
}

/* ABOUT */
.about {
  background: linear-gradient(180deg, var(--light), #ffffff);
  text-align: center;
}

.about p {
  max-width: 800px;
  margin: 10px auto;
  line-height: 1.6;
}

/* CONTACT */
.contact {
  background: var(--dark);
  color: white;
}

.contact h2 {
  color: var(--accent);
}

.contact a {
  color: var(--accent);
  text-decoration: none;
}

.contact-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  margin-top: 20px;
}

.contact-info {
  flex: 1;
  min-width: 250px;
}

.contact-info p {
  margin-bottom: 10px;
  font-size: 1.05rem;
  line-height: 1.5;
}

.contact-info strong {
  color: var(--accent);
}

/* CONTACT FORM */
#contact-form {
  flex: 1;
  min-width: 320px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

#contact-form input,
#contact-form textarea {
  padding: 14px 16px;
  border-radius: 8px;
  border: 2px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.08);
  color: white;
  font-size: 1rem;
  transition: border-color 0.2s, background 0.2s;
  outline: none;
}

#contact-form input::placeholder,
#contact-form textarea::placeholder {
  color: rgba(255,255,255,0.55);
}

#contact-form input:focus,
#contact-form textarea:focus {
  border-color: var(--accent);
  background: rgba(255,255,255,0.12);
}

#contact-form button {
  background: var(--accent);
  color: white;
  border: none;
  padding: 14px 26px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s;
}

#contact-form button:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

/* FOOTER */
footer {
  background: var(--primary);
  color: white;
  text-align: center;
  padding: 18px 0;
  font-size: 0.9rem;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .nav-links {
    flex-direction: column;
    background: var(--dark);
    position: absolute;
    top: 60px;
    right: 0;
    width: 100%;
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .menu-btn {
    display: block;
  }

  .contact-grid {
    flex-direction: column;
  }
}
