/* --- CSS RESET & BASE 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;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  min-height: 100vh;
  line-height: 1.5;
  background: #101419;
  -webkit-font-smoothing: antialiased;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: #E7ECEF;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  border-style: none;
}
ul, ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
button, input, select, textarea {
  font: inherit;
  outline: none;
  border: none;
  background: transparent;
  color: inherit;
}

/* --- BRAND VARIABLES (FALLBACKS FOR WIDE SUPPORT) --- */
:root {
  --primary: #246378;
  --primary-rgb: 36, 99, 120;
  --secondary: #F4D393;
  --accent: #E7ECEF;
  --neon: #00ffd0;
  --bg-dark: #101419;
  --bg-medium: #1A222C;
  --bg-light: #232B36;
  --danger: #ed3b3b;
  --success: #36e2a0;
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
}

/* --- TYPOGRAPHY --- */
body,
p, li {
  font-family: var(--font-body);
  color: #E7ECEF;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.01em;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 14px;
  line-height: 1.1;
}
h2 {
  font-size: 2rem;
  margin-bottom: 24px;
  line-height: 1.2;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  line-height: 1.2;
}
h4, h5, h6 {
  font-size: 1rem;
}
.section h2 {
  margin-bottom: 32px;
}

/* Links & Accentation */
a, .main-nav a, .footer-nav a, .mobile-nav a {
  transition: color 0.18s cubic-bezier(0.4,0,0.2,1);
}
a:focus, a:hover, .main-nav a:hover, .footer-nav a:hover, .mobile-nav a:hover {
  color: var(--neon);
}

