/* ------------------------------------------------------
   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 {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background: #191d22;
  color: #f0f2f5;
  line-height: 1.6;
  min-height: 100vh;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s cubic-bezier(.5,1,.89,1);
}
strong {
  font-weight: bold;
}
button, input, textarea, select {
  font: inherit;
}

/* ------------------------------------------------------
   BRAND COLORS & CUSTOM PROPERTIES
------------------------------------------------------ */
:root {
  --color-primary: #1C3552;
  --color-secondary: #25826D;
  --color-accent: #F2E6D8;
  --color-bg: #191d22;
  --color-bg-light: #262c32;
  --color-surface: #232b32;
  --color-metal: #a7b1bc;
  --color-border: #293544;
  --color-shadow: rgba(44,52,61,.2);
  --color-elevation: 0 4px 24px 0 var(--color-shadow);
  --color-darktext: #232B32;
}

/* ------------------------------------------------------
   TYPOGRAPHY
------------------------------------------------------ */
body, p {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  color: #f0f2f5;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  letter-spacing: 0.01em;
  color: #f7f7f6;
}
h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 16px;
}
h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 14px;
}
h3 {
  font-size: 1.375rem;
  font-weight: 600;
  margin-bottom: 10px;
}
h4 {
  font-size: 1.125rem;
  font-weight: 500;
}
.section p, .content-wrapper > p {
  font-size: 1.125rem;
  color: #e3e3e3;
  margin-bottom: 14px;
}

/* Industrial font touches */
h1, h2, h3 {
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* ------------------------------------------------------
   SPACING CONTAINERS
------------------------------------------------------ */
.container {
  width: 100%;
  max-width: 1200px;
  padding: 0 24px;
  margin: 0 auto;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-bg-light);
  border-radius: 18px;
  box-shadow: 0 6px 32px 0 var(--color-shadow);
  position: relative;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}

/* Center main hero text */
.hero .content-wrapper {
  align-items: center;
  text-align: center;
}
.hero {
  background: linear-gradient(110deg, var(--color-primary), #212d3a 80%);
  padding: 48px 0 60px 0;
  border-radius: 0 0 32px 32px;
  box-shadow: 0 6px 24px 0 var(--color-shadow);
}

/* ------------------------------------------------------
   HEADER & NAV
------------------------------------------------------ */
header {
  background: var(--color-bg);
  border-bottom: 1.5px solid var(--color-border);
  position: relative;
  z-index: 500;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.logo img {
  height: 48px;
  width: auto;
  filter: brightness(1.11) contrast(1.2);
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 32px;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 600;
}
.main-nav a {
  color: #e1e8f0;
  padding: 6px 0;
  position: relative;
  letter-spacing: 0.04em;
  font-size: 1rem;
  transition: color 0.17s cubic-bezier(.33,.99,.75,1.44);
  border-bottom: 2px solid transparent;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--color-accent);
  border-bottom: 2px solid var(--color-secondary);
}

.cta-button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 11px 32px;
  border: none;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--color-secondary) 90%, #566D7E 100%);
  color: var(--color-darktext);
  letter-spacing: 0.09em;
  cursor: pointer;
  box-shadow: 0 2px 12px 0 rgba(38,82,109,0.09);
  margin-left: auto;
  margin-right: 0;
  transition: background 0.22s, transform 0.15s;
  display: inline-block;
  text-transform: uppercase;
}
.cta-button:hover, .cta-button:focus {
  background: linear-gradient(90deg, #188062 80%, #a7b1bc 100%);
  color: var(--color-accent);
  transform: translateY(-2px) scale(1.035);
}

/* ------------------------------------------------------
   FLEXBOX MANDATORY LAYOUTS
------------------------------------------------------ */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
  margin-top: 20px;
}
.features-grid > div {
  flex: 1 1 260px;
  background: var(--color-surface);
  padding: 26px 22px;
  border-radius: 12px;
  box-shadow: 0 2.5px 14px 0 var(--color-shadow);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 240px;
  max-width: 360px;
  gap: 12px;
  border: 1.3px solid var(--color-border);
  margin-bottom: 20px;
}
.features-grid img {
  width: 34px;
  height: 34px;
  filter: grayscale(0.18) contrast(1.22);
}
.features-grid h3 {
  color: var(--color-secondary);
}

