/* =============================================
   DUNECH COUNSELING & CONSULTING — STYLES
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500&display=swap');

:root {
  /* Premium Deep Teal Palette matching the logo theme */
  --teal:        #124e54;
  --teal-dark:   #0a363a;
  --teal-deeper: #052124;
  --teal-light:  #f0f6f6;
  --teal-mid:    #7ca3a6;
  --gold:        #BA7517;
  --gold-light:  #FAEEDA;
  --navy:        #0c1a2b;
  --text:        #2d3748;
  --text-muted:  #5a6a85;
  --text-light:  #888;
  --bg:          #fafaf8;
  --bg-section:  #f4f7f6;
  --white:       #ffffff;
  --border:      rgba(18, 78, 84, 0.09);
  --radius-sm:   6px;
  --radius-md:   10px;
  --radius-lg:   16px;
  --shadow:      0 4px 20px rgba(18, 78, 84, 0.06);
  --transition:  all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}


/* ── RESET ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-sans); color: var(--text); background: var(--bg); line-height: 1.6; }
img { display: block; max-width: 100%; }
ul { list-style: none; }
a { text-decoration: none; color: inherit; }

/* ── TYPOGRAPHY HELPERS ── */
.section-label {
  display: inline-block;
  font-size: 13px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 0.5rem;
}
.section-title {
  font-family: var(--font-serif); font-size: clamp(28px, 4vw, 42px);
  font-weight: 500; line-height: 1.15; color: var(--text); margin-bottom: 1rem;
}
.section-sub {
  font-size: 16px; color: var(--text-muted); line-height: 1.75; max-width: 580px;
}



/* =============================================
   HEADER / NAV
   ============================================= */
header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 3rem; height: 70px;
  background: var(--white); border-bottom: 0.5px solid var(--border);
  position: sticky; top: 0; z-index: 200;
}

.logo img {
  height: 48px; width: auto; object-fit: contain;
  transform: scale(1.2); margin-left: 0;
}

nav ul {
  display: flex; gap: 2rem; list-style: none;
}
nav ul li a {
  font-size: 18px; color: var(--text-muted); font-weight: 400;
  transition: color .2s; padding: 4px 0;
  border-bottom: 2px solid transparent;
}
nav ul li a:hover,
nav ul li a.active { color: var(--teal); border-bottom-color: var(--teal); }

.nav-cta {
  font-size: 18px; font-weight: 500; color: var(--white);
  background: var(--teal); padding: 0.5rem 1.25rem;
  border-radius: var(--radius-sm); border: none; cursor: pointer;
  font-family: var(--font-sans); white-space: nowrap;
  transition: background .2s;
}
.nav-cta:hover { background: var(--teal-dark); }

.menu-toggle {
  display: none; background: none; border: none;
  font-size: 26px; cursor: pointer; color: var(--text); padding: 4px;
}

/* =============================================
   HERO (index.html)
   ============================================= */
.hero {
  display: grid; 
  grid-template-columns: 1fr; /* Changed to a single column layout */
  justify-content: center;   /* Centers grid items horizontally */
  align-items: center;       /* Centers grid items vertically */
  min-height: 540px;
  background: linear-gradient(145deg, var(--teal-deeper) 0%, var(--teal) 55%, var(--teal-mid) 100%);
  padding: 5rem 2rem;
}

.hero-left {
  display: flex; 
  flex-direction: column; 
  justify-content: center;
  align-items: center;       /* Centers elements inside the flex container */
  text-align: center;        /* Centers your text rows */
  max-width: 800px;          /* Prevents headings from stretching too wide */
  margin: 0 auto;            /* Keeps the container centered on the screen */
}

.hero-eyebrow {
  display: inline-flex; 
  align-items: center; 
  gap: 8px;
  background: var(--teal-deeper); 
  color: rgba(255,255,255,.78);
  font-size: 14px; 
  letter-spacing: .08em; 
  text-transform: uppercase; 
  font-weight: 500;
  padding: 5px 14px; 
  border-radius: 100px; 
  margin-bottom: 1.5rem; 
  width: fit-content;
}



.hero h1 {
  font-family: var(--font-serif); 
  font-size: clamp(6px, 4.5vw, 54px);
  font-weight: 500; 
  line-height: 1.15;          /* Slightly relaxed line-height for centered text */
  color: white;
  margin-bottom: 1.25rem; 
  text-align: center;         /* Changed from left to center */
}

