/* ==== CSS RESET & NORMALIZE ==== */
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 { 
  box-sizing: border-box;
  font-size: 16px; 
  scroll-behavior: smooth;
  background: #F5FDFE;
}
*, *:before, *:after { box-sizing: inherit; }

body {
  font-family: 'Roboto', Arial, sans-serif;
  color: #332929; /* dark warm gray for contrast */
  background: #F5FDFE;
  line-height: 1.6;
  min-height: 100vh;
}
a {
  color: #ED6B2E;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #be4507;
  text-decoration: underline;
}
img {
  max-width: 100%;
  display: block;
  border-radius: 12px;
}
ul, ol {
  margin-left: 24px;
  margin-bottom: 16px;
}
li {
  margin-bottom: 6px;
}

/* ==== TYPOGRAPHY ==== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #1A2746;
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 18px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}
h3 {
  font-size: 1.375rem;
  margin-bottom: 10px;
}
h4 {
  font-size: 1.125rem;
}
p, .subheadline {
  font-size: 1rem;
  color: #473e38;
  margin-bottom: 14px;
}
.subheadline {
  font-size: 1.125rem;
  color: #B6592E;
}

/* ==== GENERAL SPACING & LAYOUT ==== */
.container {
  max-width: 1220px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  margin-top: 10px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 4px 16px rgba(187, 127, 65, 0.13);
}

/* ==== BUTTONS ==== */
.cta-primary, .button, .mobile-nav a.cta-primary {
  display: inline-block;
  background: #ED6B2E;
  color: #fff!important;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  border: none;
  border-radius: 32px;
  padding: 13px 36px;
  cursor: pointer;
  transition: background 0.15s, box-shadow 0.16s, transform 0.11s;
  box-shadow: 0 2px 12px rgba(237, 107, 46, 0.07);
  margin-top: 8px;
  margin-bottom: 8px;
  text-align: center;
}
.cta-primary:hover, .cta-primary:focus, .mobile-nav a.cta-primary:hover {
  background: #be4507;
  box-shadow: 0 6px 18px rgba(180, 80, 32, 0.22);
  color: #fff!important;
  transform: translateY(-2px) scale(1.04);
}
.button-secondary {
  background: #F5FDFE;
  color: #ED6B2E;
  border: 2px solid #ED6B2E;
  border-radius: 32px;
  padding: 11px 28px;
  font-weight: 600;
  font-size: 1rem;
  margin-top: 8px;
  margin-bottom: 8px;
  transition: background 0.18s, color 0.15s;
}
.button-secondary:hover, .button-secondary:focus {
  background: #ED6B2E;
  color: #fff;
}

/* ==== HEADER & NAVBAR ==== */
header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(237,107,46,0.06);
}
.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  gap: 16px;
  padding: 0 0;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
}
.main-nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #1A2746;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 24px;
  padding: 7px 18px;
  transition: background 0.12s, color 0.12s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #FFF0EA;
  color: #ED6B2E;
}
.main-nav a.cta-primary {
  margin-left: 16px;
  background: #ED6B2E;
  color: #fff!important;
  box-shadow: 0 2px 12px rgba(237, 107, 46, 0.07);
}
.main-nav a.cta-primary:hover {
  background: #be4507;
  color: #fff!important;
}
/* Hamburger */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #ED6B2E;
  cursor: pointer;
  border-radius: 36px;
  padding: 6px 16px;
  transition: background 0.18s;
  z-index: 11;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #FFF0EA;
}

