/* KAMSUR — landing page styles
   GSAP note: elements have descriptive classes such as .gsap-hero-title,
   .gsap-about-title, .gsap-services-title and .gsap-contact-title.
   No entrance animations are included; add your own timelines. */

:root {
  --ink: #101820;
  --ink-soft: #17242d;
  --paper: #f4f3ef;
  --white: #fff;
  --muted: #aeb8bd;
  --lime: #d22027;
  --red: #e52d3b;
  --blue: #d22027;
  --line: rgba(255,255,255,.15);
  --dark-line: rgba(16,24,32,.15);
  --body: "DM Sans", sans-serif;
  --display: "Manrope", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { font-family: var(--body); background: var(--paper); color: var(--ink); overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
.container { width: min(1180px, calc(100% - 64px)); margin-inline: auto; }
.section { position: relative; }
.topline { background: #0a1117; color: #c6d0d5; font-size: 9px; letter-spacing: 1.5px; }
.topline-inner { min-height: 32px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.site-header { position: absolute; z-index: 20; top: 32px; left: 0; width: 100%; border-bottom: 1px solid rgba(255,255,255,.16); color: white; }
.nav { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand-mark { width: 43px; height: 43px; display: grid; place-items: center; border-radius: 50%; color: var(--ink); background: linear-gradient(140deg, #fff 0 35%, #d5d8d8 36% 52%, #b8202b 53% 100%); font: 800 27px var(--display); box-shadow: inset 0 0 0 2px rgba(255,255,255,.4); }
.brand-copy { display: flex; flex-direction: column; gap: 2px; }
.brand-copy strong { font: 800 19px var(--display); letter-spacing: 3px; }
.brand-copy small { font-size: 8px; letter-spacing: 1.2px; color: #c6d0d5; }
.nav-links { display: flex; align-items: center; gap: clamp(18px, 3vw, 38px); }
.nav-link { color: #d5dadd; font-size: 12px; transition: color .2s; }
.nav-link:hover, .nav-link.active { color: var(--lime); }
.nav-cta { display: inline-flex; gap: 20px; align-items: center; background: var(--lime); color: var(--ink); padding: 13px 17px; font-size: 11px; font-weight: 700; }
.nav-cta span { font-size: 17px; }
.menu-toggle { display: none; background: none; border: 0; color: white; cursor: pointer; }

.hero { min-height: 780px; min-height: min(850px, 100svh); padding: 190px 0 60px; background: var(--ink); color: white; overflow: hidden; display: flex; align-items: center; }
.hero-grid { position: absolute; inset: 0; opacity: .53; background-image: linear-gradient(rgba(255,255,255,.1) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.1) 1px, transparent 1px); background-size: 70px 70px; mask-image: linear-gradient(90deg, black, transparent 90%); }
.hero-content { position: relative; z-index: 1; }
.hero-copy { position: relative; z-index: 2; max-width: 780px; }
.eyebrow { display: flex; align-items: center; gap: 12px; color: var(--blue); text-transform: uppercase; font-size: 10px; letter-spacing: 2px; font-weight: 700; }
.hero .eyebrow { color: var(--lime); }
.eyebrow-line { width: 28px; height: 1px; background: currentColor; display: inline-block; }
.hero-title { margin-top: 30px; font: 700 clamp(56px, 8.4vw, 112px)/.99 var(--display); letter-spacing: -.075em; max-width: 850px; }
em { color: var(--lime); font-style: normal; }
.hero-description { max-width: 480px; margin-top: 28px; color: #bac4c9; font-size: 14px; line-height: 1.9; }
.hero-actions { display: flex; align-items: center; gap: 30px; margin-top: 35px; }
.button { border: 0; display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; padding: 16px 19px; font-size: 11px; font-weight: 700; cursor: pointer; }
.button-primary { background: var(--lime); color: var(--ink); }
.button span { font-size: 18px; transition: transform .2s; }
.button:hover span { transform: translate(3px, -3px); }
.text-link { font-size: 11px; color: #dce1e3; }
.text-link span { color: var(--lime); margin-left: 10px; font-size: 16px; }
.hero-visual { position: absolute; width: min(43vw, 510px); aspect-ratio: 1; right: -2%; top: 50%; transform: translateY(-48%); border-radius: 50%; border: 1px solid rgba(212,232,91,.38); display: grid; place-items: center; }
.hero-visual::before { content: ""; position: absolute; inset: 10%; border-radius: 50%; background: radial-gradient(circle at 50% 48%, rgba(22,129,189,.5), rgba(22,129,189,.05) 62%, transparent 63%); }
.visual-orbit { position: absolute; border: 1px solid rgba(255,255,255,.17); border-radius: 50%; }
.orbit-one { inset: 16%; transform: rotate(-30deg) scaleY(.72); }
.orbit-two { inset: 27%; transform: rotate(35deg) scaleY(.72); }
.visual-sun { width: 31%; aspect-ratio: 1; background: var(--lime); border-radius: 50%; box-shadow: 0 0 100px rgba(212,232,91,.24); }
.visual-cross { position: absolute; color: var(--ink); font-size: clamp(35px, 5vw, 65px); }
.visual-caption { position: absolute; left: 8%; right: 8%; bottom: 12%; display: flex; justify-content: space-between; color: #d7e0e4; text-transform: uppercase; font-size: 8px; letter-spacing: 1.5px; }
.flag-stripe { position: absolute; right: -4%; top: 24%; width: 95px; height: 44px; transform: rotate(28deg); display: flex; flex-direction: column; }
.flag-stripe i:nth-child(1) { flex: 1; background: #111; }
.flag-stripe i:nth-child(2) { flex: 1; background: var(--red); }
.flag-stripe i:nth-child(3) { flex: 1; background: #07864c; }
.hero-bottomline { display: flex; align-items: center; gap: 17px; position: absolute; bottom: -20px; left: 0; color: #9caab0; font-size: 8px; letter-spacing: 2px; }
.hero-bottomline b { width: 22px; height: 1px; background: var(--lime); }
.scroll-cue { position: absolute; bottom: 38px; right: 4.5%; color: #9caab0; display: flex; align-items: center; gap: 12px; writing-mode: vertical-rl; font-size: 8px; letter-spacing: 2px; }
.scroll-cue i { color: var(--lime); font-size: 18px; font-style: normal; }

.about { padding: 125px 0 115px; background: var(--paper); }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.section-index { font-size: 9px; color: #7b8589; letter-spacing: 1.5px; }
.about-layout { display: grid; grid-template-columns: 1.2fr .8fr; gap: 10%; align-items: start; margin-top: 62px; }
.about-title, .services-title, .contact-title { font: 700 clamp(43px, 6.1vw, 78px)/1.08 var(--display); letter-spacing: -.07em; }
.about-title em, .services-title em { color: var(--blue); }
.about-copy { padding-top: 8px; max-width: 430px; }
.about-copy p { color: #68747a; font-size: 13px; line-height: 1.9; margin-bottom: 18px; }
.about-copy .lead { color: var(--ink); font-size: 17px; line-height: 1.65; font-weight: 600; }
.underlined-link { display: inline-flex; gap: 25px; align-items: center; border-bottom: 1px solid var(--ink); padding: 10px 0; margin-top: 12px; font-size: 11px; font-weight: 700; }
.underlined-link span { color: var(--blue); font-size: 17px; }
.values-row { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--dark-line); margin-top: 100px; }
.value-card { padding: 25px 25px 0 0; }
.value-number { color: var(--blue); font-size: 10px; letter-spacing: 1px; }
.value-card h3 { margin-top: 28px; font: 700 21px var(--display); }
.value-card p { margin-top: 10px; max-width: 230px; color: #768187; font-size: 12px; line-height: 1.7; }

.services { padding: 125px 0 130px; background: #e8e9e4; }
.services-intro { display: flex; justify-content: space-between; align-items: end; gap: 35px; margin: 60px 0 65px; }
.services-intro > p { max-width: 290px; color: #68747a; font-size: 13px; line-height: 1.8; padding-bottom: 8px; }
.service-list { border-top: 1px solid var(--dark-line); }
.service-item { display: grid; grid-template-columns: 70px 1fr 40px; align-items: center; gap: 25px; padding: 29px 10px; border-bottom: 1px solid var(--dark-line); transition: padding .25s, background .25s; }
.service-item:hover { padding-inline: 22px; background: rgba(255,255,255,.45); }
.service-count { color: var(--blue); font-size: 10px; }
.service-main h3 { font: 700 clamp(19px, 2.5vw, 28px) var(--display); letter-spacing: -.04em; }
.service-main p { margin-top: 8px; color: #748087; font-size: 12px; line-height: 1.6; }
.service-arrow { justify-self: end; color: var(--blue); font-size: 22px; }
.service-note { margin-top: 32px; font-size: 11px; color: #69757b; }
.service-note a { color: var(--ink); font-weight: 700; margin-left: 7px; border-bottom: 1px solid var(--blue); padding-bottom: 3px; }

.contact { padding: 125px 0 130px; background: var(--ink); color: white; }
.contact-layout { display: grid; grid-template-columns: 1fr .8fr; gap: 12%; margin-top: 65px; }
.contact-title { font-size: clamp(48px, 6.5vw, 82px); }
.contact-title em { color: var(--lime); }
.contact-copy > p { max-width: 370px; margin-top: 25px; color: #aab6bc; font-size: 13px; line-height: 1.9; }
.contact-detail { margin-top: 35px; }
.contact-detail span, .contact-detail p { display: block; color: #91a0a7; font-size: 9px; letter-spacing: 1.5px; line-height: 1.8; }
.contact-detail a { display: inline-block; margin-top: 7px; color: var(--lime); font-size: 16px; }
.contact-detail p { margin-top: 7px; font-size: 12px; letter-spacing: 0; color: #d4dcdf; }
.contact-form { display: flex; flex-direction: column; gap: 27px; }
.contact-form label { display: flex; flex-direction: column; gap: 11px; }
.contact-form label > span { color: #9eabb1; font-size: 10px; letter-spacing: 1px; }
.contact-form input, .contact-form textarea { width: 100%; border: 0; border-bottom: 1px solid rgba(255,255,255,.23); border-radius: 0; outline: 0; background: transparent; color: white; padding: 11px 0 15px; font-size: 13px; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--lime); }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #6f7c82; }
.form-submit { align-self: flex-start; margin-top: 5px; }
.form-note { color: #7f8d93; font-size: 10px; line-height: 1.6; }

.footer { background: #0a1117; color: white; padding: 35px 0 22px; }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding-bottom: 35px; }
.footer-top > p { color: #9caab0; font-size: 11px; }
.back-top { color: var(--lime); font-size: 9px; letter-spacing: 1.2px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.13); padding-top: 20px; display: flex; justify-content: space-between; gap: 20px; color: #77858c; font-size: 9px; }

@media (max-width: 900px) {
  .hero-visual { right: -10%; opacity: .6; width: 48vw; }
  .hero-copy { max-width: 680px; }
  .about-layout, .contact-layout { gap: 55px; }
  .nav-links { gap: 17px; }
  .nav-cta { padding: 12px; }
}
@media (max-width: 700px) {
  .container { width: min(100% - 40px, 560px); }
  .topline-inner { min-height: 29px; font-size: 7px; letter-spacing: 1px; }
  .topline-inner span:last-child { display: none; }
  .site-header { top: 29px; }
  .nav { min-height: 72px; }
  .brand-mark { width: 38px; height: 38px; }
  .brand-copy strong { font-size: 16px; }
  .brand-copy small { font-size: 7px; }
  .menu-toggle { display: flex; flex-direction: column; gap: 5px; padding: 10px 0 10px 10px; }
  .menu-toggle span { width: 23px; height: 2px; background: white; display: block; }
  .nav-links { position: absolute; top: 72px; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 20px 22px; background: #101820; border-bottom: 1px solid var(--line); }
  .nav-links.is-open { display: flex; }
  .nav-link { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-cta { justify-content: space-between; margin-top: 15px; padding: 14px; }
  .hero { min-height: 760px; min-height: 100svh; padding: 160px 0 100px; align-items: flex-start; }
  .hero-title { font-size: clamp(53px, 13vw, 82px); letter-spacing: -.075em; }
  .hero-description { max-width: 390px; font-size: 13px; }
  .hero-visual { width: 65vw; right: -23%; top: auto; bottom: 0; transform: none; opacity: .26; }
  .hero-bottomline { bottom: -60px; gap: 9px; font-size: 7px; }
  .hero-bottomline b { width: 12px; }
  .scroll-cue { display: none; }
  .about, .services, .contact { padding: 85px 0; }
  .section-index { font-size: 7px; }
  .about-layout, .contact-layout { grid-template-columns: 1fr; gap: 30px; margin-top: 45px; }
  .about-title, .services-title { font-size: clamp(43px, 11vw, 65px); }
  .about-copy { max-width: 100%; }
  .values-row { margin-top: 60px; gap: 25px 15px; }
  .value-card { padding-right: 0; }
  .value-card h3 { font-size: 17px; margin-top: 18px; }
  .value-card p { font-size: 11px; }
  .services-intro { display: block; margin: 45px 0 40px; }
  .services-intro > p { margin-top: 20px; }
  .service-item { grid-template-columns: 28px 1fr 20px; gap: 12px; padding: 23px 0; }
  .service-item:hover { padding-inline: 7px; }
  .service-main p { max-width: 300px; }
  .contact-layout { margin-top: 45px; }
  .contact-form { margin-top: 20px; }
  .footer-top { flex-wrap: wrap; }
  .footer-top > p { order: 3; width: 100%; }
  .footer-bottom { flex-direction: column; gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
/* Modal Container */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

/* Modal Content Box */
.modal-content {
  background: #ffffff;
  padding: 24px 32px;
  border-radius: 8px;
  text-align: center;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.modal-content h3 {
  margin-top: 0;
  color: #333333;
}

.modal-content p {
  color: #666666;
  margin-bottom: 20px;
}
/* recent projects */

/* ==========================
   RECENT PROJECTS
========================== */

.projects {
  background: #f7f7f5;
  padding: 110px 0;
}

.projects-intro,
.team-intro {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 40px;
  margin: 55px 0 45px;
}

.projects-title,
.team-title {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.1;
  letter-spacing: -2px;
}

.projects-title em,
.team-title em {
  color: #d22027;
  font-style: normal;
}

.projects-intro > p,
.team-intro > p {
  max-width: 390px;
  line-height: 1.8;
  color: #686868;
}

.projects-grid,
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.project-card,
.team-card {
  min-width: 0;
}

.project-image {
  height: 300px;
  position: relative;
  overflow: hidden;
  background: #e5e5e5;
}

.project-image img,
.team-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

.project-card:hover img,
.team-card:hover img {
  transform: scale(1.06);
}

.project-category {
  position: absolute;
  bottom: 18px;
  left: 18px;
  background: #101820;
  color: white;
  padding: 9px 13px;
  font-size: 10px;
  letter-spacing: 1px;
}

.project-info,
.team-info {
  padding: 22px 0;
}

.project-info > span,
.team-info > span {
  color: #d22027;
  font-size: 10px;
  letter-spacing: 1.5px;
  font-weight: 700;
}

.project-info h3,
.team-info h3 {
  font-family: 'Manrope', sans-serif;
  font-size: 21px;
  margin: 12px 0 8px;
}

.project-info p,
.team-info p {
  color: #777;
  font-size: 14px;
  line-height: 1.7;
}


/* ==========================
   OUR TEAM
========================== */

.team {
  background: #101820;
  color: white;
  padding: 110px 0;
}

.team .section-index {
  color: #aaa;
}

.team-intro > p {
  color: #b9bdc0;
}

.team-image {
  height: 360px;
  overflow: hidden;
  background: #26313a;
}

.team-info p {
  color: #aeb4b9;
}


/* ==========================
   RESPONSIVE DESIGN
========================== */

@media (max-width: 768px) {
  .projects,
  .team {
    padding: 75px 0;
  }

  .projects-intro,
  .team-intro {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    margin: 40px 0 30px;
  }

  .projects-grid,
  .team-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .project-image {
    height: 260px;
  }

  .team-image {
    height: 350px;
  }
}

/* ==========================================
   INDUSTRIES WE SERVE
========================================== */

.industries {
  padding: 115px 0 120px;
  background: var(--paper);
}

.industries-intro,
.why-intro {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 45px;
  margin: 60px 0 55px;
}

.industries-title,
.why-title {
  font: 700 clamp(43px, 5.8vw, 72px)/1.08 var(--display);
  letter-spacing: -.07em;
}

.industries-title em {
  color: var(--blue);
}

.industries-intro > p,
.why-intro > p {
  max-width: 370px;
  color: #68747a;
  font-size: 13px;
  line-height: 1.9;
  padding-bottom: 8px;
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px 25px;
}

.industry-card {
  min-width: 0;
}

.industry-image {
  position: relative;
  height: 255px;
  overflow: hidden;
  background: #e1e3df;
}

.industry-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .65s ease;
}

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

.industry-number {
  position: absolute;
  bottom: 0;
  left: 0;
  background: var(--lime);
  color: white;
  padding: 12px 17px;
  font: 700 12px var(--display);
}

.industry-content {
  padding: 21px 0 10px;
}

.industry-label {
  color: var(--blue);
  font-size: 9px;
  letter-spacing: 1.6px;
  font-weight: 700;
}

.industry-content h3 {
  margin-top: 12px;
  font: 700 20px/1.35 var(--display);
  letter-spacing: -.04em;
}

.industry-content p {
  margin-top: 10px;
  max-width: 340px;
  color: #768187;
  font-size: 12px;
  line-height: 1.8;
}

.industries-bottom {
  margin-top: 55px;
  padding-top: 25px;
  border-top: 1px solid var(--dark-line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.industries-bottom p {
  color: #758087;
  font-size: 11px;
}

.industries-link {
  font-size: 11px;
  font-weight: 700;
  border-bottom: 1px solid var(--blue);
  padding-bottom: 7px;
}

.industries-link span {
  color: var(--blue);
  margin-left: 12px;
  font-size: 17px;
}


/* ==========================================
   WHY CHOOSE KAMSUR
========================================== */

.why-kamsur {
  background: var(--ink);
  color: white;
  padding: 115px 0 105px;
}

.why-kamsur .section-index {
  color: #89959b;
}

.why-kamsur .eyebrow {
  color: var(--lime);
}

.why-title em {
  color: var(--lime);
}

.why-intro > p {
  color: #aab6bc;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.why-card {
  min-height: 255px;
  padding: 30px 27px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background .3s ease;
}

.why-card:hover {
  background: rgba(255,255,255,.045);
}

.why-icon {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  color: var(--lime);
  margin-bottom: 24px;
}

.why-icon svg {
  width: 31px;
  height: 31px;
}

.why-number {
  display: block;
  color: #849198;
  font-size: 9px;
  letter-spacing: 1.4px;
}

.why-card h3 {
  margin-top: 14px;
  font: 700 20px/1.3 var(--display);
  letter-spacing: -.035em;
}

.why-card p {
  margin-top: 11px;
  max-width: 300px;
  color: #a6b0b5;
  font-size: 12px;
  line-height: 1.85;
}

.why-bottom {
  margin-top: 65px;
  padding: 35px 0 0;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
}

.why-bottom-label {
  color: var(--lime);
  font-size: 9px;
  letter-spacing: 1.7px;
  font-weight: 700;
}

.why-bottom h3 {
  margin-top: 12px;
  font: 700 clamp(20px, 2.5vw, 29px) var(--display);
  letter-spacing: -.04em;
}

.why-button {
  background: var(--lime);
  color: white;
  flex-shrink: 0;
  transition: transform .25s ease, background .25s ease;
}

.why-button:hover {
  background: var(--red);
  transform: translateY(-3px);
}


/* ==========================================
   RESPONSIVE DESIGN
========================================== */

@media (max-width: 900px) {

  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .industries-intro,
  .why-intro {
    gap: 30px;
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

}

@media (max-width: 700px) {

  .industries,
  .why-kamsur {
    padding: 80px 0;
  }

  .industries-intro,
  .why-intro {
    display: block;
    margin: 45px 0 35px;
  }

  .industries-title,
  .why-title {
    font-size: clamp(42px, 11vw, 62px);
  }

  .industries-intro > p,
  .why-intro > p {
    margin-top: 20px;
    font-size: 12px;
  }

  .industries-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .industry-image {
    height: 250px;
  }

  .industry-content h3 {
    font-size: 19px;
  }

  .industries-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
    margin-top: 35px;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .why-card {
    min-height: auto;
    padding: 27px 22px;
  }

  .why-bottom {
    flex-direction: column;
    align-items: flex-start;
    margin-top: 40px;
  }

  .why-bottom h3 {
    line-height: 1.4;
  }

}

