/* ================================== */
/*     CSS RESET & BASELINE STYLES    */
/* ================================== */
html {
  box-sizing: border-box;
  font-size: 100%;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  background: #F3F6FA;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #1784FF;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus,
a:hover {
  color: #FF3F70;
  outline: none;
}
ul, ol {
  margin-left: 18px;
  margin-bottom: 16px;
}
li {
  margin-bottom: 8px;
}
button, .cta-btn {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
}

/* ======================= */
/*  BRAND COLOR VARIABLES  */
/* ======================= */
:root {
  --primary: #20303C;
  --secondary: #6DB38A;
  --accent: #F3F6FA;
  --electric-blue: #1784FF;
  --electric-pink: #FF3F70;
  --sun-yellow: #FFC700;
  --vivid-green: #26DE81;
  --text-dark: #222;
  --text-light: #fff;
  --shadow: 0 4px 24px rgba(32,48,60,0.08), 0 1.5px 2px 0px #6DB38A22;
  --radius: 18px;
}

/* ============================== */
/*  TYPOGRAPHY – Montserrat/Roboto */
/* ============================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  color: #20303C;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.14;
}
h2 {
  font-size: 18px;
 }
h3 {
  font-size: 20px;
 }
h4 {
  font-size: 1.1rem;
}
p, ul, ol {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  margin-bottom: 14px;
}
strong {
  font-weight: 700;
}

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

.container {
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 20px;
}

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

/* ===================== */
/* HEADER               */
/* ===================== */
header {
  background: var(--primary);
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 80;
  box-shadow: 0 2px 10px rgba(32,48,60,0.08);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 18px 20px;
}
nav {
  display: flex;
  gap: 22px;
}
nav a {
  color: var(--accent);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1rem;
  letter-spacing: 0.04em;
  position: relative;
  transition: color 0.19s;
  padding-bottom: 2px;
}
nav a:after {
  content: '';
  display: block;
  height: 2px;
  width: 0;
  background: var(--electric-pink);
  transition: width 0.25s;
  margin-top: 2px;
  border-radius: 2px;
}
nav a:hover,
nav a:focus {
  color: var(--sun-yellow);
}
nav a:hover:after,
nav a:focus:after {
  width: 100%;
}
.brand-logo {
  height: 44px;
  min-width: 120px;
  margin-right: 14px;
  flex-shrink: 0;
}

.cta-btn {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 1.09rem;
  letter-spacing: 0.02em;
  background: var(--electric-pink);
  color: #fff;
  border-radius: 28px;
  padding: 12px 34px;
  margin-left: 24px;
  box-shadow: 0 4px 16px #FF3F7044;
  transition: background 0.20s, box-shadow 0.2s, transform 0.11s;
  border: none;
  position: relative;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--electric-blue);
  color: #fff;
  box-shadow: 0 2px 18px var(--electric-blue), 0 4px 16px #FF3F7099;
  transform: translateY(-2px) scale(1.04);
}

/* ===================== */
/* MOBILE BURGER MENU    */
/* ===================== */
.mobile-menu-toggle {
  display: none;
  background: var(--electric-blue);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  justify-content: center;
  align-items: center;
  padding: 0;
  border: none;
  margin-left: 6px;
  transition: background 0.17s, box-shadow 0.15s;
  z-index: 102;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--electric-pink);
  box-shadow: 0 0 6px #FF3F7060;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--primary);
  z-index: 101;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  transform: translateX(-100vw);
  transition: transform 0.36s cubic-bezier(.91,.23,.24,.92);
  box-shadow: 0 7px 40px rgba(32,48,60,0.181);
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.5rem;
  color: #fff;
  margin: 24px 32px 0 0;
  cursor: pointer;
  align-self: flex-end;
  transition: color 0.19s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: var(--electric-blue);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  margin: 56px 0 0 40px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.25rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  padding: 8px 0;
  border-radius: 10px;
  transition: background 0.18s, color 0.19s;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--electric-blue);
  color: #fff;
  padding-left: 14px;
}

