/* ===================================================
   SKYLINE TRIGGER – TECH FUTURISTIC STYLE – style.css
   =================================================== */

/* ======= RESET AND 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, main, 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 { font-size: 16px; scroll-behavior: smooth; background: #232843; }
body {
  font-family: 'Open Sans', Arial, sans-serif;
  background: #232843;
  color: #F2F2F7;
  min-height: 100vh;
  letter-spacing: 0.01em;
}

img, picture, video, canvas, svg {
  display: inline-block;
  max-width: 100%;
  height: auto;
}
a { color: #27B79A; text-decoration: none; transition: color 0.2s; }
a:hover, a:focus { color: #25e5c0; text-decoration: underline; }

*, *:before, *:after { box-sizing: inherit; }

/* ======= TYPOGRAPHY ======= */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  color: #F2F2F7;
  font-weight: 800;
  letter-spacing: 0.02em;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 18px; }
h3 { font-size: 1.25rem; margin-bottom: 12px; }
h4, h5, h6 { font-size: 1.05rem; }
p, ul, ol, li { font-family: 'Open Sans', Arial, sans-serif; font-size: 1rem; line-height: 1.7; }
p { margin-bottom: 16px; }

strong, b { color: #27B79A; font-weight: 700; }

ul, ol { padding-left: 24px; margin-bottom: 16px; }
li { margin-bottom: 10px; }

.text-section ul, .text-section ol { margin-bottom: 18px; }

/* ======= LAYOUT CONTAINERS ======= */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: rgba(41,54,99,0.04);
  border-radius: 24px;
}

.hero {
  min-height: 320px;
  background: linear-gradient(135deg, #354F7C 85%, #27B79A 100%);
  box-shadow: 0 7px 28px 0 rgba(39,183,154,0.12);
  color: #F2F2F7;
  position: relative;
  border-radius: 0 0 38px 38px;
  margin-bottom: 60px;
  display: flex;
  align-items: center;
}

/* ======= HEADER & NAVIGATION ======= */
header {
  background: #232843;
  border-bottom: 1px solid #354F7C;
  position: sticky;
  top: 0;
  z-index: 222;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 75px;
  position: relative;
  gap: 20px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.main-nav a {
  color: #F2F2F7;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
  position: relative;
  transition: color 0.18s;
}
.main-nav a::after {
  content: '';
  display: block;
  width: 0%;
  margin: 2px auto 0 auto;
  height: 2px;
  background: #27B79A;
  transition: width 0.18s;
  border-radius: 1px;
}
.main-nav a:hover, .main-nav a:focus {
  color: #27B79A;
}
.main-nav a:hover::after, .main-nav a:focus::after {
  width: 100%;
}

/* Logo sizing */
header img { height: 43px; max-width: 150px; margin-right: 16px; vertical-align: middle; }

/* ======= BUTTONS ======= */
.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 13px 32px;
  border-radius: 28px;
  border: none;
  font-size: 1.05rem;
  cursor: pointer;
  text-decoration: none;
  transition: box-shadow 0.21s, background 0.18s, color 0.18s, border-color 0.18s;
  box-shadow: 0 2px 8px 0 rgba(39,183,154,0.10);
  margin: 8px 0;
  outline: none;
  position: relative;
}
.btn-primary {
  background: #27B79A;
  color: #232843;
  border: 2px solid #27B79A;
  box-shadow: 0 0 20px 0 #27B79A44;
}
.btn-primary:hover, .btn-primary:focus {
  background: #354F7C;
  color: #27B79A;
  border-color: #27B79A;
  box-shadow: 0 0 6px 2px #27B79A77, 0 0 17px 0 #354F7C55;
}
.btn-secondary {
  background: transparent;
  color: #27B79A;
  border: 2px solid #27B79A;
  box-shadow: 0 2px 8px 0 #27B79A33;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #27B79A;
  color: #232843;
}

/* ======= FLEX LAYOUTS – COMMON PATTERNS ======= */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 18px;
}
.feature-grid li {
  background: #232843;
  border: 1.5px solid #354F7C;
  border-radius: 24px;
  box-shadow: 0 3px 18px 0 #1820381a;
  flex: 1 1 230px;
  min-width: 220px;
  padding: 36px 22px 26px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  position: relative;
  transition: box-shadow 0.18s, border-color 0.18s, background 0.18s;
  margin-bottom: 20px;
}
.feature-grid li img {
  width: 45px; height: 45px; margin-bottom: 8px;
}
.feature-grid li:hover, .feature-grid li:focus {
  border-color: #27B79A;
  background: #293663;
  box-shadow: 0 3px 28px 0 #27B79A22, 0 0 0 3px #27B79A22;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #232843;
  border: 1.5px solid #354F7C;
  border-radius: 20px;
  box-shadow: 0 1px 6px 0 #354f7c22;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, border-color 0.18s, background 0.18s;
  position: relative;
}
.card:hover, .card:focus {
  border-color: #27B79A;
  box-shadow: 0 5px 18px 0 #27B79A30, 0 0 0 2px #27B79A20;
  background: #293663;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 15px;
  padding: 22px 18px;
}