.hero h1 em { 
  font-style: italic; 
  color: white; 
}

.hero .tagline {
  font-size: 18px; 
  color: rgba(255,255,255,.78);
  line-height: 1.75;
  max-width: 540px;          /* Increased slightly so text flows nicely when centered */
  margin-bottom: 2rem;
}

.hero .tagline2 { 
  display: none; 
}

.hero-actions { 
  display: flex; 
  gap: 1rem; 
  align-items: center; 
  justify-content: center;   /* Keeps buttons centered together */
  flex-wrap: wrap; 
}
.btn-primary {
  font-size: 15px; font-weight: 500; color: var(--teal);
  background: var(--white); border: none; padding: 0.7rem 1.5rem;
  border-radius: var(--radius-sm); cursor: pointer; font-family: var(--font-sans);
  transition: background .2s;
}
.btn-primary:hover { 
  background: var(--teal-dark);
  font-size: 15px; font-weight: 500; color: white;
}

.btn-outline {
  font-size: 15px; color: var(--white); background: transparent;
  border: 1px solid var(--teal-mid); padding: 0.7rem 1.5rem;
  border-radius: var(--radius-sm); cursor: pointer; font-family: var(--font-sans);
  transition: border-color .2s, color .2s;
}
.btn-outline:hover { border-color: black; color: black; }


.hero-quote {
  font-family: var(--font-serif); font-size: clamp(18px, 2vw, 24px);
  font-style: italic; color: rgba(255,255,255,.9); line-height: 1.45;
  position: relative; z-index: 1;
}
.hero-stat-card {
  background: rgba(255,255,255,.15); backdrop-filter: blur(6px);
  border: 0.5px solid rgba(255,255,255,.25);
  border-radius: var(--radius-md); padding: 1rem 1.25rem;
  position: relative; z-index: 1; width: fit-content;
}
.hero-stat-num {
  font-family: var(--font-serif); font-size: 34px; color: #fff; font-weight: 600; line-height: 1;
}
.hero-stat-label { font-size: 12px; color: rgba(255,255,255,.7); margin-top: 4px; }

/* TRUST BAR */
.trust-bar {
  background: var(--teal-deeper); 
  padding: 0.9rem 4rem;
  display: flex; 
  align-items: center; 
  justify-content: center; /* Centers the label and items row globally */
  gap: 2rem; 
  flex-wrap: wrap;
}

.trust-bar-label {
  font-size: 18px; 
  text-transform: uppercase; 
  letter-spacing: .1em;
  color: var(--teal-mid); 
  font-weight: 500; 
  white-space: nowrap;
  text-align: center;       /* Ensures text centers internally if it wraps */
}

.trust-items { 
  display: flex; 
  gap: 2rem; 
  flex-wrap: wrap;
  justify-content: center; /* Centers individual checkmark items when they break to new lines */
}

.trust-item {
  font-size: 16px; 
  color: rgba(255,255,255,.78);
  display: flex; 
  align-items: center; 
  gap: 6px;
}

.trust-item::before { 
  content: '✓'; 
  color: var(--teal-mid); 
}

/* =============================================
   WHO WE ARE (intro-section2)
   ============================================= */
.intro-section2 {
  display: grid; grid-template-columns: 1fr 1fr; gap: 5rem;
  align-items: center; padding: 5rem 4rem;
  background: var(--bg-section);
}
.intro-section2 .text-box {
  max-width: 100%; text-align: left; margin-top: 0;
}
.intro-section2 .text-box h1 {
  font-family: var(--font-serif); font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 500; color: var(--text); margin-bottom: 1.25rem; line-height: 1.15;
  text-align: left;
}
.intro-section2 .text-box p {
  font-size: 18px; color: var(--text-muted); line-height: 1.8;
  margin-bottom: 0.9rem; font-family: var(--font-sans);
}
.intro-section2 .image-box2 img {
  width: 100%; height: 380px; object-fit: cover;
  border-radius: var(--radius-lg); margin: 0;
  box-shadow: var(--shadow-md);
}
.pillars-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 1.5rem;
}
.pillar-pill {
  background: var(--teal-light); border-radius: var(--radius-md);
  padding: 0.7rem 1rem;
}
.pillar-pill strong { display: block; font-size: 18px; color: var(--teal-dark); font-weight: 500; }
.pillar-pill span { font-size: 16px; color: var(--teal); }

