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

html {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  background: linear-gradient(135deg, #e7e9ed 0%, #f5f7fa 100%);
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  color: #1C2331;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

ul, ol {
  list-style: none;
}

a {
  color: #1C2331;
  text-decoration: none;
  transition: color 0.2s;
}

a:hover, a:focus {
  color: #F5DF34;
  outline: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
}

button {
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.3s;
}

/* --- FONT IMPORTS --- */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600,500&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

/* --- ROOT BRAND COLORS --- */
:root {
  --primary: #1C2331;
  --secondary: #52697C;
  --accent: #F5DF34;
  --bg-light: #f5f7fa;
  --bg-section: #F6F8FB;
  --card-bg: #fff;
  --text-base: #1C2331;
  --text-light: #fff;
  --border-radius: 20px;
  --shadow-md: 0 4px 32px 0 rgba(28,35,49,0.07), 0 1.5px 4px 0 rgba(82,105,124,0.05);
  --shadow-lg: 0 8px 32px 0 rgba(28,35,49,0.11);
}

/* --- LAYOUT CONTAINERS --- */
.container {
  width: 100%;
  max-width: 1090px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--bg-section);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
}

@media (max-width: 900px) {
  .section {
    margin-bottom: 40px;
    padding: 26px 8px;
  }
}

/* --- HEADER --- */
header {
  background: linear-gradient(90deg, #F5DF34 0%, #F6F8FB 70%);
  box-shadow: 0 1px 12px 0 rgba(28,35,49,0.04);
  position: relative;
  z-index: 50;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
  gap: 18px;
}
nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--primary);
  position: relative;
  padding-bottom: 4px;
  transition: color 0.2s;
}
nav a:hover,
nav a.active {
  color: var(--secondary);
}

.cta-btn {
  padding: 12px 28px;
  border-radius: 32px;
  font-size: 16px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  background: linear-gradient(90deg, var(--accent) 85%, var(--secondary) 100%);
  color: var(--primary);
  box-shadow: var(--shadow-md);
  transition: background 0.3s, color 0.2s, box-shadow 0.25s, transform 0.15s;
  border: none;
  margin-left: 14px;
  display: inline-block;
}
.cta-btn:hover, .cta-btn:focus {
  color: var(--secondary);
  background: linear-gradient(90deg, var(--accent) 65%, var(--secondary) 100%);
  transform: translateY(-2px) scale(1.04);
}

.mobile-menu-toggle {
  background: var(--primary);
  color: var(--accent);
  font-size: 26px;
  padding: 7px 14px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  border: none;
  margin-left: 12px;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  z-index: 120;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--accent);
  color: var(--primary);
  box-shadow: 0 0 0 2px var(--accent);
}

@media (max-width: 900px) {
  header .container nav,
  .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* --- MOBILE SLIDE MENU --- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(120deg, var(--accent) 0%, var(--secondary) 100%);
  box-shadow: var(--shadow-lg);
  transform: translateX(-100vw);
  transition: transform 0.4s cubic-bezier(.68,-0.55,.27,1.55);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  padding-top: 32px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: end;
  margin: 14px 26px 0 0;
  font-size: 32px;
  color: var(--primary);
  background: none;
  border: none;
  cursor: pointer;
  padding: 2px 10px;
  border-radius: 50%;
  transition: background 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--primary);
  color: var(--accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  padding: 32px 20px;
  gap: 26px;
  align-items: flex-start;
}
.mobile-nav a {
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 12px 6px;
  border-radius: 7px;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--accent);
  background: rgba(255,255,255,0.25);
}

@media (min-width: 901px) {
  .mobile-menu {
    display: none !important;
  }
}

/* --- HERO SECTIONS --- */
.hero {
  background: linear-gradient(120deg, #e8f0fd 0%, #d1dfe2 100%);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  margin-bottom: 40px;
  padding: 48px 0 32px 0;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  max-width: 700px;
}
.hero h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 48px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
  letter-spacing: -0.5px;
}
.hero p {
  font-size: 20px;
  color: var(--secondary);
  margin-bottom: 12px;
  margin-top: 0;
}

@media (max-width: 600px) {
  .hero {
    padding: 34px 0 14px 0;
  }
  .hero h1 {
    font-size: 28px;
  }
  .hero p {
    font-size: 16px;
  }
}