.section ul {
  padding-left: 10px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--color-surface);
  border: 1px solid var(--color-metal);
  border-radius: 10px;
  box-shadow: 0 2px 10px 0 var(--color-shadow);
  padding: 24px;
  gap: 12px;
}

.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;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
  background: #fafbfc;
  border-radius: 12px;
  box-shadow: 0 1px 10px 0 rgba(25,29,34,.15);
  padding: 20px;
  border-left: 7px solid var(--color-secondary);
  color: var(--color-darktext);
  max-width: 600px;
}
.testimonial-card p {
  color: var(--color-darktext);
  font-size: 1.13rem;
  font-style: italic;
}
.testimonial-card span {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.99rem;
  color: #222d38;
  opacity: 0.93;
}

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

/* Service Listings Grid */
.service-listings {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 30px;
  justify-content: start;
}
.service-listings > div {
  flex: 1 1 285px;
  min-width: 250px;
  max-width: 350px;
  background: var(--color-surface);
  border: 1.2px solid var(--color-metal);
  border-radius: 12px;
  padding: 24px 18px;
  box-shadow: 0 2px 12px rgba(44,52,61,0.14);
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: flex-start;
}
.service-listings h3 {
  color: var(--color-secondary);
  font-size: 1.28rem;
  text-transform: uppercase;
  margin-bottom: 5px;
}
.service-listings p {
  font-size: 1.0625rem;
  color: #e6e6e6;
  margin-bottom: 3px;
}
.service-listings strong {
  color: var(--color-accent);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 1.06rem;
}

/* Mentor Profiles */
.mentor-profiles {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-bottom: 24px;
  justify-content: flex-start;
}
.mentor-profiles > div {
  background: var(--color-surface);
  border-radius: 9px;
  border: 1.1px solid var(--color-metal);
  box-shadow: 0 1px 11px rgba(38,82,109,0.11);
  padding: 22px 14px;
  min-width: 220px;
  max-width: 310px;
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mentor-profiles h3 {
  color: var(--color-secondary);
  font-size: 1.13rem;
}

/* Contact Details */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 14px;
  background: rgba(40,53,68,0.14);
  padding: 14px 16px;
  border-radius: 8px;
}
.map-placeholder {
  background: #212931;
  color: #c3c8cc;
  padding: 14px 16px;
  border-radius: 7px;
  font-size: 0.97rem;
  margin-bottom: 12px;
}

/* Legal section & lists */
.legal {
  background: var(--color-surface);
}
.legal ul {
  gap: 12px;
}
.legal h1 {
  color: var(--color-secondary);
  margin-bottom: 14px;
}

/* Confirmation */
.confirmation .content-wrapper {
  text-align: center;
  align-items: center;
}

/* ------------------------------------------------------
   FOOTER
------------------------------------------------------ */
footer {
  background: var(--color-bg-light);
  color: #e5ecee;
  border-top: 1.5px solid var(--color-metal);
  padding-top: 26px;
  font-size: 0.97rem;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 38px;
  align-items: flex-start;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1.5px solid var(--color-border);
}
.footer-top img {
  height: 54px;
  width: auto;
}
.footer-nav, .legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin: 0;
  padding: 0;
}
.footer-nav a, .legal-nav a {
  color: #e4eaf0;
  padding: 5px 2px;
  border-bottom: 1.5px solid transparent;
  font-family: 'Montserrat', 'Open Sans', sans-serif;
  font-size: 1rem;
  transition: border-bottom 0.18s, color 0.18s;
  opacity: 0.89;
}
.footer-nav a:hover, .legal-nav a:hover {
  color: var(--color-accent);
  border-bottom: 1.5px solid var(--color-secondary);
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 19px 0 0 0;
}
.contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.contact-info strong {
  color: var(--color-secondary);
  font-weight: 600;
}

