/* ===== Variables ===== */
:root {
  --primary: #0052de;
  --primary-dark: #003da6;
  --dark: #3a3a3a;
  --light: #eeeeee;
  --white: #ffffff;
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.3;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== Navigation ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

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

.nav-logo img {
  height: 45px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark);
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--primary); }

.nav-links .btn-nav {
  background: var(--primary);
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: 4px;
  transition: background 0.2s;
}

.nav-links .btn-nav:hover { background: var(--primary-dark); color: var(--white) !important; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  margin: 6px 0;
  transition: 0.3s;
}

/* ===== Hero ===== */
.hero {
  margin-top: 80px;
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero h1 {
  color: var(--white);
  font-size: 3.2rem;
  max-width: 700px;
  margin-bottom: 20px;
}

.hero p {
  color: rgba(255,255,255,0.9);
  font-size: 1.15rem;
  max-width: 560px;
  margin-bottom: 32px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 32px;
  border-radius: 4px;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--primary);
  color: var(--white) !important;
}

.btn-primary:hover { background: var(--primary-dark); color: var(--white) !important; }

.btn-white {
  background: var(--white);
  color: var(--dark) !important;
}

.btn-white:hover { background: var(--light); color: var(--dark) !important; }

.btn-outline {
  background: transparent;
  color: var(--white) !important;
  border: 2px solid var(--white);
}

.btn-outline:hover { background: var(--white); color: var(--primary) !important; }

/* ===== Sections ===== */
.section {
  padding: 80px 0;
}

.section-light { background: var(--light); }
.section-dark { background: var(--dark); color: var(--white); }
.section-blue { background: var(--primary); color: var(--white); }

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
}

.section-header h2 {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.05rem;
  opacity: 0.85;
}

/* ===== Grid / Cards ===== */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: transform 0.2s, box-shadow 0.2s;
}

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

.card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.card-body {
  padding: 28px;
}

.card-body h3 {
  font-size: 1.25rem;
  margin-bottom: 6px;
}

.card-body .tagline {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.card-body p {
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ===== Two Column Layout ===== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.split img {
  border-radius: 8px;
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.split h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}

.split p {
  margin-bottom: 16px;
  font-size: 1rem;
}

/* ===== Values ===== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.value-item {
  text-align: center;
  padding: 40px 24px;
}

.value-item h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.value-item p {
  font-size: 0.95rem;
  opacity: 0.85;
}

/* ===== Testimonial ===== */
.testimonial-single {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.testimonial-single img {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  object-fit: cover;
  margin: 0 auto 20px;
}

.testimonial-quote {
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 20px;
  color: var(--dark);
}

.testimonial-author {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--dark);
}

/* ===== CTA Banner ===== */
.cta-banner {
  text-align: center;
  padding: 80px 0;
}

.cta-banner h2 {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.cta-banner p {
  font-size: 1.05rem;
  margin-bottom: 32px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.cta-banner .btn { margin: 0 8px; }

/* ===== Contact Form ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
}

.contact-info p {
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.contact-info a { color: var(--primary); }

.contact-form label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 6px;
  margin-top: 18px;
}

.contact-form label:first-child { margin-top: 0; }

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-form .btn { margin-top: 24px; width: 100%; }

/* ===== Footer ===== */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 40px 0;
}

.footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-links a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--white); }

/* ===== Page Header (inner pages) ===== */
.page-header {
  margin-top: 80px;
  padding: 80px 0;
  background: var(--dark);
  text-align: center;
}

.page-header h1 {
  color: var(--white);
  font-size: 2.8rem;
  margin-bottom: 12px;
}

.page-header p {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto;
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
  .grid-3, .values-grid { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero h1 { font-size: 2.5rem; }
}

@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 80px; left: 0; right: 0; background: var(--white); padding: 20px; gap: 16px; box-shadow: 0 4px 10px rgba(0,0,0,0.08); }
  .nav-links.active { display: flex; }
  .nav-toggle { display: block; }
  .grid-3, .values-grid { grid-template-columns: 1fr; }
  .hero { min-height: 70vh; }
  .hero h1 { font-size: 2rem; }
  .section { padding: 60px 0; }
  .section-header h2 { font-size: 1.8rem; }
  .footer .container { flex-direction: column; gap: 16px; text-align: center; }
}