/* ── spacer between sections ── */
.mid { display: none; }

/* =============================================
   MEET DORIS (intro-section)
   ============================================= */
.intro-section {
  display: grid; grid-template-columns: 1fr 1.3fr; gap: 5rem;
  align-items: center; padding: 5rem 4rem;
  background: var(--white);
}
.intro-section .image-box {
  position: relative;
}
.intro-section .image-box img {
  width: 80%;  object-fit: cover; object-position: top; 
  border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
}
.intro-section .text-box {
  text-align: left; margin-top: 0; max-width: 100%;
}
.intro-section .text-box h4 {
  font-size: 14px; text-transform: uppercase; letter-spacing: .08em;
  color: var(--gold); font-weight: 500; margin-bottom: 0.4rem;
}
.intro-section .text-box h1 {
  font-family: var(--font-serif); font-size: clamp(32px, 4vw, 46px);
  font-weight: 500; color: var(--text); margin-bottom: 1.25rem; line-height: 1.1;
  text-align: left;
}
.intro-section .text-box p {
  font-size: 18px; color: var(--text-muted); line-height: 1.8;
  margin-bottom: 0.85rem; font-family: var(--font-sans);
}
.credentials-row {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1.25rem;
}
.credential-tag {
  font-size: 16px; color: var(--teal-dark); background: var(--teal-light);
  padding: 4px 12px; border-radius: 100px;
}

/* =============================================
   SERVICES SECTION
   ============================================= */
.services-section {
  padding: 5rem 4rem; background: var(--bg-section); text-align: center;
}
.services-header {
  margin-bottom: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.services-header .tagline {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--teal-light); color: var(--teal-dark);
  padding: 5px 14px; border-radius: 100px;
  font-weight: 500; font-size: 14px; letter-spacing: .08em; text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.custom-arrows {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.custom-arrows button {
  min-width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--text);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 16px;
  transition: background .2s, transform .2s, border-color .2s;
}
.custom-arrows button:hover {
  background: var(--teal-light);
  border-color: var(--teal);
  transform: translateY(-1px);
}
.services-section .splide__slide {
  padding: 0;
}
.services-section .splide__slide .service-card {
  width: 100%;
  margin: 0;
}
.services-header h2 {
  font-family: var(--font-serif); font-size: clamp(30px, 3.5vw, 38px);
  font-weight: 500; color: var(--text); margin: 0.5rem 0 0.75rem;
}
.services-header p {
  font-size: 18px; color: var(--text-muted); max-width: 580px; margin: 0 auto;
  line-height: 1.75;
}
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
  max-width: 1100px; margin: 0 auto;
}
.service-card {
  background: var(--white); border-radius: var(--radius-lg);
  border: 0.5px solid var(--border); overflow: hidden; text-align: left;
  transition: box-shadow .25s, transform .25s;
}
.service-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.service-card img {
  width: 100%; height: 180px; object-fit: cover; border-radius: 0; margin-bottom: 0;
}
.service-card-body { padding: 1.25rem; }
.service-card h3 {
  font-size: 19px; font-weight: 500; color: var(--teal-dark);
  margin-bottom: 0.75rem; text-align: left;
}
.service-card ul {
  list-style: none; padding: 0;
}
.service-card ul li {
  font-size: 18px; color: var(--text-muted); line-height: 1.65;
  padding: 3px 0 3px 16px; position: relative;
}
.service-card ul li::before {
  content: '–'; position: absolute; left: 0; color: var(--teal);
}

/* =============================================
   WHY CHOOSE US
   ============================================= */
.services2-section {
  padding: 4rem; max-width: 100%; margin: 0;
  background: var(--white);
  display: flex; flex-direction: column; align-items: center;
}
.services2-header { margin-bottom: 2rem; text-align: center; width: 100%; }
.services2-header h2 {
  font-family: var(--font-serif); font-size: clamp(26px, 3vw, 36px);
  font-weight: 500; color: var(--text);
}
.choose-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem;
  width: 100%; max-width: 900px;
}
.choose-card {
  display: flex; gap: 1rem; align-items: flex-start;
  background: var(--bg-section); border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem; border-left: 4px solid var(--teal);
  transition: transform .2s;
}
.choose-card:hover { transform: translateY(-3px); }
.choose-icon {
  width: 40px; height: 40px; border-radius: 8px;
  background: var(--teal-light); display: flex; align-items: center;
  justify-content: center; font-size: 25px; flex-shrink: 0;
}
.choose-content h3 { font-size: 18px; font-weight: 500; color: var(--text); margin-bottom: 0.4rem; }
.choose-content p { font-size: 17px; color: var(--text-muted); line-height: 1.65; }

