/* ════════════════════════════════════════════════════════════ */
/* ═   1. CSS VARIABLES & GLOBAL RESET  ═ */
/* ════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@700&display=swap');

:root {
  --teal: #1aafa0;
  --teal-dark: #0d8a7d;
  --teal-light: #2ecfc0;
  --navy: #1a2a6c;
  --navy-mid: #1e3275;
  --navy-dark: #0f1a3c;
  --blue-mid: #2541b2;
  --cyan-glow: #00e5d1;
  --yellow: #f5c518;
  --red-btn: #e53935;
  --white: #ffffff;
  --text-light: rgba(255,255,255,0.85);
  --text-muted: rgba(255,255,255,0.55);
  --text-dark: #111111;
  --card-bg: rgba(255,255,255,0.08);
  --card-border: rgba(255,255,255,0.12);
  :root {
  /* Fluid Scale: Min size at 320px, Max size at 1440px */
  --step--2: clamp(0.69rem, 0.67rem + 0.12vw, 0.8rem);     
  --step--1: clamp(0.83rem, 0.79rem + 0.21vw, 1rem);      
  --step-0:  clamp(1.06rem, 0.98rem + 0.4vw, 1.44rem);    
  --step-1:  clamp(1.27rem, 1.13rem + 0.7vw, 2.07rem);    
  --step-2:  clamp(1.53rem, 1.3rem + 1.15vw, 2.98rem);   
  
  /* Fluid Spacing */
  --space-s: clamp(1rem, 0.8rem + 1vw, 2rem);             /* Section padding */
  --space-m: clamp(1.5rem, 1.2rem + 1.5vw, 3rem);
}
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: white;
  min-height: 100vh;
  color: var(--white);
  overflow-x: hidden;
}

@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: local('Bricolage Grotesque');
}

/* ════════════════════════════════════════════════════════════ */
/* ═   2. NAVIGATION & BUTTONS  ═ */
/* ════════════════════════════════════════════════════════════ */

nav {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  top: 0;
  z-index: 50;
  background: #17155F;
  border-bottom: 3px solid var(--white);
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}


.nav-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
  
}

.nav-logo .jk-top {
  display: flex;
  align-items: center;
  
}

.nav-logo .jk-gray {
  font-family: 'Oswald', Arial, sans-serif;
  font-size: var(--step-1);
  font-weight: 700;
  color: #b0b0b0;
  letter-spacing: 1px;
}

.nav-logo .jk-blue {
  font-family: 'Oswald', Arial, sans-serif;
  font-size: var(--step-1);
  font-weight: 700;
  color: #5ab4cc;
  letter-spacing: 1px;
}

.nav-logo-img {
  height: clamp(36px, 2.5vw + 20px, 56px);
  width: auto;
  background: transparent;
  margin-right: 8px;
  margin-bottom: 10px;
}

.nav-logo .jk-sub {
  font-family: 'Oswald', Arial, sans-serif;
  font-size: var(--step-1);
  font-weight: 700;
  color:  #9a9a9a;
  letter-spacing: 1.5px;
  margin-top: 0;
  padding-left: 0;
}

.nav-buttons {
  width: auto;
  display: flex;
  gap: 8px;
}

nav button {
  width: auto;
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
  border-radius: 50px;
  font-size: clamp(0.65rem, 2vw, 0.85rem);
  padding: clamp(5px, 1.5vw, 8px) clamp(10px, 4vw, 24px);
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.32s ease;
  letter-spacing: 0.02em;
}

nav button:hover {
  background: var(--white);
  color: var(--blue-mid);
  transform: scale(1.05);
  font-weight: 600;
}

nav button.active {
  background: var(--white);
  color: var(--blue-mid);
  font-weight: 700;
  border-color: var(--white);
}

/* ════════════════════════════════════════════════════════════ */
/* ═   3. PAGE LAYOUT & ANIMATIONS  ═ */
/* ════════════════════════════════════════════════════════════ */

.page {
  display: none;
  position: relative;
  z-index: 10;
}

.page.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

.section {
  padding: clamp(16px, 4vw, 28px) clamp(14px, 4vw, 20px) 0;
   width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 4px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ════════════════════════════════════════════════════════════ */
/* ═   4. HERO SECTION  ═ */
/* ════════════════════════════════════════════════════════════ */


.Section-home1 .section.hero-row{
  padding-bottom: 0;
}

.hero-copy {
  flex: 1 1 230px;
  min-width: 0;
  width: auto;
  color: var(--white);
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size:  19px;
  line-height: 1.9;
  font-weight: 500;
}



.hero-mascot {
  width: clamp(60px, 10vw, 90px);
  font-size: clamp(3.8rem, 4vw, 5.5rem);
  flex: 0 0 auto;
  align-self: flex-start;
  max-height: clamp(60px, 10vw, 90px);
  height: clamp(60px, 10vw, 90px);
  overflow: hidden;
  margin-left: auto;
  max-width: clamp(60px, 15vw, 100px);
  animation: float 3s ease-in-out infinite, subtle-rotation 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes subtle-rotation {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(1.5deg); }
}

/* ════════════════════════════════════════════════════════════ */
/* ═   5. HOME SECTION TYPOGRAPHY  ═ */
/* ════════════════════════════════════════════════════════════ */

.Section-home1 {
  width: 100%;
  background-color: #20B2AA;
   border-radius: clamp(8px, 2.5vw, 15px);
  opacity: 100%;
}

.home-copy {
  padding: 0 20px 18px;
  color: var(--white);
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size:  var(--step-0);
  font-weight: 500;
  line-height: 1.9;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 4px;
}

.home-copy p {
  margin-bottom: 0;
}



.brand {
  color: #2F2D21;
}

.brand-teal {
  color: #2F2D21;
}

/* ════════════════════════════════════════════════════════════ */
/* ═   6. BANNER & UTILITY  ═ */
/* ════════════════════════════════════════════════════════════ */

.banner {
  background: rgba(0,0,0,0.35);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  background-clip: padding-box;
  border: 1px solid rgba(255,255,255,0.15);
  margin: 14px 16px 0;
  border-radius: 12px;
  padding: 14px 20px;
  font-size: 0.92rem;
  font-weight: 400;
  color: var(--white);
  line-height: 1.5;
  text-align: center;
}

.footer-1 {
  background: var(--navy-mid);
  border-radius: 10px;
}

/* ════════════════════════════════════════════════════════════ */
/* ═   7. HOME ROADMAP SECTION  ═ */
/* ════════════════════════════════════════════════════════════ */

.home-roadmap {
  margin: 0px 0 0px;
  padding: 2px 10px 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 18px;
 
}

.road-label {
  font-family: var(--font-head);
  letter-spacing: 0.22em;
  font-size: clamp(0.6rem, 2vw, 0.72rem);
  text-transform: uppercase;
  text-align: center;
}

.road-track {
  display: flex;
  align-items: center;
  justify-content: center;
   gap: clamp(6px, 2vw, 15px);
  flex-wrap: wrap;
}

.road-step {
  display: flex;
  flex-direction: column;
  align-items: center;
   min-width: clamp(52px, 14vw, 110px);
  padding: clamp(7px, 2vw, 12px) clamp(6px, 2.5vw, 16px);
  gap: clamp(4px, 1vw, 6px);
  background: rgba(255,255,255,0.1);
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.14);
  
}

