/* =======================================================================
   Zenith Skyline – style.css
   Luxury Premium Aesthetic | Mobile-First | Flexbox Only Layouts
   ======================================================================= */

/* ========================= RESET & NORMALIZE ========================== */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  min-height: 100vh;
  color: #223046; /* Brand Primary */
  background: #F5F6FA; /* Brand Accent */
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
}
img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #54A6BF;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #bfa045;
}
ul, ol {
  margin-left: 1.4em;
}
ul {
  list-style-type: disc;
}
ol {
  list-style-type: decimal;
}
h1, h2, h3, h4, h5 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #223046;
  margin-bottom: 20px;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.5rem; line-height: 1.16; }
h2 { font-size: 2rem; line-height: 1.2; }
h3 { font-size: 1.3rem; line-height: 1.3; }
h4 { font-size: 1.1rem; }
h5 { font-size: 1rem; }

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

/* ========================= BRAND COLORS ================================ */
:root {
  --color-primary: #223046;
  --color-secondary: #54A6BF;
  --color-accent: #F5F6FA;
  --color-gold: #bfa045;
  --color-black: #13161b;
  --color-white: #fff;
  --shadow-subtle: 0 2px 20px 0 rgba(34, 48, 70, 0.04);
  --shadow-elevated: 0 8px 24px 0 rgba(34, 48, 70, 0.15);
}

/* ========================= PREMIUM TYPOGRAPHY ========================== */
body, p, li, .contact-info p {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: var(--color-primary);
}
h1, h2, h3, h4, h5 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--color-primary);
}
strong, b {
  font-weight: 700;
  color: var(--color-black);
}

/* Display larger headings with gold details */
h1, h2 {
  position: relative;
  padding-left: 0.5em;
}
h1:before, h2:before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 7px;
  height: 30px;
  background: var(--color-gold);
  border-radius: 3px;
  transform: translateY(-50%);
  display: block;
}

h3, h4 {
  color: var(--color-black);
}

/* ============= SPACING, FLEXBOX LAYOUTS, AND SECTIONS ================== */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  margin: 0 auto;
  width: 100%;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: var(--color-white);
  border-radius: 20px;
  box-shadow: var(--shadow-subtle);
  position: relative;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem;
}
.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;
}
.testimonials-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 32px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: var(--color-accent);
  border-radius: 16px;
  box-shadow: var(--shadow-subtle);
  min-width: 250px;
  flex: 1 1 260px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 20px;
  background: var(--color-white);
  border-radius: 16px;
  box-shadow: var(--shadow-subtle);
}

/* =================== FLEXBOX FOR EVERY GRID CLASS ===================== */
.features-list,
.services-overview,
.solution-categories,
.team-list,
.metrics-list,
.blog-post-list,
.newsletter-benefits,
.benefits-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.features-list > li,
.services-overview > li,
.solution-categories > li,
.benefits-list > li,
.metrics-list > li,
.newsletter-benefits > li {
  background: var(--color-white);
  border-radius: 14px;
  box-shadow: var(--shadow-subtle);
  padding: 22px 20px 18px 20px;
  flex: 1 1 260px;
  min-width: 220px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 32px;
}
.service-card {
  background: var(--color-white);
  border-radius: 18px;
  box-shadow: var(--shadow-elevated);
  flex: 1 1 315px;
  padding: 32px 24px 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.33s;
}
.service-card:hover, .card:hover {
  box-shadow: 0 10px 34px 0 rgba(34,48,70,0.16);
  z-index: 2;
}