.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 ===== */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  background: #F2F2F7;
  color: #232843;
  border-radius: 22px;
  box-shadow: 0 5px 18px 0 #354F7C33;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  min-width: 260px;
  flex: 1 1 260px;
  border-left: 6px solid #27B79A;
  margin-bottom: 20px;
  transition: box-shadow 0.14s, border-left-color 0.14s;
  position: relative;
}
.testimonial-card strong {
  display: block;
  margin-top: 15px;
  font-weight: 800;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #354F7C;
}
.testimonial-card:hover, .testimonial-card:focus {
  box-shadow: 0 7px 28px 0 #27B79A22, 0 0 0 2px #27B79A33;
  border-left-color: #354F7C;
}

/* For better contrast in testimonial texts */
.testimonial-card p, .testimonial-card strong {
  color: #232843;
}

/* ===== SERVICES LISTS ===== */
.services-list, .service-list, .blog-list, .case-studies {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 18px;
}
.service-highlights {
  background: #232843;
  border: 1.5px solid #354F7C;
  border-radius: 20px;
  box-shadow: 0 1px 10px 0 #27B79A16;
  padding: 30px 20px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  min-width: 215px;
  min-height: 160px;
  transition: border-color 0.16s, box-shadow 0.16s, background 0.16s;
  margin-bottom: 20px;
}
.service-highlights:hover, .service-highlights:focus {
  border-color: #27B79A;
  box-shadow: 0 5px 16px 0 #27B79A33;
  background: #293663;
}
.service-price {
  background: #27B79A;
  color: #232843;
  border-radius: 10px;
  padding: 2px 10px;
  font-weight: 700;
  font-size: 1rem;
  margin-left: 9px;
  box-shadow: 0 0 8px #27B79A33;
}

/* ====== FOOTERS ====== */
footer {
  background: #232843;
  color: #F2F2F7;
  border-top: 1px solid #354F7C;
  padding: 36px 0 20px 0;
  margin-top: 44px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  margin: 18px 0 10px 0;
}
.footer-nav a {
  color: #27B79A;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  opacity: 0.98;
  transition: color 0.18s, opacity 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #25e5c0; opacity: 1;
}
footer img { height: 33px; max-width: 120px; margin-bottom: 10px; }
.copyright {
  font-size: 0.96rem;
  color: #8FA1C7;
  margin-top: 10px;
}