.step-number {
  width: clamp(26px, 6vw, 34px);
  height: clamp(26px, 6vw, 34px);
  font-size: clamp(0.7rem, 2vw, 0.9rem);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-weight: 700;
  
}

.step-copy {
  color: var(--white-text);
  font-size: clamp(0.58rem, 1.8vw, 0.82rem);
  text-align: center;
}

.road-segment {
  flex: 1;
  min-width: clamp(8px, 2.5vw, 40px);
  height: clamp(4px, 1vw, 6px);
  background: var(--blue-mid);
  border-radius: 999px;
  
}

.road-arrow {
  font-size: clamp(1rem, 3vw, 1.6rem);
  color: var(--teal);
  margin-left: 4px;
}

@media (max-width: 860px) {
.home-roadmap {
    padding: 8px 6px;
  }

  .road-track {
    flex-wrap: wrap;
    gap: 12px;
  }

  .road-segment {
    min-width: 30px;
  }
.home-features-row {
    flex-direction: column;
  }
.portfolio-highlights {
    flex-direction: column;
  }
.about-values-row {
    flex-direction: column;
  }
.services-benefits {
    flex-direction: column;
  }
.services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
.hero-row {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-mascot {
     font-size: clamp(80px, 15vw, 180px);
  flex: 0 0 auto;
  align-self: flex-start;
  overflow: hidden;
  margin-left: auto;
  max-width: none;
  animation: float 3s ease-in-out infinite, subtle-rotation 6s ease-in-out infinite;
  }
.hero-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-mascot {
    align-self: center;
    margin-top: 0;
  }
.services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-benefits {
    flex-direction: column;
  }
}


/* The Background Overlay */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); 
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: all 0.5s ease;
  z-index: 9999;
}

/* The Modal Box */
.road-modal {
  width: clamp(280px, 88vw, 400px);
  max-width: 400px;
  background: white;
  border-radius: 24px;
  overflow: hidden;
  transform: scale(0.8);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

/* Shown State */
.modal-overlay.active {
  visibility: visible;
  opacity: 1;
}
.modal-overlay.active .road-modal {
  transform: scale(1);
}

.modal-image {
  width: 100%;
  height: clamp(130px, 30vw, 200px);
  background-size: cover;
  background-position: center;
  background-color: #f4f7fa;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-content {
  padding: clamp(14px, 4vw, 24px);
  text-align: center;
}

.modal-content h4 {
  font-size: clamp(1rem, 3.5vw, 1.5rem);
  margin-bottom: 10px;
  color: #1e2b3c;
}

.modal-content p {
  color: #5a6e7c;
  line-height: 1.6;
  font-size: clamp(0.82rem, 2.5vw, 1rem);
}

/* Modal close button */
.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border: none;
  background: #f0f0f0;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.modal-close:hover {
  background: #e0e0e0;
}

/* Simple Image Lightbox for Services */
.image-lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  
  z-index: 10000;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.image-lightbox.active {
  display: flex;
}

.image-lightbox img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 40px;
  cursor: pointer;
  line-height: 1;
  transition: color 0.3s;
}

.lightbox-close:hover {
  color: #00e5d1;
}

/* Services Card Popup */
.services-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  align-items: center;
  justify-content: center;
}

.services-popup.active {
  display: flex;
}

.services-popup-content {
  position: relative;
  max-width: 400px;
  padding: 30px;
}

.popup-close {
  position: absolute;
  top: 10px;
  right: 20px;
  color: #fff;
  font-size: 32px;
  cursor: pointer;
  line-height: 1;
  transition: color 0.3s;
}

.popup-close:hover {
  color: #00e5d1;
}

.card {
  width: var(--card-width);
      height: var(--card-height);
      background-color: var(--card-bg);
      border: var(--card-border-width) solid var(--card-border);
      border-radius: var(--card-radius);
      padding: 18px 16px 16px;
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 10px;
}

.card__icon {
   color: #2d3a8c;
      display: flex;
      align-items: center;
      align-self: center;
}

.card__icon svg {
  color: #1a1a2e;
}

.card__text {
   font-family: Georgia, 'Times New Roman', serif;
      font-size: 13px;
      line-height: 1.55;
      color: #1a1a2e;
}


.modal-close:hover {
  background: rgba(0, 0, 0, 0.2);
}

/* Make road-modal position relative for close button positioning */
.road-modal {
  position: relative;
  width: clamp(280px, 88vw, 400px);
  max-width: 400px;
  background: white;
  border-radius: 24px;
  overflow: hidden;
  transform: scale(0.8);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.home-features-row {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(8px, 2.5vw, 12px);
  padding: clamp(8px, 2vw, 10px) clamp(10px, 3vw, 10px) clamp(10px, 2.5vw, 12px);
  
}

.home-mid{
  background-color: whitesmoke;
  opacity: 75%;
}

.text-1 {
  font-size: clamp(10px, 2.8vw, 16px);
}

.feature-card {
  width: auto;
  background: #FDFEE9;
  border: 2px solid var(--blue-mid);
  box-shadow: 0 10px 24px rgba(37, 65, 178, 0.08);
   padding: clamp(12px, 3vw, 18px) clamp(12px, 3vw, 16px);
  border-radius: clamp(10px, 2.5vw, 16px);
  text-align: center;
  color: var(--text-dark);
  cursor: pointer;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
  position: relative;
  overflow: hidden;
  align-self: center;
}

.feature-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: -100%;
  width: 100%;
  height: 3px;
  background: var(--blue-mid);
  transition: left 0.35s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--blue-mid);
  background: var(--white);
  box-shadow: 0 8px 24px rgba(37, 65, 178, 0.3);
}

