/* ========================== RESET & BASE ======================== */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  box-sizing: border-box;
}
body {
  background: #181d24;
  color: #EFEFEF;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
}
img {
  max-width: 100%;
  display: block;
  border-radius: 8px;
}
a {
  color: #E6B75A; /* gold accent */
  text-decoration: none;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #FAEBB5;
  text-decoration: underline;
}
ul, ol {
  margin-left: 22px;
  padding-left: 0;
  margin-bottom: 20px;
}
li {
  margin-bottom: 8px;
}
strong {
  font-weight: 700;
  color: #FAC668;
}
.container {
  width: 100%;
  max-width: 1250px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  margin: 0 auto;
  max-width: 1050px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
hr {
  border: none;
  border-bottom: 1px solid #3E4C61;
  margin: 30px 0;
}

/* ===================== TYPOGRAPHY ==================== */
h1, .hero h1, .thank-you h1 {
  font-family: 'Montserrat', serif;
  font-size: 2.3rem;
  color: #FAC668;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.15;
  margin-bottom: 12px;
}
h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.6rem;
  color: #E6B75A;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin-bottom: 10px;
}
h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.22rem;
  font-weight: 600;
  color: #FAEBB5;
  margin-bottom: 8px;
}
h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  color: #F7D88E;
}
p {
  color: #EFEFEF;
  font-size: 1em;
  line-height: 1.7;
}
.hero p, .thank-you p {
  font-size: 1.12em;
  color: #fff;
}
.label,
.strong {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: #FAC668;
}

/* ====================== PAGE STRUCTURE ====================== */
main {
  flex: 1 0 auto;
  margin-bottom: 60px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 767px) {
  .section {
    padding: 30px 10px;
    margin-bottom: 36px;
  }
}

/* ======================= HEADER & NAVIGATION ====================== */
header {
  background: #202A36;
  border-bottom: 1px solid #233F5E;
  box-shadow: 0 3px 20px 0 rgba(24, 29, 36, 0.06);
  position: relative;
  z-index: 50;
}
header .container {
  min-height: 76px;
  height: 76px;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
header img {
  max-height: 48px;
}

.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.07em;
  color: #FAEBB5;
  font-weight: 500;
  padding: 7px 12px;
  border-radius: 4px;
  transition: background 0.18s, color 0.18s;
  position: relative;
}
.main-nav a:hover,
.main-nav a:focus {
  background: #FAC66833;
  color: #2B2B2B;
}