/* =============================================
   LATTER (credentials / expertise)
   ============================================= */
.latter {
  padding: 4rem; background: var(--bg-section);
}
.latter-container {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
  max-width: 1100px; margin: 0 auto;
}
.latter-column, .latter-column2 {
  background: var(--white); border-radius: var(--radius-md);
  border: 0.5px solid var(--border); padding: 1.5rem;
}
.latter-column h3, .latter-column2 h3 {
  font-size: 20px; font-weight: 500; color: var(--teal-dark);
  margin-bottom: 1rem; padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--teal-light);
}
.latter-column ul, .latter-column2 ul { list-style: none; padding: 0; }
.latter-column ul li, .latter-column2 ul li {
  font-size: 17px; color: var(--text-muted); line-height: 1.7;
  padding: 4px 0 4px 14px; position: relative;
}
.latter-column ul li::before,
.latter-column2 ul li::before {
  content: '✓'; position: absolute; left: 0; color: var(--teal); font-size: 12px;
}

/* =============================================
   CONTACT SECTION
   ============================================= */
.contact-section {
  padding: 5rem 4rem; max-width: 100%;
}
.contact-section > h1 {
  font-family: var(--font-serif); font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 500; color: var(--text); text-align: center; margin-bottom: 0.5rem;
}
.contact-section > .intro {
  text-align: center; color: var(--text-muted); font-size: 18px; margin-bottom: 3rem;
}
.contact-container {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 4rem;
  max-width: 1000px; margin: 0 auto; align-items: start;
}
.contact-info { margin: 0; }
.info-item {
  display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.5rem;
}
.info-icon-wrap {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--teal-light); display: flex; align-items: center;
  justify-content: center; font-size: 16px; flex-shrink: 0; margin-top: 2px;
}
.info-item h4 {
  font-size: 16px; text-transform: uppercase; letter-spacing: .06em;
  color: var(--text-light); font-weight: 500; margin-bottom: 3px;
}
.info-item p { font-size: 15px; color: var(--text); }

.contact-form {
  background: var(--white); border-radius: var(--radius-lg);
  border: 0.5px solid var(--border); padding: 2rem;
  box-shadow: var(--shadow-sm);
}
.contact-form .form-title { font-size: 18px; font-weight: 500; color: var(--text); margin-bottom: 4px; }
.contact-form .form-sub { font-size: 16px; color: var(--text-muted); margin-bottom: 1.5rem; }
.form-row { margin-bottom: 1rem; }
.form-row label {
  display: block; font-size: 17px; color: var(--text-muted);
  font-weight: 500; letter-spacing: .03em; margin-bottom: 6px;
}
.contact-form input,
.contact-form textarea,
.contact-form input {
  width: 100%; font-family: var(--font-sans); font-size: 15px;
  padding: 0.65rem 0.9rem; color: var(--text);
  background: var(--bg); border: 0.5px solid rgba(0,0,0,0.15);
  border-radius: 8px; outline: none; transition: border-color .2s;
  margin-bottom: 0;
}
.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--teal); }
.contact-form textarea { resize: vertical; min-height: 110px; }
.contact-form button {
  width: 100%; padding: 0.75rem; font-size: 15px; font-weight: 500;
  background: var(--teal); color: #fff; border: none;
  border-radius: 8px; cursor: pointer; font-family: var(--font-sans);
  margin-top: 0.5rem; transition: background .2s;
}
.contact-form button:hover { background: var(--teal-dark); }

/* =============================================
   PAGE HERO (services / about / contact pages)
   ============================================= */
