/* ============================================================
   SHAKON I.D — SECTIONS (about, services, portfolio, testimonials, cta)
   ============================================================ */

/* ===== SHARED ===== */
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

section[class^="section-"] {
  padding: 100px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}

.section-eyebrow {
  font-family: 'Manrope', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #c6a15b;
  margin-bottom: 16px;
}

.section-heading {
  font-family: 'Syne', serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #1a1a1a;
  margin-bottom: 20px;
}

.section-paragraph {
  font-family: 'Manrope', sans-serif;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.8;
  color: #4a5568;
  max-width: 640px;
  margin: 0 auto;
}

.section-cta {
  text-align: center;
  margin-top: 60px;
}

.btn-link {
  display: inline-block;
  font-family: 'Manrope', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #1a4b8c;
  text-decoration: none;
  padding-bottom: 4px;
  border-bottom: 1.5px solid #c6a15b;
  transition: all 0.3s ease;
}

.btn-link:hover {
  color: #c6a15b;
  padding-left: 8px;
}

/* ===== ABOUT BRIEF ===== */
.section-about-brief {
  background: #faf8f5;
}

.about-brief-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-brief-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 16px;
}

.about-brief-content .section-heading,
.about-brief-content .section-paragraph {
  text-align: left;
  margin-left: 0;
}

/* ===== SERVICES ===== */
.section-services {
  background: #ffffff;
  overflow: hidden;
}

.section-services .section-header {
  margin-bottom: 60px;
}

.services-scroll-wrap {
  position: relative;
  overflow: hidden;
  padding: 0 0 20px;
}

.services-scroll {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 0 24px 20px;
  scrollbar-width: none;
  
  -webkit-overflow-scrolling: touch;
  justify-content: center;
  
}

.services-scroll.overflowing {
  justify-content: flex-start;
}

.services-scroll::-webkit-scrollbar {
  display: none;
}

.service-card {
  position: relative;
  flex: 0 0 calc(50% - 12px);
  min-width: 320px;
  height: 460px;
  border-radius: 4px;
  overflow: hidden;
  
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-card:hover {
  transform: translateY(-6px);
}

.service-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}

.service-card:hover .service-bg {
  transform: scale(1.05);
}

.service-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 20, 40, 0.92) 0%,
    rgba(10, 20, 40, 0.7) 50%,
    rgba(10, 20, 40, 0.4) 100%
  );
  z-index: 1;
}

.service-content {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 40px 32px;
  z-index: 2;
  color: #ffffff;
}

.service-icon {
  font-family: 'Syne', serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #c6a15b;
  margin-bottom: 12px;
}

.service-title {
  font-family: 'Syne', serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 12px;
}

.service-desc {
  font-family: 'Manrope', sans-serif;
  font-size: 0.92rem;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  max-width: 380px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .services-scroll {
    
  }
  .service-card {
    
  }

  section[class^="section-"] {
    padding: 70px 0;
  }

  .about-brief-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-brief-content .section-heading,
  .about-brief-content .section-paragraph {
    text-align: center;
    margin-left: auto;
  }

  .about-brief-content .section-eyebrow {
    text-align: center;
  }

  .service-card {
    flex: 0 0 80%;
    min-width: 260px;
    height: 400px;
  }

  .service-title {
    font-size: 1.6rem;
  }

  .service-content {
    padding: 32px 24px;
  }
}

@media (max-width: 480px) {
  section[class^="section-"] {
    padding: 60px 0;
  }

  .section-inner {
    padding: 0 20px;
  }

  .service-card {
    flex: 0 0 85%;
    height: 380px;
  }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  .service-card,
  .service-bg,
  .services-scroll {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* ===== PORTFOLIO PREVIEW ===== */
.section-portfolio {
  background: #faf8f5;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.portfolio-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: #0f1e35;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(198, 161, 91, 0.2);
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 4px 20px rgba(15, 30, 53, 0.08);
}

.portfolio-card:hover {
  transform: translateY(-6px);
  border-color: #c6a15b;
  box-shadow: 0 20px 50px rgba(15, 30, 53, 0.25);
}

.portfolio-image {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #0a1525;
}

.portfolio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.portfolio-card:hover .portfolio-image img {
  transform: scale(1.06);
}

.portfolio-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(15, 30, 53, 0.7) 0%,
    rgba(15, 30, 53, 0.1) 40%,
    transparent 100%
  );
  pointer-events: none;
}