/* ====== CONTACT INFO ====== */
.contact-info {
  background: #232843;
  border: 1.5px solid #354F7C;
  border-radius: 16px;
  padding: 24px 18px;
  margin-bottom: 20px;
  font-size: 1.05rem;
  color: #F2F2F7;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 1.5px 8px #27B79A11;
}
.contact-info strong { color: #27B79A; }
.contact-info a { color: #27B79A; word-break: break-all; }

.contact-section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #354F7C;
  color: #F2F2F7;
  border-radius: 24px;
  box-shadow: 0 1.5px 20px #27B79A16;
}
.contact-section h2 {
  color: #27B79A;
}

/* ====== BLOG LIST ====== */
.blog-list .text-section {
  background: #232843;
  border-radius: 16px;
  border: 1px solid #354F7C;
  padding: 22px 18px;
  box-shadow: 0 1.5px 8px #27B79A11;
  flex: 1 1 240px;
  margin-bottom: 20px;
  transition: border-color 0.16s, box-shadow 0.16s;
}
.blog-list .text-section:hover, .blog-list .text-section:focus {
  border-color: #27B79A;
  box-shadow: 0 3.5px 18px #27B79A16, 0 0 2px #27B79A22;
}
.blog-categories {
  margin-top: 18px;
  color: #27B79A;
  font-weight: 600;
}

/* ====== CASE STUDIES ====== */
.case-studies {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 18px;
}
.case-studies .text-section {
  background: #232843;
  border: 1px solid #354F7C;
  border-radius: 16px;
  box-shadow: 0 1.5px 8px #27B79A0A;
  padding: 22px 18px;
  flex: 1 1 330px;
  min-width: 260px;
  margin-bottom: 20px;
  transition: border-color 0.18s, box-shadow 0.18s;
}
.case-studies .text-section:hover, .case-studies .text-section:focus {
  border-color: #27B79A;
  box-shadow: 0 4.5px 24px #27B79A16;
}

/* ======= GENERAL UI ELEMENTS ======= */
.text-section {
  background: #232843;
  border-radius: 14px;
  border: 1px solid #354F7C;
  padding: 22px 18px;
  margin-bottom: 20px;
  color: #F2F2F7;
}
.text-section h2, .text-section h3 {
  color: #27B79A;
}

/* ====== MODAL AND UTILITY ====== */
.modal {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(35, 40, 67, 0.76);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.21s;
}
.modal.active {
  opacity: 1;
  pointer-events: auto;
}
.modal-content {
  background: #293663;
  border-radius: 20px;
  padding: 32px 24px 22px;
  min-width: 310px;
  max-width: 90vw;
  box-shadow: 0 14px 42px #00000033;
  border: 2px solid #27B79A;
  position: relative;
}

/* ===== MOBILE BURGER MENU ===== */
.mobile-menu-toggle {
  display: none;
  background: #27B79A;
  color: #232843;
  border: none;
  border-radius: 50%;
  font-size: 2rem;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: box-shadow 0.18s, background 0.18s;
  z-index: 1202;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #354F7C;
  color: #27B79A;
  box-shadow: 0 0 16px #27B79A22;
}

.mobile-menu {
  position: fixed;
  top: 0; left:0;
  height: 100vh; width: 100vw;
  background: #232843F7;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  transform: translateX(100%);
  transition: transform 0.29s cubic-bezier(.57,-0.16,.59,1.29);
  z-index: 3001;
  box-shadow: -10px 0 44px #0f1a2f44;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #27B79A;
  font-size: 2.2rem;
  margin: 24px 22px 0 0;
  cursor: pointer;
  padding: 2px 10px;
  align-self: flex-end;
  transition: color 0.15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #F2F2F7;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100vw;
  margin-top: 10vh;
  gap: 24px;
  align-items: center;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.45rem;
  color: #27B79A;
  font-weight: 700;
  padding: 17px 0;
  border-radius: 7px;
  width: 88vw;
  text-align: center;
  transition: background 0.16s, color 0.16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #354F7C;
  color: #F2F2F7;
}

@media (max-width: 1024px) {
  .main-nav { gap: 16px; }
  .footer-nav { gap: 14px; }
  .container { max-width: 97vw; }
}
@media (max-width: 850px) {
  .main-nav, .btn-primary { display:none; }
  .mobile-menu-toggle { display: flex; }
  header .container { gap: 6px; }
  .footer-nav { gap:10px; }
}

/* ====== RESPONSIVENESS ===== */
@media (max-width: 768px) {
  h1 { font-size: 1.85rem; }
  h2 { font-size: 1.25rem; }
  .section, .hero, .contact-section {
    padding: 27px 8px;
    margin-bottom: 32px;
    border-radius: 16px;
  }
  .container { padding: 0 10px; }
  .content-wrapper { gap: 15px; }
  .feature-grid, .services-list, .service-list, .case-studies, .blog-list {
    flex-direction: column;
    gap: 18px;
  }
  .card-container { gap: 18px; }
  .testimonial-slider { flex-direction: column; gap: 18px; }
  .contact-info { padding: 16px 10px; }
  .footer-nav { flex-direction: column; gap: 8px; align-items: flex-start; }
  .text-image-section { flex-direction: column; gap: 18px; }
}

@media (max-width: 500px) {
  h1 { font-size: 1.32rem; }
  h2 { font-size: 1.09rem; }
  .section, .hero, .contact-section { padding: 16px 4px; }
  .text-section { padding: 12px 4px; font-size: .95rem; }
  .testimonial-card { padding: 13px; }
  .blog-list .text-section, .case-studies .text-section {
    padding: 14px 6px; font-size: .95rem;
  }
}

/* ===== ANIMATIONS AND MICRO-INTERACTIONS ===== */
@media (prefers-reduced-motion: no-preference) {
  .btn-primary, .btn-secondary, .feature-grid li, .service-highlights, .testimonial-card, .card {
    transition: box-shadow 0.18s, border-color 0.18s, background 0.18s, color 0.18s;
  }
  .mobile-menu, .modal {
    transition: transform 0.29s cubic-bezier(.57,-0.16,.59,1.29), opacity 0.21s;
  }
  .testimonial-card, .feature-grid li, .service-highlights {
    will-change: transform, box-shadow;
  }
}

/* ===== COOKIE CONSENT BANNER & MODAL ===== */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; width: 100vw;
  background: #293663;
  color: #F2F2F7;
  border-top: 2px solid #27B79A;
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 16px 18px 16px;
  box-shadow: 0 -2px 22px #27B79A33;
  z-index: 4000;
  font-size: 1rem;
  opacity: 1;
  animation: cookie-banner-in 0.4s cubic-bezier(.47,1.64,.41,.81);
}
@keyframes cookie-banner-in {
  from { transform: translateY(75px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-text strong {
  color: #27B79A;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 15px;
  align-items: center;
}
.cookie-banner button {
  border-radius: 18px;
  font-size: 1rem;
  min-width: 112px;
  padding: 9px 20px;
  border: none;
  cursor: pointer;
  background: #27B79A;
  color: #232843;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  margin-right: 2px;
  transition: background 0.16s, color 0.16s, box-shadow 0.13s;
  box-shadow: 0 1px 6px 0 #27B79A22;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #354F7C;
  color: #27B79A;
}
.cookie-banner .cookie-settings-btn {
  background: transparent;
  color: #27B79A;
  border: 2px solid #27B79A;
}
.cookie-banner .cookie-settings-btn:hover, .cookie-banner .cookie-settings-btn:focus {
  background: #27B79A;
  color: #232843;
}

/* Cookie preferences modal (with fallback class .cookie-modal) */
.cookie-modal {
  position: fixed;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(35, 40, 67, 0.96);
  z-index: 4500;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.23s;
}
.cookie-modal.active {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal .cookie-modal-content {
  background: #293663;
  box-shadow: 0 14px 62px #27B79A22, 0 0 0 4px #27B79A22;
  border-radius: 22px;
  border: 2px solid #27B79A;
  max-width: 95vw; min-width: 333px;
  padding: 34px 28px 25px 28px;
  color: #F2F2F7;
  position: relative;
}
.cookie-modal-close {
  position: absolute;
  top: 8px; right: 12px;
  background: none;
  border: none;
  color: #27B79A;
  font-size: 2rem;
  cursor: pointer;
  transition: color 0.17s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #F2F2F7;
}
.cookie-modal h2 {
  color: #27B79A;
  font-size: 1.38rem;
  margin-bottom: 14px;
}
.cookie-modal .cookie-category {
  margin-bottom: 21px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.cookie-modal .cookie-category input[type="checkbox"] {
  accent-color: #27B79A;
  width: 22px; height: 22px;
}
.cookie-modal .cookie-category label {
  color: #F2F2F7;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1.05rem;
}
.cookie-modal .essential {
  color: #27B79A;
  font-weight: 700;
}
.cookie-modal .cookie-modal-actions {
  margin-top: 19px;
  display: flex;
  flex-direction: row;
  gap: 15px;
  justify-content: flex-end;
}
.cookie-modal .cookie-modal-actions button {
  border-radius: 18px;
  font-size: 1rem;
  min-width: 112px;
  padding: 9px 20px;
  border: none;
  cursor: pointer;
  background: #27B79A;
  color: #232843;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  transition: background 0.16s, color 0.16s, box-shadow 0.13s;
  box-shadow: 0 1px 6px 0 #27B79A22;
}
.cookie-modal .cookie-modal-actions button:hover, .cookie-modal .cookie-modal-actions button:focus {
  background: #354F7C;
  color: #27B79A;
}
.cookie-modal .cookie-modal-actions .cancel {
  background: transparent;
  color: #27B79A;
  border: 2px solid #27B79A;
}
.cookie-modal .cookie-modal-actions .cancel:hover, .cookie-modal .cookie-modal-actions .cancel:focus {
  background: #27B79A; color: #232843;
}

/* Hide all visually-hidden elements */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ===== UTILITY CLASSES ===== */
.text-center { text-align: center; }
.align-center { align-items: center; }
.w100 { width: 100%; }

/* ==================
   THE END
   ================== */
