/* === CSS RESET & NORMALIZE === */
html {
  box-sizing: border-box;
  font-size: 100%;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  line-height: 1.6;
  color: #F2EADE;
  background: linear-gradient(135deg, #122732 0%, #23576D 80%);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
ul, ol {
  list-style: none;
}
button {
  font: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

/* === TYPOGRAPHY === */
h1, .h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #F2EADE;
  margin-bottom: 24px;
  letter-spacing: 0.01em;
  text-shadow: 0 4px 24px rgba(36, 230, 255, 0.14);
}
h2, .h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2rem;
  font-weight: 600;
  color: #f2eade;
  margin-bottom: 20px;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 12px rgba(36, 230, 255, 0.12);
}
h3, .h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 500;
  color: #A7DFFF;
  margin-bottom: 12px;
  letter-spacing: 0.01em;
}
p, li, span, label {
  font-size: 1rem;
  color: #f2eade;
}
strong {
  color: #6CA869;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.text-section p, .text-section li {
  margin-bottom: 16px;
}
.text-section ul, .text-section ol {
  padding-left: 1em;
  margin-bottom: 16px;
  color: #F2EADE;
}

@media (max-width: 768px) {
  h1, .h1 {
    font-size: 2rem;
  }
  h2, .h2 {
    font-size: 1.5rem;
  }
  h3, .h3 {
    font-size: 1.1rem;
  }
}

/* === CONTAINER & SPACING === */
.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: rgba(19,31,57,0.48);
  border-radius: 20px;
  box-shadow: 0 8px 54px 0 rgba(23, 255, 197, 0.06);
}

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

/* === HEADER === */
header {
  background: #132139;
  position: relative;
  box-shadow: 0 2px 32px rgba(36,230,255, 0.06);
  z-index: 100;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 24px;
}
.logo-link img {
  height: 54px;
  width: auto;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #A7DFFF;
  letter-spacing: 0.03em;
  font-weight: 500;
  transition: color .2s;
  position: relative;
}
.main-nav a:after {
  content: '';
  display: block;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg,#00ffe7,#6CA869);
  border-radius: 2px;
  transition: width .26s cubic-bezier(.4,2,.4,1);
  margin-top: 2px;
}
.main-nav a:hover,
.main-nav a:focus {
  color: #00ffe7;
}
.main-nav a:hover:after,
.main-nav a:focus:after {
  width: 100%;
}

/* === CTA BUTTONS === */
.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.04rem;
  font-weight: 600;
  border-radius: 24px;
  padding: 12px 34px;
  margin-top: 12px;
  margin-bottom: 6px;
  min-width: 160px;
  min-height: 44px;
  box-shadow: 0 4px 15px 0 rgba(36, 230, 255, 0.12);
  transition: background 0.22s, color 0.22s, box-shadow .22s, transform .15s;
  border: 2px solid;
  cursor: pointer;
  text-shadow: 0 2px 12px rgba(36,230,255,0.12);
}
.btn-primary {
  color: #132732;
  background: #00ffe7;
  border-color: #6CA869;
  letter-spacing: 0.04em;
}
.btn-primary:hover, .btn-primary:focus {
  background: #6CA869;
  color: #F2EADE;
  border-color: #00ffe7;
  box-shadow: 0 8px 35px 0 rgba(21,255,197,0.17);
  transform: translateY(-2px) scale(1.025);
}
.btn-secondary {
  color: #6CA869;
  background: #122732;
  border-color: #00ffe7;
}
.btn-secondary:hover,.btn-secondary:focus {
  color: #00ffe7;
  background: #193c52;
  border-color: #6CA869;
  box-shadow: 0 6px 22px #00ffe751;
}

/* === MOBILE NAV MENU === */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  color: #00ffe7;
  background: none;
  border: none;
  padding: 8px 12px;
  line-height: 1;
  z-index: 1200;
  transition: color 0.2s;
}