.portfolio-number {
  position: absolute;
  top: 20px;
  left: 24px;
  font-family: 'Syne', serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #c6a15b;
  z-index: 2;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.portfolio-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1a2a45, #0a1525);
  font-family: 'Syne', serif;
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.5);
}

.portfolio-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 28px;
  border-top: 1px solid rgba(198, 161, 91, 0.15);
}

.portfolio-info-text {
  flex: 1;
  min-width: 0;
}

.portfolio-title {
  font-family: 'Syne', serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
  line-height: 1.2;
}

.portfolio-category {
  font-family: 'Manrope', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #c6a15b;
}

.portfolio-link {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(198, 161, 91, 0.4);
  color: #c6a15b;
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.portfolio-card:hover .portfolio-link {
  background: #c6a15b;
  color: #0f1e35;
  border-color: #c6a15b;
  transform: translateX(4px);
}

@media (max-width: 768px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .portfolio-title {
    font-size: 1.15rem;
  }

  .portfolio-info {
    padding: 20px 22px;
  }

  .portfolio-link {
    width: 38px;
    height: 38px;
  }
}




/* ===== QUOTE BLOCKS ===== */
.section-quote {
  background: #0a1525;
  padding: 140px 0;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

/* Noise texture */
.section-quote::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
  opacity: 0.15;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 1;
}

/* Radial glow */
.section-quote::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 40%, rgba(26, 75, 140, 0.25), transparent 50%),
              radial-gradient(circle at 80% 60%, rgba(198, 161, 91, 0.12), transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.quote-content {
  position: relative;
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
  z-index: 2;
}





.quote-text {
  font-family: 'Anton', sans-serif;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #ffffff;
  margin: 0;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}



@media (max-width: 768px) {
  .section-quote { padding: 100px 0; }
  
  .quote-text { font-size: 1.75rem; }
}

/* ===== GRAPHIC QUOTE MARKS ===== */
.quote-marks-wrap {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
}

.quote-marks-wrap.bottom {
  margin-top: 40px;
  margin-bottom: 0;
  transform: rotate(180deg);
}

.q-mark {
  width: 50px;
  height: 80px;
  position: relative;
}

/* The top hook of the quote */
.q-mark::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 50px;
  height: 50px;
  border-top-left-radius: 50px;
  border-bottom-left-radius: 50px;
  border-left: 15px solid #c6a15b;
  border-top: 15px solid #c6a15b;
  transform: rotate(45deg);
  transform-origin: bottom left;
}

/* The bottom block of the quote */
.q-mark::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 20px;
  width: 30px;
  height: 40px;
  background: #c6a15b;
}

@media (max-width: 768px) {
  .q-mark { width: 35px; height: 56px; }
  .q-mark::before { width: 35px; height: 35px; border-width: 10px; }
  .q-mark::after { width: 20px; height: 28px; left: 15px; }
}



/* ===== TESTIMONIALS (Clean Google Play Style) ===== */
.section-testimonials {
  background: #ffffff;
  padding: 100px 0;
  overflow: hidden;
}

.testimonials-scroll-wrap {
  position: relative;
  width: 100%;
}

.testimonials-scroll {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding: 20px 40px 40px;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  justify-content: center;
}

.testimonials-scroll::-webkit-scrollbar {
  display: none;
}

.testimonial-card {
  flex: 0 0 350px;
  background: #faf8f5;
  border-radius: 16px;
  padding: 24px;
  border: 1px solid rgba(26, 75, 140, 0.08);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(15, 30, 53, 0.08);
}

.testimonial-top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}

.testimonial-profile-pic {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #1a4b8c;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Syne', serif;
  font-size: 1.4rem;
  font-weight: 700;
}