/* --- SPACING & FLEX LAYOUTS --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.card {
  background: var(--card-bg);
  margin-bottom: 20px;
  position: relative;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  padding: 28px 24px;
  color: var(--primary);
  transition: box-shadow 0.3s, transform 0.15s;
}
.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px) scale(1.015);
}

.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;
  margin-bottom: 20px;
  background: #fcfcfd;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  max-width: 660px;
  color: var(--primary);
  transition: box-shadow 0.2s;
}
.testimonial-card:hover {
  box-shadow: var(--shadow-lg);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.feature-grid {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.feature-grid > div {
  background: var(--card-bg);
  box-shadow: var(--shadow-md);
  border-radius: 14px;
  padding: 24px 18px;
  min-width: 240px;
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  transition: box-shadow 0.2s, transform 0.13s;
  margin-bottom: 20px;
}
.feature-grid > div:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.feature-grid img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

@media (max-width: 900px) {
  .feature-grid {
    flex-direction: column;
    gap: 18px;
  }
  .feature-grid > div {
    width: 100%;
    min-width: unset;
  }
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.text-section {
  font-size: 18px;
  color: var(--secondary);
  margin-bottom: 4px;
  margin-top: 4px;
}
@media (max-width: 700px) {
  .section, .card, .feature-grid > div, .testimonial-card {
    padding: 14px 8px;
  }
  .content-grid, .text-image-section {
    flex-direction: column !important;
  }
}

/* --- ABOUT, SERVICES, CONTACT GRIDS --- */
.about, .services, .contact {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  margin-bottom: 60px;
  padding: 36px 0;
}
.about h2, .services h2, .contact h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 32px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 16px;
}
.about ul, .services ul {
  margin-left: 24px;
  margin-bottom: 18px;
}
.about li, .services li {
  list-style-type: disc;
  margin-bottom: 13px;
  font-size: 17px;
  color: var(--secondary);
}
.services ul {
  margin-bottom: 10px;
}

.contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 16px;
  font-size: 16px;
  align-items: flex-start;
}
.contact-info > div, .contact-info {
  display: flex;
  align-items: center;
  gap: 10px;
}
.contact-info img {
  width: 20px;
  height: 20px;
}

@media (max-width: 600px) {
  .contact-info {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
  }
}

/* --- TESTIMONIALS --- */
.testimonials {
  background: var(--bg-section);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  margin-bottom: 60px;
  padding: 36px 0;
}
.testimonials h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 32px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 22px;
}
.testimonial-card p {
  color: var(--primary);
  font-size: 17px;
  margin-bottom: 0;
}
.testimonial-card span {
  color: var(--secondary);
  font-size: 15px;
  margin-left: 6px;
  font-style: italic;
}

/* --- FOOTER --- */
footer {
  background: var(--primary);
  color: var(--text-light);
  margin-top: 58px;
  padding: 38px 0 12px 0;
  border-radius: var(--border-radius) var(--border-radius) 0 0;
  box-shadow: 0 -1px 8px 0 rgba(28,35,49,0.04);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: center;
  margin-bottom: 17px;
}
.footer-nav a {
  color: var(--accent);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s;
  letter-spacing: 0.01em;
}
.footer-nav a:hover {
  color: #fff;
  text-decoration: underline;
}
.footer-info {
  font-size: 15px;
  color: #dde2ea;
  text-align: center;
  line-height: 1.8;
}
.footer-info span{
  color: white;
}
@media (max-width: 600px) {
  .footer-nav {
    flex-direction: column;
    gap: 8px;
  }
}

/* --- TYPOGRAPHY --- */
h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 48px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 32px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 12px;
}
h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 6px;
}
h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--primary);
}
p, li, span, ul, ol, label {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  color: var(--text-base);
}
strong {
  color: var(--primary);
  font-weight: 700;
}
em {
  color: var(--secondary);
}

/* --- BUTTON STYLES --- */
button, .button, .cta-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  transition: background 0.25s, color 0.2s, box-shadow 0.16s, transform 0.13s;
  border: none;
 outline: none;
}
.button, .cta-btn {
  padding: 12px 28px;
  background: linear-gradient(90deg, var(--accent) 85%, var(--secondary) 100%);
  color: var(--primary);
  border-radius: 32px;
  font-size: 16px;
  box-shadow: var(--shadow-md);
  margin-top: 10px;
}
.button:hover, .button:focus, .cta-btn:hover, .cta-btn:focus {
  color: var(--secondary);
  background: linear-gradient(90deg, var(--accent) 65%, var(--secondary) 100%);
  transform: translateY(-2px) scale(1.04);
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: linear-gradient(90deg, #F5DF34 90%, #52697C 100%);
  color: var(--primary);
  padding: 22px 18px;
  border-radius: 18px 18px 0 0;
  box-shadow: 0 -4px 24px 0 rgba(82,105,124,0.11);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 4000;
  opacity: 1;
  animation: cookie-slidein 0.7s cubic-bezier(.28,1.8,.56,.82);
}
@keyframes cookie-slidein {
  from {transform: translateY(120%); opacity: 0;}
  to {transform: translateY(0); opacity: 1;}
}
.cookie-banner-content {
  font-size: 16px;
  margin-bottom: 18px;
  text-align: center;
  color: var(--primary);
}
.cookie-banner-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 15px;
  padding: 10px 18px;
  border-radius: 18px;
  font-weight: 600;
  background: var(--primary);
  color: var(--accent);
  margin-top: 0;
  box-shadow: none;
  transition: background 0.17s, color 0.17s;
}
.cookie-banner button.accept {
  background: var(--accent);
  color: var(--primary);
}
.cookie-banner button.accept:hover {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 0 8px var(--accent);
}
.cookie-banner button.reject {
  background: #e0e2e5;
  color: var(--secondary);
}
.cookie-banner button.reject:hover {
  background: #fffbe3;
}
.cookie-banner button.settings {
  background: var(--secondary);
  color: #fff;
}
.cookie-banner button.settings:hover {
  background: var(--primary);
  color: var(--accent);
}