/* --- LAYOUT CONTAINERS --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--bg-medium);
  border-radius: 18px;
  margin-bottom: 20px;
  position: relative;
  box-shadow: 0 2px 12px rgba(0, 255, 208, 0.1);
  padding: 32px;
  transition: box-shadow 0.3s, transform 0.23s;
}
.card:hover {
  box-shadow: 0 4px 32px 0 rgba(0,255,208,0.18);
  transform: translateY(-4px) scale(1.02);
  border-color: var(--neon);
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: #fff;
  color: #232B36;
  border-radius: 14px;
  box-shadow: 0 2px 14px rgba(36,99,120,0.13);
  border: 1.5px solid var(--primary);
  font-size: 1.07rem;
}
.testimonial-card p {
  color: #232B36;
  margin-bottom: 3px;
  font-weight: 500;
}
.testimonial-card span {
  font-size: 0.97rem;
  color: #246378;
  font-weight: 600;
  opacity: 0.86;
}
.review-highlights ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  background: rgba(39,64,75,0.17);
  border-radius: 10px;
  padding: 18px 18px 18px 32px;
  margin: 12px 0 0 0;
}
.review-highlights li {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--secondary);
  font-size: 1.06rem;
}
.before-after, .success-stories, .quality-guarantees {
  padding: 18px 20px;
  margin: 20px 0 8px 0;
  background: var(--bg-medium);
  border-radius: 10px;
  color: var(--accent);
  box-shadow: 0 1px 10px 0 rgba(36,99,120,0.09);
}

/* --- HEADER / NAVIGATION --- */
header {
  background: var(--bg-dark);
  position: sticky;
  top: 0;
  z-index: 31;
  width: 100vw;
  box-shadow: 0 2px 10px rgba(0,18,27,.11);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 86px;
  gap: 32px;
}
.logo img {
  height: 55px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
.main-nav a {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  color: var(--accent);
  padding: 6px 4px;
  font-weight: 600;
  position: relative;
}
.main-nav a:after {
  content: '';
  display: block;
  height: 2px;
  width: 0;
  background: var(--neon);
  position: absolute;
  left: 0; bottom: -3px; right: 0;
  transition: width .23s cubic-bezier(0.55,0,0.17,1);
}
.main-nav a:hover:after {
  width: 100%;
}
.btn.primary {
  background: var(--primary);
  color: #FFF;
  padding: 12px 28px;
  border-radius: 32px;
  font-size: 1.16rem;
  font-family: var(--font-display);
  font-weight: 700;
  box-shadow: 0 4px 24px 0 rgba(0,255,208,.08);
  border: 2px solid var(--neon);
  letter-spacing: 0.01em;
  transition: background 0.18s, color 0.2s, box-shadow .25s, border .22s;
  position: relative;
  cursor: pointer;
}
.btn.primary:hover, .btn.primary:focus {
  color: var(--bg-dark);
  background: var(--neon);
  box-shadow: 0 8px 32px rgba(0,255,208,0.23),0 2px 10px 0 rgba(36,99,120,0.13);
}
.btn {
  transition: background .19s, color .17s, box-shadow .18s;
  display: inline-block;
}

.btn.secondary {
  background: none;
  color: var(--primary);
  border: 2px solid var(--primary);
  border-radius: 32px;
  padding: 10px 22px;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: background .18s, color .18s, border .18s, box-shadow .18s;
}
.btn.secondary:hover, .btn.secondary:focus {
  background: var(--secondary);
  color: var(--bg-dark);
  border-color: var(--neon);
}

/* --- MOBILE NAVIGATION --- */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--neon);
  font-size: 2.2rem;
  cursor: pointer;
  transition: color .19s;
  z-index: 52;
  padding: 6px 10px;
  margin-left: 14px;
}
.mobile-menu-toggle:hover {
  color: var(--secondary);
}
.mobile-menu {
  display: none;
}
.mobile-menu.open {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(28,35,44,0.97);
  z-index: 150;
  animation: mm-slide-in 360ms cubic-bezier(0.55,0,0.22,1) 1;
}
@keyframes mm-slide-in {
  0% {
    transform: translateX(100vw);
    opacity: 0.6;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  color: var(--neon);
  font-size: 2.35rem;
  cursor: pointer;
  border: none;
  margin: 32px 32px 0 0;
  padding: 10px 12px;
  transition: color .22s;
}
.mobile-menu-close:hover {
  color: var(--secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 38px 0 0 28px;
}
.mobile-nav a {
  font-size: 1.3rem;
  font-family: var(--font-display);
  color: #fff;
  font-weight: 600;
  padding: 8px 0;
  transition: color 0.19s;
  border-radius: 12px;
}
.mobile-nav a:active, .mobile-nav a:focus, .mobile-nav a:hover {
  color: var(--neon);
}

/* --- HERO SECTION --- */
.hero {
  background: linear-gradient(112deg, rgba(36,99,120,0.92) 0%, rgba(28,35,44,0.9) 80%), var(--bg-dark);
  box-shadow: 0 3px 20px rgba(0,255,208,0.08);
  padding: 64px 0 36px 0;
  border-radius: 0 0 28px 28px;
}
.hero .container {
  justify-content: center;
  align-items: center;
}
.hero h1 {
  color: var(--neon);
  text-shadow: 0 2px 20px rgba(0,255,208,0.13);
  margin-bottom: 12px;
}
.hero p {
  max-width: 520px;
  font-size: 1.28rem;
  color: var(--secondary);
  margin-bottom: 24px;
  line-height: 1.7;
}
.hero .btn.primary {
  margin-top: 10px;
}

/* --- FEATURE GRID / CARDS --- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-top: 10px;
}
.feature-item {
  background: var(--bg-light);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 32px 24px;
  flex: 1 1 220px;
  min-width: 210px;
  max-width: 290px;
  box-shadow: 0 1px 8px 0 rgba(36,99,120,0.07);
  border: 1.5px solid rgba(0,255,208,0.12);
  margin-bottom: 20px;
  transition: border 0.22s, box-shadow 0.25s, transform 0.23s;
}
.feature-item img {
  width: 42px;
  height: 42px;
  filter: drop-shadow(0 2px 6px var(--neon));
}
.feature-item h3 {
  color: var(--neon);
  font-size: 1.2rem;
  margin-bottom: 2px;
}
.feature-item p {
  color: #E7ECEF;
  margin-bottom: 0;
}
.feature-item:hover {
  border: 2px solid var(--neon);
  box-shadow: 0 4px 18px 0 rgba(0,255,208,0.17);
  transform: translateY(-3px) scale(1.025);
}

.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 10px;
}
.service-card {
  background: var(--bg-medium);
  border-radius: 13px;
  flex: 1 1 200px;
  max-width: 270px;
  min-width: 180px;
  box-shadow: 0 2px 10px rgba(36,99,120,0.12);
  padding: 24px 18px;
  margin-bottom: 20px;
  transition: box-shadow 0.22s, border-color 0.22s, transform 0.22s;
  border: 1.5px solid rgba(0,255,208,0.11);
}
.service-card h3 {
  color: var(--secondary);
  margin-bottom: 8px;
  font-size: 1.09rem;
}
.service-card:hover {
  box-shadow: 0 8px 24px 0 rgba(0,255,208,0.13),0 2px 8px 0 rgba(36,99,120,0.16);
  border-color: var(--neon);
  transform: translateY(-3px) scale(1.015);
}
/* --- CARD CONTENT PATTERNS --- */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* --- CONTACT DETAILS --- */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 13px;
  font-size: 1.04rem;
  margin: 16px 0 20px 0;
  color: var(--secondary);
}
.contact-details img {
  width: 20px;
  height: 20px;
  margin-right: 12px;
  vertical-align: middle;
}
.contact-details p {
  display: flex;
  align-items: center;
  color: var(--secondary);
  margin-bottom: 0;
  font-weight: 500;
}

/* --- FOOTER --- */
footer {
  background: var(--bg-dark);
  border-top: 2.5px solid var(--primary);
  padding: 32px 0 19px 0;
  margin-top: 54px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
  margin-bottom: 8px;
}
.footer-nav a {
  color: var(--secondary);
  font-size: 1rem;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: color .18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--neon);
}
.brand-info {
  text-align: center;
  color: #9DB9C3;
  font-size: 0.95rem;
  margin-top: 8px;
}

