/* =========================
   RESET & BASE NORMALIZATION
   ========================= */
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,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;vertical-align:baseline;box-sizing:border-box;
}
html { box-sizing: border-box; }
*,*:before,*:after{box-sizing:inherit;}
body { 
  line-height:1.5;
  background: #121C2C;
  color: #F5F5F3;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width:100%; height:auto; display:block;}
a { color: inherit; text-decoration:none; transition: color .2s cubic-bezier(.8,.2,.1,1); cursor:pointer;}

/* =========================
  BRAND FONTS & COLORS
  ========================= */
:root{
  --color-primary: #183153;
  --color-secondary: #F7693E;
  --color-accent: #F5F5F3;
  --color-bg: #121C2C;
  --color-card: #202B3E;
  --color-action: #0AF7D7;
  --color-action-dark: #09c4a4;
  --color-danger: #ff217d;
  --color-shadow: rgba(10,247,215,0.08);
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
}

/* =========================
   TYPOGRAPHY
   ========================= */
h1,h2,h3,h4,h5,h6{
  font-family: var(--font-display);
  color: var(--color-accent);
  margin-bottom: 12px;
  letter-spacing: .04em;
  font-weight: 800;
}
h1 { font-size: 2.7rem; line-height: 1.12; }
h2 { font-size: 2rem; line-height: 1.18; }
h3 { font-size: 1.4rem; line-height: 1.22; }
h4 { font-size: 1.1rem; }
p, ul, ol, li, small { font-size: 1rem; line-height: 1.65; }
strong {color: var(--color-secondary); font-weight: 700;}
small {color: #bfcadc; font-size: .89rem;}

.body-copy {
  font-family: var(--font-body);
}

/* =========================
   LAYOUT: CONTAINER
   ========================= */
.container {
  width: 100%;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

/* ==========
   NAVIGATION
   ========== */
header {
  background: var(--color-primary);
  box-shadow: 0 1px 8px 0 var(--color-shadow);
  position: sticky;
  top: 0;
  z-index: 80;
}
.nav-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 70px;
}
header img {
  height: 38px;
  width: auto;
}

.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 28px;
}
.main-nav a, .footer-nav a {
  font-family: var(--font-display);
  color: var(--color-accent);
  font-weight: 600;
  padding: 10px 0;
  position: relative;
  transition: color 0.16s;
}
.main-nav a:not(.cta-primary):after {
  content: '';
  display: block;
  width: 0%;
  height: 2px;
  background: var(--color-action);
  transition: width .23s cubic-bezier(.2,0,.6,1);
}
.main-nav a:hover, .footer-nav a:hover {
  color: var(--color-action);
}
.main-nav a:hover:after {
  width: 100%;
}

.cta-primary, .service-cta {
  display: inline-block;
  padding: 10px 30px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--color-primary);
  background: var(--color-action);
  border: none;
  border-radius: 24px;
  box-shadow: 0 2px 24px 0 var(--color-shadow);
  transition: background .15s, color .18s, box-shadow .23s;
  position: relative;
  letter-spacing: .06em;
  cursor: pointer;
  margin-top: 8px;
  margin-bottom: 4px;
}
.cta-primary:hover, .service-cta:hover {
  background: var(--color-action-dark);
  color: var(--color-accent);
  box-shadow: 0 3px 24px 0 var(--color-action);
}

/* =============
   MOBILE NAV
   ============= */
