/* EduRights – Clean, professional pastel design */
:root {
  --blue-50: #f0f7fa;
  --blue-100: #d9eef5;
  --blue-200: #b8dce9;
  --blue-300: #8fc5d9;
  --blue-400: #5ea9c4;
  --blue-500: #3d8fad;
  --blue-600: #327390;
  --blue-700: #2b5d75;

  --green-50: #f1f9f5;
  --green-100: #dcf0e5;
  --green-200: #bce2cd;
  --green-300: #8fceb0;
  --green-400: #5db38e;
  --green-500: #3d9672;

  --navy: #1e3a4c;
  --text: #2c3e50;
  --text-light: #5a6a7a;
  --white: #ffffff;
  --off-white: #f8fbfd;
  --border: #e2eef3;

  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 20px rgba(30, 58, 76, 0.06);
  --shadow-hover: 0 8px 30px rgba(30, 58, 76, 0.1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--off-white);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--blue-600);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--blue-700);
}

/* ===== Typography ===== */
h1, h2, h3, h4 {
  color: var(--navy);
  font-weight: 600;
  line-height: 1.25;
}

h1 {
  font-size: clamp(2rem, 5vw, 2.75rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.6rem, 3.5vw, 2rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

.lead {
  font-size: 1.15rem;
  color: var(--text);
  max-width: 42rem;
}

/* ===== Layout ===== */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 4.5rem 0;
}

.section-sm {
  padding: 3rem 0;
}

/* ===== Header / Nav ===== */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.92);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--navy);
  letter-spacing: -0.03em;
}

.logo span {
  color: var(--blue-500);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--blue-600);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: var(--blue-400);
  border-radius: 2px;
}

.nav-cta {
  background: var(--blue-500);
  color: white !important;
  padding: 0.55rem 1.25rem;
  border-radius: 50px;
  font-weight: 500;
  font-size: 0.9rem;
  transition: background 0.2s ease, transform 0.2s ease;
}

.nav-cta:hover {
  background: var(--blue-600);
  transform: translateY(-1px);
}

/* Mobile menu button */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
  transition: 0.3s;
}

/* ===== Hero ===== */
.hero {
  background: linear-gradient(165deg, var(--blue-50) 0%, var(--green-50) 100%);
  padding: 5rem 0 4.5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(143, 197, 176, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  max-width: 680px;
  position: relative;
}

.hero h1 {
  margin-bottom: 1.25rem;
}

.hero .lead {
  margin-bottom: 2rem;
  font-size: 1.2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  border-radius: 50px;
  font-weight: 550;
  font-size: 1rem;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary {
  background: var(--blue-500);
  color: white;
  box-shadow: 0 4px 14px rgba(61, 143, 173, 0.25);
}

.btn-primary:hover {
  background: var(--blue-600);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(61, 143, 173, 0.3);
  color: white;
}

.btn-secondary {
  background: white;
  color: var(--blue-600);
  border: 1.5px solid var(--blue-200);
}

.btn-secondary:hover {
  border-color: var(--blue-400);
  background: var(--blue-50);
  color: var(--blue-700);
}

/* ===== Cards ===== */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.card-icon {
  width: 48px;
  height: 48px;
  background: var(--blue-50);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--blue-500);
  font-size: 1.4rem;
}

.card h3 {
  margin-bottom: 0.6rem;
}

.card p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* ===== Services pricing cards ===== */
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card .price {
  font-size: 1.5rem;
  font-weight: 650;
  color: var(--blue-600);
  margin: 0.75rem 0 1rem;
}

.service-card .price span {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-light);
}

.service-list {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (min-width: 700px) {
  .service-list {
    grid-template-columns: 1fr 1fr;
  }
}

/* ===== About ===== */
.about-grid {
  display: grid;
  gap: 3rem;
  align-items: start;
}

@media (min-width: 800px) {
  .about-grid {
    grid-template-columns: 1.4fr 1fr;
  }
}

.about-highlight {
  background: linear-gradient(145deg, var(--blue-50), var(--green-50));
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border);
}

.about-highlight h3 {
  margin-bottom: 1rem;
}

.values {
  list-style: none;
  margin-top: 1.5rem;
}

.values li {
  padding: 0.6rem 0;
  padding-left: 1.75rem;
  position: relative;
  color: var(--text);
}

.values li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1rem;
  width: 8px;
  height: 8px;
  background: var(--green-400);
  border-radius: 50%;
}

/* ===== Contact form ===== */
.contact-grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 800px) {
  .contact-grid {
    grid-template-columns: 1fr 1.1fr;
  }
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.4rem;
  color: var(--navy);
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
  background: var(--white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  color: var(--text);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--blue-400);
  box-shadow: 0 0 0 4px rgba(94, 169, 196, 0.15);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-note {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-top: 1rem;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--navy);
  color: #c5d4de;
  padding: 3.5rem 0 2rem;
  margin-top: 4rem;
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 700px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
}

.footer-brand .logo {
  color: white;
  margin-bottom: 0.75rem;
  display: inline-block;
}

.footer-brand p {
  color: #a8bcc8;
  font-size: 0.95rem;
  max-width: 280px;
}

.footer-col h4 {
  color: white;
  font-size: 0.95rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.footer-col ul {
  list-style: none;
}

.footer-col a {
  color: #a8bcc8;
  font-size: 0.95rem;
  display: block;
  padding: 0.3rem 0;
}

.footer-col a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.75rem;
  font-size: 0.85rem;
  color: #8aa0b0;
  line-height: 1.5;
}

.footer-bottom p {
  color: #8aa0b0;
  margin-bottom: 0.5rem;
}

/* ===== Utility ===== */
.text-center {
  text-align: center;
}

.mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

.badge {
  display: inline-block;
  background: var(--green-100);
  color: var(--green-500);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}

/* ===== Mobile ===== */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 1.5rem;
    gap: 0;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li {
    border-bottom: 1px solid var(--border);
  }

  .nav-links a {
    display: block;
    padding: 1rem 0;
  }

  .nav-cta {
    margin-top: 1rem;
    text-align: center;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    padding: 3.5rem 0 3rem;
  }

  .section {
    padding: 3.5rem 0;
  }
}

/* Page specific small tweaks */
.page-header {
  background: linear-gradient(165deg, var(--blue-50) 0%, var(--green-50) 100%);
  padding: 3.5rem 0 3rem;
  margin-bottom: 0;
}

.page-header h1 {
  margin-bottom: 0.75rem;
}

.page-header .lead {
  margin-bottom: 0;
}
