/* =============================================================
   CSS Reset & Normalize
   ============================================================= */
html {
  box-sizing: border-box;
  font-size: 16px;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #F5F5F5;
  color: #222;
  line-height: 1.6;
  min-height: 100vh;
  font-size: 1rem;
}
img, svg {
  vertical-align: middle;
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  padding-left: 24px;
  margin-bottom: 18px;
}
button, input, select, textarea {
  font-family: inherit;
}
:focus {
  outline: 2px solid #E7AD30;
  outline-offset: 2px;
}

/* =============================================================
   Brand Colors & Creative Artistic Palette
   ============================================================= */
:root {
  --color-primary: #1E3A5F;
  --color-secondary: #F5F5F5;
  --color-accent: #E7AD30;
  --color-light: #fff;
  --color-dark: #10182c;
  --color-creative-pink: #EC407A;
  --color-creative-blue: #42A5F5;
  --color-creative-purple: #8E24AA;
  --color-creative-turquoise: #26C6DA;
  --color-creative-green: #4CAF50;
  --shadow-base: 0 3px 16px 0 rgba(30,58,95,0.05);
  --radius: 16px;
}

/* Artistic Font Import */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&family=Roboto:wght@400;500;700&display=swap');

/* =============================================================
   Typography (Headings, Paragraph, Links)
   Artistic and Modern
   ============================================================= */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--color-primary);
  margin-bottom: 16px;
  letter-spacing: 0.03em;
}
h1 {
  font-size: 2.375rem;
  font-weight: 900;
  line-height: 1.13;
  color: var(--color-creative-pink);
  text-shadow: 2px 3px 0 var(--color-accent);
  margin-bottom: 20px;
}
h2 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-creative-blue);
  margin-bottom: 18px;
}
h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-creative-purple);
  margin-bottom: 14px;
}
h4,h5,h6 {
  font-size: 1.125rem;
  font-weight: 600;
}
p, li {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 12px;
  color: #2d2d2d;
}
strong {
  color: var(--color-primary);
  font-weight: 700;
}
a {
  color: var(--color-creative-pink);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: var(--color-creative-blue);
}

/* Artistic Decoration: Underline links in blog, etc. */
.blog-list-section a,
.text-section a {
  text-decoration: underline dotted var(--color-creative-pink);
  font-weight: 500;
}

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

/* Section Spacing / Artistic Section BG */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow-base);
  position: relative;
  overflow: visible;
}
section:nth-of-type(even) {
  background: #F9F7FD;
}

/* Artistic Collages in Sections (SVG or BG Illustrations) */
section::before {
  content: '';
  display: block;
  position: absolute;
  top: -24px; left: -24px;
  width: 100px; height: 60px;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(circle at 20px 20px, var(--color-creative-pink) 40%, transparent 90%);
  opacity: 0.18;
}
section:nth-of-type(even)::before {
  background: radial-gradient(ellipse at 30px 28px, var(--color-creative-turquoise) 60%, transparent 80%);
}
section::after {
  content: '';
  display: block;
  position: absolute;
  bottom: -16px; right: -28px;
  width: 60px; height: 60px;
  background: radial-gradient(circle at 30px 30px, var(--color-creative-blue) 35%, transparent 80%);
  opacity: 0.14;
  pointer-events: none;
  z-index: 0;
}
section > .container, section > .container > .content-wrapper {
  position: relative;
  z-index: 1;
}

/* Spacing & Flex Patterns [MANDATORY CLASSES] */
.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; border-radius: var(--radius); box-shadow: var(--shadow-base); background: var(--color-secondary); }
.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: #fff; border-radius: var(--radius); box-shadow: 0 2px 12px 0 rgba(30,58,95,0.08); transition: transform 0.2s, box-shadow 0.2s; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; margin-bottom: 20px; }

/* Main NavBar & Artistic Header */
header {
  background: var(--color-light);
  box-shadow: 0 4px 22px 0 rgba(30,58,95,0.05);
  padding: 0 0;
  z-index: 30;
  position: relative;
  min-height: 72px;
}
.logo {
  display: flex;
  align-items: center;
  padding: 12px 0 12px 6px;
  color: var(--color-primary);
}
.logo img {
  max-height: 52px;
  filter: drop-shadow(2px 3px 0 var(--color-accent));
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
}
.main-nav a {
  padding: 0.5em 0.8em;
  border-radius: 6px;
  color: var(--color-primary);
  transition: background 0.15s, color 0.2s;
}
.main-nav a:hover, .main-nav a:active {
  background: var(--color-accent);
  color: #fff;
}