@media (max-width: 960px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(125deg,#122732 60%, #23576D 100%);
  z-index: 1200;
  padding: 0 0 0 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  transform: translateX(100%);
  transition: transform 0.42s cubic-bezier(.71,0,.41,1.1);
  box-shadow: -2px 0 32px #00ffe778;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  margin: 28px 28px 0 0;
  font-size: 2.2rem;
  color: #00ffe7;
  background: none;
  border: none;
  align-self: flex-end;
  cursor: pointer;
  z-index: 1300;
  transition: color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #6CA869;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  margin-top: 54px;
  padding: 32px;
  width: 100%;
  max-width: 340px;
}
.mobile-nav a {
  color: #F2EADE;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.28rem;
  font-weight: 700;
  padding: 12px 0 8px 0;
  border-bottom: 1px solid #19334d;
  width: 100%;
  transition: color .22s, background .18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #00ffe7;
  background: #132139;
}

@media (max-width: 500px) {
  .mobile-nav { padding: 18px 10px; max-width: 99vw; }
}

/* === HERO === */
.hero {
  padding: 60px 0 40px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(120deg,#132732 74%,#23576D 100%);
  border-radius: 0 0 36px 36px;
  box-shadow: 0 12px 48px #00ffe710;
  margin-bottom: 40px;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero .content-wrapper {
  align-items: center;
  text-align: center;
}
.hero p {
  font-size: 1.2rem;
  color: #c7ecfd;
  margin-bottom: 24px;
}

/* === SECTION SPACING === */
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 768px) {
  .section, section {
    padding: 24px 8px;
    margin-bottom: 36px;
  }
}

/* === FEATURE GRID === */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 32px;
  align-items: flex-start;
  margin-top: 8px;
}
.feature-grid li {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  background: rgba(22,51,82,0.84);
  border-radius: 16px;
  padding: 14px 20px;
  min-width: 250px;
  box-shadow: 0px 4px 14px 0 rgba(21,255,197, 0.07);
  color: #F2EADE;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  transition: box-shadow .14s, background .14s;
  margin-bottom: 12px;
}
.feature-grid li:hover {
  background: #193c52;
  box-shadow: 0 6px 30px #00ffe72c;
}
.feature-grid img {
  width: 32px;
  height: 32px;
}

@media (max-width: 800px) {
  .feature-grid {
    flex-direction: column;
    gap: 18px 0;
    align-items: stretch;
  }
  .feature-grid li { min-width: unset; }
}

/* === SERVICES & CARDS === */
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
}
.service-item {
  flex: 1 1 300px;
  min-width: 260px;
  background: rgba(35,87,109,0.92);
  border-radius: 18px;
  margin-bottom: 20px;
  padding: 28px 24px;
  box-shadow: 0 4px 32px 0 rgba(36,230,255,0.13);
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  transition: box-shadow .16s, background .15s, transform .17s;
}
.service-item:hover {
  background: #193c52;
  box-shadow: 0 8px 54px #00ffe764;
  transform: translateY(-2px) scale(1.012);
}
@media (max-width: 900px) {
  .service-list {
    flex-direction: column;
    gap: 20px;
  }
  .service-item {
    min-width: unset;
  }
}

/* === TESTIMONIALS === */
#testimonials {
  background: #F2EADE;
  color: #193c52;
  box-shadow: 0 0 34px #1327320a;
  border-radius: 30px;
  padding: 40px 20px;
}
#testimonials h2 {
  color: #23576D;
}
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 24px;
  margin-top: 30px;
  justify-content: space-between;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 8px 30px 0 rgba(72, 255, 220,.09), 0 0 0 2px #00ffe734;
  padding: 28px 26px 20px 26px;
  gap: 20px;
  min-width: 260px;
  max-width: 350px;
  color: #193c52;
  margin-bottom: 20px;
  position: relative;
  overflow: visible;
  transition: box-shadow .17s, transform .14s;
}
.testimonial-card p {
  font-size: 1.08rem;
  color: #09243E;
  margin-bottom: 10px;
}
.testimonial-card span {
  font-size: 1rem;
  color: #23576D;
  font-weight: 600;
}
.testimonial-card:before {
  content: '\201C';
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.7rem;
  color: #00ffe7;
  position: absolute;
  top: 6px;
  left: 14px;
  opacity: 0.14;
  pointer-events: none;
}
.testimonial-card:hover {
  box-shadow: 0 14px 50px #6CA86955;
  transform: translateY(-2px) scale(1.012);
}
@media (max-width: 900px) {
  .testimonial-list {
    flex-direction: column;
    gap: 22px;
  }
  .testimonial-card {
    max-width: 99vw;
    width: 99%;
  }
}