.mobile-menu-toggle {
  display: flex;
  background: var(--color-action);
  color: var(--color-primary);
  font-size: 2rem;
  border: none;
  border-radius: 8px;
  height: 44px;
  width: 44px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-left: 18px;
  box-shadow: 0 2px 14px 0 rgba(10,247,215,0.20);
  transition: background .16s, color .16s;
  z-index: 120;
  display: none;
}
.mobile-menu-toggle:focus { outline: 2px solid var(--color-action); }

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: #192841;
  box-shadow: 0 4px 42px 0 #000d1a;
  z-index: 200;
  display: flex;
  flex-direction: column;
  transform: translateX(-100vw);
  transition: transform .36s cubic-bezier(.85,0,.4,1);
  visibility: hidden;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  visibility: visible;
  opacity: 1;
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 20px 24px 8px 0;
  font-size: 2rem;
  background: none;
  color: var(--color-action);
  border: none;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: background .16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #101d2a;
  outline: 2px solid var(--color-action);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  margin: 36px 32px;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--color-action);
  font-weight: 700;
  padding: 16px 0;
  width: 100%;
  border-radius: 8px;
  transition: background .15s, color .18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-action);
  color: var(--color-primary);
}

/* =============
   HERO SECTIONS
   ============= */
section:first-of-type, .hero, .hero-section {
  background: linear-gradient(120deg, #183153 86%, #233a61 100%);
  border-bottom: 1px solid #263656;
}
section:first-of-type .content-wrapper,
.hero .content-wrapper,
.hero-section .content-wrapper {
  align-items: flex-start;
  gap: 20px;
  padding-bottom: 28px;
}

/* =============
   FLEX LAYOUT SCAFFOLDING (MANDATORY CLASSES)
   ============= */
.card-container{display:flex;flex-wrap:wrap;gap:24px;}
.card{margin-bottom:20px;position:relative;background:var(--color-card);box-shadow:0 4px 30px 0 var(--color-shadow);border-radius:18px;padding:28px 24px;transition:box-shadow .28s, transform .22s;}
.card:hover{box-shadow:0 4px 42px 0 var(--color-action);transform:translateY(-4px) scale(1.012);}
.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;background:#f5f5f3;color:#183153;border-radius:18px;box-shadow:0 3px 24px 0 rgba(24,49,83,.07);margin-bottom:20px;flex-direction:column;min-width:250px;max-width: 500px;}
.feature-item{display:flex;flex-direction:column;align-items:flex-start;gap:15px;}

/* Custom Responsive Compositions */
.feature-grid, .services-grid, .trends-grid, .news-feed, .reviews-list, .events-list, .team-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 18px;
}
.feature-grid > div,
.services-grid > .service-card,
.trends-grid > .trends-card,
.news-feed > div,
.reviews-list > .review-card,
.events-list > .event-card,
.team-list > div {
  flex: 1 1 260px;
  min-width: 260px;
  max-width: 330px;
  background: var(--color-card);
  color: var(--color-accent);
  border-radius: 16px;
  box-shadow: 0 2px 16px 0 var(--color-shadow);
  padding: 24px 20px;
  transition: box-shadow .22s, transform .19s;
}
.feature-grid > div:hover,
.services-grid > .service-card:hover,
.trends-grid > .trends-card:hover,
.news-feed > div:hover,
.reviews-list > .review-card:hover,
.events-list > .event-card:hover,
.team-list > div:hover {
  box-shadow: 0 4px 28px 0 var(--color-action);
  transform: translateY(-3px) scale(1.01);
}

/* =========================
   BUTTONS
   ========================= */
button, input[type=button], input[type=submit] {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  padding: 9px 22px;
  border-radius: 16px;
  border: none;
  background: var(--color-action);
  color: var(--color-primary);
  transition: background .16s, box-shadow .18s;
  cursor: pointer;
}
button:hover, button:focus {
  background: var(--color-action-dark);
  box-shadow: 0 3px 22px 0 var(--color-action);
  outline: none;
}

/* =========================
   SEARCH BAR
   ========================= */
.search-bar {
  display: flex;
  align-items: center;
  background: var(--color-card);
  border-radius: 14px;
  padding: 4px 10px;
  gap: 6px;
  margin-top: 10px;
  box-shadow: 0 2px 14px 0 var(--color-shadow);
}
.search-bar input {
  background: transparent;
  border: none;
  outline: none;
  color: var(--color-accent);
  font-size: 1rem;
  flex: 1 1;
  padding: 9px 7px;
  font-family: var(--font-body);
}
.search-bar input::placeholder {
  color: #bfcadc;
  font-size: 1rem;
}
.search-bar button {
  background: none;
  border-radius: 8px;
  padding: 0 8px;
  color: var(--color-action);
  font-size: 1.2rem;
  border: none;
}
.search-bar button:focus, .search-bar button:hover {
  background: #162439;
  color: var(--color-action-dark);
}

