/* ===== Reset & Base Styles ===== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #f7f9fc, #d6e0f0);
  color: #333;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  line-height: 1.6;
}

/* ===== Container ===== */
.container {
  max-width: 960px;
  margin: auto;
  padding: 2rem 1rem;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  border-radius: 16px;
}

/* ===== Header ===== */
header {
  background: #1a237e; /* deep indigo */
  color: white;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: 1.2px;
  user-select: none;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.8rem;
}

nav ul li a {
  text-decoration: none;
  color: #bbdefb;
  font-weight: 600;
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

nav ul li a:hover,
nav ul li a.active {
  background-color: #3949ab;
  color: #e3f2fd;
  box-shadow: 0 4px 12px rgba(57, 73, 171, 0.5);
}

/* ===== Hero Section ===== */
.hero {
  background: linear-gradient(135deg, #512da8 0%, #7e57c2 100%);
  color: white;
  padding: 5rem 1rem 6rem;
  text-align: center;
  border-radius: 0 0 48px 48px;
  box-shadow: 0 12px 36px rgba(81, 45, 168, 0.5);
  margin-bottom: 3rem;
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  font-weight: 900;
  letter-spacing: 1.5px;
  text-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  font-weight: 500;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.btn {
  background: #e1bee7;
  color: #512da8;
  padding: 0.9rem 2.4rem;
  font-weight: 700;
  border-radius: 32px;
  box-shadow: 0 6px 16px rgba(81, 45, 168, 0.5);
  text-decoration: none;
  font-size: 1.2rem;
  transition: background-color 0.4s ease, color 0.4s ease;
  display: inline-block;
  user-select: none;
}

.btn:hover {
  background: #7e57c2;
  color: #f3e5f5;
  box-shadow: 0 8px 24px rgba(126, 87, 194, 0.7);
  transform: translateY(-3px);
}

/* ===== Posts Grid ===== */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.post-card {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
  user-select: none;
}

.post-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.12);
}

.post-card h3 {
  color: #512da8;
  margin-bottom: 1rem;
  font-weight: 700;
  font-size: 1.3rem;
}

.post-card p {
  color: #555;
  font-size: 1rem;
  line-height: 1.5;
}

/* ===== Footer ===== */
footer {
  background: #1a237e;
  color: #c5cae9;
  text-align: center;
  padding: 1.8rem 1rem;
  font-size: 0.9rem;
  user-select: none;
  margin-top: auto;
  box-shadow: 0 -4px 8px rgba(0,0,0,0.1);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1.5rem;
  }

  nav ul {
    flex-direction: column;
    width: 100%;
    margin-top: 1rem;
    gap: 1rem;
  }

  nav ul li a {
    padding: 0.7rem 1rem;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .posts-grid {
    grid-template-columns: 1fr;
  }

  .container {
    padding: 1.5rem;
    border-radius: 12px;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 15px;
  }

  .hero {
    padding: 3.5rem 1rem 4.5rem;
  }

  .btn {
    padding: 0.7rem 1.8rem;
    font-size: 1rem;
  }
}
/* ===== Reset & Base Styles ===== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #f7f9fc, #d6e0f0);
  color: #333;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.container {
  max-width: 960px;
  margin: auto;
  padding: 2rem 1rem;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  border-radius: 16px;
  flex-grow: 1;
}
header {
  background: #1a237e;
  color: white;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  user-select: none;
}
.logo {
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: 1.2px;
}
nav ul {
  list-style: none;
  display: flex;
  gap: 1.8rem;
}
nav ul li a {
  text-decoration: none;
  color: #bbdefb;
  font-weight: 600;
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  transition: background-color 0.3s ease, color 0.3s ease;
}
nav ul li a:hover,
nav ul li a.active {
  background-color: #3949ab;
  color: #e3f2fd;
  box-shadow: 0 4px 12px rgba(57, 73, 171, 0.5);
}
main h2 {
  font-size: 2rem;
  font-weight: 900;
  color: #512da8;
  margin-bottom: 1rem;
  user-select: none;
}
main p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  max-width: 700px;
}
.form-wrapper {
  background: white;
  padding: 1.5rem;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}
a.phone-link {
  color: #7e57c2;
  font-weight: 700;
  text-decoration: none;
}
a.phone-link:hover {
  text-decoration: underline;
}
footer {
  background: #1a237e;
  color: #c5cae9;
  text-align: center;
  padding: 1.8rem 1rem;
  font-size: 0.9rem;
  user-select: none;
  box-shadow: 0 -4px 8px rgba(0,0,0,0.1);
  margin-top: auto;
}
@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    gap: 1rem;
  }
  nav ul li a {
    padding: 0.7rem 1rem;
  }
}
