/* style.css */

/* Base styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, sans-serif;
  background: #faf7fb;
  color: #2b2b2b;
  line-height: 1.5;
}

/* Header & nav */
header {
  background-color: #f9f1f4;
  position: absolute;
  top: 20px;
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  justify-content: center;
  padding: 0 20px;
}

.nav-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center; 
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  width: 54px;
  height: 54px;
  border-radius: 8px;
  object-fit: cover;
}


nav {
  display: flex;
  align-items: center; 
  gap: 20px;
}

.nav-link {
  text-decoration: none;
  color: #333;
  padding: 8px 10px;
  border-radius: 8px;
  font-weight: 600;
  transition: background 0.3s;
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.1);
}

.dropdown {
  position: relative;
  display: flex;
  align-items: center; 
}

.dropdown-menu {
  position: absolute;
  top: 100%; 
  left: 0;
  min-width: 150px;
  background: white;
  border-radius: 6px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  display: none;
}

.dropdown-menu a {
  display: block;
  align-items: center;
  padding: 10px;
  text-decoration: none;
  color: #222;
}

.dropdown-menu a:hover {
  background: #f7f4ff;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

/* Hero section */
.hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('background.jpg') center/cover;
  filter: brightness(0.6);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 2rem;
}

.title {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.subtitle {
  margin-bottom: 1rem;
}

.stats {
  display: inline-flex;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
}

.stat {
  font-weight: 600;
}

/* Services cards */
.services {
  max-width: 1100px;
  margin: 2rem auto;
  padding: 0 18px;
  text-align: center;
}

.card-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 1rem;
}

.service-card {
  background: white;
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.service-card img {
  width: 100%;
  height: 140px;
  border-radius: 10px;
  object-fit: cover;
  margin-bottom: 0.5rem;
}

.service-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.meta {
  font-size: 0.9rem;
  color: #666;
  margin-top: 0.5rem;
}

/* About & Contact */
.about, .contact {
  max-width: 1100px;
  margin: 2rem auto;
  padding: 0 18px;
  text-align: center;
}

form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background: white;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

input, textarea {
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #e8e8ea;
}

button {
  background: #6f4ea8;
  color: white;
  padding: 10px 14px;
  border-radius: 10px;
  border: none;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.3s;
}

button:hover {
  background: #5d4090;
}

/* Footer */
footer {
  text-align: center;
  margin: 30px auto;
  color: #444;
}