/* --- COOKIE MODAL --- */
.cookie-modal {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(28,35,49,0.30);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 4010;
  opacity: 1;
  pointer-events: auto;
  animation: fadein 0.3s cubic-bezier(.28,1.8,.56,.82);
}
@keyframes fadein {
  from {opacity: 0;}
  to {opacity: 1;}
}
.cookie-modal-content {
  background: var(--card-bg);
  border-radius: 20px;
  max-width: 420px;
  padding: 34px 28px 18px 28px;
  box-shadow: var(--shadow-lg);
  color: var(--primary);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
.cookie-modal-content h3 {
  font-size: 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 8px;
}
.cookie-modal-content .cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.cookie-modal-content label {
  font-size: 15px;
  color: var(--secondary);
}
.cookie-modal-content .switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 26px;
}
.cookie-modal-content .switch input {
  opacity: 0;
  width: 0; height: 0;
}
.cookie-modal-content .slider {
  position: absolute;
  cursor: pointer;
  background: #ededf7;
  border-radius: 18px;
  top: 0; left: 0; right: 0; bottom: 0;
  transition: background 0.2s;
}
.cookie-modal-content .switch input:checked + .slider {
  background: var(--accent);
}
.cookie-modal-content .slider:before {
  content: '';
  position: absolute;
  left: 4px;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.21s;
}
.cookie-modal-content .switch input:checked + .slider:before {
  transform: translateX(16px);
}
.cookie-modal-buttons {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 10px;
}
.cookie-modal-close {
  position: absolute;
  top: 14px; right: 16px;
  background: none;
  color: var(--secondary);
  border: none;
  font-size: 26px;
  cursor: pointer;
  transition: color 0.15s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: var(--accent);
}

@media (max-width: 600px) {
  .cookie-modal-content {
    max-width: 90vw;
    padding: 26px 10px 10px 10px;
  }
}

/* --- RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 900px) {
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  .footer-info {
    font-size: 14px;
  }
  .card, .section {
    padding: 18px 5px;
  }
}
@media (max-width: 700px) {
  .hero, .section, .about, .services, .testimonials, .contact {
    padding: 16px 0 !important;
    border-radius: 12px;
  }
  .hero .container, .content-wrapper {
    padding: 0;
  }
  .feature-grid {
    gap: 8px;
  }
  nav, .footer-nav {
    gap: 10px;
  }
}
@media (max-width: 600px) {
  h1 {
    font-size: 28px;
  }
  h2 {
    font-size: 22px;
  }
  h3 {
    font-size: 16px;
  }
  .contact-info {
    font-size: 14px;
  }
}

/* --- SCROLLBAR & SELECTION --- */
::selection {
  background: var(--accent);
  color: var(--primary);
}
::-webkit-scrollbar {
  width: 8px;
  background: #f3f3f3;
}
::-webkit-scrollbar-thumb {
  border-radius: 4px;
  background: #e2e2e9;
}

/* --- ANIMATIONS AND MICRO-INTERACTIONS --- */
.card, .feature-grid > div, .testimonial-card, .button, .cta-btn {
  transition: box-shadow 0.26s, transform 0.16s, background 0.26s, color 0.16s;
}
.card:active, .feature-grid > div:active {
  transform: translateY(1.5px) scale(0.99);
  box-shadow: var(--shadow-md);
}

a, .cta-btn, button {
  outline: none;
}

/* --- ACCESSIBILITY FOCUS VISIBLE --- */
a:focus, .cta-btn:focus, button:focus, .mobile-menu-close:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* --- SECTION SPACING --- */
.features, .about, .services, .testimonials, .contact {
  margin-bottom: 60px;
}

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