.testimonial-meta {
  display: flex;
  flex-direction: column;
}

.testimonial-name {
  font-family: 'Manrope', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 2px;
}

.testimonial-role {
  font-family: 'Manrope', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  color: #6b6b6b;
}

.testimonial-stars {
  color: #c6a15b;
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.testimonial-quote {
  font-family: 'Manrope', sans-serif;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #4a5568;
  margin: 0;
}

@media (max-width: 768px) {
  .testimonials-scroll {
    padding: 20px 20px 40px;
    justify-content: flex-start;
  }
  .testimonial-card {
    flex: 0 0 85%;
  }
}




/* ===== PRE-FOOTER CTA CARD (Full BG) ===== */
.section-pre-footer-cta {
  padding: 60px 0 100px;
  background: #faf8f5;
}

.cta-card-full {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  min-height: 320px;
  border-radius: 20px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-color: #0f1e35;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 50px rgba(15, 30, 53, 0.2);
}

.cta-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 20, 40, 0.85), rgba(10, 20, 40, 0.6));
  z-index: 1;
}

.cta-card-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 60px 40px;
  max-width: 700px;
}

.cta-card-heading {
  font-family: 'Syne', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
  line-height: 1.1;
}

.cta-card-paragraph {
  font-family: 'Manrope', sans-serif;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 32px;
  line-height: 1.6;
}

.cta-card-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Black Stroke Buttons, No Fill */
.btn-cta-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  background: transparent;
  color: #ffffff;
  font-family: 'Manrope', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  border: 2px solid rgba(0, 0, 0, 0.8); /* Black stroke */
  border-radius: 4px;
  transition: all 0.3s ease;
}

.btn-cta-outline:hover {
  background: #ffffff;
  color: #0f1e35;
  border-color: #ffffff;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .cta-card-content {
    padding: 40px 20px;
  }
  .cta-card-actions {
    flex-direction: column;
  }
  .btn-cta-outline {
    width: 100%;
  }
}

/* ===== CTA CAPTION & MOBILE FIX ===== */
.cta-card-eyebrow {
  font-family: 'Manrope', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #c6a15b;
  margin-bottom: 12px;
}



/* ===== CTA MOBILE (Rectangle, Less Height) ===== */
@media (max-width: 768px) {
  .section-pre-footer-cta {
    padding: 20px 16px 60px !important;
  }
  
  .cta-card-full {
    min-height: 200px; /* Reduced height */
    border-radius: 16px;
    width: 100%;
  }

  .cta-card-content {
    padding: 30px 20px;
  }

  .cta-card-eyebrow {
    font-size: 0.65rem;
    margin-bottom: 8px;
  }

  .cta-card-heading {
    font-size: 1.6rem;
    margin-bottom: 10px;
  }

  .cta-card-paragraph {
    font-size: 0.85rem;
    margin-bottom: 20px;
  }

  .cta-card-actions {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
  }

  .btn-cta-outline {
    padding: 10px 16px;
    font-size: 0.75rem;
    flex: 1 1 auto;
  }
}

/* ===== INNOVATIVE ===== */
.section-innovative {
  background: #faf8f5;
  padding: 100px 0;
  overflow-x: hidden; /* Force hide overflow */
  width: 100%;
}

.innovative-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 100%;
}

.innovative-content {
  max-width: 100%;
  min-width: 0; /* Prevents grid blowout */
  overflow-wrap: break-word;
}

.innovative-content .section-heading,
.innovative-content .section-paragraph {
  text-align: left;
  margin-left: 0;
}

.innovative-image {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16/9;
  border-radius: 16px;
  overflow: hidden;
  background: #e7e0d8;
}

.innovative-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 900px) {
  .section-innovative {
    padding: 60px 0;
  }
  
  .innovative-grid {
    grid-template-columns: 1fr; /* Stack them */
    gap: 32px;
    width: 100%;
  }
  
  .innovative-content .section-heading,
  .innovative-content .section-paragraph {
    text-align: center;
    margin-left: auto;
  }
  
  .innovative-content .section-cta {
    text-align: center !important;
  }
}