/* ==== MOBILE NAVIGATION ==== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;bottom: 0; right: 0;
  width: 100vw;
  height: 100vh;
  background: #fffdfa;
  box-shadow: 0 4px 32px rgba(237,107,46,0.18);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(-100vw);
  transition: transform 0.28s cubic-bezier(.68,.1,.43,1.19);
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: #ED6B2E;
  padding: 12px 18px 6px 6px;
  margin-left: auto;
  margin-top: 18px;
  margin-right: 16px;
  border-radius: 32px;
  cursor: pointer;
  transition: background 0.16s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #FFF0EA;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 30px;
  padding-left: 32px;
}
.mobile-nav a {
  color: #1A2746;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.175rem;
  border-radius: 24px;
  padding: 12px 18px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #FFF0EA;
  color: #ED6B2E;
}
.mobile-nav a.cta-primary {
  background: #ED6B2E;
  color: #fff!important;
  font-weight: 700;
}

/* ==== HERO ==== */
.hero {
  background: linear-gradient(95deg, #FFF5EC 60%, #F5FDFE 100%);
  padding: 48px 0 24px 0;
  border-bottom-left-radius: 32px;
  border-bottom-right-radius: 32px;
  box-shadow: 0 10px 36px -10px rgba(237,107,46,0.10);
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 12px;
  padding-top: 14px;
  max-width: 680px;
}

/* ==== FEATURES ==== */
.features {
  padding: 40px 0;
  margin-bottom: 60px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: flex-start;
  align-items: stretch;
  margin-top: 20px;
}
.feature-grid > div {
  background: #fffdfa;
  border-radius: 18px;
  box-shadow: 0 3px 14px rgba(232,145,74,0.10);
  padding: 32px 22px 28px 22px;
  flex: 1 1 250px;
  min-width: 230px;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  transition: box-shadow 0.19s, transform 0.13s;
}
.feature-grid > div:hover {
  box-shadow: 0 8px 34px rgba(237,107,46,0.18);
  transform: translateY(-2px) scale(1.03);
}
.feature-grid img {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  margin-bottom: 6px;
  box-shadow: 0 2px 14px #FFF5EC55;
}

/* ==== SERVICES / SOLUTIONS / INDUSTRY CARDS ==== */
.service-cards, .solution-grid, .industry-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
  justify-content: flex-start;
}
.service-cards > div, .solution-card, .industry-grid > div {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 13px rgba(218, 151, 51, 0.07);
  padding: 28px 22px 21px 22px;
  min-width: 230px;
  flex: 1 1 230px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
  transition: box-shadow 0.2s, transform 0.12s;
}
.solution-card:hover, .industry-grid > div:hover, .service-cards > div:hover {
  box-shadow: 0 8px 32px rgba(237,107,46,0.17);
  transform: translateY(-2px) scale(1.025);
}
.industry-grid > div img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  margin-bottom: 4px;
}

/* ==== ABOUT/TEAMS ==== */
.team-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
}
.team-profile {
  background: #fffdfa;
  border-radius: 18px;
  box-shadow: 0 2px 13px rgba(237,107,46,0.07);
  flex: 1 1 240px;
  min-width: 210px;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 26px;
  text-align: center;
  gap: 10px;
  margin-bottom: 20px;
}
.team-profile img {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  margin-bottom: 10px;
  box-shadow: 0 2px 14px #FFF5EC55;
}

/* ==== TESTIMONIALS ==== */
.testimonial-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
  justify-content: flex-start;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  background: #FFFEE2;
  border-radius: 18px;
  box-shadow: 0 2px 14px rgba(237,107,46,0.13);
  padding: 24px 22px 20px 22px;
  min-width: 230px;
  flex: 1 1 250px;
  margin-bottom: 20px;
  position: relative;
  color: #1A2746;
}
.testimonial-card p {
  color: #473e38;
  font-size: 1.08rem;
  font-style: italic;
  line-height: 1.45;
  margin-bottom: 8px;
}
.testimonial-card span {
  font-size: 0.98rem;
  color: #be4507;
  font-style: normal;
  font-weight: 600;
}

/* ==== CALL TO ACTION SECTIONS ==== */
.cta {
  background: #ED6B2E;
  color: #fff;
  border-radius: 24px;
  box-shadow: 0 4px 26px rgba(237,107,46,0.11);
  padding: 50px 0 40px 0;
  margin-bottom: 60px;
}
.cta .content-wrapper,
.cta .content-wrapper h2,
.cta .content-wrapper p {
  color: #fff;
}
.cta .cta-primary {
  background: #fff;
  color: #ED6B2E!important;
  font-weight: 700;
  box-shadow: none;
  margin-top: 16px;
  transition: background 0.17s, color 0.17s;
}
.cta .cta-primary:hover, .cta .cta-primary:focus {
  background: #1A2746;
  color: #fff!important;
}

/* ==== LEGAL SECTIONS ==== */
.legal {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 2px 13px rgba(218, 151, 51, 0.07);
  padding: 38px 22px 40px 22px;
  margin: 40px 0;
}

.legal h1, .legal h2 {
  color: #1A2746;
}

.legal h2 {
  margin-top: 22px;
  font-size: 1.22rem;
}
.legal ul, .legal ol {
  margin-left: 18px;
}