.cta-btn {
  font-family: 'Montserrat', sans-serif;
  display: inline-block;
  background: linear-gradient(90deg,#FFE2A2 30%,#FFC866 100%);
  color: #233F5E;
  font-weight: 700;
  border: none;
  border-radius: 32px;
  font-size: 1.11em;
  padding: 14px 36px;
  letter-spacing: 0.01em;
  margin-left: 12px;
  box-shadow: 0 2px 18px 0 rgba(255,213,110,0.18);
  transition: background 0.19s, color 0.18s, box-shadow 0.18s;
  cursor: pointer;
  outline: none;
  text-align: center;
}
.cta-btn:hover,
.cta-btn:focus {
  background: linear-gradient(90deg,#FFDB87 14%,#FAC668 100%);
  color: #181d24;
  box-shadow: 0 4px 28px 0 rgba(255, 225, 120, 0.24);
}

@media (max-width: 1100px) {
  .main-nav {
    gap: 18px;
  }
  header .container {
    gap: 8px;
  }
}

@media (max-width: 850px) {
  .main-nav {
    gap: 8px;
  }
}

/* ========== Hamburger (Mobile) Navigation ========== */
.mobile-menu-toggle {
  display: none;
  background: #FAC668;
  color: #1B2326;
  font-size: 2rem;
  position: fixed;
  top: 22px;
  right: 22px;
  z-index: 110;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px 0 #00000021;
  cursor: pointer;
}

@media (max-width: 900px) {
  .main-nav, .cta-btn {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  header .container {
    justify-content: flex-start;
  }
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  background: #161A21;
  width: 87vw;
  max-width: 350px;
  height: 100vh;
  position: fixed;
  top: 0;
  right: 0;
  z-index: 300;
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(0.4,0,0.2,1);
  box-shadow: -4px 0 18px #00000043;
  padding: 38px 28px 24px 24px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  color: #FFE3A5;
  background: rgba(40,38,32,0.19);
  border: none;
  font-size: 2rem;
  cursor: pointer;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  position: absolute;
  top: 19px;
  right: 18px;
  z-index: 301;
  transition: background 0.17s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile-menu-close:hover {
  background: #FAC668;
  color: #161A21;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  margin-top: 63px;
  gap: 12px;
  width: 100%;
}
.mobile-nav a {
  color: #FFE3A5;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.08em;
  padding: 13px 12px 13px 0;
  border-radius: 4px;
  font-weight: 500;
  transition: background 0.13s, color 0.13s;
  width: 100%;
  display: block;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #FAC66833;
  color: #141820;
}

/* Screen Overlay (when menu open) */
body.menu-open::after {
  content: '';
  position: fixed;
  z-index: 220;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(24,29,36, 0.53);
  pointer-events: all;
  transition: background 0.22s;
}

/* ========================= HERO SECTIONS ======================= */
.hero {
  background: #1F2833 url('../assets/hero-bg.jpg') center/cover no-repeat;
  min-height: 340px;
  padding: 40px 0 58px 0;
  box-shadow: 0 7px 38px 0 rgba(34,31,20,0.07);
  display: flex;
  align-items: center;
  margin-bottom: 60px;
}
.hero .container {
  flex-direction: row;
  align-items: center;
}
.hero .content-wrapper {
  gap: 24px;
  align-items: flex-start;
}

@media (max-width: 767px) {
  .hero {
    min-height: 170px;
    padding: 28px 0 30px 0;
    margin-bottom: 32px;
  }
  .hero .container {
    padding: 0 6px;
  }
}

/* ======================= FEATURE/CARD LAYOUTS =================== */
.card-container,
.feature-grid,
.tip-grid,
.usp-grid,
.card-grid,
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.card {
  background: #232B38;
  border-radius: 18px;
  box-shadow: 0 6px 28px 0 rgba(36, 31, 22, 0.17);
  border: 1.5px solid #2E3A4F;
  padding: 32px 22px 30px 22px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.21s, border-color 0.17s;
}
.card:hover {
  box-shadow: 0 12px 30px 0 rgba(240, 196, 90, 0.18);
  border-color: #FAC668;
}
.feature-grid>div,
.tip-grid>div,
.usp-grid>div {
  background: #202933;
  border-radius: 14px;
  box-shadow: 0 3px 12px 0 rgba(34,31,20,0.11);
  padding: 22px 16px 20px 16px;
  flex: 1 1 250px;
  min-width: 240px;
  max-width: 340px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  position: relative;
  border: 1.3px solid #263453;
  transition: box-shadow 0.18s, border-color 0.18s;
}
.feature-grid>div:hover,
.tip-grid>div:hover,
.usp-grid>div:hover {
  box-shadow: 0 8px 18px 0 rgba(250,198,104, 0.14);
  border-color: #FAC668;
}
.feature-grid img, .tip-grid img, .usp-grid img {
  width: 46px;
  height: 46px;
  margin-bottom: 2px;
}
.values-list,
.project-types-list ul,
.values-list ul {
  list-style: disc inside;
  margin-bottom: 0;
}

@media (max-width: 1000px) {
  .feature-grid, .tip-grid, .usp-grid, .card-container, .content-grid, .card-grid {
    flex-direction: column;
    gap: 20px;
  }
  .feature-grid>div,
  .tip-grid>div,
  .usp-grid>div {
    max-width: 100%;
    width: 100%;
    min-width: 0px;
  }
}

/* ======================= FLEX SPACING & ALIGNMENT CLASSES ===================== */
.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;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  border-radius: 15px;
  background: #F6F3EE;
  color: #232B38;
  box-shadow: 0 4px 20px 0 rgba(220, 192, 65, 0.12);
  border-left: 6px solid #FAC668;
  margin-bottom: 24px;
  min-width: 260px;
  max-width: 540px;
  position: relative;
}
.testimonial-card p {
  color: #232B38;
  font-size: 1.06em;
}
.star-rating {
  color: #FAC668;
  font-size: 1.18em;
  margin-top: 8px;
  letter-spacing: 0.13em;
}
.client-name {
  color: #71717e;
  font-size: 0.98em;
  font-style: italic;
  margin-top: 2px;
}
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
@media (max-width: 900px) {
  .testimonial-slider {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card {
    max-width: 100%;
    min-width: 0;
  }
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

@media (max-width: 800px) {
  .text-image-section {
    flex-direction: column;
    gap: 16px;
  }
}

/* ================== SPECIAL CARDS AND USAGE ================== */
.about-summary,
.brand-story,
.community-focus,
.success-stories,
.advice-blocks,
.project-highlights {
  background: #232B38;
  border-radius: 13px;
  padding: 20px 22px;
  margin-bottom: 14px;
  color: #FAEBB5;
  border-left: 4px solid #FAC668;
  font-family: 'Roboto', sans-serif;
  box-shadow: 0 2px 14px 0 rgba(36, 31, 22, 0.10);
}

.values-list {
  margin: 18px 0 18px 15px;
  color: #FADA8B;
  font-size: 1.07em;
}
.values-list li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 8px;
}
.values-list li::marker {
  color: #FAC668;
}

/* Project and Material Cards */
.project-types-list, .material-list, .learning-resources {
  background: #202933;
  border-radius: 11px;
  border-left: 4px solid #B1D34B;
  padding: 16px 20px;
  color: #BBB;
  margin-bottom: 16px;
}

/* =========================== CTA Banner ========================== */
.cta-banner {
  background: linear-gradient(90deg, #232B38 80%, #FFE2A256 100%);
  padding: 30px 0;
  border-radius: 20px;
  box-shadow: 0 4px 20px 0 rgba(255,212,104, 0.09);
  margin-bottom: 50px;
}
.cta-banner h2 {
  color: #FAEBB5;
}

/* ====================== FOOTER ===================== */
footer {
  background: #181d24;
  padding-top: 54px;
  padding-bottom: 32px;
  color: #DFE2E5;
  border-top: 1.5px solid #2E3A4F;
}
footer .container {
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 12px;
  align-items: center;
}
.footer-nav a {
  color: #FAEBB5;
  font-family: 'Montserrat', sans-serif;
  font-size: 1em;
  font-weight: 500;
  transition: color 0.15s;
}
.footer-nav a:hover {
  color: #FAC668;
}
.footer-contact p {
  color: #BBB;
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 5px;
}
footer img {
  max-height: 48px;
  margin-bottom: 22px;
}
@media (max-width: 767px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
  }
}

/* ================ FORM FIELD STYLES ================ */
input, textarea, select {
  border: 1.7px solid #3E4C61;
  background: #232B38;
  color: #F6F3EE;
  font-family: 'Roboto', sans-serif;
  font-size: 1em;
  padding: 12px 14px;
  border-radius: 7px;
  margin-bottom: 18px;
  width: 100%;
  outline: none;
  transition: border-color 0.15s;
}
input:focus, textarea:focus, select:focus {
  border-color: #FAC668;
}
label {
  color: #FAC668;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  margin-bottom: 7px;
}

/* =============== UTILITY & MICRO-EFFECTS =============== */
.link-more {
  color: #FAC668;
  text-decoration: underline;
  cursor: pointer;
  font-weight: 500;
  transition: color 0.15s;
}
.link-more:hover {
  color: #B1D34B;
}

/* General transitions */
a, button, .card, .cta-btn, .main-nav a, .feature-grid>div, .tip-grid>div, .usp-grid>div {
  transition: all 0.18s cubic-bezier(.4,0,.2,1);
}

/* ============= LEGAL, POLICY & COOKIE COMPONENTS ============= */
.legal {
  background: #202A36;
  border-radius: 14px;
  padding: 36px 14px;
  margin: 38px 0 0 0;
  color: #FAEBB5;
  box-shadow: 0 2px 11px 0 rgba(36, 31, 22, 0.07);
}
.last-updated {
  color: #ABABAB;
  font-size: 0.93em;
  margin-top: 16px;
}
.agreement-reminder {
  color: #FFC866;
  margin-top: 18px;
  font-weight: bold;
}

/* ================= COOKIE CONSENT BANNER & MODAL ================ */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #202932;
  color: #fff;
  z-index: 9998;
  box-shadow: 0 -2px 18px 0 rgba(34,31,20,0.11);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 17px 20px 17px 24px;
  gap: 18px;
  font-size: 1em;
  font-family: 'Roboto', sans-serif;
  border-top: 2px solid #FAC668;
  animation: cookieBannerSlideIn 0.67s;
}
@keyframes cookieBannerSlideIn {
  from { transform: translateY(100%); }
  to { transform: none; }
}
.cookie-banner-content {
  flex: 1 1 auto;
}
.cookie-banner-cta {
  display: flex;
  flex-direction: row;
  gap: 13px;
  align-items: center;
}
.cookie-btn {
  display: inline-block;
  border-radius: 25px;
  padding: 9px 22px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1em;
  border: none;
  cursor: pointer;
  background: #FAC668;
  color: #232B38;
  margin-right: 0;
  transition: background 0.13s, color 0.13s, box-shadow 0.13s;
  box-shadow: 0 1px 10px 0 #FAC66819;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #FFE2A2;
  color: #181d24;
}
.cookie-btn.secondary {
  background: #232B38;
  color: #FAC668;
  border: 1px solid #FAC668;
}
.cookie-btn.secondary:hover, .cookie-btn.secondary:focus {
  background: #FAC66822;
}

/* Cookie preferences modal */
.cookie-modal-overlay {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(18,21,24, 0.47);
  z-index: 10001;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: cookieModalFadeIn 0.28s;
}
@keyframes cookieModalFadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal {
  background: #1F2630;
  border-radius: 15px;
  padding: 40px 32px;
  max-width: 370px;
  width: 97vw;
  color: #fff;
  box-shadow: 0 4px 38px 0 #2D232218;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  position: relative;
  z-index: 10002;
  animation: cookieModalSlideIn 0.41s;
}
@keyframes cookieModalSlideIn {
  0% { transform: scale(.9) translateY(42px); opacity: 0; }
  100% { transform: none; opacity: 1; }
}
.cookie-modal h2 {
  color: #FAC668;
  font-size: 1.2em;
  margin-bottom: 6px;
}
.cookie-category {
  margin-bottom: 14px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
}
.cookie-category input[type='checkbox'] {
  accent-color: #FAC668;
  width: 18px;
  height: 18px;
}
.cookie-modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: none;
  color: #FAC668;
  border: none;
  font-size: 1.6em;
  border-radius: 3px;
  cursor: pointer;
  transition: color 0.15s;
}
.cookie-modal-close:hover {
  color: #FFE2A2;
}
.cookie-actions {
  display: flex;
  gap: 12px;
  width: 100%;
  margin-top: 16px;
}

/* Responsive: Cookie Banner & Modal */
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    gap: 10px;
    font-size: 0.97em;
    padding: 13px 8px 14px 13px;
    align-items: flex-start;
  }
  .cookie-banner-cta {
    margin-left: 0;
    gap: 7px;
  }
  .cookie-modal {
    padding: 28px 11px;
  }
}