/* =========================
   TAGS, CATEGORIES, LISTS
   ========================= */
.category-tags,
.news-categories ul,
.filter-options ul,
.industry-insights ul {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 12px 0 0 0;
  list-style: none;
}
.category-tags span, .news-categories ul li a, .filter-options ul li a {
  background: var(--color-primary);
  color: var(--color-action);
  padding: 6px 14px;
  text-transform: uppercase;
  border-radius: 11px;
  font-family: var(--font-display);
  font-size: .95rem;
  letter-spacing: .03em;
  font-weight: 700;
  box-shadow: 0 1px 8px 0 var(--color-shadow);
  transition: background .15s, color .15s;
}
.category-tags span:hover, .news-categories ul li a:hover, .filter-options ul li a:hover {
  background: var(--color-action);
  color: var(--color-primary);
}
.featured-story, .featured-event, .featured-review {
  background: var(--color-card);
  color: var(--color-action);
  border-left: 5px solid var(--color-action);
  border-radius: 10px;
  padding: 20px 18px;
  margin: 24px 0 10px 0;
  box-shadow: 0 2px 14px 0 var(--color-shadow);
}

/* =========================
   TESTIMONIALS
   ========================= */
.content-wrapper .testimonial-card {
  flex: 1 1 280px;
  background: #f5f5f3;
  color: #183153;
  border-radius: 17px;
  box-shadow: 0 3px 22px 0 rgba(10, 247, 215, 0.06);
  margin-bottom: 20px;
  min-width: 240px;
  max-width: 480px;
  transition: box-shadow .19s, transform .16s;
  gap: 12px;
}
.content-wrapper .testimonial-card:hover {
  box-shadow: 0 6px 34px 0 var(--color-action);
  transform: translateY(-2px) scale(1.018);
}
.content-wrapper .testimonial-card p {
  font-family: var(--font-body);
  font-size: 1.07rem;
  margin-bottom: 6px; 
  color: #183153;
}
.content-wrapper .testimonial-card div {
  font-size: .98rem;
  color: #F7693E;
  font-weight: 600;
}

/* =========================
   FOOTER
   ========================= */
footer {
  background: var(--color-primary);
  color: var(--color-accent);
  padding: 40px 0 20px 0;
  border-top: 1.5px solid #243c60;
}
.footer-nav {
  display: flex;
  gap: 22px;
  margin: 19px 0 10px 0;
}
.footer-nav a {
  color: var(--color-action);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .02em;
  transition: color .16s;
}
.footer-contact {
  margin: 20px 0 21px 0;
  font-size: .96rem;
  color: #e0e7ee;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.footer-contact img {
  height: 18px; width: 18px; margin-right: 8px; vertical-align: middle;
}
footer small {
  color: #909cb9;
  font-size: .95rem;
  margin-top: 10px;
  display: block;
}

/* =========================
   FORMS & CONTACT BLOCKS
   ========================= */
.text-section ul, .contact-info ul, .contact-details ul {
  margin: 14px 0 14px 22px;
  padding: 0 0 0 16px;
  font-size: 1rem;
  color: #e2e9f8;
}
.contact-details {display:flex;flex-direction:column;gap:9px;}
.text-section {display:flex;flex-direction:column;gap:14px;}
.text-section img, .contact-details img, .contact-info img {height:18px;width:18px;margin-right:8px;vertical-align:middle;}

/* =========================
   RESPONSIVE & FLEX ADJUSTMENTS
   ========================= */