.page-hero {
  background: linear-gradient(135deg, var(--teal-deeper), var(--teal));
  padding: 4rem 4rem 3rem;
  text-align: center; position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0; opacity: .05;
  background-image: radial-gradient(circle, white 1px, transparent 1px);
  background-size: 36px 36px;
}
.page-hero h1 {
  font-family: var(--font-serif); font-size: clamp(32px, 4vw, 48px);
  font-weight: 500; color: #fff; position: relative; z-index: 1;
  text-align: center; margin-bottom: 0.75rem;
}
.page-hero p {
  font-size: 18px; color: rgba(255,255,255,.75); max-width: 500px;
  margin: 0 auto; position: relative; z-index: 1; line-height: 1.7;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--navy); color: #fff;
  padding: 2.5rem 4rem; font-family: var(--font-sans);
}
.footer-container {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; max-width: 1100px; margin: 0 auto;
  gap: 2rem;
}
.footer-column2 img { height: 44px; width: auto; object-fit: contain; filter: brightness(0) invert(1); opacity: .85; }
.footer-column h3 { color: #b5cc4a; margin-bottom: 0.75rem; font-size: 14px; text-transform: uppercase; letter-spacing: .06em; }
.footer-column p { font-size: 16px; line-height: 1.7; color: rgba(255,255,255,.7); }
.footer-column a { color: #b5cc4a; }
.footer-copy { font-size: 16px; color: rgba(255,255,255,.35); margin-top: 0.5rem; }

.social-icons { display: flex; gap: 10px; margin-top: 0.75rem; }
.social-icons a { display: flex; }
.social-icons img {
  width: 36px; height: 36px; border-radius: 8px;
  object-fit: cover; opacity: .85; transition: opacity .2s;
}
.social-icons img:hover { opacity: 1; }

/* =============================================
   SCROLL ANIMATIONS
   ============================================= */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
.scroll-animate { opacity: 0; transform: translateY(40px); }
.scroll-animate.animate-in { animation: fadeUp 0.7s ease-out forwards; }

/* =============================================
   FORM MESSAGE
   ============================================= */
#form-message { max-width: 600px; margin: 0 auto 1.5rem; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .latter-container { grid-template-columns: 1fr 1fr; }
  .latter-column:last-child { grid-column: span 2; }
}

@media (max-width: 768px) {
  header { padding: 0 1.25rem; }
  .menu-toggle { display: flex; align-items: center; margin-left: auto; }
  nav { position: static; }
  nav ul {
    display: none; flex-direction: column; gap: 0;
    position: absolute; top: 70px; left: 0; right: 0;
    background: var(--white); border-bottom: 0.5px solid var(--border);
    padding: 1rem 1.25rem; z-index: 300;
    box-shadow: var(--shadow-md);
  }
  nav ul li a { display: block; padding: 10px 0; border-bottom: 0.5px solid var(--border); }
  nav ul li:last-child a { border-bottom: none; }
  nav.open ul { display: flex; }
  .nav-cta { display: none; }

  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-left { padding: 3rem 1.5rem; }
  .hero-right { min-height: 260px; padding: 1.5rem; }

  .trust-bar { padding: 0.75rem 1.5rem; gap: 0.75rem; }
  .trust-items { gap: 0.75rem; }
  .trust-item { font-size: 13px; }

  .intro-section2 { grid-template-columns: 1fr; padding: 3rem 1.5rem; gap: 2rem; }
  .intro-section { grid-template-columns: 1fr; padding: 3rem 1.5rem; gap: 2rem; }
  
  .intro-section2 .image-box2 img { height: 260px; }

  .services-section { padding: 3rem 1.5rem; }
  .services-grid { grid-template-columns: 1fr; }

  .services2-section { padding: 3rem 1.5rem; }
  .choose-grid { grid-template-columns: 1fr; }

  .latter { padding: 3rem 1.5rem; }
  .latter-container { grid-template-columns: 1fr; }
  .latter-column:last-child { grid-column: auto; }

  .contact-section { padding: 3rem 1.5rem; }
  .contact-container { grid-template-columns: 1fr; gap: 2rem; }

  .page-hero { padding: 3rem 1.5rem 2.5rem; }

  .footer { padding: 2rem 1.5rem; }
  .footer-container { flex-direction: column; align-items: flex-start; gap: 1.5rem; }

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

@media (max-width: 480px) {
  .hero h1 { font-size: 1.8rem; }
  .hero-quote { font-size: 16px; }
  .section-title { font-size: 1.6rem; }
  .services-header h2 { font-size: 1.5rem; }
}