/* ===== SCROLL REVEAL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
              transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: opacity, transform;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ===== QUOTE AUTHOR ===== */
.quote-author-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
}

.quote-author-line {
  width: 40px;
  height: 1px;
  background: #c6a15b;
  opacity: 0.8;
}

.quote-author-name {
  font-family: 'Manrope', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #c6a15b; /* GOLD */
}

@media (max-width: 768px) {
  .quote-author-name {
    font-size: 0.75rem;
  }
  .quote-author-line {
    width: 30px;
  }
}

/* ===== SERVICES PAGE ===== */
.section-services-page {
  padding: 80px 0;
  background: #faf8f5;
}

.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 100px;
}

.service-block.reverse {
  direction: rtl;
}

.service-block.reverse .service-block-content {
  direction: ltr;
}

.service-block-img {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 16px;
  overflow: hidden;
  background: #e7e0d8;
  box-shadow: 0 10px 40px rgba(0,0,0,0.05);
}

.service-block-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-block-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1a4b8c, #0f1e35);
}

.service-block-content {
  padding: 20px;
}

.service-block-num {
  font-family: 'Syne', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #c6a15b;
  display: block;
  margin-bottom: 12px;
}

.service-block-title {
  font-family: 'Syne', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 20px;
  line-height: 1.1;
}

.service-block-desc {
  font-family: 'Manrope', sans-serif;
  font-size: 1rem;
  color: #4a5568;
  line-height: 1.8;
  margin-bottom: 32px;
}

@media (max-width: 900px) {
  .service-block, .service-block.reverse {
    grid-template-columns: 1fr;
    gap: 32px;
    direction: ltr;
    margin-bottom: 60px;
  }
  .service-block-img {
    aspect-ratio: 16/9;
  }
}

/* ===== PROJECTS PAGE ===== */
.project-filter-wrap {
  padding: 40px 0;
  background: #faf8f5;
}

.project-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.filter-btn {
  background: transparent;
  border: 1px solid rgba(26, 75, 140, 0.2);
  padding: 10px 24px;
  border-radius: 30px;
  font-family: 'Manrope', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: #1a4b8c;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover, .filter-btn.active {
  background: #1a4b8c;
  color: #ffffff;
  border-color: #1a4b8c;
}

.section-projects-page {
  padding: 40px 0 80px;
  background: #faf8f5;
}

.projects-grid-full {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.project-card-full {
  display: block;
  text-decoration: none;
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  border: 1px solid rgba(26, 75, 140, 0.05);
}

.project-card-full:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(15, 30, 53, 0.12);
}

/* EXPLICIT 16:9 IMAGE */
.project-card-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #e7e0d8;
  overflow: hidden;
}

.project-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.project-card-full:hover .project-card-img img {
  transform: scale(1.05);
}

.project-card-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1a4b8c, #0f1e35);
}

.project-card-content {
  padding: 24px;
}

.project-card-cat {
  font-family: 'Manrope', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #c6a15b;
  display: block;
  margin-bottom: 8px;
}

.project-card-title {
  font-family: 'Syne', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 16px;
  line-height: 1.2;
}

.project-card-link {
  font-family: 'Manrope', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: #1a4b8c;
  transition: color 0.3s ease;
}

.project-card-full:hover .project-card-link {
  color: #c6a15b;
}