.feature-card:hover::after {
  left: 100%;
}

.feature-icon {
  width: auto;
  font-size: clamp(1.3rem, 4vw, 1.8rem);
  margin-bottom: clamp(8px, 2vw, 12px);
}

.feature-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(0.78rem, 2.5vw, 0.95rem);
  margin-bottom: clamp(6px, 1.5vw, 8px);
  font-weight: 700;
}

.feature-copy {
  font-size: clamp(0.72rem, 2.2vw, 0.85rem);
  line-height: 1.5;
}



/* ════════════════════════════════════════════════════════════ */
/* ═   9. PORTFOLIO HIGHLIGHTS SECTION  ═ */
/* ════════════════════════════════════════════════════════════ */

.portfolio-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(8px, 2.5vw, 12px);
  padding: clamp(14px, 3.5vw, 20px) clamp(14px, 4vw, 20px) clamp(16px, 4vw, 22px);
}

.highlight-card {
  width: auto;
  background: var(--white);
  border: 2px solid var(--blue-mid);
  box-shadow: 0 10px 24px rgba(37, 65, 178, 0.08);
  text-align: center;
  color: var(--text-dark);
  cursor: pointer;
  transition: all 0.35s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(12px, 3vw, 18px) clamp(12px, 3vw, 16px);
  min-height: clamp(50px, 10vw, 70px);
  font-size: clamp(0.72rem, 2.2vw, 0.85rem);
  border-radius: clamp(10px, 2.5vw, 16px);
  font-weight: 600;
  line-height: 1.55;
}

.highlight-card:hover {
  transform: translateY(-5px);
  border-color: var(--blue-mid);
  background: var(--white);
  box-shadow: 0 8px 24px rgba(37, 65, 178, 0.2);
}



/* ════════════════════════════════════════════════════════════ */
/* ═   10. ABOUT VALUES SECTION  ═ */
/* ════════════════════════════════════════════════════════════ */

.about-values-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 20px 20px 22px;
}

.value-card {
  background: var(--white);
  border: 2px solid var(--blue-mid);
  box-shadow: 0 10px 24px rgba(37, 65, 178, 0.08);
  border-radius: 16px;
  padding: 18px 16px;
  text-align: center;
  color: var(--text-dark);
  cursor: pointer;
  transition: all 0.35s ease;
  min-height: 96px;
  font-size: 0.85rem;
  line-height: 1.55;
}

.value-card:hover {
  transform: translateY(-5px);
  border-color: var(--blue-mid);
  background: var(--white);
  box-shadow: 0 8px 24px rgba(37, 65, 178, 0.2);
}



/* ════════════════════════════════════════════════════════════ */
/* ═   11. SERVICES BENEFITS SECTION  ═ */
/* ════════════════════════════════════════════════════════════ */

.services-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 20px 20px 22px;
}

.benefit-card {
  background: var(--white);
  border: 2px solid var(--blue-mid);
  box-shadow: 0 10px 24px rgba(37, 65, 178, 0.08);
  border-radius: 16px;
  padding: 18px 16px;
  text-align: center;
  color: var(--text-dark);
  cursor: pointer;
  transition: all 0.35s ease;
  min-height: 96px;
  font-size: 0.85rem;
  line-height: 1.55;
  position: relative;
  overflow: hidden;
}

.benefit-card::before {
  content: '';
  position: absolute;
  left: -100%;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(37, 65, 178, 0.1);
  transition: left 0.35s ease;
  pointer-events: none;
}

.benefit-card:hover {
  transform: translateX(8px);
  border-color: var(--blue-mid);
  box-shadow: 0 8px 24px rgba(37, 65, 178, 0.2);
}

.benefit-card:hover::before {
  left: 100%;
}



/*SERVICE GRID*/

.we-help {
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-mid);
  margin: 28px 20px 16px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 0 20px;
}

/* ════════════════════════════════════════════════════════════ */
/* ═   13. SERVICE ICON CARDS  ═ */
/* ════════════════════════════════════════════════════════════ */

.service-icon-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}

.text-1{
  color: black;
  font-size: var(--step-0);
  font-weight: 500;
 
}

.service-icon-card .icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  z-index: 2;
}

.service-icon-card:hover .icon {
  transform: translateY(-8px) scale(1.15);
  filter: drop-shadow(0 0 15px rgba(37, 65, 178, 0.6));
}


.service-icon-card:hover::before {
  opacity: 1;
}

.service-icon-card span {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.3;
}



/* ════════════════════════════════════════════════════════════ */
/* ═   14. TESTIMONIALS SECTION  ═ */
/* ════════════════════════════════════════════════════════════ */

.views-label {
   font-size: clamp(0.82rem, 2.5vw, 1rem);
  padding: clamp(18px, 4vw, 28px) clamp(14px, 4vw, 20px) clamp(10px, 2.5vw, 14px);
  font-weight: 600;
  color: var(--white);
}

.testimonials-row {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(10px, 2.5vw, 16px);
  padding: 0 clamp(14px, 4vw, 20px);
  align-items: stretch;
}