.case-studies {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* ====================== HERO - ENTRY SECTION ========================== */
.hero {
  min-height: 400px;
  background: var(--color-primary);
  color: var(--color-white);
  padding: 70px 0 56px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-bottom: 44px;
}
.hero .container {
  display: flex;
  flex-direction: column;
}
.hero h1,
.hero p {
  color: var(--color-white);
  margin-bottom: 28px;
}
.hero .btn-primary {
  margin-top: 24px;
}

/* =========================== BUTTONS ================================== */
.btn-primary, .btn-secondary {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border: none;
  border-radius: 30px;
  padding: 13px 36px;
  font-size: 1rem;
  cursor: pointer;
  display: inline-block;
  transition: 
    background 0.2s,
    color 0.2s,
    box-shadow 0.2s,
    transform 0.16s;
  margin-top: 12px;
  outline: none;
  position: relative;
  box-shadow: 0 1px 8px 0 rgba(191,160,69, 0.10), var(--shadow-subtle);
}
.btn-primary {
  background: var(--color-gold);
  color: var(--color-primary);
  letter-spacing: 0.04em;
}
.btn-primary:hover, .btn-primary:focus {
  background: #ead58d;
  color: var(--color-black);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 32px 0 rgba(191,160,69, 0.13), var(--shadow-elevated);
}
.btn-secondary {
  background: var(--color-primary);
  color: var(--color-white);
  border: 2px solid var(--color-gold);
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--color-gold);
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
  transform: translateY(-1.5px) scale(1.025);
}