@media (max-width: 1024px) {
  header .container nav {
    display: none;
  }
  .cta-btn {
    margin-left: 0;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (max-width: 1024px) {
  .cta-btn {
    display: none; /* Only show on mobile menu inside or in hero CTA*/
  }
}

@media (max-width: 1024px) {
  header .container {
    justify-content: space-between;
    gap: 0;
  }
}
@media (max-width: 768px) {
  .brand-logo {
    height: 38px;
    min-width: 80px;
  }
  header .container {
    padding: 13px 10px;
  }
}
/* ===================== */
/* FOOTER SECTION        */
/* ===================== */
footer {
  background: var(--primary);
  padding: 0;
  color: #fff;
  font-size: 16px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  padding: 48px 20px 16px 20px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-nav nav {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-nav a {
  color: #fff;
  font-size: 0.97rem;
  opacity: 0.98;
  transition: color 0.2s, opacity 0.13s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--sun-yellow);
  opacity: 1;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}
.footer-contact img {
  height:36px;
  margin-bottom: 7px;
}
.brand-footer {
  width: 100%;
  text-align: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  opacity: 0.9;
  letter-spacing: 0.01em;
  margin: 34px 0 0 0;
  color: var(--secondary);
}

/* =========================== */
/*  HERO & SECTION TYPOGRAPHY  */
/* =========================== */
main section {
  margin-bottom: 60px;
  padding: 40px 0;
}
main .container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}
.hero, .hero .content-wrapper {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.hero h1 {
  font-size: 3rem;
  color: var(--electric-blue);
  animation: pop-in 0.9s cubic-bezier(.7,-0.4,.7,1.3) 0.12s both;
}
.hero .cta-btn {
  margin-top: 12px;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }
  main section {
    padding: 26px 0 22px 0;
    margin-bottom: 40px;
  }
}

/* ========================== */
/*  FLEX SPACING PATTERNS     */
/* ========================== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 22px;
  transition: box-shadow 0.2s, transform 0.14s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 32px #1784FF11, 0 2px 0 #6DB38A33;
  transform: translateY(-2px) scale(1.025);
}

.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;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 3px 22px #6DB38A09;
  margin-bottom: 20px;
  color: #222;
  font-size: 1.12rem;
  transition: box-shadow 0.17s, background 0.21s;
}
.testimonial-card:hover {
  box-shadow: 0 5px 24px #1784FF29, 0 2px 2px #F2F5FA55;
  background: #FAFCFE;
}
.testimonial-card p {
  font-size: 1.11rem;
  color: #222;
  margin: 0 0 0 0;
}
.testimonial-card span {
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--secondary);
  font-weight: 700;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: var(--radius);
  padding: 24px 18px;
  box-shadow: var(--shadow);
  min-width: 220px;
  min-height: 240px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, transform 0.15s;
}
.feature-item:hover {
  box-shadow: 0 8px 32px #26DE8130, 0 4px 8px #6DB38A25;
  transform: translateY(-3px) scale(1.025);
}
/* Responsive tweaks for flex patterns */
@media (max-width: 900px) {
  .features-grid,.card-container,.content-grid {
    gap: 14px;
  }
  .feature-item {
    min-width: 170px;
    padding: 20px 10px;
  }
}
@media (max-width: 768px) {
  .content-grid, .card-container,.features-grid {
    flex-direction: column;
    gap: 14px;
  }
  .features-grid > .feature-item {
    width: 100%;
  }
}
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}
.projects-preview,.projects-tiles {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.project-summary, .project-tile {
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 20px 16px;
  min-width: 200px;
  min-height: 140px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, background 0.14s;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.project-summary:hover,
.project-tile:hover {
  box-shadow: 0 4px 16px #1784FF29;
  background: #FAFBFF;
}

/* Cards grid responsiveness */
@media (max-width: 860px) {
  .projects-preview, .projects-tiles { flex-direction: column; gap: 12px; }
}

.service-grid, .team-grid, .workflow-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 20px;
}
.service-item, .team-member, .workflow-step {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px 20px;
  flex: 1 1 220px;
  min-width: 185px;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.17s, transform 0.16s;
}
.service-item:hover, .team-member:hover, .workflow-step:hover {
  box-shadow: 0 7px 26px #FFC70033, 0 3px 6px #26DE8122;
  background: #FAFCEE;
  transform: translateY(-3px) scale(1.021);
}
@media (max-width: 900px) {
  .service-grid, .team-grid, .workflow-steps {
    gap: 15px;
  }
}
@media (max-width: 620px) {
  .service-grid, .team-grid, .workflow-steps {
    flex-direction: column;
    gap: 13px;
  }
}

/* Content lists inside .content-wrapper */
.content-wrapper ul {
  margin-left: 18px;
  margin-bottom: 12px;
}

/* CTA LINK STYLES */
.link-arrow {
  display: inline-flex;
  align-items: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--electric-blue);
  position: relative;
  padding-right: 24px;
  transition: color 0.18s, padding-right 0.16s;
}
.link-arrow:after {
  content: '\2192';
  margin-left: 10px;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-60%) scale(1.2);
  color: var(--electric-pink);
  font-size: 1.4em;
  opacity: 0.85;
  transition: right 0.2s, opacity 0.18s;
}
.link-arrow:hover, .link-arrow:focus {
  color: var(--electric-pink);
  padding-right: 28px;
}
.link-arrow:hover:after, .link-arrow:focus:after {
  right: -6px;
  opacity: 1;
}