@media (max-width: 1100px) {
  .container {max-width:100%;}
  .feature-grid > div,
  .services-grid > .service-card,
  .trends-grid > .trends-card,
  .news-feed > div,
  .reviews-list > .review-card,
  .events-list > .event-card {
    max-width: 98vw;
  }
}
@media (max-width: 900px) {
  .main-nav { gap: 16px; font-size:.98rem; }
}
@media (max-width: 820px) {
  .main-nav { display:none; }
  .mobile-menu-toggle { display:flex; }
}
@media (max-width: 900px) {
  .feature-grid, .services-grid, .trends-grid, .news-feed, .reviews-list, .events-list, .team-list {flex-wrap:wrap;}
  .feature-grid > div,
  .services-grid > .service-card,
  .trends-grid > .trends-card,
  .news-feed > div,
  .reviews-list > .review-card,
  .events-list > .event-card {
    flex: 1 1 94vw;
    min-width: 235px;
    max-width: 100%;
  }
  .footer-nav {flex-wrap:wrap; gap: 10px;}
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.45rem; }
  h3 { font-size: 1.12rem; }
  .container { padding-left:12px; padding-right:12px; }
  .content-wrapper, .card-container, .feature-grid, .services-grid, .trends-grid, .news-feed, .reviews-list, .events-list, .team-list, .content-grid {
    flex-direction: column;
    gap: 20px;
    width: 100%;
  }
  .text-image-section { flex-direction: column; }
  .main-nav { display: none; }
  .mobile-menu-toggle { display: flex; }
  .footer-contact {font-size:.95rem;}
  .testimonial-card {min-width:180px;max-width:98vw;}
}
@media (max-width: 470px) {
  h1 { font-size: 1.26rem; }
  h2 { font-size: 1.08rem; }
  .cta-primary, .service-cta, button {font-size:.97rem; padding:9px 13px;}
}

/* =========================
   COOKIE CONSENT BANNER & MODAL
   ========================= */
#cookie-consent-banner {
  position: fixed;
  left: 0; right:0; bottom:0;
  z-index: 500;
  background: var(--color-card);
  border-top: 3px solid var(--color-action);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 26px;
  padding: 18px 24px;
  box-shadow: 0 -4px 38px -3px #0af7d720;
  font-size: 1rem;
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  transition: opacity .28s, transform .3s cubic-bezier(.71,0,.34,1);
}
#cookie-consent-banner.hidden {
  opacity: 0;
  transform: translateY(64px);
  pointer-events: none;
  visibility: hidden;
}
.cookie-actions {
  display: flex;
  align-items: center;
  gap: 17px;
}
.cookie-actions button {
  background: var(--color-action);
  color: var(--color-primary);
  font-weight: 700;
  margin:0 2px;
  min-width: 36px;
  transition: background .13s, color .14s;
  border-radius: 8px;
  border: none;
  padding: 8px 14px;
}
.cookie-actions button.cookie-settings {
  background: var(--color-secondary);
  color: #fff;
}
.cookie-actions button.cookie-reject {
  background: #909cb9;
  color: var(--color-primary);
}
.cookie-actions button:hover, .cookie-actions button:focus {
  background: var(--color-action-dark);
  color: #121C2C;
}