/* CTA Button (Primary) */
.cta-primary {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.125rem;
  font-weight: 800;
  background: linear-gradient(90deg, var(--color-accent), var(--color-creative-pink));
  color: #fff;
  padding: 14px 36px;
  border: none;
  border-radius: 48px;
  margin-left: 24px;
  transition: background 0.25s, box-shadow 0.25s, transform 0.22s;
  box-shadow: 0 4px 22px 0 rgba(236,64,122,0.12);
  cursor: pointer;
  letter-spacing: 0.04em;
  position: relative;
  z-index: 1;
}
.cta-primary:hover, .cta-primary:focus {
  background: linear-gradient(90deg, var(--color-creative-blue), var(--color-accent));
  color: #fff;
  box-shadow: 0 7px 32px 0 rgba(66,165,245,0.2);
  transform: translateY(-2px) scale(1.03);
}

/* ===============
   Mobile Menu
   =============== */
.mobile-menu-toggle {
  display: none;
  font-size: 2.1rem;
  border: none;
  background: none;
  color: var(--color-creative-pink);
  padding: 9px 20px;
  cursor: pointer;
  z-index: 999;
  border-radius: 10px;
  transition: background 0.18s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--color-accent);
  color: #fff;
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(30,58,95,0.96);
  z-index: 3000;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 0.4s cubic-bezier(.4,1.3,.8,1), opacity 0.4s;
  transform: translateX(-100%);
  opacity: 0;
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0%);
  opacity: 1;
}
.mobile-menu-close {
  font-size: 2rem;
  background: none;
  border: none;
  color: #fff;
  padding: 22px 24px;
  cursor: pointer;
  align-self: flex-end;
  transition: color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--color-accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100vw;
  align-items: flex-start;
  margin-top: 38px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.45rem;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 12px 36px;
  border-radius: 11px;
  transition: background 0.17s, color 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-accent);
  color: var(--color-dark);
}

@media (max-width: 1100px) {
  .main-nav {
    gap: 14px;
    font-size: 0.97rem;
  }
  .cta-primary {
    margin-left: 12px;
    font-size: 1rem;
    padding: 10px 24px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
  header {
    padding-bottom: 12px;
  }
}

/* ==========
   HERO Artistic Effects
   ========== */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  background: none;
}
.text-section h1, .text-section h2 {
  margin-bottom: 8px;
}
.text-section p {
  margin-bottom: 7px;
  font-size: 1.1125rem;
}

/* =============
   Cards & Grid/Teasers
   ============= */
.card, .feature-grid > div, .team-section ul li, .project-teasers > div, .post-teasers > div {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-base);
  padding: 24px 22px;
  transition: box-shadow 0.25s, transform 0.18s;
  margin-bottom: 20px;
  min-width: 230px;
}
.card:hover, .feature-grid > div:hover, .project-teasers > div:hover, .post-teasers > div:hover {
  box-shadow: 0 6px 22px 0 rgba(236,64,122,0.18);
  transform: translateY(-7px) scale(1.035) rotate(-0.5deg);
}
.card h3, .feature-grid h3, .post-teasers h3 {
  color: var(--color-creative-purple);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
}

.feature-grid, .post-teasers, .project-teasers {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 18px;
}
.feature-grid > div, .post-teasers > div, .project-teasers > div {
  flex: 1 1 280px;
  min-width: 220px;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Artistic Icon Circle for Features/Projects */
.feature-grid img, .project-teasers img, .post-teasers img {
  width: 54px; height: 54px;
  margin-bottom: 10px;
  background: var(--color-creative-turquoise);
  padding: 8px;
  border-radius: 50%;
  box-shadow: 0 1px 10px 0 rgba(66,165,245,0.08);
}

/* Testimonials Artistic Cards */
.testimonial-card {
  border: 2px solid var(--color-creative-pink);
  background: #fff;
  color: var(--color-dark);
  align-items: flex-start;
  font-style: italic;
  position: relative;
}
.testimonial-card::before {
  content: '“';
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--color-accent);
  font-size: 3.6rem;
  line-height: 1;
  margin-right: 12px;
  opacity: 0.25;
  position: absolute;
  top: 6px;
  left: 18px;
  z-index: 1;
}
.testimonial-card p {
  font-size: 1.13rem;
  z-index: 2;
  margin-bottom: 0;
  font-style: normal;
  color: #141414;
}
.testimonial-card span {
  font-size: 1rem;
  color: var(--color-creative-blue);
  font-weight: 700;
  margin-left: 20px;
  z-index: 2;
}
.testimonial-card:hover, .testimonial-card:focus {
  box-shadow: 0 8px 30px 0 rgba(66,165,245,0.17);
  border-color: var(--color-accent);
  transform: scale(1.03) rotate(-0.4deg);
}