/* =================== THANK YOU PAGE =================== */
.thank-you {
  background: #233F5E url('../assets/thank-bg.jpg') center/cover no-repeat;
  padding: 72px 0 90px 0;
  border-radius: 21px;
  box-shadow: 0 7px 38px 0 rgba(34,31,20,0.07);
  display: flex;
  align-items: center;
  text-align: center;
  color: #F7D88E;
}
.thank-you .cta-btn {
  margin-top: 28px;
}
@media (max-width: 700px) {
  .thank-you {
    padding: 36px 0 38px 0;
  }
}

/* =========================== MEDIA QUERIES ========================== */
@media (max-width: 1100px) {
  .container {
    max-width: 98vw;
  }
}
@media (max-width: 700px) {
  html {
    font-size: 15px;
  }
  .content-wrapper {
    max-width: 97vw;
    gap: 14px;
  }
  h1, .hero h1 { font-size: 1.5em; }
  h2 { font-size: 1.15em; }
  h3 { font-size: 1em; }
}

@media (max-width: 500px) {
  h1, .hero h1 { font-size: 1.17em; }
  .card,
  .feature-grid>div,
  .tip-grid>div,
  .usp-grid>div {
    padding: 14px 8px 13px 10px;
  }
}

/* ========== Scrollbar Styling (Webkit) ========== */
::-webkit-scrollbar {
  width: 9px;
  background: #232B38;
}
::-webkit-scrollbar-thumb {
  background: #FAC66844;
  border-radius: 6px;
}