/* ------------------------------------------------------
   MOBILE MENU
------------------------------------------------------ */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fafcff;
  font-size: 2.18rem;
  cursor: pointer;
  z-index: 1301;
  transition: color 0.16s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  color: var(--color-accent);
  outline: none;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  height: 100vh; width: 100vw;
  background: rgba(30,38,46, 0.97);
  z-index: 1300;
  transform: translateX(100vw);
  transition: transform 0.28s cubic-bezier(.82,.01,.47,.99);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding: 18px 28px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #fff;
  cursor: pointer;
  align-self: flex-end;
  margin-bottom: 14px;
  transition: color 0.15s;
  z-index: 2001;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--color-secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 26px;
  width: 100%;
}
.mobile-nav a {
  color: #fafafa;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  padding: 10px 0;
  border-bottom: 2px solid transparent;
  width: 100%;
  transition: background 0.20s, color 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--color-accent);
  background: rgba(37,130,109,0.13);
  border-bottom: 2px solid var(--color-secondary);
}

/* Only show hamburger on mobile */
@media (max-width: 1024px) {
  .main-nav, .cta-button {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 1025px) {
  .mobile-menu {
    display: none !important;
  }
}
/* Hide mobile menu at all on desktop */
@media (min-width: 1025px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
}

/* ------------------------------------------------------
   COOKIE CONSENT BANNER & MODAL
------------------------------------------------------ */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: var(--color-surface);
  border-top: 2px solid var(--color-secondary);
  color: #f5f5f6;
  z-index: 3000;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 22px 10px;
  box-shadow: 0 -1.5px 16px 0 var(--color-shadow);
  font-size: 1.13rem;
  transition: transform 0.28s cubic-bezier(.68,0,.24,1);
}
.cookie-banner.hide {
  transform: translateY(140%);
}
.cookie-banner span {
  flex: 1 1 260px;
  max-width: 650px;
}
.cookie-banner .cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 8px 22px;
  border: none;
  border-radius: 4px;
  margin-left: 10px;
  background: var(--color-secondary);
  color: var(--color-darktext);
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 1.5px 8px 0 rgba(38,82,109,0.15);
  transition: background 0.19s, color 0.13s, transform 0.15s;
}
.cookie-banner .cookie-btn.settings {
  background: var(--color-accent);
  color: var(--color-darktext);
  margin-left: 0;
}
.cookie-banner .cookie-btn.reject {
  background: #262c32;
  color: #fafbfc;
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  background: var(--color-primary);
  color: var(--color-accent);
  transform: scale(1.04);
}

/* Cookie Preferences Modal */
.cookie-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(19,21,24, 0.77);
  z-index: 3302;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.19s;
}
.cookie-modal {
  background: var(--color-bg-light);
  color: #f6f8fa;
  border-radius: 18px;
  box-shadow: 0 9px 42px 0 var(--color-shadow);
  min-width: 320px;
  max-width: 95vw;
  padding: 32px 28px 26px 28px;
  z-index: 3400;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
}
.cookie-modal h2 {
  color: var(--color-secondary);
  font-size: 1.33rem;
  margin-bottom: 10px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--color-secondary);
  width: 21px;
  height: 21px;
}
.cookie-category .fixed {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--color-secondary);
  font-size: 0.97rem;
  font-weight: 600;
}
.cookie-modal .actions {
  display: flex;
  flex-direction: row;
  gap: 18px;
  justify-content: flex-end;
}
.cookie-modal .cookie-btn {
  padding: 8px 26px;
  font-size: 1.01rem;
}
.cookie-modal .close-btn {
  background: none;
  border: none;
  color: #fafafa;
  font-size: 2rem;
  position: absolute;
  top: 8px; right: 8px;
  cursor: pointer;
}
.cookie-modal .close-btn:hover, .cookie-modal .close-btn:focus {
  color: var(--color-accent);
}

/* ------------------------------------------------------
   HOVER & MICRO-INTERACTIONS
------------------------------------------------------ */
button, .cta-button, .cookie-btn, .main-nav a, .footer-nav a, .legal-nav a, .mobile-menu-toggle, .mobile-menu-close {
  transition: box-shadow 0.17s, background 0.19s, color 0.14s, border 0.20s, transform 0.18s;
}
.card:hover, .features-grid > div:hover, .service-listings > div:hover, .mentor-profiles > div:hover {
  box-shadow: 0 8px 28px 0 rgba(44,52,61,0.22), 0 0.5px 8px 0 var(--color-shadow);
  transform: translateY(-2px) scale(1.025);
  border-color: var(--color-secondary);
}