/* =================== */
/*  CONTACT SECTION    */
/* =================== */
.contact-details {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 8px;
}
.contact-info {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border-radius: 11px;
  padding: 10px 16px 10px 10px;
  box-shadow: 0 1.5px 4px #1784FF18;
  min-width: 158px;
  font-size: 1rem;
  color: var(--primary);
}
.contact-info img {
  width: 32px;
  height: 32px;
}
.contact-info a {
  color: var(--electric-blue);
  text-decoration: underline;
  font-weight: 700;
}
.contact-info a:hover, .contact-info a:focus {
  color: var(--electric-pink);
}
@media (max-width: 660px) {
  .contact-details { flex-direction: column; gap: 12px; }
  .contact-info { width: 100%; padding: 10px 8px 10px 5px; }
}

/* =============== */
/*  MISCELLANEOUS  */
/* =============== */
.clients-partners ul {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 0;
}
.project-categories {
  color: var(--electric-pink);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.12rem;
  margin-bottom: 20px;
  letter-spacing: 0.03em;
}
.cta-area {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

/* ============== */
/* COOKIE BANNER  */
/* ============== */
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100vw;
  background: #20303C;
  color: #fff;
  z-index: 9850;
  box-shadow: 0 -2px 22px #20303c38;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 22px 26px;
  font-size: 1.01rem;
  animation: slide-up 0.45s cubic-bezier(.87,-0.04,.48,1.03) 0.12s both;
}
@keyframes slide-up {
  from { transform: translateY(100%);  opacity: 0; }
  to   { transform: none; opacity: 1; }
}
.cookie-consent-banner p {
  margin-bottom: 0;
  flex: 1 1 220px;
}
.cookie-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.cookie-btn,
.cookie-prefs-btn {
  background: var(--electric-pink);
  color: #fff;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 0.98rem;
  border-radius: 20px;
  padding: 7px 22px;
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.17s;
  box-shadow: 0 2px 8px #FF3F7027;
}
.cookie-btn.accept {
  background: var(--vivid-green);
  color: #222;
}
.cookie-btn.reject {
  background: var(--electric-blue);
  color: #fff;
}
.cookie-prefs-btn {
  background: var(--sun-yellow);
  color: #20303C;
}
.cookie-btn:hover, .cookie-btn:focus,
.cookie-prefs-btn:hover, .cookie-prefs-btn:focus {
  filter: brightness(1.11) saturate(1.2);
  background: var(--electric-blue);
  color: #fff;
}

/* =============== */
/* COOKIE MODAL    */
/* =============== */
.cookie-modal-overlay {
  position: fixed;
  z-index: 9900;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(32,48,60,0.49);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fade-in-modal 0.22s ease;
}
@keyframes fade-in-modal { from { opacity: 0; } to { opacity: 1; } }
.cookie-modal {
  background: #fff;
  color: #222;
  border-radius: 20px;
  box-shadow: 0 10px 60px #1784FF1a;
  padding: 36px 30px 26px 30px;
  min-width: 80vw;
  max-width: 460px;
  max-height: 80vh;
  font-size: 1rem;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: pop-in 0.33s cubic-bezier(.72,-0.44,.55,1.41) 0s both;
}
@keyframes pop-in { 0%{transform: scale(0.93) translateY(40px);opacity:0;} 100%{transform: scale(1) translateY(0);opacity:1;} }
.cookie-modal h2 {
  margin-bottom: 10px;
  color: var(--electric-blue);
  text-align: left;
  font-weight: 800;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}
