/* ============ Global Styles ============ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background: linear-gradient(135deg, #e0eafc, #cfdef3);
  color: #333;
  line-height: 1.6;
}

/* ============ Navbar ============ */
header {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}

.logo a {
  text-decoration: none;
  color: #222;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: 0.3s;
}

.nav-links a:hover,
.nav-links .active {
  color: #0077ff;
}

/* ============ Hero Section ============ */
.hero {
  text-align: center;
  padding: 100px 20px 80px;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(15px);
  border-radius: 20px;
  max-width: 900px;
  margin: 80px auto 50px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.hero h1 {
  font-size: 2.5rem;
  color: #111;
  margin-bottom: 15px;
}

.hero p {
  color: #444;
  font-size: 1rem;
}

/* ============ Buttons ============ */
.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, #0077ff, #00c6ff);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 20px rgba(0, 119, 255, 0.3);
}

/* ============ Contact Section ============ */
.contact-section {
  max-width: 700px;
  margin: 40px auto;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(15px);
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.1);
}

.contact-section h2 {
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
}

.form-group {
  margin-bottom: 1.2rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

input, select, textarea {
  width: 100%;
  padding: 0.8rem;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  outline: none;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.5);
}

textarea {
  resize: none;
}

input:focus, select:focus, textarea:focus {
  border-color: #0077ff;
  background: rgba(255, 255, 255, 0.8);
}

/* ============ Footer ============ */
footer {
  text-align: center;
  padding: 1.5rem 1rem;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  margin-top: 3rem;
  font-size: 0.9rem;
  color: #444;
}

/* ============ Templates Page ============ */
.templates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 3rem auto;
  padding: 0 1rem;
}

.template-card {
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(15px);
  border-radius: 15px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  transition: 0.3s;
}

.template-card:hover {
  transform: translateY(-5px);
}

.template-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.template-card h3 {
  padding: 1rem 0;
  color: #111;
}

.template-card .btn-primary {
  margin-bottom: 1.2rem;
}

/* ============ Pricing Section ============ */
.pricing-section {
  max-width: 1000px;
  margin: auto;
  padding: 2rem 1rem;
}

.pricing-table {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.plan {
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(15px);
  border-radius: 20px;
  text-align: center;
  padding: 2rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: 0.3s;
}

.plan:hover {
  transform: translateY(-5px);
}

.plan h3 {
  margin-bottom: 1rem;
  color: #111;
}

.plan .price {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #0077ff;
}

.plan ul {
  list-style: none;
  margin-bottom: 1.5rem;
}

.plan ul li {
  margin: 0.5rem 0;
}

/* ============ Contact Page Hero ============ */
.contact-hero {
  background: linear-gradient(135deg, rgba(0, 119, 255, 0.2), rgba(0, 198, 255, 0.2));
  border-radius: 20px;
}


/* ============ Responsive ============ */
@media (max-width: 768px) {
  .nav-links {
    flex-direction: column;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.9);
    position: absolute;
    right: 0;
    top: 70px;
    width: 200px;
    padding: 1rem;
    border-radius: 10px;
    display: none;
  }

  .nav-links.active {
    display: flex;
  }

  .navbar {
    flex-wrap: wrap;
  }
}
