/* --- RESET & NORMALIZE --- */
html {
  box-sizing: border-box;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}
body {
  min-height: 100vh;
  background: #F8FAFE;
  color: #2D3142;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
ul,ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  color: #14376D;
  line-height: 1.15;
  margin-bottom: 20px;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.25rem; margin-bottom: 12px; font-weight: 700; }
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 16px;
}

/* --- BRAND COLORS --- */
:root {
  --primary: #14376D;
  --secondary: #F5B942;
  --accent: #E9EFF8;
  --pastel-pink: #F7E5EE;
  --pastel-lilac: #E9E7FA;
  --pastel-green: #D8F2EB;
  --pastel-yellow: #FFF7CC;
  --pastel-blue: #E9EFF8;
  --danger: #F67280;
  --grey-900: #2D3142;
  --grey-300: #D1DCE5;
  --white: #fff;
}

/* --- LAYOUT PATTERNS (Flex ONLY) --- */
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.feature-grid, .features .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.feature {
  background: var(--pastel-blue);
  border-radius: 22px;
  padding: 32px 20px 28px 20px;
  flex: 1 1 260px;
  min-width: 240px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  box-shadow: 0 6px 24px 0 rgba(34,41,61,0.06);
  transition: box-shadow 0.22s;
}
.feature:hover {
  box-shadow: 0 10px 32px rgba(34,41,61,0.13);
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--white);
  border-radius: 20px;
  margin-bottom: 20px;
  box-shadow: 0 4px 18px 0 rgba(34,41,61,0.09);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 210px;
}
.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 .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.testimonial-card {
  background: var(--white);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 32px;
  box-shadow: 0 3px 15px rgba(34,41,61,0.08);
  margin-bottom: 20px;
  min-width: 260px;
  color: var(--grey-900);
}
.stars {
  display: flex;
  align-items: center;
  gap: 6px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

/* --- HEADER & NAVIGATION --- */
header {
  background: var(--pastel-blue);
  position: relative;
  z-index: 100;
  box-shadow: 0 3px 10px 0 rgba(34,41,61,0.03);
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  padding: 22px 0 14px 0;
  justify-content: flex-start;
}
.main-nav > a {
  padding: 8px 16px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 14px;
  color: var(--primary);
  transition: background 0.17s, color 0.17s;
}
.main-nav > a.btn-primary {
  background: var(--secondary);
  color: var(--grey-900);
  margin-left: 18px;
  font-weight: 800;
  letter-spacing: 0.01em;
  box-shadow: 0 4px 18px 0 rgba(245,185,66,0.12);
  border-radius: 16px;
  padding: 10px 26px;
  transition: box-shadow 0.17s, background 0.15s;
}
.main-nav > a.btn-primary:hover, .btn-primary:hover {
  background: #ffe59b;
  box-shadow:0 7px 23px 0 rgba(245,185,66,0.17);
  color: #14376D;
}
.main-nav > a:hover:not(.btn-primary) {
  background: var(--pastel-yellow);
  color: var(--primary);
}
.main-nav img {
  height: 44px;
  width: auto;
  margin-right: 18px;
}

/* Mobile hamburger & mobile menu */
.mobile-menu-toggle {
  position: absolute;
  right: 28px;
  top: 16px;
  display: none;
  background: var(--white);
  color: var(--primary);
  border: none;
  border-radius: 12px;
  font-size: 2.1rem;
  padding: 5px 14px;
  box-shadow: 0 5px 22px 0 rgba(20,55,109,0.09);
  z-index: 200;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, box-shadow 0.18s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--secondary);
  color: var(--grey-900);
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(233,239,248,0.99);
  z-index: 9999;
  transform: translateX(-100vw);
  transition: transform 0.36s cubic-bezier(0.77,0.2,0.05,1.0);
  display: flex;
  flex-direction: column;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 16px 24px 0 0;
  background: var(--secondary);
  color: var(--primary);
  border: none;
  border-radius: 50%;
  font-size: 1.75rem;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.17s, color 0.17s;
}
.mobile-menu-close:hover {
  background: var(--primary);
  color: var(--white);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  align-items: flex-start;
  margin-top: 45px;
  padding-left: 48px;
}
.mobile-nav a {
  font-size: 1.22rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--primary);
  padding: 9px 3px;
  border-radius: 10px;
  font-weight: 600;
  width: 100%;
  transition: background 0.17s, color 0.17s;
}
.mobile-nav a:hover {
  background: var(--pastel-yellow);
  color: var(--secondary);
}

@media (max-width: 1024px) {
  .main-nav {
    gap: 7px;
  }
  .main-nav img {
    height: 38px;
  }
}

@media (max-width: 900px) {
  .main-nav > a:not(:first-child) {
    font-size: 0.98rem;
    padding: 8px 10px;
  }
}
@media (max-width: 850px) {
  .main-nav > a:not(:first-child) {
    display: none;
  }
  .main-nav > a.btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}