/* =========================== HEADER & NAV ============================= */
header {
  width: 100%;
  background: var(--color-accent);
  padding: 0;
  border-bottom: 1px solid #e8e8ec;
  z-index: 15;
  box-shadow: 0 1px 8px 0 rgba(34,48,70, 0.01);
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 20px;
}
header nav {
  display: flex;
  gap: 24px;
}
header nav a {
  color: var(--color-primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  padding: 8px 10px;
  border-radius: 4px;
  transition: background 0.18s, color 0.18s;
  position: relative;
}
header nav a:hover, header nav a.active {
  color: var(--color-gold);
  background: #ede6d7;
}

header .btn-primary {
  font-size: 1rem;
  padding: 11px 28px;
  margin: 0 10px 0 0;
}

/* ===================== MOBILE BURGER MENU ============================= */
.mobile-menu-toggle {
  background: none;
  border: none;
  font-size: 2.3rem;
  color: var(--color-gold);
  cursor: pointer;
  display: none;
  padding: 8px 16px;
  border-radius: 7px;
  transition: background 0.2s;
  z-index: 32;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: #ede6d7;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #f5f3efee;
  box-shadow: 0 6px 28px 0 rgba(34,48,70,0.18);
  transform: translateX(100%);
  transition: transform 0.34s cubic-bezier(0.6, 0.01, 0.2, 1);
  z-index: 700;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 66px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 18px;
  right: 30px;
  background: none;
  border: none;
  color: var(--color-gold);
  font-size: 2.1rem;
  cursor: pointer;
  border-radius: 7px;
  transition: background 0.2s;
  padding: 4px 12px;
  z-index: 999;
}
.mobile-menu-close:active, .mobile-menu-close:focus {
  background: #ede6d7;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  width: 100%;
  margin-top: 44px;
  padding-left: 36px;
}
.mobile-nav a {
  color: var(--color-primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  padding: 14px 0;
  border-radius: 5px;
  width: 90%;
  transition: background 0.2s, color 0.2s;
}
.mobile-nav a:hover, .mobile-nav a.active {
  background: #ede6d7;
  color: var(--color-gold);
}

/* =============== Hide desktop nav / Show burger on mobile ============== */
@media (max-width: 991px) {
  header nav { display: none; }
  .mobile-menu-toggle { display: block; }
  header .btn-primary { display: none; }
}
@media (min-width: 992px) {
  .mobile-menu { display: none; }
}

/* ======================== FOOTER ======================================= */
footer {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 48px 0 28px 0;
  border-top-left-radius: 38px;
  border-top-right-radius: 38px;
  margin-top: 50px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 28px;
  justify-content: space-between;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
footer nav a {
  color: var(--color-gold);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  margin-bottom: 6px;
  transition: color 0.18s;
}
footer nav a:hover, footer nav a.active {
  color: var(--color-secondary);
}
footer .contact-info {
  color: var(--color-accent);
  font-size: 1rem;
  margin-top: 10px;
  max-width: 380px;
}
footer .contact-info img {
  margin-right: 9px;
  width: 18px;
  vertical-align: middle;
  display: inline-block;
}

/* ===================== TESTIMONIALS & METRICS ========================= */
.testimonials-grid {
  gap: 24px;
}
.testimonial-card {
  background: #fff;
  border: 1.5px solid #ead58d;
  border-left: 5px solid var(--color-gold);
  box-shadow: var(--shadow-subtle);
  color: var(--color-primary);
  min-width: 250px;
  max-width: 340px;
  flex: 1 1 290px;
  margin-bottom: 20px;
  transition: box-shadow 0.23s;
}
.testimonial-card:hover {
  box-shadow: 0 7px 32px 0 rgba(34,48,70,0.10);
  border-color: var(--color-secondary);
}
.testimonial-card p {
  color: #2c3142;
  font-size: 1.08rem;
  line-height: 1.45;
  margin-bottom: 12px;
}
.testimonial-card strong {
  font-weight: 600;
  color: var(--color-gold);
  font-size: 1rem;
}
.stars {
  display: flex;
  gap: 2px;
}

.metrics-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 24px;
}
.metrics-list li {
  background: var(--color-gold);
  color: var(--color-primary);
  border-radius: 16px;
  box-shadow: var(--shadow-subtle);
  font-size: 1.07rem;
  padding: 34px 28px;
  flex: 1 1 220px;
  min-width: 170px;
  text-align: center;
}

/* =================== LISTS, CATEGORIES, BLOG SECTIONS ================= */
.blog-post-list {
  gap: 28px;
  margin-bottom: 28px;
  width: 100%;
}
.blog-post-list .text-section {
  background: var(--color-white);
  border-radius: 14px;
  box-shadow: var(--shadow-subtle);
  padding: 22px 20px 18px 20px;
  flex: 1 1 260px;
}

.blog-categories {
  margin-bottom: 16px;
}
.blog-categories ul {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 8px;
  margin-left: 0;
}
.blog-categories li {
  font-size: 1rem;
  padding: 8px 18px;
  border-radius: 20px;
  background: #ede6d7;
  color: var(--color-gold);
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 10px;
}
.featured-posts {
  margin-bottom: 28px;
}
.featured-posts ul {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.featured-posts li a {
  font-size: 1.06rem;
  color: var(--color-primary);
  border-bottom: 1px solid var(--color-gold);
  padding-bottom: 1px;
  transition: color 0.18s;
}
.featured-posts li a:hover {
  color: var(--color-secondary);
}

/* ============================= CONTACT ================================= */
.contact-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 14px;
}
.contact-list li {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 1.08rem;
  color: var(--color-primary);
  background: #f8f8f7;
  border-radius: 7px;
  padding: 7px 17px;
  margin-bottom: 4px;
}
.contact-list img {
  width: 18px;
  filter: grayscale(0.7) brightness(1.1) contrast(1.45);
}

address {
  font-style: normal;
  margin: 18px 0 14px 0;
  color: var(--color-primary);
}

/* ========================== GENERAL TEXT SECTIONS ====================== */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 18px;
}
.text-section h2, .text-section h3, .text-section h4 {
  margin-top: 12px;
}
.text-section ul {
  margin-top: 8px;
}
.text-section li {
  margin-bottom: 7px;
}

/* ======================== FORM ELEMENTS (if present) =================== */
input, textarea, select, button {
  font-family: inherit;
  font-size: 1em;
  border-radius: 7px;
  border: 1px solid #dedede;
  padding: 12px 16px;
  outline: none;
  margin-bottom: 18px;
  transition: border 0.21s, box-shadow 0.18s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--color-gold);
  box-shadow: 0 2px 14px 0 rgba(191,160,69, 0.12);
}

