:root {
  --primary-color: #5D4E6D;
  --secondary-color: #3E3250;
  --accent-color: #8B7AA0;
  --light-color: #F6F4F9;
  --dark-color: #1E1628;
  --gradient-primary: linear-gradient(135deg, #705F82 0%, #5D4E6D 100%);
  --hover-color: #2A1E3A;
  --background-color: #F8F6FB;
  --text-color: #2A2035;
  --border-color: rgba(93, 78, 109, 0.17);
  --divider-color: rgba(62, 50, 80, 0.12);
  --shadow-color: rgba(93, 78, 109, 0.10);
  --highlight-color: #C4973A;
  --main-font: 'Playfair Display', serif;
  --alt-font: 'Poppins', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: var(--alt-font);
  color: var(--text-color);
  background-color: var(--background-color);
  line-height: 1.7;
}

html { scroll-behavior: smooth; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--main-font);
  font-weight: 700;
  line-height: 1.3;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 1rem; }

header {
  background: var(--gradient-primary);
  color: var(--light-color);
  padding: 1.2rem 0;
  position: relative;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(30, 22, 40, 0.28);
}

header .container { display: flex; justify-content: space-between; align-items: center; }

.logo img { height: 50px; width: auto; }

.navigation ul { display: flex; list-style: none; gap: 2rem; margin: 0; }

.navigation a {
  color: var(--light-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.navigation a:hover { color: var(--highlight-color); }

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 8px;
  background: rgba(255,255,255,0.15);
  border-radius: 8px;
}

.hamburger .line {
  width: 28px; height: 3px;
  background-color: var(--light-color);
  margin: 3px 0; transition: 0.3s; border-radius: 2px;
}

#menu-toggle { display: none; }

#menu-toggle:checked ~ .mobile-nav { max-height: 400px; opacity: 1; }

.mobile-nav {
  position: absolute; top: 100%; left: 0; right: 0;
  background: var(--secondary-color);
  max-height: 0; overflow: hidden; opacity: 0;
  transition: all 0.4s ease;
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
  z-index: 1000;
}

.mobile-nav ul { padding: 2rem; margin: 0; list-style: none; }
.mobile-nav li { margin: 1rem 0; }

.mobile-nav a {
  display: block; padding: 1.2rem 1.8rem;
  color: var(--light-color); text-decoration: none;
  border-radius: 12px; transition: all 0.3s ease;
  font-size: 1.1rem; font-weight: 500;
  border: 2px solid transparent;
}

.mobile-nav a:hover {
  background-color: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.3);
  transform: translateX(5px);
}

.hero {
  display: flex; align-items: center; justify-content: center;
  background-size: cover; background-position: center; background-repeat: no-repeat;
  position: relative; color: white; text-align: center;
  min-height: 82vh;
}

.hero::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(30, 22, 40, 0.74);
}

.hero-content { position: relative; z-index: 1; max-width: 900px; padding: 2rem; }

.hero h1 { font-size: 3.1rem; margin-bottom: 1.5rem; text-shadow: 2px 2px 4px rgba(0,0,0,0.5); }
.hero p { font-size: 1.2rem; margin-bottom: 2rem; line-height: 1.8; }

button, .btn {
  transition: all 0.3s ease; position: relative; overflow: hidden;
  background: var(--gradient-primary); color: white; border: none;
  padding: 1.2rem 2.5rem; border-radius: 6px; font-weight: 600;
  font-family: var(--alt-font); cursor: pointer; font-size: 1rem;
  text-decoration: none; display: inline-block; text-align: center;
  box-shadow: 0 3px 10px rgba(93,78,109,0.3);
  text-transform: uppercase; letter-spacing: 0.5px;
}

button:hover, .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(93,78,109,0.4);
  background: linear-gradient(135deg, #2A1E3A 0%, #1E1628 100%);
}

section { padding: 4rem 0; }

.pattern-bg {
  background-color: var(--background-color);
  background-image:
    radial-gradient(circle at 0% 50%, rgba(93, 78, 109, 0.07) 0%, transparent 50%),
    radial-gradient(circle at 100% 50%, rgba(139, 122, 160, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 50% 0%, rgba(196, 151, 58, 0.04) 0%, transparent 40%);
  background-size: 800px 600px, 800px 600px, 600px 400px;
}

/* Feature cards v5: full-width alternating stripe rows — icon left, text right */
.features-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 3rem;
  border-radius: 16px;
  overflow: hidden;
  border: 1.5px solid var(--border-color);
  box-shadow: 0 4px 18px var(--shadow-color);
}

.feature-card {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1.8rem 2.5rem;
  background: white;
  border-bottom: 1.5px solid var(--border-color);
  transition: background 0.25s ease;
}

.feature-card:last-child { border-bottom: none; }

.feature-card:nth-child(even) {
  background: var(--light-color);
}

.feature-card:hover {
  background: linear-gradient(90deg, rgba(93,78,109,0.06) 0%, rgba(246,244,249,0.5) 100%);
}