/* ==== CONTACT DETAILS ==== */
.contact-details .content-wrapper {
  flex-direction: row;
  gap: 40px;
  align-items: flex-start;
  margin-top: 20px;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 240px;
}
.contact-info div {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 1rem;
  color: #332929;
}
.contact-info img {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: #FFF0EA;
  padding: 3px;
}
.map-embed {
  background: #fffdfa;
  border-radius: 16px;
  padding: 18px 16px;
  box-shadow: 0 1px 6px #B6592E12;
  max-width: 340px;
  font-size: 0.98rem;
}

/* ==== TEXT-IMAGE-SECTION ==== */
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: flex-start;
  font-size: 1rem;
}

/* ==== UTILITIES ==== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 19px;
  box-shadow: 0 2px 15px rgba(218, 151, 51, 0.09);
  margin-bottom: 20px;
  position: relative;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ==== BLOG/NEWS ==== */
.blog-list .text-section h3 {
  margin-top: 16px;
  margin-bottom: 6px;
}
.blog-list .text-section a {
  font-weight: 500;
  color: #1A2746;
  text-decoration: underline;
  transition: color 0.17s;
}
.blog-list .text-section a:hover {
  color: #ED6B2E;
}

/* ==== NEWSLETTER SIGNUP ==== */
.newsletter-signup .cta-primary {
  margin-top: 16px;
}