@media (max-width: 768px) {
  .projects-grid-full {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ===== ABOUT PAGE ===== */
.section-about-story {
  padding: 100px 0;
  background: #faf8f5;
}
.about-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-story-content .section-paragraph {
  text-align: left;
  margin-bottom: 20px;
}
.about-story-img {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 16px;
  overflow: hidden;
  background: #e7e0d8;
}
.about-story-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-story-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #1a4b8c, #0f1e35);
}

.section-values {
  padding: 100px 0;
  background: #ffffff;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-top: 40px;
}
.value-card {
  background: #faf8f5;
  padding: 40px;
  border-radius: 16px;
  border: 1px solid rgba(26, 75, 140, 0.05);
}
.value-num {
  font-family: 'Syne', serif;
  font-size: 1.5rem;
  color: #c6a15b;
  font-weight: 700;
  display: block;
  margin-bottom: 16px;
}
.value-title {
  font-family: 'Syne', serif;
  font-size: 1.5rem;
  color: #1a1a1a;
  margin-bottom: 12px;
}
.value-desc {
  font-family: 'Manrope', sans-serif;
  font-size: 0.95rem;
  color: #4a5568;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .about-story-grid { grid-template-columns: 1fr; gap: 32px; }
  .values-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .team-grid { grid-template-columns: 1fr; }
}

/* ===== SUB-PAGE HERO TYPOGRAPHY ===== */
.page-hero-content {
  text-align: center;
  padding: 0 24px;
}

.sub-hero-title {
  font-family: 'Anton', sans-serif;
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 400; /* Anton is naturally bold */
  text-transform: uppercase;
  letter-spacing: 0.05em; /* The spacing you asked for */
  color: #ffffff;
  margin: 0;
  line-height: 1.1;
  text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

/* ===== TEAM SECTION ===== */
.section-team {
  padding: 100px 0;
  background: #faf8f5;
  overflow: hidden;
}
.team-scroll-wrap {
  width: 100%;
  padding-bottom: 20px;
}
.team-scroll {
  display: flex;
  gap: 32px;
  overflow-x: auto;
  padding: 20px 40px 40px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.team-scroll::-webkit-scrollbar { display: none; }
.team-card {
  flex: 0 0 260px;
  text-align: center;
}
.team-img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 20px;
  overflow: hidden;
  background: #e7e0d8;
  margin-bottom: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.team-img img {
  width: 100%; height: 100%; object-fit: cover;
}
.team-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Syne', serif; font-size: 3rem; color: #c6a15b;
  background: #0f1e35;
}
.team-name {
  font-family: 'Syne', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 4px;
}
.team-role {
  font-family: 'Manrope', sans-serif;
  font-size: 0.8rem;
  color: #6b6b6b;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
@media (max-width: 900px) {
  .team-scroll { padding: 20px 20px 40px; }
  .team-card { flex: 0 0 200px; }
}



/* ===== SUB-PAGE HERO PADDING (PC) ===== */
.page-hero {
  padding: 200px 40px 120px !important; /* Huge top padding for PC nav */
  position: relative;
}

.page-hero-content {
  max-width: 1200px;
  margin: 0 auto;
}

/* ===== SUB-PAGE HERO PADDING (Mobile) ===== */
@media (max-width: 768px) {
  .page-hero {
    padding: 130px 20px 70px !important; /* Just enough for mobile nav */
  }
}

/* ===== CONTACT PAGE ===== */
.section-contact-page {
  padding: 100px 0;
  background: #faf8f5;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-details {
  margin-bottom: 40px;
}

.contact-detail-item {
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
}

.contact-label {
  font-family: 'Manrope', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #c6a15b;
  margin-bottom: 6px;
}

.contact-detail-item a, .contact-detail-item span {
  font-family: 'Syne', sans-serif;
  font-size: 1.4rem;
  color: #1a1a1a;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-detail-item a:hover {
  color: #1a4b8c;
}

.contact-socials {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.social-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #1a4b8c;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  transition: all 0.3s ease;
}

.social-circle:hover {
  background: #c6a15b;
  transform: translateY(-3px);
}

.contact-form-side {
  background: #ffffff;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(15, 30, 53, 0.05);
  border: 1px solid rgba(26, 75, 140, 0.05);
}

.contact-form .form-group {
  margin-bottom: 24px;
}

.contact-form label {
  display: block;
  font-family: 'Manrope', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 8px;
}

.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(26, 75, 140, 0.15);
  border-radius: 8px;
  font-family: 'Manrope', sans-serif;
  font-size: 0.95rem;
  background: #faf8f5;
  transition: all 0.3s ease;
}

.contact-form input:focus, .contact-form textarea:focus {
  outline: none;
  border-color: #1a4b8c;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(26, 75, 140, 0.1);
}

.service-context-box {
  background: rgba(198, 161, 91, 0.1);
  border-left: 3px solid #c6a15b;
  padding: 12px 16px;
  margin-bottom: 24px;
  font-family: 'Manrope', sans-serif;
  font-size: 0.9rem;
  color: #1a1a1a;
  border-radius: 0 8px 8px 0;
}

.alert-success {
  background: #e8f5e9;
  color: #2e7d32;
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 24px;
  font-family: 'Manrope', sans-serif;
}

.alert-error {
  background: #ffebee;
  color: #c62828;
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 24px;
  font-family: 'Manrope', sans-serif;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .contact-form-side {
    padding: 24px;
  }
  .contact-detail-item a, .contact-detail-item span {
    font-size: 1.2rem;
  }
}

/* ===== CONTACT PAGE UPGRADES ===== */

/* Stats Row */
.section-contact-stats {
  background: #0f1e35;
  padding: 60px 0;
  border-bottom: 1px solid rgba(198, 161, 91, 0.2);
}
.stats-row {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
  text-align: center;
}
.stat-item {
  display: flex;
  flex-direction: column;
}
.stat-num {
  font-family: 'Anton', sans-serif;
  font-size: 3.5rem;
  color: #c6a15b;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-lbl {
  font-family: 'Manrope', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.7);
}

/* Real Social Icons */
.social-icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid rgba(26, 75, 140, 0.1);
  color: #1a4b8c;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  text-decoration: none;
}
.social-icon-btn:hover {
  background: #1a4b8c;
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(26, 75, 140, 0.2);
}