/* --- LIST STYLES --- */
ul, .text-section ul {
  margin: 12px 0 12px 24px;
  padding: 0;
  list-style: disc inside;
  color: var(--secondary);
  font-size: 1rem;
}
.text-section li {
  margin-bottom: 7px;
  padding-left: 6px;
  color: var(--secondary);
}

/* --- TEXT SECTION --- */
.text-section {
  margin-bottom: 8px;
  padding: 0 0 0 0;
}
.text-section p {
  font-size: 1.1rem;
  color: #E7ECEF;
  margin-bottom: 12px;
}
.text-section h2 {
  font-size: 1.3rem;
  color: var(--secondary);
}

/* --- COOKIES --- */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: rgba(28,35,44,0.98);
  color: #fff;
  padding: 22px 20px 18px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  z-index: 2000;
  box-shadow: 0 -1px 16px rgba(0,255,208,0.13);
  animation: cookie-fade-in 350ms cubic-bezier(0.65,0,0.18,1) 1;
}
@keyframes cookie-fade-in {
  0% { opacity: 0; transform: translateY(80px); }
  100% { opacity: 1; transform: translateY(0); }
}
.cookie-banner p {
  font-size: 1rem;
  color: #fafbfc;
  margin-bottom: 0;
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 5px;
}
.cookie-btn {
  background: var(--primary);
  color: #fff;
  border-radius: 26px;
  padding: 10px 22px;
  border: 2px solid var(--neon);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  margin: 0 3px;
  cursor: pointer;
  transition: background .17s, color .17s, border .17s, box-shadow .17s;
  box-shadow: 0 1px 6px 0 rgba(0,255,208,.10);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--neon);
  color: var(--primary);
}
.cookie-btn.settings {
  background: none;
  color: var(--neon);
  border: 2px solid var(--neon);
}
.cookie-btn.settings:hover {
  background: var(--neon);
  color: #232B36;
}
.cookie-btn.reject {
  background: var(--danger);
  color: #fff;
  border: 2px solid var(--danger);
}
.cookie-btn.reject:hover {
  background: #fff;
  color: var(--danger);
}
/* Cookie Modal */
.cookie-modal {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 2200;
  background: rgba(20,24,30, 0.97);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  animation: cookie-modal-fade .34s cubic-bezier(0.44,0,0.17,1) 1;
}
@keyframes cookie-modal-fade {
  0% {opacity:0; transform:scale(1.08);}
  100% {opacity:1; transform:scale(1);}
}
.cookie-modal-content {
  background: #141e25;
  color: #fff;
  border-radius: 16px;
  padding: 32px 26px 26px 26px;
  min-width: 310px;
  max-width: 97vw;
  box-shadow: 0 6px 32px 0 rgba(0,255,208,0.22);
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  position: relative;
}
.cookie-modal-content h2 {
  color: var(--neon);
  font-size: 1.4rem;
  margin-bottom: 8px;
}
.cookie-modal-content label {
  font-size: 1rem;
  color: var(--accent);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.cookie-modal-content input[type='checkbox'] {
  accent-color: var(--neon);
}
.cookie-modal-close {
  background: none;
  color: var(--neon);
  font-size: 1.5rem;
  border: none;
  position: absolute;
  top: 16px;
  right: 22px;
  cursor: pointer;
  transition: color .18s;
}
.cookie-modal-close:hover {
  color: var(--secondary);
}

/* --- ANIMATION TRANSITIONS --- */
.btn, .btn.primary, .btn.secondary, .main-nav a, .footer-nav a, .mobile-nav a{
  transition: color 0.16s, background 0.17s, border .18s, box-shadow .18s, transform .21s;
}
.card, .feature-item, .service-card {
  transition: box-shadow .21s, border-color .19s, transform .20s;
}

/* --- RESPONSIVE --- */
@media (max-width: 1100px) {
  .container {
    max-width: 96vw;
    padding-left: 13px;
    padding-right: 13px;
  }
}
@media (max-width: 900px) {
  .feature-grid, .service-cards {
    gap: 14px;
  }
  .card-container, .content-grid {
    gap: 14px;
  }
}
@media (max-width: 850px) {
  .main-nav, .btn.primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  header .container {
    gap: 8px;
    height: 72px;
  }
}
@media (max-width: 810px) {
  .feature-grid,
  .service-cards,
  .card-container,
  .content-grid
   {
    flex-direction: column;
    gap: 18px;
  }
  .feature-item, .service-card, .card {
    min-width: 0;
    max-width: 100%;
    width: 100%;
    margin-bottom: 14px;
  }
}
@media (max-width: 768px) {
  .section {
    margin-bottom: 36px;
    padding: 26px 10px;
  }
  .content-wrapper {
    gap: 14px;
  }
  h1 {
    font-size: 2rem;
    margin-bottom: 10px;
  }
  h2 {
    font-size: 1.43rem;
    margin-bottom: 19px;
  }
  .footer-nav {
    gap: 20px;
  }
}
@media (max-width: 700px) {
  .content-grid, .card-container, .feature-grid, .service-cards {
    flex-direction: column;
    gap: 13px;
  }
  .testimonial-card, .feature-item, .service-card {
    max-width: 100%;
  }
}
@media (max-width: 600px) {
  .section {
    margin-bottom: 22px;
    padding: 18px 2px;
  }
  .hero {
    padding: 34px 0 18px 0;
  }
  .footer-nav {
    gap: 8px;
  }
}
@media (max-width: 490px) {
  .cookie-modal-content {
      padding: 18px 5px 16px 10px;
  }
}

@media (max-width: 600px) {
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
  .testimonial-card {
    padding: 15px;
  }
  .before-after, .success-stories, .quality-guarantees {
    padding: 10px 7px;
  }
}

/* --- UTILITY --- */
.hide {
  display: none !important;
}
.z-1 { z-index: 1; }
.z-10 { z-index: 10; }
.z-200 { z-index: 200; }

/* --- SCROLLBAR STYLING ---*/
body, .mobile-menu, .cookie-modal-content {
  scrollbar-width: thin;
  scrollbar-color: var(--neon) #232B36;
}
body::-webkit-scrollbar {
  width: 10px;
  background: #232B36;
}
body::-webkit-scrollbar-thumb {
  background-color: var(--neon);
  border-radius: 6px;
  border: 3px solid #232B36;
}

/* --- SELECTION COLOR --- */
::selection {
  background: var(--neon);
  color: #232B36;
}