/* ================= PREMIUM STYLE MICRO-DETAILS (Luxury touch) ================ */
.card, .feature-grid>div, .testimonial-card {
  border-top: 2px double #FAC668;
}
.card:after, .feature-grid>div:after, .usp-grid>div:after {
  content: "";
  display: block;
  width: 54px;
  height: 2px;
  background: #FAC668;
  margin: 18px 0 0 0;
  border-radius: 1px;
  opacity: .22;
}

/* ================== ANIMATIONS: Buttons, Cards, Icons =================== */
button, .cta-btn, .cookie-btn {
  transition: background 0.19s, color 0.18s, border-color 0.19s, transform 0.21s, box-shadow 0.18s;
}
button:active, .cta-btn:active, .cookie-btn:active {
  transform: scale(0.97);
}
.card, .feature-grid>div, .testimonial-card {
  transition: box-shadow 0.23s, border-color 0.19s, transform 0.21s;
}
.card:hover, .feature-grid>div:hover, .testimonial-card:hover {
  transform: translateY(-3px) scale(1.016);
}

/* ================= Custom Fontface Fallback ========================= */
@font-face {
  font-family: 'Montserrat';
  src: local('Montserrat'), local('Montserrat-Regular'),
       url('https://fonts.gstatic.com/s/montserrat/v25/JTUQjIg1_i6t8kCHKm45_QphziTn89dtpQ.woff2') format('woff2');
  font-display: swap;
}
@font-face {
  font-family: 'Roboto';
  src: local('Roboto'), local('Roboto-Regular'),
       url('https://fonts.gstatic.com/s/roboto/v30/KFOmCnqEu92Fr1Mu4mxK.woff2') format('woff2');
  font-display: swap;
}

/* END OF CSS */