/* Select Dropdown */
.form-select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(26, 75, 140, 0.15);
  border-radius: 8px;
  font-family: 'Manrope', sans-serif;
  font-size: 0.95rem;
  background: #faf8f5;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%231a4b8c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  cursor: pointer;
  transition: all 0.3s ease;
}
.form-select:focus {
  outline: none;
  border-color: #1a4b8c;
  background-color: #ffffff;
  box-shadow: 0 0 0 4px rgba(26, 75, 140, 0.1);
}

@media (max-width: 768px) {
  .stats-row { gap: 30px; }
  .stat-num { font-size: 2.5rem; }
}

/* ===== CONTACT PAGE UPGRADES ===== */

/* Stats Row */
.section-contact-stats {
  background: #0f1e35;
  padding: 60px 0;
  border-bottom: 1px solid rgba(198, 161, 91, 0.2);
}
.stats-row {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
  text-align: center;
}
.stat-item {
  display: flex;
  flex-direction: column;
}
.stat-num {
  font-family: 'Anton', sans-serif;
  font-size: 3.5rem;
  color: #c6a15b;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-lbl {
  font-family: 'Manrope', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.7);
}

/* Real Social Icons */
.social-icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid rgba(26, 75, 140, 0.1);
  color: #1a4b8c;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  text-decoration: none;
}
.social-icon-btn:hover {
  background: #1a4b8c;
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(26, 75, 140, 0.2);
}

/* Select Dropdown */
.form-select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(26, 75, 140, 0.15);
  border-radius: 8px;
  font-family: 'Manrope', sans-serif;
  font-size: 0.95rem;
  background: #faf8f5;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%231a4b8c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  cursor: pointer;
  transition: all 0.3s ease;
}
.form-select:focus {
  outline: none;
  border-color: #1a4b8c;
  background-color: #ffffff;
  box-shadow: 0 0 0 4px rgba(26, 75, 140, 0.1);
}

@media (max-width: 768px) {
  .stats-row { gap: 30px; }
  .stat-num { font-size: 2.5rem; }
}

/* ===== CONTACT PAGE POLISH ===== */
.contact-divider {
  border: none;
  height: 1px;
  background: rgba(26, 75, 140, 0.1);
  margin: 0;
  width: 100%;
}

.section-contact-page {
  position: relative;
}

.section-contact-page .section-inner {
  position: relative;
}

/* The Quote on Contact Page */
.section-quote + .section-contact-page {
  padding-top: 80px;
}