/* Ensure proper color contrast for testimonial/review text */
#testimonials, .testimonial-card {
  color: #193c52;
}
#testimonials h2, .testimonial-card span {
  color: #23576D;
}

/* === CTA Section === */
#cta {
  background: linear-gradient(100deg,#122732 65%,#23576D 100%);
  border-radius: 26px;
  text-align: center;
  margin-bottom: 0;
  padding: 48px 14px 56px 14px;
  box-shadow: 0 8px 44px 0 #00ffe725;
}
#cta .btn-primary {
  margin: 24px auto 0 auto;
}

/* === FOOTER === */
footer {
  background: #132139;
  padding: 36px 0 20px 0;
  margin-top: 44px;
  border-radius: 36px 36px 0 0;
  box-shadow: 0 -10px 36px #00ffe709;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 38px 30px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-logo img {
  width: 64px;
  height: 64px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-nav a {
  color: #A7DFFF;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  letter-spacing: 0.01em;
  transition: color .16s;
  margin-bottom: 8px;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #00ffe7;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #A7DFFF;
  font-size: 0.98rem;
}
.footer-contact p img {
  vertical-align: middle;
  margin-right: 7px;
  width: 18px; height: 18px;
  display: inline-block;
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    gap: 22px;
    align-items: flex-start;
  }
}

/* === LEGAL & TEXT SECTIONS === */
.legal, .about, .confirmation {
  background: rgba(19,31,57,0.84);
  border-radius: 22px;
  box-shadow: 0 0 42px #00ffe715;
  margin-bottom: 54px;
  padding: 40px 20px;
}
@media (max-width: 768px) {
  .legal, .about, .confirmation {
    padding: 28px 8px;
    margin-bottom: 30px;
  }
}

.text-section {
  font-size: 1.02rem;
  color: #F2EADE;
  margin-bottom: 12px;
}
.text-section ul, .text-section ol {
  color: #7ee9f2;
}
.text-section li::marker,
.legal .text-section li::marker {
  color: #00ffe7;
}

/* === MISC CARDS & FLEX CONTAINERS === */
.card-container, .card-grid, .content-grid, .testimonial-list, .service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 24px;
}
.card {
  position: relative;
  margin-bottom: 20px;
  border-radius: 16px;
  box-shadow: 0 6px 24px 0 rgba(21,255,197, 0.10);
  background: #1D3345;
  transition: box-shadow .15s, background .15s, transform .14s;
}
.card:hover {
  background: #1d3549;
  box-shadow: 0 18px 64px #00ffe741;
  transform: translateY(-2px) scale(1.020);
}

.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;
  margin-bottom: 20px;
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
.}

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