.cookie-modal label {
  font-weight: 600;
  font-size: 0.98rem;
}
.cookie-modal .toggle {
  appearance: none;
  width: 38px;
  height: 20px;
  background: #ccc;
  border-radius: 10px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background 0.18s;
}
.cookie-modal .toggle:checked {
  background: var(--vivid-green);
}
.cookie-modal .toggle:disabled {
  background: #EEE;
  cursor: default;
  opacity: 0.7;
}
.cookie-modal .toggle::before {
  content: '';
  position: absolute;
  left: 3px;
  top: 2px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 2px rgba(24,36,50,0.09);
  transition: left 0.18s;
}
.cookie-modal .toggle:checked::before {
  left: 19px;
  background: var(--secondary);
}
.cookie-modal .cookie-modal-btn-row {
  display: flex;
  gap: 11px;
  margin-top: 12px;
  justify-content: flex-end;
}

/* ================ */
/*  MEDIA QUERIES   */
/* ================ */
@media (max-width: 1024px) {
  .container { max-width: 98vw; }
  footer .container { flex-direction: column; gap: 32px; }
  .footer-contact { margin-top: 0; }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.3rem; }
  .container { max-width: 98vw; padding: 0 7px; }
  .brand-footer { font-size: 0.94rem; margin-top: 18px; }
  main .container { padding: 0 7px; }
  .content-wrapper, .cta-area, .project-categories, .projects-preview, .features-grid, .projects-tiles, .team-grid { gap: 11px !important; }
}

@media (max-width: 520px) {
  .footer-contact img { height: 32px; }
  .footer-contact p { font-size: 14px; }
  .brand-footer { font-size: 0.88rem; }
}

/* ============ */
/* UTIL HELPERS */
/* ============ */
.hide {
  display: none !important;
}

/* ================ */
/* FOCUS INDICATOR  */
/* ================ */
:focus {
  outline: 2px solid var(--electric-blue) !important;
  outline-offset: 2px;
}

/* ================ */
/* INTERACTIONS     */
/* ================ */
.card,
.feature-item,
.service-item,
.team-member,
.workflow-step {
  transition: box-shadow 0.16s, border-color 0.17s, background 0.15s, transform 0.15s;
}
.card:active,
.feature-item:active {
  transform: scale(0.99);
  box-shadow: 0 0px 10px #1784FF13;
}
.cta-btn:active {
  transform: scale(0.98);
  box-shadow: 0 1px 4px #1784FF22;
}

/* =============== */
/* SCROLLBAR STYLE */
/* =============== */
body, .mobile-menu, .cookie-modal {
  scrollbar-width: thin;
  scrollbar-color: var(--electric-blue) #F3F6FA;
}
body::-webkit-scrollbar {
  width: 8px;
  background: #F3F6FA;
}
body::-webkit-scrollbar-thumb {
  background: #6DB38A;
  border-radius: 8px;
}

/* =============== */
/* VIBRANT MARKERS */
/* =============== */
mark {
  background: var(--sun-yellow);
  color: var(--primary);
  padding: 0 3px;
  border-radius: 4px;
}

/* =============== */
/* FORMATTING      */
/* =============== */
h1, h2, h3 {
  background: linear-gradient(90deg, var(--electric-blue), var(--electric-pink), var(--vivid-green), var(--sun-yellow));
  background-size: 300% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: heading-gradient 6s ease-in-out infinite alternate;
}
@keyframes heading-gradient {
  0% { background-position: 0% 0; }
  100% { background-position: 100% 0; }
}

/* =============== */
/* THANK YOU PAGE  */
/* =============== */
.cta-area .cta-btn {
  margin-left: 0;
}

/* ============ */
/* END OF CSS   */
/* ============ */