:root {
  --clr-bg: #EFF6FF;
  --clr-surface: #FFFFFF;
  --clr-text-main: #0F172A;
  --clr-text-muted: #475569;
  --clr-primary: #1D4ED8;
  --clr-secondary: #3B82F6;
  --clr-accent: #93C5FD;
  --radius-sm: 12px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-soft: 0 15px 35px rgba(29, 78, 216, 0.08);
  --shadow-hover: 0 25px 50px rgba(29, 78, 216, 0.15);
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --font-main: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-main);
  background-color: var(--clr-bg);
  color: var(--clr-text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; border-radius: var(--radius-lg); }

/* Header & Navigation */
header {
  position: fixed;
  top: 0; left: 0; width: 100%;
  padding: 20px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.logo { font-size: 1.5rem; font-weight: 800; color: var(--clr-primary); letter-spacing: -0.5px; }

nav ul { list-style: none; display: flex; gap: 30px; }
nav a { font-weight: 600; color: var(--clr-text-main); }
nav a:hover { color: var(--clr-primary); }

.nav-btn {
  background: var(--clr-primary);
  color: #fff !important;
  padding: 10px 24px;
  border-radius: 50px;
}
.nav-btn:hover { background: var(--clr-secondary); transform: translateY(-2px); }

/* Parallax Sections wrapper */
.parallax-wrapper {
  position: relative;
  width: 100%;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 5% 50px;
  background: linear-gradient(135deg, var(--clr-bg) 0%, #DFF0FF 100%);
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 800px;
  text-align: center;
  z-index: 2;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 24px;
  background: linear-gradient(90deg, var(--clr-primary), var(--clr-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.25rem;
  color: var(--clr-text-muted);
  margin-bottom: 40px;
}

.hero-img-box {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  margin-top: -60px;
  transform: translateY(100px);
  animation: slideUp 1s forwards ease-out;
}

@keyframes slideUp { to { transform: translateY(0); } }

.hero-img-box img {
  width: 100%;
  height: 60vh;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-hover);
}

/* Content Sections */
.section {
  padding: 120px 5%;
  position: relative;
  z-index: 10;
}

.section-bg-white { background: var(--clr-surface); border-radius: 0 0 50px 50px; box-shadow: var(--shadow-soft); }
.section-bg-blue { background: var(--clr-primary); color: #fff; border-radius: 50px; margin: -50px 5% 50px; padding: 100px 8%; z-index: 20; position: relative;}

.container { max-width: 1200px; margin: 0 auto; }

.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; margin-bottom: 16px; }
.section-bg-blue .section-header h2 { color: #fff; }
.section-header p { font-size: 1.125rem; color: var(--clr-text-muted); max-width: 600px; margin: 0 auto; }
.section-bg-blue .section-header p { color: var(--clr-accent); }

/* Typography blocks */
.text-block {
  column-count: 2;
  column-gap: 40px;
  font-size: 1.1rem;
  color: var(--clr-text-muted);
  margin-bottom: 40px;
}
.text-block p { margin-bottom: 20px; break-inside: avoid; }
.section-bg-blue .text-block { color: rgba(255,255,255,0.9); }

/* Grid Cards */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.card {
  background: var(--clr-surface);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.card:hover { transform: translateY(-10px); box-shadow: var(--shadow-hover); }
.card::before {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 6px;
  background: linear-gradient(90deg, var(--clr-primary), var(--clr-secondary));
}

.card h3 { font-size: 1.5rem; margin-bottom: 16px; color: var(--clr-text-main); }
.card p { color: var(--clr-text-muted); margin-bottom: 24px; }
.card-link { font-weight: 600; color: var(--clr-primary); display: inline-flex; align-items: center; gap: 8px; }
.card-link:hover { gap: 12px; }

/* Contact Form */
.form-wrapper {
  background: var(--clr-surface);
  border-radius: var(--radius-xl);
  padding: 60px;
  box-shadow: var(--shadow-hover);
  max-width: 800px;
  margin: 0 auto;
}

.form-group { margin-bottom: 24px; text-align: left; }
.form-group label { display: block; font-weight: 600; margin-bottom: 8px; color: var(--clr-text-main); }
.form-control {
  width: 100%;
  padding: 16px 20px;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  background: var(--clr-bg);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}
.form-control:focus { outline: none; border-color: var(--clr-secondary); background: #fff; }

.btn {
  display: inline-block;
  background: var(--clr-primary);
  color: #fff;
  padding: 16px 40px;
  font-size: 1.125rem;
  font-weight: 600;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  width: 100%;
}
.btn:hover { background: var(--clr-text-main); box-shadow: var(--shadow-hover); transform: translateY(-2px); }

/* Footer */
footer {
  background: var(--clr-text-main);
  color: #fff;
  padding: 80px 5% 40px;
  margin-top: 100px;
  border-top-left-radius: 50px;
  border-top-right-radius: 50px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 50px;
  margin-bottom: 60px;
  max-width: 1200px; margin-left: auto; margin-right: auto;
}
.footer-col h4 { font-size: 1.25rem; margin-bottom: 24px; color: var(--clr-accent); }
.footer-col p, .footer-col address { color: #CBD5E1; font-style: normal; margin-bottom: 16px; line-height: 1.6; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: #CBD5E1; }
.footer-links a:hover { color: #fff; padding-left: 5px; }

.footer-bottom {
  text-align: center;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: #94A3B8;
  font-size: 0.875rem;
  max-width: 1200px; margin: 0 auto;
}

/* Page templates */
.page-header {
  padding: 150px 5% 80px;
  background: var(--clr-bg);
  text-align: center;
}
.page-header h1 { font-size: clamp(2.5rem, 4vw, 4rem); font-weight: 800; color: var(--clr-text-main); }
.page-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 5% 100px;
  background: #fff;
  border-radius: var(--radius-xl);
  margin-top: -40px;
  position: relative;
  z-index: 10;
  box-shadow: var(--shadow-hover);
}
.page-content p { margin-bottom: 20px; font-size: 1.1rem; color: var(--clr-text-muted); }
.page-content h2 { margin: 40px 0 20px; color: var(--clr-text-main); }
.page-content h3 { margin: 30px 0 15px; color: var(--clr-text-main); }

/* Responsive */
@media (max-width: 768px) {
  .text-block { column-count: 1; }
  nav ul { display: none; } /* Simple mobile hide for this generator context */
  .section-bg-blue { margin: -20px 2% 40px; padding: 60px 5%; border-radius: 30px; }
  .form-wrapper { padding: 30px; }
}