/* === RESPONSIVE FLEXBOX === */
@media (max-width: 1000px) {
  .content-grid, .service-list, .feature-grid, .card-container, .testimonial-list {
    flex-direction: column;
    gap: 20px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
}

@media (max-width: 768px) {
  .container { padding: 0 5px; }
  .section, section {
    padding: 14px 3px;
    margin-bottom: 22px;
  }
  .content-wrapper { gap: 14px; }
  .feature-grid, .service-list, .content-grid, .testimonial-list, .card-container {
    gap: 16px;
  }
  .card, .service-item, .testimonial-card { min-width: 0; }
}

/* === HOVER EFFECTS & MICRO-ANIMATIONS === */
.card, .service-item, .testimonial-card, .btn-primary, .btn-secondary {
  transition: box-shadow .18s, background .18s, color .16s, transform .13s;
}
.card:hover, .service-item:hover, .testimonial-card:hover {
  transform: translateY(-2px) scale(1.012);
  box-shadow: 0 18px 64px #00ffe725;
}

/* === SCROLLBAR STYLES === */
body::-webkit-scrollbar {
  width: 8px;
  background: #1D3345;
}
body::-webkit-scrollbar-thumb {
  background: #00ffe790;
  border-radius: 8px;
}

/* === COOKIE CONSENT BANNER & MODAL === */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: linear-gradient(90deg, #122732 75%, #23576D 100%);
  box-shadow: 0 -4px 24px #00ffe75e;
  color: #F2EADE;
  padding: 22px 16px 20px 16px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  z-index: 9999;
  gap: 18px;
  animation: bannerSlideIn 0.6s cubic-bezier(.67,0,.41,1.18);
}
@keyframes bannerSlideIn {
  from { transform: translateY(60px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-consent-banner p {
  font-size: 1.01rem;
  color: #F2EADE;
}
.cookie-consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.cookie-btn {
  border-radius: 22px;
  background: #00ffe7;
  color: #132732;
  font-family: 'Montserrat', Arial, sans-serif;
  border: 2px solid #6CA869;
  font-weight: 600;
  font-size: 1rem;
  padding: 8px 26px;
  margin: 0 4px;
  cursor: pointer;
  transition: background .18s, color .18s, border .13s;
  min-width: 120px;
  min-height: 40px;
}
.cookie-btn.reject {
  background: #132732;
  color: #00ffe7;
  border: 2px solid #00ffe7;
}
.cookie-btn.settings {
  background: #6CA869;
  color: #fff;
  border: 2px solid #00ffe7;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #6CA869;
  color: #f2eade;
  border-color: #00ffe7;
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(19, 39, 50, 0.91);
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: modalFadeIn 0.38s cubic-bezier(.67,0,.41,1.23);
}
@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal-content {
  background: #1D3345;
  border-radius: 24px;
  padding: 40px 30px 22px 30px;
  min-width: 290px;
  max-width: 92vw;
  color: #F2EADE;
  box-shadow: 0 8px 58px #00ffe745;
  position: relative;
}
.cookie-modal-content h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #00ffe7;
  font-size: 1.17rem;
  margin-bottom: 10px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cookie-category label {
  font-size: 1rem;
  color: #A7DFFF;
  font-weight: 500;
}
.cookie-category input[type=checkbox] {
  width: 20px; height: 20px;
  accent-color: #00ffe7;
  border-radius: 6px;
}
.cookie-modal-content .modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: none;
  border: none;
  color: #00ffe7;
  font-size: 2em;
  cursor: pointer;
  z-index: 2002;
}
.cookie-modal-content .modal-close:hover {
  color: #6CA869;
}

/* === FORM ELEMENTS (Contact page) === */
input, textarea, select {
  appearance: none;
  border: 2px solid #6CA869;
  border-radius: 12px;
  padding: 10px 14px;
  background: #132732;
  color: #F2EADE;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  margin-bottom: 16px;
  outline: none;
  width: 100%;
  transition: border-color .16s, background .14s;
}
input:focus, textarea:focus, select:focus {
  border-color: #00ffe7;
  background: #1D3345;
}
label {
  display: block;
  margin-bottom: 6px;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #A7DFFF;
  font-size: 1.01rem;
  font-weight: 500;
}

/* === MISC UTILITY CLASSES === */
.d-flex {
  display: flex !important;
  gap: 24px;
}
.center {
  align-items: center;
  justify-content: center;
}
.space-between {
  justify-content: space-between;
}

/* === FOCUS STYLES === */
a:focus, button:focus, input:focus, .btn-primary:focus, .btn-secondary:focus {
  outline: 2px solid #00ffe7;
  outline-offset: 2px;
  z-index: 2;
}

/* === CUSTOM NEON/TECH ACCENT ELEMENTS === */
.neon-text {
  color: #00ffe7;
  text-shadow: 0 0 4px #00ffe7, 0 0 12px #00ffe7d6;
}
.neon-box {
  box-shadow: 0 0 18px 0 #00ffe7, 0 0 2px #00ffe7;
  border: 2px solid #00ffe7;
  border-radius: 14px;
}

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