.testimonial-card {
  width: 100%;
  background: var(--white);
  font-size: clamp(0.75rem, 2.2vw, 0.9rem);
  padding: clamp(12px, 3vw, 18px) clamp(12px, 3vw, 16px) clamp(12px, 3vw, 18px) clamp(28px, 7vw, 36px);
  min-width: clamp(160px, 40vw, 240px);
  border-radius: clamp(8px, 2vw, 12px);
  border: 2px solid var(--blue-mid);
  box-shadow: 0 10px 24px rgba(37, 65, 178, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 36px;
  flex: 1 1 220px;
  color: var(--text-dark);
  text-align: center;
  line-height: 1.5;
  font-style: italic;
  position: relative;
  transition: all 0.3s ease;
  cursor: pointer;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  left: 12px;
  top: 12px;
  font-size: 3rem;
  color: var(--blue-mid);
  opacity: 0.3;
  font-family: 'Syne', serif;
  line-height: 1;
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  border-color: var(--blue-mid);
  background: var(--white);
  box-shadow: 0 8px 20px rgba(37, 65, 178, 0.2);
}

.testimonial-card:hover::before {
  opacity: 0.6;
  transform: scale(1.2);
}

.testimonials-row:hover .testimonial-card {
  cursor: pointer;
}

@media (max-width: 768px) {
.testimonials-row {
    padding: 0 14px;
    flex-direction: column;
  }
  .testimonial-card {
    width: 100%;
    min-width: 0;
  }
}


@media (max-width: 680px) {
.testimonial-card {
    width: 90px;
    height: 50px;
    padding: 12px;
    padding-left: 36px;
    font-size: 0.75rem;
  }
  
.services-intro,
  .services-include {
    font-size: 16px;
    line-height: 1.7;
    padding: 0 14px;
  }

  .services-include {
    padding: 12px 14px 14px;
  }

  .services-benefits {
    flex-direction: column;
    padding: 0 14px 16px;
    gap: 10px;
  }

  .benefit-card {
    width: 100%;
    min-height: 100%;
    padding: 14px;
  }

  /* Service cards: single column on small phones */
  .services-cards {
  grid-template-columns: repeat(3, minmax(80px, 1fr));
    padding: 0 14px;
    gap: 10px;
  }

  .service-card-img img {
    max-height: 110px;
  }

  .service-card-label {
    font-size: 0.65rem;
    padding: 8px 6px;
  }
footer {
     grid-template-columns: repeat(3, minmax(80px, 1fr));
    padding: 20px 14px 16px;
  }

  .email-form input,
  .email-form textarea {
    font-size: 1rem;
  }

  .email-form input::placeholder,
  .email-form textarea::placeholder {
    font-size: 14px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .get-in-touch-item {
    font-size: 0.75rem;
    word-break: break-all;
  }
.road-modal {
    width: 92%;
    max-width: 340px;
  }

  .modal-image {
    height: 150px;
  }

  .modal-content {
    padding: 16px;
  }

  .modal-content h4 {
    font-size: 1.2rem;
  }
nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
  }

  .nav-logo-img {
    height: 36px;
  }

  .nav-logo .jk-gray,
  .nav-logo .jk-blue {
    font-size: 20px;
  }

  .nav-logo .jk-sub {
    font-size: 9px;
  }

  .nav-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    width: 100%;
  }

  nav button {
    padding: 7px 8px;
    font-size: 0.72rem;
    text-align: center;
    white-space: nowrap;
    flex: none;
  }
.hero-row {
    flex-direction: column;
    gap: 0;
  }

  .hero-copy {
    font-size: 16px;
    line-height: 1.75;
    padding: 16px 14px 12px;
  }

  .hero-mascot {
    max-width: 80px;
    align-self: flex-end;
    margin: 0 14px 10px auto;
  }

  .hero-mascot .mascot-img {
    width: 80px;
    height: auto;
  }
.home-roadmap {
    padding: 14px 10px 16px;
    margin: 2px 0 20px;
  }

  .road-track {
    gap: 6px;
    justify-content: center;
  }

  .road-step {
    min-width: 58px;
    max-width: 68px;
    padding: 8px 6px;
    gap: 4px;
  }

  .step-number {
    width: 28px;
    height: 28px;
    font-size: 0.8rem;
  }

  .step-copy {
    font-size: 0.65rem;
  }

  .road-segment {
    min-width: 10px;
    flex: 1 0 10px;
    height: 4px;
  }

  .road-arrow {
    font-size: 1.2rem;
  }
.home-copy {
    font-size: 15px;
    line-height: 1.7;
    padding: 0 14px 14px;
    flex-direction: column;
  }
.home-mid {
    opacity: 1; /* Remove opacity fade on mobile for legibility */
  }

  .we-help {
    margin: 20px 14px 12px;
    font-size: 0.9rem;
  }
.services-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 0 14px;
  }

  .service-icon-card .icon {
    width: 42px;
    height: 42px;
  }

  .text-1 {
    font-size: 12px;
  }
.home-features-row {
    flex-direction: column;
    padding: 10px 14px 12px;
    gap: 10px;
  }

  .feature-card {
    width: 100%;
    padding: 16px 14px;
  }
.views-label {
    padding: 20px 14px 10px;
  }

  .testimonials-row {
    flex-direction: column;
    padding: 0 14px;
    gap: 10px;
  }

  .testimonial-card {
    width: 100%;
    min-width: 0;
    font-size: 0.85rem;
    padding: 14px 14px 14px 36px;
  }
.hire-row {
    justify-content: center;
    padding: 14px 14px 0;
  }

  .btn-hire {
    width: 100%;
    text-align: center;
  }
.portfolio-hero {
    font-size: 16px;
    line-height: 1.7;
    padding: 0 14px;
  }

  .portfolio-copy {
    font-size: 15px;
    padding: 0 14px 14px;
    flex-direction: column;
  }

  .portfolio-highlights {
    flex-direction: column;
    padding: 14px 14px 16px;
    gap: 10px;
  }

  .highlight-card {
    width: 100%;
    min-height: 56px;
  }

  .projects-label {
    padding: 16px 14px 10px;
    font-size: 1.2rem;
  }

  .filter-row {
    padding: 0 14px 12px;
    flex-wrap: wrap;
    gap: 6px;
  }

  .filter-btn {
    font-size: 0.75rem;
    padding: 6px 14px;
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 14px;
    gap: 8px;
  }

  .portfolio-item {
    height: 70px;
    font-size: 0.6rem;
  }
.about-text {
    font-size: 16px;
    line-height: 1.7;
    padding: 0 14px;
  }

  .about-story {
    font-size: 15px;
    padding: 0 14px 14px;
  }

  .motto-card {
    margin: 14px 14px;
    padding: 20px 16px;
  }

  .motto-text {
    font-size: 1.2rem;
  }

  .about-values-row {
    flex-direction: column;
    padding: 14px 14px 16px;
    gap: 10px;
  }

  .value-card {
    width: 100%;
    min-height: 100%;
    padding: 14px;
  }
.service-detail {
    padding: 20px 16px;
  }

  .detail-title {
    font-size: 1.4rem;
  }

  .detail-icon {
    font-size: 3rem;
  }

  .detail-card {
    font-size: 0.95rem;
    padding: 16px;
  }