/* ------------------------------------------------------
   SCROLLBAR & FOCUSED ELEMENTS
------------------------------------------------------ */
::-webkit-scrollbar {
  width: 11px;
  background: #242930;
}
::-webkit-scrollbar-thumb {
  background: var(--color-primary);
  border-radius: 6px;
}
:focus {
  outline: 2px solid var(--color-secondary);
  outline-offset: 1px;
}

/* ------------------------------------------------------
   RESPONSIVE LAYOUTS
------------------------------------------------------ */
@media (max-width: 1024px) {
  .footer-top {
    flex-direction: column;
    gap: 22px;
    align-items: flex-start;
  }
  .main-nav {
    display: none !important;
  }
  .cta-button {
    display: none !important;
  }
  .footer-nav, .legal-nav {
    flex-wrap: wrap;
    gap: 16px;
  }
}
@media (max-width: 850px) {
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  .features-grid {
    gap: 16px;
  }
  .service-listings {
    gap: 14px;
  }
}
@media (max-width: 768px) {
  .hero {
    padding: 28px 0 34px 0;
    border-radius: 0 0 18px 18px;
  }
  .section {
    margin-bottom: 32px;
    padding: 22px 6px;
    border-radius: 9px;
  }
  .features-grid, .service-listings, .mentor-profiles, .card-container, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .features-grid > div, .service-listings > div, .mentor-profiles > div, .card {
    min-width: 0;
    max-width: 100%;
    width: 100%;
    margin-bottom: 19px;
  }
  .testimonial-card {
    max-width: 100%;
  }
  .text-image-section {
    flex-direction: column;
    gap: 19px;
    align-items: stretch;
  }
  .footer-bottom, .contact-info {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
  .footer-nav, .legal-nav {
    flex-direction: column;
    gap: 10px;
  }
}
@media (max-width: 440px) {
  h1 {
    font-size: 1.49rem;
  }
  h2 {
    font-size: 1.14rem;
  }
  h3 {
    font-size: 1rem;
  }
  .hero img {
    width: 85px !important;
  }
  .container, .section {
    padding-left: 2px;
    padding-right: 2px;
  }
  .section {
    padding: 10px 1px;
    border-radius: 6px;
  }
  .testimonial-card {
    padding: 10px 8px;
  }
  .service-listings > div {
    padding: 14px 8px;
  }
}

/* ------------------------------------------------------
   INDUSTRIAL MODERN VISUAL ELEMENTS
------------------------------------------------------ */
.features-grid > div, .service-listings > div, .mentor-profiles > div, .card {
  border-left: 7px solid var(--color-metal);
}
.features-grid > div:hover, .service-listings > div:hover, .mentor-profiles > div:hover, .card:hover {
  border-left: 7px solid var(--color-secondary);
}

.section {
  border: 1.8px solid var(--color-border);
  box-shadow: 0 8px 34px 0 rgba(28,53,82,0.13);
}
.hero {
  border-bottom: 9.5px solid var(--color-metal);
  border-radius: 0 0 32px 32px;
  box-shadow: 0 14px 44px 0 var(--color-shadow);
}

/* Metallic subtle effect - simulated using border + shadows */
.features-grid > div, .service-listings > div, .mentor-profiles > div {
  border-top: 1.5px solid var(--color-metal);
  box-shadow: 0 1.5px 15px 0 var(--color-shadow), 0 0.5px 11px 0 rgba(154,164,172,0.09);
  background: linear-gradient(115deg, var(--color-surface) 92%, #4e5a65 100%);
}

.card {
  background: linear-gradient(101deg, var(--color-surface) 95%, #2d3a47 100%);
}

/* ------------------------------------------------------
   ACCESSIBILITY
------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
}

/* ------------------------------------------------------
   END OF STYLES
------------------------------------------------------ */