/* --- BUTTONS --- */
.btn-primary {
  background: var(--secondary);
  color: var(--grey-900);
  border: none;
  border-radius: 16px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 1.11rem;
  padding: 12px 34px;
  margin-top: 10px;
  letter-spacing: 0.01em;
  transition: background 0.22s, color 0.19s, box-shadow 0.22s;
  box-shadow: 0 4px 18px rgba(245,185,66,0.16);
  cursor: pointer;
  outline: none;
  display: inline-block;
}
.btn-primary:focus, .btn-primary:active {
  outline: 2px solid var(--primary);
  box-shadow: 0 5px 24px rgba(245,185,66,0.26);
}

/* --- HERO, SECTION & LAYOUT --- */
.hero, .about-hero, .tech-hero, .development-hero, .workshop-hero, .expert-hero, .thank-you-section, .legal-section, .contact-section, .cta {
  background: linear-gradient(135deg, var(--pastel-pink) 0%, var(--pastel-blue) 79%);
  border-radius: 0 0 60px 60px;
  box-shadow: 0 10px 50px rgba(233,239,248,0.21);
  padding: 52px 0 48px 0;
}
.hero h1, .about-hero h1, .tech-hero h1, .development-hero h1, .workshop-hero h1, .expert-hero h1, .thank-you-section h1, .contact-section h1, .legal-section h1 {
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  font-size: 2.3rem;
  margin-bottom: 14px;
}
.cta {
  background: linear-gradient(114deg, var(--pastel-yellow) 5%, var(--pastel-lilac) 65%, var(--pastel-blue) 100%);
  border-radius: 40px;
  margin: 40px 0 0 0;
}
.cta h2 {
  color: var(--primary);
  font-size: 2rem;
  font-weight: 800;
}

/* --- BLOG/ARTICLE --- */
.blog .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.blog article {
  background: var(--pastel-green);
  border-radius: 18px;
  box-shadow: 0 2px 9px rgba(85,136,201,0.07);
  padding: 30px 20px;
}
.blog article h3 { color: var(--primary); font-size: 1.19rem; font-weight: 700; margin-bottom: 7px; }

/* --- CONTACT, TEAM, LEGAL, THANK-YOU --- */
ul.contact-info {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin: 24px 0 0 0;
}
ul.contact-info li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
}
ul.contact-info img {
  height: 22px;
  width: 22px;
}
.team .content-wrapper ul {
  padding-left: 15px;
  margin-top: 5px;
}
.team .content-wrapper li {
  margin-bottom: 12px;
}
.legal-section .content-wrapper ul {
  margin: 10px 0 10px 25px;
  list-style: disc;
}
.legal-section .content-wrapper li {
  margin-bottom: 7px;
}

/* --- SERVICES COMMON --- */
.services .content-wrapper ul {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 16px;
}
.services .content-wrapper li {
  background: var(--pastel-yellow);
  border-radius: 13px;
  padding: 16px 16px 15px 22px;
  font-size: 1rem;
}

/* --- FOOTER --- */
footer {
  background: var(--pastel-lilac);
  border-radius: 40px 40px 0 0;
  padding: 40px 0 27px 0;
  margin-top: 52px;
}
.footer-nav {
  display: flex;
  gap: 22px;
  justify-content: center;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 7px 10px;
  border-radius: 10px;
  background: transparent;
  transition: background 0.17s;
}
.footer-nav a:hover {
  background: var(--pastel-yellow);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  color: var(--grey-900);
  margin-top: 6px;
  font-size: 0.98rem;
  text-align: center;
}
.footer-contact img {
  height: 19px;
  width: 19px;
  margin-right: 9px;
  vertical-align: middle;
}


/* --- TESTIMONIALS --- */
.testimonials {
  background: var(--pastel-green);
  border-radius: 32px;
  margin: 45px 0 0 0;
  padding: 32px 0;
}
.testimonial-card p {
  color: var(--grey-900);
  font-size: 1.07rem;
  font-style: italic;
  margin-bottom: 1px;
}
.testimonial-card strong {
  color: var(--primary);
  font-size: 1.03rem;
  font-weight: 700;
  margin-top: 2px;
}


/* --- SPACING & UTILITY --- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- TYPOGRAPHY SCALE --- */
.text-section h1 { font-size: 2.3rem; }
.text-section h2 { font-size: 2rem; }
.text-section h3 { font-size: 1.27rem; }
.text-section p, .text-section li { font-size: 1.08rem; }

/* --- SCROLLBAR --- */
body {
  scrollbar-width: thin;
  scrollbar-color: var(--pastel-blue) var(--white);
}
::-webkit-scrollbar {
  height: 9px;
  width: 9px;
  background: var(--white);
}
::-webkit-scrollbar-thumb {
  background: var(--pastel-blue);
  border-radius: 99px;
}