.banner {
    margin: 10px 10px 0;
    padding: 10px 14px;
    font-size: 0.82rem;
  }
.section {
    padding: 16px 14px 0;
  }

  .Section-home1,
  .portfolio-section-1,
  .about-section-1,
  .services-section-1 {
    border-radius: 10px;
  }
.hero-mascot {
    max-width: 72px;
  }
}


/* ════════════════════════════════════════════════════════════ */
/* ═   15. BUTTONS  ═ */
/* ════════════════════════════════════════════════════════════ */

.hire-row {
  display: flex;
  justify-content: flex-end;
  padding: 18px 20px 0;
}



.btn-hire {
  background: #17155F;
  border: 2px solid var(--white);
  color: var(--white);
  border-radius: 50px;
  font-family: 'DM Sans', sans-serif;
   font-size: clamp(0.72rem, 2.2vw, 0.85rem);
  padding: clamp(6px, 2vw, 8px) clamp(16px, 5vw, 24px);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.32s ease;
  letter-spacing: 0.02em;
}

.btn-hire:hover {
  background: var(--white);
  color: var(--blue-mid);
  transform: scale(1.05);
  font-weight: 600;
}

.btn-hire:active {
  background-color: #151022;
  color: #c62828;
  transform: scale(0.98);
}

.btn-submit {
  background: var(--red-btn);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-size: clamp(0.75rem, 2.2vw, 0.85rem);
  padding: clamp(9px, 2.5vw, 11px) clamp(20px, 5vw, 30px);
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-submit.btn-centered {
  align-self: center;
}

/* ── Service Popup Overlay ── */

.header {
  text-align: center;
  margin-bottom: 22px;
}

.popup {
  background: linear-gradient(160deg, #0e7a72 0%, #0d6560 100%);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 22px;
  width: 308px;
  padding: 28px 20px 24px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.12);
  position: relative;
}


.service-popup-overlay {
  
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.service-popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

.filter-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
  justify-content: center;
}

.filter-label {
  color: rgba(255,255,255,0.9);
  font-size: 0.88rem;
  font-weight: 500;
  white-space: nowrap;
}

.select-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.select {
  -webkit-appearance: none;
  appearance: none;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 8px;
  color: white;
  font-size: 0.82rem;
  padding: 5px 28px 5px 10px;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  outline: none;
  width: 92px;
}

.select option {
  background: #17433f;
  color: white;
}

.select-arrow {
  position: absolute;
  right: 8px;
  color: rgba(255,255,255,0.7);
  font-size: 0.75rem;
  pointer-events: none;
}

/* ── Reset ── */
.reset-row {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.reset-btn {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50px;
  color: white;
  font-size: 0.75rem;
  padding: 5px 16px;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: background 0.2s;
}

.reset-btn:hover {
  background: rgba(255,255,255,0.25);
}

/* ── Carousel ── */
.carousel-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.arrow-btn {
  background: rgba(0,0,0,0.35);
  border: none;
  border-radius: 50%;
  color: white;
  width: 30px;
  height: 30px;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s;
  line-height: 1;
  padding-bottom: 1px;
}

.arrow-btn:hover {
  background: rgba(0,0,0,0.55);
}

.arrow-btn:focus,
.reset-btn:focus,
.submit-btn:focus {
  outline: none;
}

/* ── Card ── */
.card {
  flex: 1;
  background: white;
  border-radius: 16px;
  padding: 18px 16px 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  min-height: 130px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.card.anim-next {
  opacity: 0;
  transform: translateX(24px);
}

.card.anim-prev {
  opacity: 0;
  transform: translateX(-24px);
}

.card-icon {
  font-family: 'Syne', monospace;
  font-size: 1.4rem;
  font-weight: 800;
  color: #0d6560;
  letter-spacing: -0.05em;
  margin-bottom: 2px;
  align-self: center;
}

.card-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  color: #111;
  letter-spacing: 0.01em;
}

.card-desc {
  font-size: 0.78rem;
  color: #444;
  line-height: 1.55;
}

/* ── Dots ── */
.dots {
  display: flex;
  gap: 5px;
  margin-top: 8px;
  align-self: center;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s;
  background: #c8e6e4;
}

.dot.active {
  background: #1aafa0;
}

/* ── Submit ── */
.submit-row {
  display: flex;
  justify-content: center;
}

.submit-btn {
  border: none;
  border-radius: 50px;
  color: white;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 10px 44px;
  cursor: pointer;
  background: #e53935;
  letter-spacing: 0.12em;
  transition: background 0.3s, transform 0.2s, letter-spacing 0.3s;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}

.submit-btn.sent {
  background: #1aafa0;
  transform: scale(0.97);
  letter-spacing: 0.18em;
}

.submit-btn:hover {
  background: #c62828;
}

/* ════════════════════════════════════════════════════════════ */
/* ═   16. ABOUT PAGE  ═ */
/* ════════════════════════════════════════════════════════════ */

.about-text {
  font-family: 'Bricolage Grotesque',  sans-serif;
  font-size: var(--step-0);
  line-height: 1.9;
  font-weight: 500;
  color: var(--white);
}

.about-text .brand {
  color: #2F2D21;
  font-weight: 500;
  font-family: 'Bricolage Grotesque', 'Syne', sans-serif;
}

.about-section-1{
   border-radius: clamp(8px, 2.5vw, 15px);
}

.about-text .brand-teal {
  color: #2F2D21;
}

.about-values-row {
  gap: clamp(8px, 2.5vw, 12px);
  padding: clamp(14px, 3.5vw, 20px) clamp(14px, 4vw, 20px) clamp(16px, 4vw, 22px);
}

.value-card {
  padding: clamp(12px, 3vw, 18px) clamp(12px, 3vw, 16px);
  min-height: clamp(60px, 12vw, 96px);
  font-size: clamp(0.72rem, 2.2vw, 0.85rem);
  border-radius: clamp(10px, 2.5vw, 16px);
}

.about-story {
  padding: 0 20px 18px;
  color: var(--white);
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: var(--step-0);
  font-weight: 500;
  line-height: 1.9;
}

.about-story p {
  margin-bottom: 12px;
}

.motto-card {
  background: var(--blue-mid);
  border: 2px solid var(--white);
   margin: clamp(14px, 3.5vw, 24px) clamp(14px, 4vw, 20px);
  padding: clamp(18px, 4.5vw, 28px) clamp(16px, 4vw, 24px);
  border-radius: clamp(10px, 2.5vw, 16px);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.motto-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: transparent;
  pointer-events: none;
  opacity: 0;
}

.motto-label {
  font-size: clamp(0.85rem, 2.5vw, 1.2rem);
  font-weight: 200;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
  position: relative;
  z-index: 2;
}

.motto-text {
  font-family: 'Syne', sans-serif;
   font-size: clamp(1rem, 3.5vw, 1.5rem);
  font-weight: 700;
  color: var(--white);
  position: relative;
  z-index: 2;
}





/* ════════════════════════════════════════════════════════════ */
/* ═   17. PORTFOLIO PAGE  ═ */
/* ════════════════════════════════════════════════════════════ */

.portfolio-hero {
  font-family: 'Bricolage Grotesque', 'Syne', sans-serif;
  font-size: 19px;
  font-weight: 500;
  line-height: 1.9;
  color: var(--white);
  width: 100%;
   
}

.portfolio-hero .brand {
  color: #2F2D21;
  font-family: 'Bricolage Grotesque', 'Syne', sans-serif;
  font-weight: 700;
}

.portfolio-copy {
  padding: 0 20px 18px;
  color: var(--white);
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: var(--step-0);
  font-weight: 500;
  line-height: 1.9;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 4px;
}

.portfolio-copy p {
  margin-bottom: 12px;
}

.portfolio-mascot {
  width: clamp(80px, 15vw, 180px); 
  max-width: none;
  font-size: 3.5rem;
  flex-shrink: 0;
  animation: float 3s ease-in-out infinite, rotate-subtle 8s linear infinite;
}

@keyframes rotate-subtle {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(2deg); }
}

.projects-label {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1rem, 3.5vw, 1.4rem);
  padding: clamp(16px, 4vw, 24px) clamp(14px, 4vw, 20px) clamp(8px, 2vw, 12px);
  font-weight: 800;
  
}