.feature-icon {
  font-size: 2.2rem;
  flex-shrink: 0;
  display: flex; justify-content: center; align-items: center;
  width: 68px; height: 68px;
  background: var(--gradient-primary);
  border-radius: 14px;
  color: white;
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
  border-radius: 50%;
  transform: scale(1.08);
}

.feature-card-body h3 {
  color: var(--primary-color);
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
  font-family: var(--main-font);
}

.feature-card-body p {
  font-size: 0.97rem;
  line-height: 1.6;
}

.testimonial {
  transition: all 0.3s ease; border: 1px solid var(--border-color);
  position: relative; background: white; padding: 2.5rem; margin: 1.5rem 0;
  border-radius: 8px; box-shadow: 0 2px 10px var(--shadow-color);
}

.testimonial::after {
  content: ''; position: absolute; right: 0; top: 0; bottom: 0;
  width: 5px; background: var(--gradient-primary);
  border-radius: 0 8px 8px 0;
}

.testimonial:hover { transform: translateX(-6px); box-shadow: 0 6px 22px rgba(93,78,109,0.20); }

.faq-item {
  border: 2px solid var(--border-color); transition: all 0.3s ease;
  background: white; padding: 2.5rem; margin: 1.5rem 0;
  border-radius: 12px; box-shadow: 0 3px 12px var(--shadow-color);
}

.faq-item:hover {
  transform: scale(1.01);
  box-shadow: 0 6px 20px rgba(93,78,109,0.18);
  border-color: var(--accent-color);
}

.faq-item h3 { color: var(--primary-color); margin-bottom: 1rem; }

input, textarea {
  width: 100%; transition: all 0.3s ease; font-family: var(--alt-font);
  border: 2px solid var(--border-color); border-radius: 8px; padding: 1.2rem;
  background-color: white; color: var(--text-color);
  font-size: 1rem; margin-bottom: 1rem;
}

input:focus, textarea:focus {
  outline: none; border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(93,78,109,0.1); transform: translateY(-2px);
}

input:hover, textarea:hover {
  border-color: var(--accent-color); box-shadow: 0 2px 8px var(--shadow-color);
}

footer {
  background-color: var(--dark-color); color: var(--light-color);
  padding: 2rem 0 1rem;
}

footer .container > div:first-child {
  display: flex; justify-content: space-between; align-items: center;
  padding: 2rem 0; flex-wrap: wrap;
}

footer nav ul { display: flex; list-style: none; gap: 2rem; flex-wrap: wrap; }

footer a { color: var(--light-color); text-decoration: none; transition: color 0.3s ease; }
footer a:hover { color: var(--highlight-color); }

footer img[alt="logo"] { filter: brightness(0) invert(1); }

#contact .contact-grid-wrap { max-width: 1200px; margin: 0 auto; }

@media (min-width: 768px) { #contact .contact-grid-wrap { width: 80%; } }
@media (max-width: 767px) { #contact .contact-grid-wrap { width: 100%; } }

.contact-info p { margin-bottom: 1rem; line-height: 1.8; }

.image-text-section {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center;
}

.image-text-section img { width: 100%; border-radius: 12px; box-shadow: 0 6px 20px var(--shadow-color); }

/* Random block v5: large stat / fact tiles in a mosaic grid */
.facts-banner {
  width: 100%;
  padding: 4.5rem 0;
  background: var(--gradient-primary);
  color: white;
}

.facts-banner .container { max-width: 1200px; margin: 0 auto; padding: 0 1rem; }

.facts-banner h2 {
  text-align: center; font-size: 2rem; margin-bottom: 0.4rem;
  color: white; font-family: var(--main-font);
}

.facts-banner .sub {
  text-align: center; opacity: 0.85; margin-bottom: 2.5rem; font-size: 1.05rem;
}

.facts-mosaic {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1.25rem;
}

.fact-tile {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 16px;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.fact-tile.wide {
  grid-column: span 1;
  grid-row: span 2;
  background: rgba(255,255,255,0.18);
}

.fact-tile .fact-num {
  font-family: var(--main-font);
  font-size: 3rem;
  font-weight: 700;
  color: var(--highlight-color);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.fact-tile .fact-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  display: block;
}

.fact-tile h4 {
  font-family: var(--main-font);
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
  color: white;
}

.fact-tile p {
  font-size: 0.9rem;
  opacity: 0.88;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .navigation { display: none; }
  .mobile-nav { display: block; }
  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 1.05rem; }
  .feature-card { padding: 1.4rem 1.2rem; gap: 1rem; }
  .image-text-section { grid-template-columns: 1fr; }
  footer .container > div:first-child { flex-direction: column; text-align: center; gap: 2rem; }
  footer nav ul { flex-direction: column; gap: 1rem; align-items: center; }
  .facts-mosaic { grid-template-columns: 1fr 1fr; }
  .fact-tile.wide { grid-column: span 2; grid-row: span 1; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.75rem; }
  .container { padding: 0 1rem; }
  .facts-mosaic { grid-template-columns: 1fr; }
  .fact-tile.wide { grid-column: span 1; }
}