/* --- MICRO-INTERACTIONS & HOVER --- */
.btn-primary, .main-nav > a.btn-primary, .mobile-menu-close {
  transition: background 0.17s, color 0.17s, box-shadow 0.19s, transform 0.16s;
}
.btn-primary:active {
  transform: scale(0.96);
}
.card, .feature, .testimonial-card, .blog article {
  transition: box-shadow 0.16s, transform 0.12s;
}
.card:hover, .feature:hover, .testimonial-card:hover, .blog article:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 8px 36px 0 rgba(34,41,61,0.11); 
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1100px) {
  .feature-grid {
    gap: 14px;
  }
}
@media (max-width: 900px) {
  .feature-grid {
    flex-direction: column;
    gap: 22px;
  }
  .features .content-wrapper {
    flex-direction: column;
    gap: 22px;
  }
  .testimonials .content-wrapper {
    flex-direction: column;
    gap: 16px;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 9px;
  }
  .section {
    padding: 22px 7px;
    margin-bottom: 34px;
  }
  .feature {
    padding: 20px 13px 18px 13px;
    min-width: 0;
    border-radius: 14px;
  }
  .features, .testimonials {
    border-radius: 18px;
    padding: 17px 0;
    margin-top: 12px;
  }
  .card {
    min-width: 0;
    border-radius: 12px;
    padding: 10px 6px;
  }
  .content-wrapper, .features .content-wrapper, .testimonials .content-wrapper {
    gap: 14px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .blog article {
    padding: 17px 9px;
  }
  .cta {
    margin: 24px 0 0 0;
    border-radius: 24px;
    padding: 24px 5px;
  }
  .footer-contact {
    font-size: 0.93rem;
  }
}
@media (max-width: 650px) {
  .footer-nav {
    flex-direction: column;
    gap: 9px;
  }
}
@media (max-width: 530px) {
  h1 { font-size: 1.38rem; }
  h2 { font-size: 1.12rem; }
  .text-section h1 { font-size: 1.32rem; }
  .text-section h2 { font-size: 1.02rem; }
  .hero, .about-hero, .tech-hero, .development-hero, .workshop-hero, .expert-hero, .thank-you-section, .legal-section, .contact-section, .cta {
    padding: 19px 0 8px 0;
    border-radius: 11px;
  }
  .footer-contact {
    font-size: 0.82rem;
  }
}


/* --- COOKIE BANNER AND MODAL --- */
.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) translateY(80px);
  background: var(--white);
  box-shadow: 0 4px 32px rgba(34,41,61,0.16);
  border-radius: 18px;
  padding: 23px 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 17px;
  z-index: 99999;
  opacity: 0;
  transition: opacity 0.34s, transform 0.37s cubic-bezier(0.4,0.3,0.3,1.15);
  min-width: 292px;
  max-width: 95vw;
}
.cookie-banner.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.cookie-banner p {
  font-size: 1rem;
  color: var(--grey-900);
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  border: none;
  border-radius: 11px;
  padding: 9px 22px;
  font-size: 1rem;
  cursor: pointer;
  font-weight: 700;
  background: var(--secondary);
  color: var(--grey-900);
  box-shadow: 0 2px 8px rgba(245,185,66,0.13);
  transition: background 0.16s, color 0.13s, box-shadow 0.21s;
}
.cookie-banner button:focus { outline:2px solid var(--primary); }
.cookie-banner .cookie-settings-btn { background: var(--primary); color: var(--white); }
.cookie-banner .cookie-settings-btn:hover { background: #27488c; }
.cookie-banner .cookie-reject-btn {
  background: var(--danger);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(246,114,128,0.14);
}
.cookie-banner .cookie-reject-btn:hover { background: #e55a6d; }
.cookie-banner .cookie-accept-btn:hover { background: #ffe59b; }

@media (max-width: 490px) {
  .cookie-banner { padding: 16px 6px; min-width: 0; }
  .cookie-banner .cookie-buttons { flex-direction: column; gap: 9px; }
}

.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  width: 98vw;
  max-width: 380px;
  transform: translate(-50%, -54%) scale(0.96);
  background: var(--white);
  border-radius: 22px;
  box-shadow: 0 8px 48px 0 rgba(34,41,61,0.22);
  padding: 32px 23px 29px 23px;
  z-index: 100000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.27s, transform 0.23s;
}
.cookie-modal.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -54%) scale(1.00);
}
.cookie-modal h2 {
  color: var(--primary);
  font-size: 1.24rem;
  margin-bottom: 17px;
}
.cookie-modal .cookie-options {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 27px;
}
.cookie-option {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.01rem;
}
.cookie-option label {
  font-family: 'Roboto', Arial, sans-serif;
}
.cookie-option input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--secondary);
}
.cookie-option .cookie-essential {
  font-weight: 600;
  color: var(--primary);
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
}
.cookie-modal button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border: none;
  border-radius: 9px;
  padding: 7px 23px;
  font-size: 1rem;
  background: var(--secondary);
  color: var(--grey-900);
  cursor: pointer;
  box-shadow: 0 2px 9px rgba(245,185,66,0.13);
  transition: background 0.16s, color 0.13s, box-shadow 0.21s;
}
.cookie-modal button.cookie-modal-close {
  background: var(--danger);
  color: var(--white);
}
.cookie-modal button.cookie-modal-close:hover {
  background: #e55a6d;
}
.cookie-modal button.cookie-modal-save {
  background: var(--primary);
  color: var(--white);
}
.cookie-modal button.cookie-modal-save:hover {
  background: #27488c;
}

/* --- ANIMATION STUBS (JS will use .visible class for animation) --- */

/* --- END OF STYLE --- */