.filter-row {
  display: flex;
  padding: 0 clamp(14px, 4vw, 20px) clamp(10px, 2.5vw, 16px);
  gap: clamp(5px, 1.5vw, 8px);
}

.filter-btn {
  border-radius: 50px;
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(0.68rem, 2vw, 0.8rem);
  padding: clamp(5px, 1.5vw, 7px) clamp(12px, 3.5vw, 20px);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  border: 1px solid rgba(255,255,255,0.3);
  background: transparent;
  color: var(--navy);
  border-color: black;
}

.filter-btn.active {
  background: #17155F;
  color: var(--white);
  border-color: var(--white);
}

.filter-btn:hover{

background: #151022;
color: var(--white);
border-color: whitesmoke;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(7px, 2vw, 10px);
  padding: 0 clamp(14px, 4vw, 20px);
}

.portfolio-item {
  background: var(--white);
   height: clamp(60px, 14vw, 85px);
  font-size: clamp(0.58rem, 1.8vw, 0.65rem);
  padding: clamp(5px, 1.5vw, 6px);
  border-radius: clamp(8px, 2vw, 12px);
  border: 2px solid var(--blue-mid);
  box-shadow: 0 10px 24px rgba(37, 65, 178, 0.08);
  transition: all 0.3s ease;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  color: var(--text-dark);
  text-align: center;
  position: relative;
}

.portfolio-item[data-cat="designs"]::before {
  content: 'designs';
}

.portfolio-item[data-cat="websites"]::before {
  content: 'websites';
}

.portfolio-item::before {
  position: absolute;
  top: 8px;
  right: 8px;
  background: var(--blue-mid);
  color: var(--white);
  font-size: 0.55rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
  opacity: 0;
  transform: scale(0.8) translateY(-10px);
  transition: all 0.3s ease;
  pointer-events: none;
  text-transform: capitalize;
  letter-spacing: 0.03em;
}

.portfolio-item:hover {
  transform: scale(1.03);
  border-color: var(--blue-mid);
  background: var(--white);
  box-shadow: 0 8px 20px rgba(37, 65, 178, 0.2);
}

.portfolio-item:hover::before {
  opacity: 1;
  transform: scale(1) translateY(0);
}


.portfolio-section-1{
   border-radius: clamp(8px, 2.5vw, 15px);
}
/* ════════════════════════════════════════════════════════════ */
/* ═   18. SERVICES PAGE  ═ */
/* ════════════════════════════════════════════════════════════ */
.S-page{
  background: var(white);
}
.services-intro {
  font-family: 'Bricolage Grotesque',  sans-serif;
  font-size: 19px;
  font-weight: 500;
  line-height: 1.9;
  color: var(--white);
  padding: 0 20px;
}

.services-include {
  font-family: 'Bricolage Grotesque',  sans-serif;
  font-size: var(--step-0);
  font-weight: 500;
  line-height: 1.9;
  color: var(--text-light);
  padding: 16px 20px 20px;
}

.services-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
 gap: clamp(10px, 2.5vw, 14px);
  padding: 0 clamp(14px, 4vw, 20px);
}

.service-card {
  background: var(--white);
  border: 2px solid var(--blue-mid);
  box-shadow: 0 10px 24px rgba(37, 65, 178, 0.08);
  border-radius: clamp(10px, 2.5vw, 14px);
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
  cursor: pointer;
  color: var(--text-dark);
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(37, 65, 178, 0.3);
  background: var(--white);
  border-color: var(--blue-mid);
}

.service-card-img {
  max-width: 100%;
  height: auto;
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s ease, filter 0.4s ease;
  overflow: hidden;
  position: relative;
}

.service-card-img img {
  transition: transform 0.4s ease;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: clamp(90px, 22vw, 170px);
  object-fit: contain;
  display: block;
}

.service-card:hover .service-card-img img {
  transform: scale(1.12);
}

.services-benefits {
  gap: clamp(8px, 2.5vw, 12px);
  padding: clamp(14px, 3.5vw, 20px) clamp(14px, 4vw, 20px) clamp(16px, 4vw, 22px);
}