/* ===== CONTACT PAGE REDESIGN ===== */
.section-contact-intro {
  padding: 100px 0;
  background: #faf8f5;
}
.contact-intro-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
}
.stats-grid-editorial {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(26, 75, 140, 0.1);
  border-bottom: 1px solid rgba(26, 75, 140, 0.1);
  padding: 40px 0;
}
.stat-box-editorial {
  text-align: center;
  border-right: 1px solid rgba(26, 75, 140, 0.1);
  padding: 0 20px;
}
.stat-box-editorial:last-child {
  border-right: none;
}
.stat-num-editorial {
  font-family: 'Syne', sans-serif;
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 800;
  color: #1a4b8c;
  line-height: 1;
  display: block;
}
.stat-lbl-editorial {
  font-family: 'Manrope', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: #6b6b6b;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 12px;
  display: block;
}

/* Contact Form Grid */
.section-contact-page {
  padding: 100px 0;
  background: #ffffff;
}
.contact-form-side {
  background: #faf8f5;
  padding: 50px;
  border-radius: 24px;
  border: 1px solid rgba(26, 75, 140, 0.05);
  box-shadow: 0 20px 40px rgba(15, 30, 53, 0.05);
}

/* ===== FORM & CONTACT GRID FIX ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  width: 100%;
}

.contact-form-side {
  background: #ffffff;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 15px 50px rgba(15, 30, 53, 0.08);
  border: 1px solid rgba(26, 75, 140, 0.05);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.contact-form {
  width: 100%;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  width: 100%;
}

.form-row .form-group {
  width: 100%;
  min-width: 0; /* Prevents grid blowout */
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}


/* ===== CONTACT FORM MOBILE PERFECTION ===== */
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    width: 100%;
  }

  .contact-form-side {
    padding: 24px 16px; /* Tighter padding */
    width: 100%;
    box-sizing: border-box;
  }

  .form-row {
    grid-template-columns: 1fr; /* Stack on mobile */
    gap: 20px;
    width: 100%;
  }

  .contact-form input,
  .contact-form textarea,
  .contact-form select {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box; /* Forced fit */
    font-size: 16px; /* Prevents iOS zoom on focus */
  }
}

/* ===== STATS MOBILE FIX ===== */
@media (max-width: 900px) {
  .stats-grid-editorial {
    grid-template-columns: 1fr 1fr !important; /* 2 columns instead of 4 */
    gap: 30px 0;
    padding: 30px 0;
    width: 100%;
    box-sizing: border-box;
  }
  
  .stat-box-editorial {
    padding: 0 10px;
    border-right: none; /* Remove the right borders */
  }

  /* Add a bottom border to the top two items to create the cross divider */
  .stat-box-editorial:nth-child(1),
  .stat-box-editorial:nth-child(2) {
    border-bottom: 1px solid rgba(26, 75, 140, 0.1);
    padding-bottom: 30px;
  }

  .stat-num-editorial {
    font-size: 2.5rem;
  }
}

/* ===== FINAL TOUCH: SHARP BUTTON & ANIMATIONS ===== */
.contact-form .btn-cta-solid {
  border-radius: 4px !important; /* Sharp corners */
  text-transform: uppercase;
  letter-spacing: 0.1em;
  box-shadow: 0 4px 15px rgba(26, 75, 140, 0.2);
}

.contact-form .btn-cta-solid:hover {
  border-radius: 4px !important;
  box-shadow: 0 10px 25px rgba(198, 161, 91, 0.4); /* Gold glow */
}

/* ===== PAGE ENTRANCE ANIMATIONS ===== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Animate the Hero Title */
.sub-hero-title {
  animation: fadeUp 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

/* Animate the Form and Info Side */
.contact-info-side,
.contact-form-side {
  opacity: 0;
  animation: fadeUp 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s forwards;
}

.contact-form-side {
  animation-delay: 0.4s; /* Form comes in slightly after the text */
}

.contact-form input:hover,
.contact-form textarea:hover,
.contact-form select:hover {
  background: #ffffff;
  border-color: rgba(26, 75, 140, 0.3);
}