/* ==== FOOTER ==== */
footer {
  background: #fff;
  border-top: 3px solid #F6C38B;
  margin-top: 60px;
  padding: 0 0 20px 0;
  font-size: 1rem;
}
.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: stretch;
  gap: 36px;
  padding: 36px 0 0 0;
}
.footer-brand {
  flex: 1 1 220px;
  min-width: 160px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.footer-brand img {
  width: 120px;
  margin-bottom: 6px;
  border-radius: 22px;
}
.footer-nav {
  flex: 1 1 160px;
  min-width: 140px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  margin-top: 12px;
}
.footer-nav a {
  color: #1A2746;
  transition: color 0.16s, background 0.14s;
  border-radius: 16px;
  padding: 4px 10px;
  font-size: 1rem;
}
.footer-nav a:hover {
  background: #F5E7DE;
  color: #ED6B2E;
}
.footer-contact {
  flex: 2 1 220px;
  min-width: 180px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 12px;
}
.footer-contact div {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.98rem;
  color: #473e38;
  margin-bottom: 3px;
}
.footer-contact img {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: #FFF0EA;
  padding: 1px;
}

/* ==== COOKIE BANNER ==== */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100%;
  background: #fffdfa;
  border-top: 2px solid #F6C38B;
  box-shadow: 0 -2px 18px rgba(237,107,46,0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1500;
  padding: 18px 16px;
  gap: 14px;
  animation: slideUp 0.4s cubic-bezier(.70,.1,.43,1.04);
}
@keyframes slideUp {
  from { transform: translateY(140%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  color: #1A2746;
  font-size: 1rem;
  margin-bottom: 0;
  text-align: center;
}
.cookie-banner .cookie-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 6px;
  justify-content: center;
}
.cookie-btn-row .cookie-accept {
  background: #ED6B2E;
  color: #fff;
  border: none;
  padding: 10px 30px;
  border-radius: 24px;
  font-family: 'Montserrat', 'Roboto';
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.14s, box-shadow 0.18s;
}
.cookie-btn-row .cookie-accept:hover { background: #be4507; }
.cookie-btn-row .cookie-reject {
  background: #F6C38B;
  color: #1A2746;
  border: none;
  padding: 10px 26px;
  border-radius: 24px;
  font-family: 'Montserrat', 'Roboto';
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.17s;
}
.cookie-btn-row .cookie-reject:hover { background: #E7B067; }
.cookie-btn-row .cookie-settings {
  background: #fff;
  color: #ED6B2E;
  border: 2px solid #ED6B2E;
  font-weight: 600;
  padding: 10px 26px;
  border-radius: 24px;
  font-size: 1rem;
  cursor: pointer;
  margin-left: 8px;
  transition: background 0.17s, color 0.14s;
}
.cookie-btn-row .cookie-settings:hover {
  background: #FFF0EA;
  color: #be4507;
}

/* ==== COOKIE MODAL (PREFERENCES) ==== */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(26, 39, 70, 0.38);
  z-index: 2000;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.17s cubic-bezier(.68,.1,.43,1.19);
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fffdfa;
  border-radius: 18px;
  padding: 36px 28px 24px 28px;
  min-width: 330px;
  max-width: 98vw;
  box-shadow: 0 8px 46px rgba(237,107,46,0.18);
  animation: modalPopIn 0.38s cubic-bezier(.68,.1,.43,1.19);
}
@keyframes modalPopIn {
  from { transform: translateY(60px) scale(0.94); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal h3 {
  font-size: 1.22rem;
  margin-top: 0;
  margin-bottom: 12px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 13px;
}
.cookie-modal label {
  font-size: 1rem;
  color: #1A2746;
  font-weight: 500;
}
.cookie-modal input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: #ED6B2E;
  border-radius: 5px;
}
.cookie-modal .cookie-save-row {
  display: flex;
  gap: 18px;
  margin-top: 18px;
  justify-content: flex-end;
}
.cookie-modal .cookie-accept, .cookie-modal .cookie-cancel {
  padding: 10px 28px;
  border-radius: 20px;
  font-size: 1rem;
  border: none;
  font-weight: 600;
  cursor: pointer;
}
.cookie-modal .cookie-accept {
  background: #ED6B2E;
  color: #fff;
}
.cookie-modal .cookie-accept:hover {
  background: #be4507;
}
.cookie-modal .cookie-cancel {
  background: #F5FDFE;
  color: #ED6B2E;
  border: 2px solid #ED6B2E;
}
.cookie-modal .cookie-cancel:hover {
  background: #FFF0EA;
  color: #be4507;
}


/* ==== RESPONSIVE DESIGN ==== */
@media (max-width: 1200px) {
  .container {
    max-width: 1000px;
  }
}
@media (max-width:  900px) {
  .container { max-width: 750px; }
  .main-nav { gap: 13px; }
  .hero .content-wrapper { max-width: 540px; }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  .nav-bar {
    min-height: 60px;
    padding: 0 0;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .container {
    padding: 0 8px;
  }
  .footer-row {
    flex-direction: column;
    padding: 28px 0 0 0;
    gap: 22px;
    align-items: flex-start;
  }
  .content-wrapper, .service-cards, .solution-grid, .feature-grid, .testimonial-grid, .team-grid, .industry-grid, .card-container, .content-grid {
    flex-direction: column!important;
    gap: 20px;
  }
  .contact-details .content-wrapper {
    flex-direction: column;
    gap: 23px;
  }
  .map-embed { max-width: 100%; }
  .testimonials .testimonial-grid > .testimonial-card, .testimonial-card {
    min-width: 0;
    max-width: 100%;
  }
  .team-profile { min-width: 0; max-width: 100%; }
}

@media (max-width: 540px) {
  html { font-size: 14px; }
  .hero, .section, .legal, .cta {
    padding-left: 0; 
    padding-right: 0;
    border-radius: 0;
    box-shadow: none;
  }
  .cookie-modal {
    min-width: 0;
    padding: 18px 7px 16px 7px;
  }
  .cta {
    border-radius: 0;
    box-shadow: none;
  }
}

/* ---- TRANSITIONS & MICRO-INTERACTIONS ---- */
.card, .service-cards>div, .solution-card, .feature-grid>div, .industry-grid>div, .testimonial-card, .team-profile {
  transition: box-shadow 0.17s, transform 0.15s;
}
.card:hover, .service-cards>div:hover, .solution-card:hover, .feature-grid>div:hover, .industry-grid>div:hover, .testimonial-card:hover, .team-profile:hover {
  box-shadow: 0 8px 38px rgba(237,107,46,0.13);
  transform: translateY(-3px) scale(1.02);
}
button, .cta-primary, .button, .button-secondary, .cookie-btn-row button, .cookie-modal button {
  transition: background 0.19s, color 0.15s, box-shadow 0.15s, transform 0.13s;
  outline: none;
}
button:active, .cta-primary:active, .button:active, .button-secondary:active {
  transform: scale(0.98); }

/* ==== ACCESSIBILITY ==== */
:focus {
  outline: 2px solid #ED6B2E33;
  outline-offset: 1px;
}

/* ==== Z-INDEX ==== */
header, .mobile-menu, .cookie-banner, .cookie-modal-overlay { z-index: 1100; }