.benefit-card {
  padding: clamp(12px, 3vw, 18px) clamp(12px, 3vw, 16px);
  min-height: clamp(60px, 12vw, 96px);
  font-size: clamp(0.72rem, 2.2vw, 0.85rem);
  border-radius: clamp(10px, 2.5vw, 16px);
}

.service-card-label {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  font-size: clamp(0.6rem, 1.8vw, 0.7rem);
  padding: clamp(7px, 2vw, 10px) clamp(6px, 2vw, 8px);
  color: var(--text-dark);
}


@media (max-width: 400px) {
.services-cards {
   grid-template-columns: repeat(3, minmax(80px, 1fr));
  }

  .service-card-img img {
    max-height: 140px;
  }
}


/* ════════════════════════════════════════════════════════════ */
/* ═   19. SERVICE DETAIL MODAL  ═ */
/* ════════════════════════════════════════════════════════════ */

.service-detail {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10,20,60,0.92);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  background-clip: padding-box;
  z-index: 100;
   padding: clamp(20px, 5vw, 40px) clamp(14px, 4vw, 24px);
  overflow-y: auto;
  animation: fadeIn 0.3s ease;
}

.service-detail.open {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.detail-close {
  align-self: flex-end;
  background: var(--white);
  border: 2px solid var(--blue-mid);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  color: var(--blue-mid);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.detail-icon {
 font-size: clamp(2.5rem, 8vw, 4rem);
  text-align: center;
}

.detail-title {
  font-size: clamp(1.2rem, 4.5vw, 1.8rem);
  font-family: 'Syne', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  text-align: center;
  color: var(--blue-mid);
}

.detail-card {
  background: var(--white);
  border: 2px solid var(--blue-mid);
  font-size: clamp(0.85rem, 2.5vw, 1rem);
  padding: clamp(14px, 3.5vw, 20px);
  border-radius: clamp(10px, 2.5vw, 16px);
  line-height: 1.65;
  color: var(--blue-mid);
  font-style: italic;
}
.services-section-1{
   border-radius: clamp(8px, 2.5vw, 15px);
}

/* ════════════════════════════════════════════════════════════ */
/* ═   20. FOOTER  ═ */
/* ════════════════════════════════════════════════════════════ */

footer {
  
  margin-top: 40px;
  background: #17155F;
  border-radius: 5px;
   padding: clamp(18px, 4.5vw, 28px) clamp(14px, 4vw, 20px) clamp(16px, 4vw, 20px);
}

.footer-grid {
  display: grid;
   grid-template-columns: repeat(3, minmax(80px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.footer-col h4 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  font-size: clamp(0.68rem, 2vw, 0.8rem);
  margin-bottom: clamp(7px, 2vw, 10px);
}

.footer-col a,
.footer-col p {
  display: block;
   font-size: clamp(0.65rem, 1.8vw, 0.75rem);
  color: var(--text-muted);
  text-decoration: none;
  margin-bottom: 5px;
  cursor: pointer;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--blue-mid);
}

.email-form {
  margin-bottom: 20px;
}

.email-form-label {
   font-size: clamp(0.7rem, 2vw, 0.8rem);
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 8px;
}

.email-form input,
.email-form textarea {
  width: 100%;
  height: 30%;
  background: var(--white);
  border: 2px solid var(--blue-mid);
  border-radius: 8px;
   font-size: clamp(0.85rem, 2.5vw, 1.2rem);
  padding: clamp(7px, 2vw, 9px) clamp(10px, 2.5vw, 12px);
  font-family: 'DM Sans', sans-serif;
  margin-bottom: 8px;
  outline: none;
  transition: border-color 0.2s;
}

.email-form input:focus,
.email-form textarea:focus {
  border-color: var(--blue-mid);
}

.email-form input::placeholder,
.email-form textarea::placeholder {
  font-size: clamp(13px, 3vw, 18px);
}

.email-form textarea {
  resize: none;
  height: 80px;
}

.social-row {
  display: flex;
  gap: 14px;
  margin-top: 10px;
}

.social-icon {
   width: clamp(28px, 6vw, 34px);
  height: clamp(28px, 6vw, 34px);
  border: 1.5px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.social-icon:hover {
  border-color: var(--blue-mid);
  background: rgba(37, 65, 178, 0.1);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: clamp(0.6rem, 1.8vw, 0.7rem);
  color: var(--text-muted);
}

.footer-bottom a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer-bottom a:hover {
  color: var(--blue-mid);
}

.get-in-touch-item {
  background: rgba(255,255,255,0.06);
  border-radius: 8px;
   font-size: clamp(0.62rem, 1.8vw, 0.7rem);
  padding: clamp(5px, 1.5vw, 6px) clamp(6px, 2vw, 8px);
  margin-bottom: 6px;
  color: var(--text-muted);
}



/* ════════ MODAL (roadmap) ════════ */


/* ════════════════════════════════════════════════════════════ */
/* ═   21. BACKGROUND & ANIMATIONS  ═ */
/* ════════════════════════════════════════════════════════════ */

.bg-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

#particle-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
}

/* ════════════════════════════════════════════════════════════ */
/* ═   23. DOT GRID OVERLAY  ═ */
/* ════════════════════════════════════════════════════════════ */

.dot-grid-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 50px 50px;
  background-position: 0 0;
  z-index: 1;
}

/* ════════════════════════════════════════════════════════════ */
/* ═   24. SCROLL REVEAL ANIMATIONS  ═ */
/* ════════════════════════════════════════════════════════════ */

@keyframes scrollRevealFade {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.feature-card.reveal,
.highlight-card.reveal,
.value-card.reveal,
.benefit-card.reveal,
.testimonial-card.reveal,
.service-icon-card.reveal,
.portfolio-item.reveal,
.service-card.reveal {
  animation: scrollRevealFade 0.7s ease-out forwards;
  opacity: 0;
}

/* ════════════════════════════════════════════════════════════ */
/* ═   25. ENHANCED GLASSMORPHISM & EFFECTS  ═ */
/* ════════════════════════════════════════════════════════════ */

.feature-card,
.highlight-card,
.value-card,
.benefit-card,
.service-card,
.testimonial-card,
.portfolio-item {
  background: var(--white);
  border: 2px solid var(--blue-mid);
  transition: all 0.35s ease;
}

.feature-card:hover,
.highlight-card:hover,
.value-card:hover,
.benefit-card:hover,
.service-card:hover,
.testimonial-card:hover,
.portfolio-item:hover {
  background: var(--white);
  border-color: var(--blue-mid);
  box-shadow: 0 8px 24px rgba(37, 65, 178, 0.3);
}

/* ════════════════════════════════════════════════════════════ */
/* ═   25. PORTFOLIO, ABOUT, SERVICES SECTIONS  ═ */
/* ════════════════════════════════════════════════════════════ */

.portfolio-section-1,
.about-section-1,
.services-section-1 {
  background-color: #20B2AA;
  padding: 20px 0;
  border-radius: 15px;
  color: var(--white);
}

.portfolio-section-1 .portfolio-hero,
.about-section-1 .about-text,
.services-section-1 .services-intro,
.services-section-1 .services-include {
  color: whitesmoke;
}

.portfolio-section-1 .brand,
.about-section-1 .brand,
.services-section-1 .brand {
  color: var(--white);
}

.portfolio-section-2,
.about-section-2,
.services-section-2 {
  background-color: whitesmoke;
  padding: 20px 0;
  border-radius: 0;
  color: var(--text-dark);
}

.portfolio-section-2 .projects-label,
.about-section-2 .about-story,
.about-section-2 .views-label,
.services-section-2 .hire-row {
  color: var(--text-dark);
}


.page {
  position: relative;
  z-index: 10;
}


@media (max-width: 640px) {
.services-grid {
    grid-template-columns: repeat(3, minmax(80px, 1fr));
  }

  .orb-1,
  .orb-2 {
    filter: blur(60px);
    opacity: 0.15;
  }

  nav {
    position: relative;
  }
}


/* Put on every section that should have the effect */
.has-animated-bg {
  position: relative;
  overflow: hidden;
}

/* section background container */
.has-animated-bg .section-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* ensure section content is above the animation */
.has-animated-bg > *:not(.section-bg) {
  position: relative;
  z-index: 1;
}

/* ── RADIAL GLOW ORBS ── */
.has-animated-bg .glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
}

.has-animated-bg .orb-1 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(26,175,160,0.5) 0%, rgba(26,175,160,0.1) 100%);
  top: 10%;
  right: -100px;
  animation: drift-orb-1 20s ease-in-out infinite;
}

