/* ============================================================
   Celestial Coach - Gradient Modern Style CSS
   Author: Professional Flexbox UI Designer
   Brand: Celestial Coach
   ============================================================ */

/* FONT IMPORTS */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600,500,400&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

/* =========================
   RESET & BASE NORMALIZE
   ========================= */
html,
body,
h1, h2, h3, h4, h5, h6,
p, ul, ol, li, figure, figcaption,
div, nav, section, article, aside,
footer, header, main, button, input, textarea, select, a {
  margin: 0;
  padding: 0;
  border: none;
  outline: none;
  box-sizing: border-box;
  font: inherit;
  vertical-align: baseline;
}
html {
  font-size: 16px; /* base font size */
  scroll-behavior: smooth;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  background: linear-gradient(120deg, #E9E8E3 0%, #fff 100%);
  color: #34495E;
  min-height: 100vh;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  transition: background 0.5s;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #34495E;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #D6B076;
  outline: none;
}
ul, ol {
  list-style: none;
}
button {
  font-family: inherit;
  background: none;
  cursor: pointer;
  border: none;
  outline: none;
}

/* =========================
   LAYOUT CONTAINERS
   ========================= */
.container {
  width: 100%;
  max-width: 1172px;
  padding-left: 20px;
  padding-right: 20px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
/* Section spacing and alignment */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
  border-radius: 24px;
}

/* =========================
   TYPOGRAPHY
   ========================= */
h1,
h2,
h3,
h4,
h5,
h6 {
  color: #34495E;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 18px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.375rem;
  margin-bottom: 10px;
}
.text-section h2 {
  margin-top: 0;
}
p, li, ul, ol {
  font-size: 1rem;
  color: #42526E;
}
strong {
  font-weight: 600;
  color: #34495E;
}

/* =========================
   HEADER & NAVIGATION
   ========================= */
header {
  padding-top: 16px;
  padding-bottom: 16px;
  background: #fff;
  box-shadow: 0 2px 16px 0 rgba(52,73,94,0.04);
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 0;
}
header img {
  max-height: 54px;
}

.main-nav {
  display: flex;
  flex-direction: row;
  gap: 28px;
  margin-left: 24px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #34495E;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 6px 0 6px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.main-nav a:hover,
.main-nav a:focus {
  color: #D6B076;
  border-bottom: 2px solid #D6B076;
}

.cta {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.03rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(90deg, #34495E 0%, #D6B076 100%);
  border-radius: 24px;
  padding: 13px 32px;
  margin-left: 30px;
  box-shadow: 0 2px 24px 0 rgba(52,73,94,0.08);
  border: none;
  transition: background 0.24s, box-shadow 0.24s, transform 0.18s;
  letter-spacing: 0.02em;
  display: inline-block;
}
.cta.primary {
  background: linear-gradient(90deg, #34495E, #D6B076);
  color: #fff;
}
.cta:hover,
.cta:focus {
  background: linear-gradient(90deg, #D6B076, #34495E);
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 6px 30px 0 rgba(214,176,118,0.12);
}

/* Hamburger Icon */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: #34495E;
  color: #fff;
  padding: 7px 16px;
  border-radius: 16px;
  box-shadow: 0 2px 24px 0 rgba(52,73,94,0.11);
  margin-left: 22px;
  transition: background 0.2s, color 0.2s, transform 0.15s;
}
.mobile-menu-toggle:active,
.mobile-menu-toggle:focus {
  background: #D6B076;
  color: #34495E;
}

/* MOBILE NAVIGATION (OVERLAY MENU) */
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 0 8px 40px 0 rgba(44, 62, 80, 0.24);
  transform: translateX(-100vw);
  opacity: 0;
  z-index: 4000;
  pointer-events: none;
  transition: transform 0.34s cubic-bezier(.75,.02,.1,1), opacity 0.28s;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  font-size: 2.2rem;
  background: none;
  color: #34495E;
  position: absolute;
  top: 20px;
  right: 26px;
  z-index: 4100;
  cursor: pointer;
  transition: background 0.18s, color 0.15s;
  padding: 3px 10px 4px 10px;
  border-radius: 12px;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #fff;
  background: #D6B076;
}

.mobile-nav {
  margin-top: 100px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
  width: 100%;
  padding: 0 36px;
}
.mobile-nav a {
  color: #34495E;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.18rem;
  padding: 14px 0;
  border-bottom: 1px solid #E9E8E3;
  width: 100%;
  display: block;
  transition: color 0.2s, background 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #D6B076;
  background: #F8F7F2;
}

/* =========================
   HERO BANNERS
   ========================= */
.hero {
  padding: 0;
  margin: 0 auto 52px auto;
  background: linear-gradient(128deg, #E9E8E3 0%, #fff 60%, #D6B076 120%);
  border-radius: 0 0 36px 36px;
  box-shadow: 0 12px 40px 0 rgba(52,73,94,0.07);
}
.hero .container {
  align-items: center;
  justify-content: center;
  min-height: 330px;
  padding-top: 56px;
  padding-bottom: 46px;
}
.hero .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 26px;
}
.hero h1 {
  background: linear-gradient(90deg, #34495E 60%, #D6B076 120%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  margin-bottom: 18px;
}
.hero p {
  font-size: 1.23rem;
  margin-bottom: 16px;
}
.hero .cta {
  margin-top: 18px;
}

/* =========================
   FEATURE & SERVICES GRIDS
   ========================= */
.feature-grid,
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  width: 100%;
  justify-content: flex-start;
}
.feature-grid li,
.service-list li {
  flex: 1 1 240px;
  min-width: 260px;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 2px 18px 0 rgba(44,62,80,0.06);
  padding: 28px 20px 32px 20px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  transition: box-shadow 0.2s, transform 0.2s, background 0.21s;
  border: 1px solid #E9E8E3;
}
.feature-grid li:hover,
.service-list li:hover {
  box-shadow: 0 12px 36px 0 rgba(52,73,94,0.11);
  background: #F7F6F2;
  transform: translateY(-3px) scale(1.017);
}
.feature-grid li img {
  height: 44px;
  width: 44px;
  object-fit: contain;
  margin-bottom: 6px;
}
.feature-grid h3,
.service-list h3 {
  margin-bottom: 7px;
}

.service-list {
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 26px;
}
.service-list li {
  background: #fff;
  border-radius: 20px;
  border: 1px solid #E9E8E3;
  box-shadow: 0 2px 12px 0 rgba(52,73,94,0.06);
  min-width: 260px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s, background 0.15s, transform 0.2s;
}

.process-steps {
  width: 100%;
  margin: 22px 0 8px 0;
}
.process-steps ol {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  background: #F8F7F2;
  border-radius: 14px;
  padding: 20px 24px;
  counter-reset: process-num;
}
.process-steps li {
  flex: 1 1 120px;
  font-size: 1.1rem;
  color: #34495E;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  position: relative;
  padding-left: 38px;
}
.process-steps li:before {
  counter-increment: process-num;
  content: counter(process-num) '.';
  position: absolute;
  left: 0;
  top: 0;
  color: #D6B076;
  font-size: 1.24rem;
  font-weight: 700;
}

/* =========================
   TESTIMONIALS
   ========================= */
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  width: 100%;
  margin-bottom: 24px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 22px 28px 20px 28px;
  background: #F8F7F2;
  border-radius: 18px;
  margin-bottom: 20px;
  min-width: 275px;
  flex: 1 1 270px;
  box-shadow: 0 2px 22px 0 rgba(52,73,94,0.05);
  position: relative;
  z-index: 2;
  border-left: 5px solid #D6B076;
  color: #34495E;
}
.testimonial-card p {
  font-size: 1.12rem;
  color: #34495E;
  margin-bottom: 6px;
}
.testimonial-card span {
  color: #34495E;
  opacity: 0.84;
  font-size: 1rem;
}

/* =========================
   CONTACT INFO BLOCKS
   ========================= */
.contact-info-block {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 8px 0 rgba(52,73,94,0.07);
  padding: 30px 26px;
  margin-bottom: 20px;
  border: 1px solid #E9E8E3;
  align-items: flex-start;
  min-width: 265px;
}
.contact-info-block h3 {
  margin-bottom: 8px;
}
.contact-info-block ul {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.contact-info-block a {
  color: #34495E;
  font-weight: 500;
  transition: color 0.18s;
}
.contact-info-block a:hover {
  color: #D6B076;
}

.address-map {
  width: 100%;
  margin-top: 18px;
}

/* =========================
   FOOTER
   ========================= */
footer {
  background: #E9E8E3;
  padding: 40px 0 24px 0;
  margin-top: 80px;
  border-radius: 36px 36px 0 0;
  box-shadow: 0 -4px 28px 0 rgba(52,73,94,0.04);
}
footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
footer img {
  max-height: 44px;
}
.footer-nav {
  display: flex;
  gap: 26px;
  align-items: center;
  flex-wrap: wrap;
}
.footer-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  color: #34495E;
  font-size: 1rem;
  opacity: 0.82;
  transition: color 0.19s, opacity 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #D6B076;
  opacity: 1;
}

/* =========================
   GENERIC FLEXBOX UTILS
   ========================= */
.card-container,
.card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  width: 100%;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px 0 rgba(44,62,80,0.06);
  transition: box-shadow 0.17s, transform 0.15s;
}
.card:hover {
  box-shadow: 0 12px 34px 0 rgba(214,176,118,0.11);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* =========================
   TEXT CONTENT & MISC
   ========================= */
.text-section {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px 0 rgba(44,62,80,0.04);
  padding: 28px 20px;
  margin-bottom: 20px;
}
.text-section ul {
  margin-top: 8px;
  gap: 6px;
}
.text-section li {
  color: #42526E;
  margin-bottom: 4px;
}

/* =========================
   TABLES (IF USED)
   ========================= */
table {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 24px;
  font-size: 1rem;
  color: #34495E;
}
th, td {
  border: 1px solid #E9E8E3;
  padding: 13px;
  text-align: left;
}
th {
  background: #F7F6F2;
}

/* =========================
   RESPONSIVE DESIGN
   ========================= */
@media (max-width: 1200px) {
  .container {
    max-width: 960px;
  }
  .feature-grid,
  .service-list {
    gap: 18px;
  }
  .card-container {
    gap: 16px;
  }
}

@media (max-width: 900px) {
  .container {
    max-width: 100%;
    padding-left: 14px;
    padding-right: 14px;
  }
  .main-nav {
    gap: 18px;
    margin-left: 10px;
  }
  .footer-nav {
    gap: 14px;
  }
  .card, .feature-grid li, .service-list li {
    min-width: 220px;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  header .container {
    flex-direction: row;
    gap: 0;
    padding-left: 8px;
    padding-right: 8px;
  }
  .main-nav {
    display: none;
  }
  .cta {
    margin-left: 0;
    font-size: 1rem;
    padding: 12px 22px;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
  .footer-nav {
    flex-direction: column;
    gap: 11px;
    align-items: flex-start;
  }
  .hero {
    border-radius: 0 0 20px 20px;
    box-shadow: 0 4px 18px 0 rgba(52,73,94,0.07);
  }
  .hero .container {
    min-height: 200px;
    padding-top: 36px;
    padding-bottom: 34px;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .feature-grid,
  .service-list {
    flex-direction: column;
    gap: 16px;
  }
  .testimonial-list {
    flex-direction: column;
    gap: 15px;
  }
  .testimonial-card {
    min-width: unset;
    padding: 20px 14px 16px 14px;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 14px;
  }
  .section {
    margin-bottom: 30px;
    padding: 22px 8px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .process-steps ol {
    flex-direction: column;
    gap: 14px;
    padding: 10px 8px;
  }
  .contact-info-block, .text-section {
    padding: 18px 9px;
    min-width: unset;
  }
  footer {
    padding: 22px 0 14px 0;
    margin-top: 36px;
    border-radius: 18px 18px 0 0;
  }
}
@media (max-width: 500px) {
  html {
    font-size: 14px;
  }
}

/* =========================
   ANIMATIONS, EFFECTS, UI
   ========================= */
/* Subtle link hover underline for main / cta */
.cta::after {
  content: '';
  display: block;
  border-bottom: 2px solid #D6B076;
  width: 0;
  transition: width 0.28s;
}
.cta:hover::after,
.cta:focus::after {
  width: 60%;
}

/* Micro-interactions card shadows */
.card:hover,
.feature-grid li:hover,
.service-list li:hover {
  transform: translateY(-3px) scale(1.017);
  box-shadow: 0 8px 34px 0 rgba(214,176,118,0.11);
}

/* =========================
   COOKIE CONSENT BANNER
   ========================= */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #fff;
  box-shadow: 0 -2px 38px 0 rgba(52,73,94,0.09);
  border-radius: 20px 20px 0 0;
  z-index: 5000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 18px 20px 18px;
  gap: 22px;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  animation: cookieIn 0.55s cubic-bezier(.85,0,.2,1);
}
@keyframes cookieIn {
  0% {transform: translateY(100%); opacity: 0;}
  70% {transform: translateY(-12px); opacity: 1;}
  100% {transform: translateY(0); opacity: 1;}
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.cookie-btn, .cookie-btn.primary {
  border-radius: 13px;
  padding: 9px 18px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  background: #E9E8E3;
  color: #34495E;
  box-shadow: 0 1px 11px 0 rgba(44,62,80,0.08);
  transition: background 0.2s, color 0.17s, transform 0.16s;
  margin-left: 0 !important;
}
.cookie-btn.primary {
  background: linear-gradient(90deg, #D6B076, #34495E);
  color: #fff;
}
.cookie-btn:hover,
.cookie-btn:focus {
  background: #D6B076;
  color: #fff;
  transform: translateY(-2px) scale(1.04);
}
.cookie-btn.settings {
  background: #fff;
  border: 1px solid #D6B076;
  color: #34495E;
}
.cookie-btn.settings:hover {
  background: #D6B076;
  color: #fff;
}

/* Cookie Modal Overlay */
.cookie-modal {
  position: fixed;
  z-index: 5100;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(52, 73, 94, 0.37);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal-content {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 8px 42px 0 rgba(52,73,94,0.20);
  padding: 32px 28px 24px 28px;
  width: 95vw;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: cookieModalIn 0.38s cubic-bezier(.85,0,.2,1);
}
@keyframes cookieModalIn {
  0% {transform: scale(0.90) translateY(38px); opacity: 0;}
  80% {transform: scale(1.02) translateY(-8px); opacity: 1;}
  100% {transform: scale(1) translateY(0); opacity: 1;}
}
.cookie-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.cookie-modal-title {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #34495E;
  font-weight: 700;
  font-size: 1.29rem;
}
.cookie-modal-close {
  background: none;
  font-size: 2rem;
  color: #34495E;
  border-radius: 10px;
  padding: 2px 8px 0 8px;
  cursor: pointer;
  transition: background 0.14s, color 0.13s;
}
.cookie-modal-close:hover { background: #ECEAE6; color: #D6B076; }
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.cookie-category {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #F8F7F2;
  border-radius: 14px;
  padding: 12px 14px;
}
.cookie-category strong {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: #34495E;
}
.cookie-toggle {
  width: 38px;
  height: 20px;
  border-radius: 14px;
  background: #E9E8E3;
  position: relative;
  transition: background 0.18s;
  display: inline-block;
}
.cookie-toggle input[type="checkbox"] {
  appearance: none;
  width: 100%;
  height: 100%;
  background: transparent;
  margin: 0;
  position: absolute;
  left: 0;
  top: 0;
  cursor: pointer;
  z-index: 2;
}
.cookie-toggle .slider {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px #ccc;
  transition: left 0.21s, background 0.14s;
}
.cookie-toggle input[type="checkbox"]:checked ~ .slider {
  left: 20px;
  background: #D6B076;
}
.cookie-toggle input[type="checkbox"]:checked ~ .cookie-toggle {
  background: #D6B076;
}
.cookie-category .desc {
  font-size: 0.96rem;
  color: #42526E;
  margin-left: 10px;
}

@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 12px 7px;
    font-size: 1rem;
  }
  .cookie-modal-content {
    width: 96vw;
    padding: 18px 5vw 15px 5vw;
  }
}

/* =========================
   FORM ELEMENTS (GENERIC)
   ========================= */
input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  background: #F8F7F2;
  border: 1px solid #E9E8E3;
  border-radius: 11px;
  padding: 10px 14px;
  transition: border-color 0.17s, box-shadow 0.16s;
  color: #34495E;
  margin-bottom: 16px;
}
input:focus, textarea:focus, select:focus {
  border-color: #D6B076;
  box-shadow: 0 2px 10px 0 rgba(52,73,94,0.07);
}
label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: #34495E;
  margin-bottom: 6px;
  display: block;
}

/* Hide scrollbars on mobile nav overlay */
.mobile-menu::-webkit-scrollbar {
  display: none;
}
.mobile-menu {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Utilities */
.mt-1 { margin-top: 8px !important; }
.mt-2 { margin-top: 16px !important; }
.mt-3 { margin-top: 24px !important; }
.mb-1 { margin-bottom: 8px !important; }
.mb-2 { margin-bottom: 16px !important; }
.mb-3 { margin-bottom: 24px !important; }

/* Accessibility focus outline */
:focus-visible {
  outline: 2px dashed #D6B076;
  outline-offset: 2px;
}

/* =========================
   END OF STYLES
   ========================= */