/* ==================== COOKIE CONSENT BANNER & MODAL ==================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: rgba(250, 247, 240, 0.98);
  border-top: 2.5px solid var(--color-gold);
  box-shadow: 0 -4px 30px 0 rgba(34,48,70, 0.10);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 16px;
  padding: 32px 20px 24px 20px;
  z-index: 2000;
  animation: bannerIn 0.5s;
}
@keyframes bannerIn { from { opacity:0; transform: translateY(100px); } to { opacity:1; transform: translateY(0);} }
.cookie-banner p {
  color: var(--color-primary);
  font-size: 1rem;
  margin-bottom: 0.5rem;
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 5px;
}
.cookie-banner button {
  border: none;
  border-radius: 22px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  cursor: pointer;
  padding: 9px 28px;
  transition: background 0.18s, color 0.18s;
  margin: 0 4px 0 0;
}
.cookie-banner .accept {
  background: var(--color-gold);
  color: var(--color-primary);
}
.cookie-banner .accept:hover {
  background: #ead58d;
}
.cookie-banner .reject {
  background: var(--color-primary);
  color: var(--color-white);
}
.cookie-banner .reject:hover {
  background: #223046dd;
  color: var(--color-gold);
}
.cookie-banner .settings {
  background: none;
  color: var(--color-secondary);
  border: 2px solid var(--color-secondary);
}
.cookie-banner .settings:hover {
  background: var(--color-secondary);
  color: var(--color-white);
}

.cookie-modal {
  position: fixed;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(34,48,70,0.25);
  z-index: 2200;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: modalIn 0.45s cubic-bezier(0.7,0.01,0.22,1);
}
@keyframes modalIn { from { opacity:0; transform: scale(1.07); } to { opacity:1; transform: scale(1);} }
.cookie-modal-content {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 7px 40px 0 rgba(223,201,131,0.13);
  padding: 44px 36px 35px 36px;
  min-width: 290px; max-width: 98vw;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  color: var(--color-primary);
}
.cookie-modal-content h3 {
  font-size: 1.2rem;
  color: var(--color-gold);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  margin-bottom: 18px;
}
.cookie-category {
  font-size: 1rem;
  margin-bottom: 10px;
  display: flex;
  gap: 14px;
  align-items: center;
}
.cookie-modal-content .cookie-switch {
  width: 42px; height: 22px;
  background: #ececec;
  border-radius: 16px;
  position: relative;
  display: inline-block;
  vertical-align: middle;
}
.cookie-modal-content .cookie-switch input {
  display: none;
}
.cookie-modal-content .cookie-switch-slider {
  position: absolute;
  top: 2px; left: 2px;
  width: 18px; height: 18px;
  background: var(--color-primary);
  border-radius: 50%;
  transition: left 0.15s, background 0.15s;
}
.cookie-modal-content .cookie-switch input:checked + .cookie-switch-slider {
  background: var(--color-gold);
  left: 22px;
}
.cookie-modal-close {
  position: absolute;
  top: 13px;
  right: 18px;
  background: none;
  font-size: 1.7rem;
  color: var(--color-gold);
  border: none;
  cursor: pointer;
  border-radius: 4px;
  padding: 3px 7px;
}
.cookie-modal-actions {
  margin-top: 16px;
  display: flex;
  gap: 15px;
}
.cookie-modal-actions button {
  border-radius: 22px;
  font-size: 1rem;
  padding: 8px 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
}
.cookie-modal-actions .accept {
  background: var(--color-gold);
  color: var(--color-primary);
}
.cookie-modal-actions .accept:hover {
  background: #ead58d;
}
.cookie-modal-actions .reject {
  background: var(--color-primary);
  color: var(--color-white);
}
.cookie-modal-actions .reject:hover {
  background: #222;
  color: var(--color-gold);
}

/* ====================== GLOBAL RESPONSIVE DESIGN ======================= */
@media (max-width: 991px) {
  .container {
    padding-left: 8px; padding-right: 8px;
  }
  .section { padding: 32px 8px; margin-bottom: 48px; }
  .features-list,
  .services-overview,
  .solution-categories,
  .team-list,
  .metrics-list,
  .blog-post-list,
  .benefits-list,
  .newsletter-benefits {
    gap: 12px;
  }
  .hero { padding: 38px 0 31px 0; }
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.3rem; }
  h3 { font-size: 1.1rem; }
  .section { margin-bottom: 36px; padding: 28px 4px; }
  .content-grid,
  .card-container,
  .features-list,
  .services-list,
  .testimonials-grid,
  .case-studies,
  .solution-categories,
  .metrics-list,
  .team-list,
  .blog-post-list {
    flex-direction: column !important;
    gap: 16px !important;
  }
  .service-card, .card, .testimonial-card {
    min-width: 0;
    max-width: 100%;
    width: 100%;
    margin-bottom: 18px;
    padding: 22px 10px 18px 10px;
  }
  .contact-list {
    padding: 0;
  }
  .footer .container,
  footer .container {
    flex-direction: column;
    gap: 16px;
  }
}
@media (max-width: 500px) {
  .container { padding-left: 3px; padding-right: 3px; }
  .section { padding: 18px 1px; margin-bottom: 20px; }
}