.has-animated-bg .orb-2 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(0,229,209,0.4) 0%, rgba(0,229,209,0.05) 100%);
  bottom: 5%;
  left: -80px;
  animation: drift-orb-2 18s ease-in-out infinite;
}

/* Dot grid mesh */
.has-animated-bg .dot-grid-overlay {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 50px 50px;
  z-index: 0;
}

/* Animations */
@keyframes drift-orb-1 {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(50px, -40px); }
  50% { transform: translate(0, -80px); }
  75% { transform: translate(-50px, -40px); }
}

@keyframes drift-orb-2 {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(60px, 50px); }
  66% { transform: translate(-60px, 50px); }
}
@media (max-width: 600px) {
/* Nav: stack buttons below logo */
  nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .nav-buttons {
    flex-wrap: wrap;
    width: 100%;
  }
  nav button {
    flex: 1 1 auto;
    padding: 6px 10px;
    font-size: 0.72rem;
  }

  /* Footer: single column */
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  /* Roadmap: tighten steps */
  .road-step { min-width: 70px; padding: 8px 10px; }
  .road-segment { min-width: 16px; flex: 0 0 16px; }
  .road-arrow { display: none; }

  /* General padding */
  .section { padding: 18px 14px 0; }
  .home-copy, .portfolio-copy, .about-story { padding-left: 14px; padding-right: 14px; font-size: 16px; }
  .we-help { margin: 20px 14px 12px; }
  .motto-card { margin: 16px 14px; }
}

/* ════════════════════════════════════════════════════════════ */
/* ═   MOBILE RESPONSIVE FIXES (comprehensive)              ═ */
/* ════════════════════════════════════════════════════════════ */

/* ── Viewport-safe base ── */
html {
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
 -webkit-text-size-adjust: 100%; 
  -moz-text-size-adjust: 100%;    
  text-size-adjust: 100%;
}

/* ── Images never overflow ── */
img {
  max-width: 100%;
  height: auto;
}

/* ════════ NAV ════════ */


@media (max-width: 380px) {
.nav-buttons {
    grid-template-columns: repeat(2, 1fr);
  }

  nav button {
    font-size: 0.65rem;
    padding: 6px 4px;
  }
.services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
.portfolio-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-item {
    height: 60px;
  }
}


@media (max-width: 420px) {
.road-arrow {
    display: none;
  }

  .road-step {
    min-width: 50px;
    max-width: 58px;
  }

  .road-segment {
    min-width: 6px;
    flex: 1 0 6px;
  }
}



/* ════════ MASCOT IMAGE ════════ */
.mascot-img {
  max-width: 100%;
  height: auto;
  display: block;
}





/* ── NAVIGATION ── */
.nav-logo .jk-gray,
.nav-logo .jk-blue {
  font-size: clamp(16px, 4.5vw, 24px);
}

.nav-logo .jk-sub {
  font-size: clamp(7px, 2vw, 10px);
}




/* ── BANNER ── */
.banner {
  font-size: clamp(0.75rem, 2.5vw, 0.92rem);
  padding: clamp(10px, 2.5vw, 14px) clamp(12px, 4vw, 20px);
  margin: clamp(8px, 2vw, 14px) clamp(10px, 3vw, 16px) 0;
}

/* ── HERO / MAIN BODY TEXT ── */
.hero-copy,
.home-copy,
.portfolio-copy,
.portfolio-hero,
.about-text,
.about-story,
.services-intro,
.services-include {
  font-size: clamp(14px, 3.8vw, 19px);
  line-height: clamp(1.6, 2vw + 1.2, 1.9);
}


/* ── SERVICES ICON GRID (home) ── */
.we-help {
  font-size: clamp(0.78rem, 2.5vw, 1rem);
  margin: clamp(16px, 4vw, 28px) clamp(14px, 4vw, 20px) clamp(10px, 2.5vw, 16px);
}

.services-grid {
  gap: clamp(8px, 2.5vw, 16px);
  padding: 0 clamp(12px, 3.5vw, 20px);
}

.service-icon-card .icon {
  width: clamp(36px, 9vw, 52px);
  height: clamp(36px, 9vw, 52px);
}