/* Responsive Flex for Testimonials/Testimonial Sliders */
.testimonials-slider, .testimonials-section {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
  align-items: flex-start;
}

/* Artistic Star Ratings */
.rating-overview {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 10px 0 0 0;
}
.rating-overview img {
  width: 28px;
  height: 28px;
}

/* Team Section & Contact Info */
.team-section, .contact-info, .contact-section, .newsletter-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: none;
}
.contact-info p, .footer-contact p, .contact-section ul li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 7px;
  font-size: 1.07rem;
}
.contact-info img, .footer-contact img, .contact-section img {
  width: 26px;
  height: 26px;
  opacity: 0.82;
}
.contact-section ul, .newsletter-section ul {
  margin-bottom: 0;
}
.contact-section ul li {
  margin-bottom: 9px;
}

/* Newsletter section Artistic Effect */
.newsletter-section {
  background: #fffbe9;
  border: 2px dashed var(--color-accent);
  padding: 32px 26px;
  border-radius: var(--radius);
}

/* Blog Section / Artistic Headers */
.blog-list-section {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* Legal Section Styles */
.legal-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: none;
}

/* ===========================
   Footer Styles
   =========================== */
footer {
  background: var(--color-primary);
  color: #fff;
  padding: 40px 0 18px 0;
  margin-top: 60px;
}
.footer-nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.footer-nav a {
  color: var(--color-accent);
  font-weight: 700;
  font-size: 1.02rem;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #fff;
  text-decoration: underline;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 1rem;
}
.footer-contact img {
  width: 22px;
  height: 22px;
  margin-right: 10px;
}
footer p {
  color: #f4f4f4;
  font-size: 0.97rem;
}

/* ===========================
   Cookie Consent Banner
   =========================== */
.cookie-banner {
  display: flex;
  align-items: center;
  gap: 32px;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 5000;
  background: #fff;
  border-top: 4px solid var(--color-accent);
  box-shadow: 0 -3px 24px 0 rgba(30,58,95,0.08);
  padding: 26px 14px 20px 30px;
  font-size: 1rem;
  color: var(--color-primary);
  animation: cookieSlideIn 0.7s cubic-bezier(.6,-0.05,.4,1.2);
  width: 100vw;
}
@keyframes cookieSlideIn {
  0% { transform: translateY(110%); opacity: 0.08; }
  98% { opacity: 1; }
  100% { transform: translateY(0%); opacity: 1; }
}
.cookie-banner p {
  margin-bottom: 0;
  flex: 1 1 auto;
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-direction: row;
  gap: 18px;
}
.cookie-btn, .cookie-settings-btn {
  background: var(--color-accent);
  color: var(--color-primary);
  border: none;
  border-radius: 22px;
  padding: 10px 23px;
  margin: 0;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.23s, color 0.18s, box-shadow 0.16s;
  box-shadow: 0 1px 8px 0 rgba(231,173,48,0.08);
}
.cookie-btn:hover, .cookie-btn:focus, .cookie-settings-btn:hover {
  background: var(--color-creative-blue);
  color: #fff;
  box-shadow: 0 1px 12px 0 rgba(66,165,245,0.09);
}
.cookie-btn.reject {
  background: #eee;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}
.cookie-btn.reject:hover {
  background: var(--color-creative-pink);
  color: #fff;
}

/* Cookie Preferences Modal */
.cookie-modal {
  display: none;
  position: fixed;
  left: 0; top: 0; width:100vw; height:100vh;
  z-index: 5050;
  background: rgba(30,58,95,0.8);
  align-items: center;
  justify-content: center;
  animation: cookieModalIn 0.3s cubic-bezier(.64,-0.42,1,1.22);
}
.cookie-modal.open {
  display: flex;
}
.cookie-modal-dialog {
  background: #fff;
  border-radius: 26px;
  box-shadow: 0 8px 40px 0 rgba(30,58,95,0.18);
  width: 90vw;
  max-width: 370px;
  padding: 40px 34px 32px 34px;
  display: flex;
  flex-direction: column;
  gap: 17px;
  animation: modalPopup 0.43s cubic-bezier(.5,1.5,.4,1.3);
}
@keyframes modalPopup {
  0% { transform: translateY(90px) scale(0.96); opacity: 0.08; }
  90% { opacity: 1; }
  100% { transform: translateY(0px) scale(1); opacity: 1; }
}
.cookie-modal-dialog h2 {
  color: var(--color-creative-blue);
  font-size: 1.18rem;
  margin-bottom: 10px;
}
.cookie-modal-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 15px;
  margin-bottom: 12px;
}
.cookie-checkbox {
  margin-right: 8px;
  width: 22px; height: 22px;
}
.cookie-required {
  color: var(--color-accent);
  font-weight: 600;
  font-size: 1rem;
}
.cookie-modal-dialog .modal-btns {
  display: flex;
  gap: 13px;
  margin-top: 10px;
}
.cookie-modal-close {
  position: absolute;
  top: 18px; right: 36px;
  font-size: 1.44rem;
  background: none;
  border: none;
  color: var(--color-creative-blue);
  cursor: pointer;
}