/* ====================== ANIMATIONS & MICRO-INTERACTIONS ================ */
.card, .service-card, .testimonial-card, .feature-item {
  transition: box-shadow 0.22s, border-color 0.17s, transform 0.15s;
}
.card:hover, .service-card:hover, .feature-item:hover {
  transform: translateY(-3px) scale(1.013);
  box-shadow: 0 9px 38px 0 rgba(191,160,69, 0.18);
  border-color: var(--color-gold);
}

.btn-primary, .btn-secondary, .cookie-banner button, .cookie-modal-actions button {
  transition: background 0.19s, color 0.19s, box-shadow 0.21s, transform 0.11s;
}

/* =================== Z-INDEX MANAGEMENT ================================ */
header, .mobile-menu, .cookie-banner, .cookie-modal { z-index: 300; }
.mobile-menu { z-index: 700; }
.cookie-banner { z-index: 2000; }
.cookie-modal { z-index: 2200; }

/* =================== VISUAL LUXURY DETAILS ============================= */
h1:before, h2:before {
  box-shadow: 0 0 9px 0 rgba(191,160,69, 0.15);
}

/* =================== SPECIAL: GOLDEN ACCENT FOR ICON =================== */
.features-list img, .services-overview img, .service-card img, .contact-list img, footer .contact-info img {
  filter: grayscale(0.3) brightness(1.21) saturate(1.5) drop-shadow(0 1px 2px #bfa04540);
  margin-bottom: 11px;
  width: 35px;
}
.metrics-list img {
  margin: 0 auto 7px auto;
  width: 32px;
}

/* =================== CLARIFY SECTION BETWEEN PAGES ===================== */
.section:not(:last-child) {
  border-bottom: 1.5px solid #e8e8ec;
}

/* ================== UTILITY CLASSES FOR SPACING ======================== */
.mt-0 { margin-top: 0 !important; }
.mb-2 { margin-bottom: 8px !important; }
.mb-4 { margin-bottom: 16px !important; }
.mb-6 { margin-bottom: 24px !important; }

/* =================== PRINT & OTHER COMPATIBILITY ======================= */
@media print {
  .mobile-menu,
  .cookie-banner,
  .cookie-modal,
  header .btn-primary { display: none !important; }
  header, footer { background: #fff !important; color: #000 !important; }
}

/* =========== END - Zenith Skyline LUXURY PREMIUM STYLE ================ */