/* Cookie Modal */
#cookie-modal {
  position: fixed;
  left: 0; right:0; top:0; bottom:0;
  z-index: 1001;
  background: #000d1aD0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .22s, visibility .22s;
  opacity: 1;
  visibility: visible;
}
#cookie-modal.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.cookie-modal-content {
  background: var(--color-bg);
  border-radius: 20px;
  box-shadow: 0 6px 38px 0 var(--color-action);
  max-width: 420px;
  width: 96vw;
  color: var(--color-accent);
  padding: 34px 30px 24px 30px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: pop-in-modal .3s ease;
}
@keyframes pop-in-modal {
  0% {transform: scale(.7) translateY(80px); opacity:0;}
  100% {transform: scale(1) translateY(0); opacity:1;}
}
.cookie-close {
  position: absolute;
  top:12px;
  right:14px;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--color-action);
  cursor: pointer;
  padding: 3px 7px;
  transition: background .1s;
  border-radius: 6px;
}
.cookie-close:hover, .cookie-close:focus {
  background: #131e33;
}
.cookie-category-list {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 1rem;
  color: var(--color-accent);
}
.cookie-category .cookie-toggle {
  accent-color: var(--color-action);
  width: 20px;
  height: 20px;
  margin:0 0 0 6px;
}
.cookie-category .cookie-locked {
  color: #97a8c2;
  font-size: 15px;
  margin-left:5px;
}
.cookie-modal-buttons {
  display: flex; 
  gap: 12px; 
  justify-content: flex-end;
  margin-top: 8px;
}
.cookie-modal-buttons button {
  background: var(--color-action);
  color: var(--color-primary);
  border-radius: 11px;
  font-weight: 700;
  padding: 8px 16px;
  border: none;
}
.cookie-modal-buttons button:hover, .cookie-modal-buttons button:focus {
  background: var(--color-action-dark);
}

/* =========================
   UTILITIES, MISC + EFFECTS
   ========================= */
::-webkit-scrollbar{width:8px;background:var(--color-primary);}
::-webkit-scrollbar-thumb{background:var(--color-action);border-radius:9px;}

.neon {
  text-shadow: 0 0 5px #0af7d7, 0 0 25px #09c4a4;
}

@media (max-width: 570px){
  #cookie-consent-banner{
    flex-direction:column;
    gap:15px;
    padding:14px 8px;
    font-size: .98rem;
  }
}

/* =========================
   CARD EFFECTS & HOVER
   ========================= */
.card, .feature-item, .services-grid > .service-card, .trends-card, .review-card, .event-card, .testimonials-card {
  cursor: default;
  background: var(--color-card);
  border-radius: 18px;
  box-shadow: 0 2px 18px 0 var(--color-shadow);
  transition: box-shadow .19s, transform .13s;
}
.card:hover, .feature-item:hover, .services-grid > .service-card:hover, .trends-card:hover, .review-card:hover, .event-card:hover {
  box-shadow: 0 4px 42px 0 var(--color-action);
  transform: translateY(-4px) scale(1.012);
}

/* =========================
   VISUAL MICRO-ANIMATIONS
   ========================= */
a, button, .cta-primary, .service-cta, .footer-nav a, .main-nav a, .mobile-nav a, .cookie-actions button, .cookie-modal-buttons button {
  transition: color .16s, background .17s, box-shadow .16s, transform .11s;
}

/* =========================
   ACCENT & NEON DECORATION
   ========================= */
.section, .card, .feature-grid > div, .trends-card, .service-card, .news-feed > div, .review-card, .event-card {
  border: 1.5px solid #233a6155;
}
.cta-primary, .service-cta {
  box-shadow: 0 0 12px 0 #0af7d788, 0 2px 15px 0 #0af7d71e;
}
.neon-border {
  box-shadow: 0 0 11px 1px #0af7d799;
  border: 1.5px solid var(--color-action);
}

/* =========================
   MISC
   ========================= */
hr {
  border:0;
  height:2px;
  background: var(--color-action);
  border-radius:3px;
  margin:36px 0;
}
.section {
  border-radius: 24px;
  background: rgba(24, 49, 83, 0.10);
}

/* =========================
   CLARITY FOR TESTIMONIALS
   ========================= */
.testimonial-card p, .testimonial-card div {
  color: #183153;
}

/* =========================
   ENSURE NO OVERLAP
   ========================= */
.card, .feature-grid>div, .news-feed>div, .reviews-list>.review-card, .events-list>.event-card, .services-grid>.service-card, .trends-grid>.trends-card, .team-list>div {
  margin-bottom: 20px;
}

/* =========================
   OVERRIDES: FOR FLEXBOX ONLY
   ========================= */
/* No grid, columns, clamp or absolute positioning for content */

/* =========================
   END OF CSS
   ========================= */