@media (max-width:600px) {
  .cookie-banner { flex-direction: column; gap: 12px; padding: 21px 6px 17px 8px; font-size: 0.98rem; }
  .cookie-modal-dialog { padding: 23px 9px 23px 12px; }
}

/* =============
   Utility, Micro-interactions
   ============= */
.transition {
  transition: all 0.19s cubic-bezier(.6,1.3,.8,1);
}
::-webkit-scrollbar {
  width: 9px;
  background: #e6e6f6;
}
::-webkit-scrollbar-thumb {
  background: var(--color-creative-pink);
  border-radius: 20px;
}

/* =============
   Responsive Layouts
   ============= */
@media (max-width: 900px) {
  .feature-grid, .post-teasers, .project-teasers, .testimonials-slider, .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  .content-wrapper { gap: 18px; }
  .main-nav { display: none; }
}
@media (max-width: 768px) {
  .content-wrapper, .section, section { padding: 26px 7px; }
  .feature-grid > div, .post-teasers > div, .project-teasers > div {
    min-width: 85vw;
    max-width: 98vw;
    padding: 18px 10px;
  }
  .testimonials-slider, .testimonials-section, .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .text-image-section { flex-direction: column; gap: 18px; }
  .team-section, .contact-info, .contact-section, .newsletter-section { gap: 8px; }
  header, footer { padding: 0 0; }
  .footer-contact { gap: 6px; font-size: 0.98rem; }
  .footer-nav { gap: 8px; margin-bottom: 11px; }
  .container { padding: 0 4px; }
}

@media (max-width: 520px) {
  header { min-height: 56px; }
  .cta-primary { font-size: 1rem; padding: 10px 13px; margin-left: 0; }
  h1 { font-size: 1.4rem; }
  h2 { font-size: 1.15rem; }
  .card, .feature-grid > div, .post-teasers > div, .project-teasers > div { padding: 11px 3px; }
}

/* ==============
   Accessibility
   ============== */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

/* =======
   Misc
   ======= */
ol, ul {
  margin-top: 0;
  margin-bottom: 18px;
}
ul li, ol li {
  margin-bottom: 4px;
}

/* Trust signs, badges, certificate icons */
.trust-signs {
  display: flex;
  gap: 13px;
  align-items: center;
}
.trust-signs img {
  width: 35px; height: 35px;
  border-radius: 50%;
  background: var(--color-secondary);
  box-shadow: 0 2px 6px 0 rgba(66,165,245,0.08);
  padding: 6px;
}

/* Animations for cards */
.card, .testimonial-card, .feature-grid > div, .post-teasers > div, .project-teasers > div {
  transition: box-shadow 0.25s, transform 0.18s;
}
.card:hover, .testimonial-card:hover, .feature-grid > div:hover, .post-teasers > div:hover, .project-teasers > div:hover {
  box-shadow: 0 8px 32px 0 rgba(236,64,122,0.20);
  transform: scale(1.025) rotate(-0.5deg);
}

/* Map Placeholder Styling */
.map {
  margin-top: 13px;
  padding: 12px 14px;
  background: var(--color-creative-turquoise);
  border-radius: 11px;
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  box-shadow: 0 2px 10px 0 rgba(38,198,218,0.08);
}

/* Hide elements visually (for accessibility or menu triggers) */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}
