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

:root {
  --primary-color: #fa7001;
  --primary-color-dark: #e26400;
  --natural-color: #ffffff;
  --text-dark: #1a1a1a;
  --text-medium: #333333;
  --text-light: #555555;
  --text-muted: #777777;
  --bg-cream: #fff8f3;
  --bg-black: #110f0e;
  --radius-md: 14px;
  --radius-lg: 20px;
  --container-pad: 7%;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  display: flex;
  flex-direction: column;
  font-family: "Poppins", sans-serif;
  overflow-x: clip;
  color: var(--text-medium);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

section {
  scroll-margin-top: 80px;
}

.heronav {
  scroll-margin-top: 0;
}

.aboutinfo {
  scroll-margin-top: 80px;
}

.subscribe {
  scroll-margin-top: 80px;
}

.footer {
  scroll-margin-top: 80px;
}

.copyright {
  scroll-margin-top: 80px;
}

.page-link.active{
  color:var(--primary-color)
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(
    to bottom,
    rgb(17, 15, 14),
    rgba(40, 38, 36, 0.6) 100%
  );
  padding: 14px 7%;
  box-shadow: 0px 2px 4px rgba(8, 8, 8, 0.8);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  transition:
    padding 0.3s ease,
    box-shadow 0.3s ease;
}

nav .links {
  display: flex;
  gap: clamp(16px, 3vw, 40px);
}

nav a {
  text-decoration: none;
  color: white;
  font-weight: 400;
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  transition: color 0.25s ease;
}

nav .links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

nav .links a:hover {
  color: var(--primary-color);
}

nav .links a:hover::after {
  width: 100%;
}

nav #contactUs {
  background-color: var(--primary-color);
  border-radius: 10px;
  padding: 10px 20px;
  cursor: pointer;
  transition:
    background-color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

nav #contactUs:hover {
  background-color: var(--primary-color-dark);
  transform: translateY(-2px);
  box-shadow: 0px 4px 10px rgba(250, 112, 1, 0.4);
}

.navActions {
  display: flex;
  align-items: center;
  gap: 16px;
}

nav img {
  width: 35px;
  display: block;
  transition: transform 0.3s ease;
}

nav a:first-child:hover img {
  transform: scale(1.08);
}

nav #menuToggle {
  display: none;
  transition:
    color 0.25s ease,
    transform 0.25s ease;
}

nav #menuToggle:hover {
  color: var(--primary-color);
  transform: rotate(90deg);
}

/* MOBILE MENU (hidden by default, only used under 767px) */
.mobileMenu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: min(78vw, 300px);
  background: var(--bg-black);
  display: flex;
  flex-direction: column;
  gap: 26px;
  padding: 32px 30px 60px;
  transform: translateX(100%);
  transition: transform 0.35s var(--ease);
  z-index: 200;
}

.mobileMenu.open {
  transform: translateX(0);
}

.mobileMenu a {
  text-decoration: none;
  color: white;
  font-size: 1.05rem;
  cursor: pointer;
}

#menuClose {
  color: white;
  font-size: 1.6rem;
  cursor: pointer;
  align-self: flex-end;
  margin-bottom: 10px;
}

.menuOverlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 150;
}

.menuOverlay.open {
  opacity: 1;
  pointer-events: auto;
}

.heronav {
  background-color: var(--bg-black);
  background-image:
    linear-gradient(135deg, rgba(0, 0, 0, 0.88), rgba(17, 15, 14, 0.75)),
    url("../src/image/profesional.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  height: 450px;
  width: 100%;
}

.hero {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: clamp(1.5rem, 3vw, 2.5rem); /* Smooth responsive scaling */
  color: white;
  gap: 10px;
  height: 100%;
  font-weight: 600;
  opacity: 0;
  animation: heroFadeUp 0.8s ease forwards;
  animation-delay: 0.3s;
  padding-top:50px
}

#vic{
     object-position: center 20%;
}

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

.hero span {
  min-width: 80px; /* Changed from fixed width to min-width */
  background-color: var(--primary-color);
  border-radius: 20px;
  display: grid;
  place-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero:hover span {
  transform: scale(1.05) rotate(-3deg);
  box-shadow: 0 6px 16px rgba(250, 112, 1, 0.4);
}

/* ============================================================ */
/* ABOUTINFO SECTION ANIMATIONS                                 */
/* ============================================================ */

.aboutinfo {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  padding-inline: 7%;
  padding-block: 50px;
  gap: 90px;
  background-color: var(--bg-cream);
}

/* Scroll Reveal Base */
.scroll-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.scroll-reveal.show {
  opacity: 1;
  transform: translateY(0);
}

/* Who are we? / What we do? - fade up */
.aboutinfo > div:nth-child(1) > span:nth-child(1),
.aboutinfo > div:nth-child(4) > span:nth-child(1) {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.aboutinfo > div:nth-child(1).show > span:nth-child(1),
.aboutinfo > div:nth-child(4).show > span:nth-child(1) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.1s;
}

/* Identity line - scale from center */
.aboutinfo > div:nth-child(1) span:nth-child(1) .identity {
  width: 120px;
  border: 2px solid var(--primary-color);
  transform: scaleX(1);
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform-origin: center;
}

.aboutinfo > div:nth-child(1).show span:nth-child(1) .identity,
.aboutinfo > div:nth-child(4).show span:nth-child(1) .identity {
  transform: scaleX(1);
  transition-delay: 0.25s;
}

/* ============================================================ */
/* "Who are we?" Subtitle — CENTERED, one line                  */
/* ============================================================ */
.aboutinfo > div:nth-child(1) > span:nth-child(2) {
  font-weight: 550;
  font-size: 14px;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  place-self: center;
  margin-top: 20px;
  justify-content: center;
  align-items: center;
  font-style: italic;
  gap: 6px;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.aboutinfo > div:nth-child(1) > span:nth-child(2) p {
  margin: 0;
}

.aboutinfo > div:nth-child(1).show > span:nth-child(2) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.2s;
}

/* ============================================================ */
/* "What we do?" Subtitle — LEFT ALIGNED, one line              */
/* ============================================================ */
.aboutinfo > div:nth-child(4) > span:nth-child(2) {
  font-weight: 550;
  font-size: 14px;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  place-self: start;
  margin-top: 20px;
  justify-content: flex-start;
  align-items: center;
  font-style: italic;
  gap: 6px;
  text-align: left;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.aboutinfo > div:nth-child(4) > span:nth-child(2) p {
  margin: 0;
}

.aboutinfo > div:nth-child(4).show > span:nth-child(2) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.2s;
}

/* Description text - word procession */
.aboutinfo > div:nth-child(1) .aboutinfo1 {
  display: flex;
  gap: 20px;
  margin-top: 30px;
  align-items: flex-start;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.aboutinfo > div:nth-child(1).show .aboutinfo1 {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.5s;
}

.aboutinfo1 div:nth-child(1) {
  height: 100px;
  border: 2px solid var(--primary-color);
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.aboutinfo > div:nth-child(1) .aboutinfo1 span:nth-child(2) {
     display: flex;
    flex-direction: column;
    font-size: 16px;
    gap: 10px;
    text-align: justify;
    line-height: clamp(20px, 1vh, 50px);
}

.aboutinfo > div:nth-child(1) .aboutinfo1 span:nth-child(2) p {
  opacity: 1;
  transform: translateX(0);
  transition: opacity 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.aboutinfo > div:nth-child(1).show .aboutinfo1 span:nth-child(2) p:nth-child(1) {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0.6s;
}

.aboutinfo > div:nth-child(1).show .aboutinfo1 span:nth-child(2) p:nth-child(2) {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0.75s;
}

.aboutinfo > div:nth-child(1) .aboutinfo1:hover div:nth-child(1) {
  transform: scaleY(1.08);
  border-color: var(--primary-color-dark);
}

.aboutinfo > div {
  height: 400px;
}

/* Image 1 - slide from left with zoom */
/* Image 1 - slide from left with zoom */
.aboutinfo > div:nth-child(2) {
  border-radius: 0 130px 0 130px;
  background: url("../src/image/who_we_are.jpg"); /* <--- FIXED */
  background-repeat: no-repeat;
  background-size: cover;
  height: 400px;
  transition: transform 0.5s ease, box-shadow 0.4s ease, opacity 0.8s ease;
  overflow: hidden;
  opacity: 1;
  transform: translateX(0) scale(1);
}

.aboutinfo > div:nth-child(2).show {
  opacity: 1;
  transform: translateX(0) scale(1);
  transition-delay: 0.3s;
}

/* Image 2 - slide from right with zoom */
.aboutinfo > div:nth-child(3) {
  border-radius: 130px 0 130px 0;
  background: url("../src/image/what_we_do.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  height: 400px;
  transition: transform 0.5s ease, box-shadow 0.4s ease, opacity 0.8s ease;
  overflow: hidden;
  opacity: 1;
  transform: translateX(0) scale(1);
}

.aboutinfo > div:nth-child(3).show {
  opacity: 1;
  transform: translateX(0) scale(1);
  transition-delay: 0.45s;
}

.aboutinfo > div:nth-child(2):hover,
.aboutinfo > div:nth-child(3):hover {
  transform: scale(1.03);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
}

/* What we do - list items */
.aboutinfo > div:nth-child(4) span:nth-child(3) {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 30px;
}

.aboutinfo > div:nth-child(4) span:nth-child(1) p:nth-child(2) {
  width: 120px;
  border: 2px solid var(--primary-color);
  transform: scaleX(1);
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform-origin: center;
}

.aboutinfo > div:nth-child(4).show span:nth-child(1) p:nth-child(2) {
  transform: scaleX(1);
  transition-delay: 0.25s;
}

.aboutinfo > div:nth-child(4) span:nth-child(3) p {
  display: flex;
  gap: 20px;
  font-size: 16px;
  align-items: center;
  opacity: 1;
  transform: translateX(0);
  transition: opacity 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.aboutinfo > div:nth-child(4).show span:nth-child(3) p:nth-child(1) {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0.5s;
}

.aboutinfo > div:nth-child(4).show span:nth-child(3) p:nth-child(2) {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0.65s;
}

.aboutinfo > div:nth-child(4).show span:nth-child(3) p:nth-child(3) {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0.80s;
}

.aboutinfo > div:nth-child(4) span:nth-child(3) p:hover {
  transform: translateX(6px);
}

/* FIXED: Orange bullet icons — now perfect circles (45px x 45px) */
.aboutinfo > div:nth-child(4) span:nth-child(3) i {
  border-radius: 50%;
  width: 45px;
  height: 45px;
  background-color: var(--primary-color);
  display: grid;
  place-items: center;
  font-size: 14px;
  color: white;
  flex-shrink: 0;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.aboutinfo > div:nth-child(4) span:nth-child(3) p:hover i {
  transform: rotate(360deg) scale(1.1);
  background-color: var(--primary-color-dark);
}

.menuOverlay.open {
  opacity: 1;
  pointer-events: auto;
}

/* ============================================================ */
/* SUBSCRIBE (shared markup/styles — matches index.html/css)     */
/* ============================================================ */

.subscribe {
  background-color: var(--bg-black);
  padding: 0 var(--container-pad) 0;
  position: relative;
  z-index: 2;
}

.subscribeBox {
  background-color: var(--primary-color);
  border-radius: 16px;
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  margin-top: -70px;
  margin-bottom: -70px;
  padding: 32px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  position: relative;
}

.subscribeHeading {
  color: var(--natural-color);
  font-weight: 700;
  font-size: 1.4rem;
  line-height: 1.35;
  max-width: 360px;
}

.subscribeForm {
  display: flex;
  align-items: center;
  background-color: var(--natural-color);
  border-radius: 40px;
  padding: 5px 5px 5px 22px;
  gap: 10px;
  flex: 1 1 360px;
}

.subscribeForm input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-family: "Poppins", sans-serif;
  font-size: 0.88rem;
  color: var(--text-dark);
  min-width: 0;
}

.subscribeForm input::placeholder {
  color: var(--text-muted);
}

.subscribeForm button {
  background-color: var(--primary-color-dark);
  color: var(--natural-color);
  border: none;
  border-radius: 40px;
  padding: 11px 24px;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.25s ease;
}

.subscribeForm button:hover {
  background-color: #b35700;
}

/* ============================================================ */
/* MEET THE TEAM (redesigned)                                   */
/* ============================================================ */

.meet {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 100px var(--container-pad) 90px;
}

.meet > div:nth-child(1) {
  font-weight: 700;
  margin-top: 20px;
  font-size: 32px;
  color: var(--text-dark);
}

.meet > div:nth-child(1) span {
  color: var(--primary-color);
  position: relative;
}

.meet > div:nth-child(1) span::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 3px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

.meetSubtitle {
  max-width: 520px;
  margin-top: 16px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.meetCarouselWrap {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin-top: 60px;
  display: flex;
  align-items: center;
}

.meetTrack {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 10px 4px 20px;
  flex: 1;
  min-width: 0;   
  scrollbar-width: none;
}

.meetTrack::-webkit-scrollbar {
  display: none;
}

.meet2 {
  scroll-snap-align: start;
  flex: 0 0 auto;
  width: 240px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease;
}

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

.meetImgWrap {
  position: relative;
  width: 100%;
  height: 280px;
  border-radius: 48% 48% 40% 40% / 62% 62% 32% 32%;
  overflow: hidden;
}

.meetImgWrap img {
  position: absolute;
  top: 0%;
  left: 0%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 35% 35% 20% 20% / 45% 45% 18% 18%;
  display: block;
}

.meetBlob-orange { background-color: #fa7001; }
.meetBlob-yellow { background-color: #f2b705; }
.meetBlob-purple { background-color: #6f4fd1; }

.meetName {
  margin-top: 20px;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-dark);
}

.meetRole {
  margin-top: 4px;
  color: var(--primary-color);
  font-size: 0.85rem;
  font-weight: 500;
}

.meetSocials {
  display: flex;
  gap: 14px;
  margin-top: 12px;
  color: var(--text-dark);
  font-size: 0.9rem;
}

.meetSocials a {
  color: inherit;
  transition: color 0.25s ease;
}

.meetSocials a:hover {
  color: var(--primary-color);
}

.meetArrow {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background-color: var(--natural-color);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--text-dark);
  transition: background-color 0.25s ease, color 0.25s ease;
}

.meetArrow:hover {
  background-color: var(--primary-color);
  color: var(--natural-color);
}

.meetDots {
  display: flex;
  gap: 8px;
  margin-top: 24px;
}

.meetDots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.meetDots span.active {
  background-color: var(--primary-color);
  transform: scale(1.2);
}

/* ============================================================ */
/* FOOTER (shared markup/styles — matches index.html/css)        */
/* ============================================================ */

.footer {
  background-color: var(--bg-black);
  width: 100%;
  padding: 100px var(--container-pad) 0;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

.footerTop {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 24px;
  padding-bottom: 20px;
}

.footerBrand img {
  width: 46px;
}

.footerApps {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.footerApps a {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--natural-color);
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  transition: background-color 0.25s ease;
}

.footerApps a:hover {
  background-color: var(--primary-color);
}

.footerCol {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footerHeading {
  color: #b35700;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 2px;
}

.footerCol a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.82rem;
  transition: color 0.25s ease;
  width: fit-content;
}

.footerCol a:hover {
  color: var(--primary-color);
}

.footerSocial p {
  font-size: 0.78rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.55);
  margin-top: -2px;
}

.footerSocialIcons {
  display: flex;
  gap: 10px;
  margin-top: 2px;
}

.footerSocialIcons a {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--natural-color);
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  transition: background-color 0.25s ease;
}

.footerSocialIcons a:hover {
  background-color: var(--primary-color);
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 14px var(--container-pad);
  margin-inline: calc(var(--container-pad) * -1);
  display: flex;
  justify-content: center;
}

.copyright p {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
}

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

@media (min-width: 1025px) {
  .mobileMenu,
  .menuOverlay {
    display: none;
  }
}

@media (max-width: 1024px) {
  nav {
    padding: 10px 5%;
  }

  nav .links {
    display: none;
  }

  nav #menuToggle {
    display: block;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
  }

  nav #contactUs {
    padding: 6px 12px;
    font-size: 0.72rem;
  }

  nav img {
    width: 26px;
  }

  .navActions {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  /* REMOVED: .hero font-size override (clamp handles this smoothly now) */

  .aboutinfo {
    gap: 50px;
    padding-block: 40px;
  }

  .footerBrand {
    display: none;
  }

  /* minmax(0, ...) lets columns shrink instead of being stretched by the icon row */
  .footer .footerTop {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.3fr);
    column-gap: 14px;
    row-gap: 0;
    padding-bottom: 30px;
  }

  .footerCol,
  .footerSocial {
    min-width: 0;
  }

  /* Social icons wrap onto the next line */
  .footerSocialIcons {
    flex-wrap: wrap;
    gap: 8px;
  }

  .meet > div:nth-child(2) {
    gap: clamp(30px, 5vw, 60px);
    margin-top: clamp(40px, 6vh, 80px);
  }

  .meet > div:nth-child(2) .meet1 {
    width: clamp(65px, 10vw, 100px);
  }

  .meet > div:nth-child(2) .meet1 p {
    width: clamp(52px, 8vw, 80px);
  }
}

@media (max-width: 899px) {
  .subscribeBox {
    padding: 24px 28px;
  }

  .aboutinfo {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    gap: 24px;
    padding-inline: 6%;
    padding-block: 45px;
  }

  .aboutinfo > div:nth-child(1),
  .aboutinfo > div:nth-child(4) {
    display: contents;
  }

  .aboutinfo > div:nth-child(2),
  .aboutinfo > div:nth-child(3) {
    height: 280px;
  }

  /* "Who are we?" subtitle — centered, one line */
  .aboutinfo > div:nth-child(1) > span:nth-child(2) {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    text-align: center;
    justify-content: center;
    gap: 6px;
  }

  .aboutinfo > div:nth-child(1) > span:nth-child(2) p {
    display: inline;
    margin: 0;
  }

  /* "What we do?" subtitle — LEFT ALIGNED, one line */
  .aboutinfo > div:nth-child(4) > span:nth-child(2) {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    text-align: left;
    justify-content: flex-start;
    gap: 6px;
  }

  .aboutinfo > div:nth-child(4) > span:nth-child(2) p {
    display: inline;
    margin: 0;
  }

  .aboutinfo > div:nth-child(1) > span:nth-child(1) {
    order: 2;
  }

  .aboutinfo > div:nth-child(1) > span:nth-child(2) {
    order: 3;
    margin-top: 12px;
  }

  .aboutinfo > div:nth-child(2) {
    order: 4;
  }

  .aboutinfo > div:nth-child(1) .aboutinfo1 {
    order: 5;
    margin-top: 20px;
  }

  .aboutinfo > div:nth-child(4) > span:nth-child(1) {
    order: 7;
  }

  .aboutinfo > div:nth-child(4) > span:nth-child(2) {
    order: 8;
    margin-top: 12px;
  }

  .aboutinfo > div:nth-child(3) {
    order: 9;
  }

  .aboutinfo > div:nth-child(4) > span:nth-child(3) {
    order: 10;
    margin-top: 20px;
  }

  .meet {
    padding-top: clamp(40px, 8vh, 80px);
    padding-bottom: clamp(40px, 8vh, 80px);
  }

  .meet > div:nth-child(2) {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: clamp(24px, 4vw, 50px);
    margin-top: clamp(30px, 6vh, 60px);
  }
}

@media (max-width: 767px) {
  nav {
    padding: 10px 5%;
  }

  nav .links {
    display: none;
  }

  nav img {
    width: 44px; /* was 26px — bigger logo on mobile */
  }

  nav #contactUs {
    padding: 12px 16px; /* was 6px 12px — bigger, narrower-width button */
    font-size: 0.82rem; /* was 0.72rem */
  }

  nav #menuToggle {
    display: block;
    font-size: 1.45rem; /* was 1.2rem — bigger hamburger icon */
  }

  .navActions {
    gap: 10px;
  }

  .heronav {
    height: 320px;
  }

  /* UPDATED HERO RESPONSIVE STYLES */
  .hero {
    font-size: clamp(1.3rem, 5vw, 1.8rem);
  }
  .hero span {
    min-width: 65px;
  }

  .aboutinfo {
    gap: 20px;
    padding-block: 35px;
  }

  .aboutinfo > div:nth-child(2) {
    height: 220px;
    border-radius: 0 60px 0 60px;
  }

  .aboutinfo > div:nth-child(3) {
    height: 220px;
    border-radius: 60px 0 60px 0;
  }

  .aboutinfo > div:nth-child(1) .aboutinfo1 {
    gap: 14px;
    margin-top: 20px;
  }

  .aboutinfo1 div:nth-child(1) {
    height: auto;
    align-self: stretch;
  }

  .aboutinfo > div:nth-child(1) .aboutinfo1 span:nth-child(2) {
    font-size: 12px;
  }

  .aboutinfo > div:nth-child(4) span:nth-child(3) {
    margin-top: 20px;
  }

  .subscribe {
    padding: 0 6% 30px;
  }

  .subscribeBox {
    flex-direction: column;
    align-items: stretch;
    text-align: left;
    padding: 16px 16px;
    gap: 10px;
    margin-top: -20px;
    margin-bottom: -20px;
  }

  .subscribeHeading {
    font-size: 0.95rem;
    line-height: 1.25;
    max-width: none;
  }

  .subscribeForm {
    max-width: 100%;
    flex: 1 1 auto;
    padding: 3px 3px 3px 14px;
  }

  .subscribeForm input {
    font-size: 0.75rem;
  }

  .subscribeForm button {
    padding: 8px 14px;
    font-size: 0.68rem;
  }

  .footer {
    padding-top: 40px;
    padding-inline: 6%;
  }

  .footerBrand {
    display: none;
  }

  /* Other Pages + Quick Links get equal space; Social gets a bit more */
  .footer .footerTop {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.3fr);
    column-gap: 14px;
    row-gap: 0;
    padding-bottom: 30px;
  }

  .footerHeading {
    font-size: 0.8rem;
  }

  .footerCol {
    gap: 8px;
    min-width: 0;
  }

  .footerCol a {
    font-size: 0.72rem;
    overflow-wrap: break-word;
  }

  .footerSocial {
    min-width: 0;
  }

  .footerSocial p {
    font-size: 0.72rem;
    display: block;
  }

  /* Social icons break onto the next line on mobile */
  .footerSocialIcons {
    flex-wrap: wrap;
    gap: 8px;
    max-width: 100%;
  }

  .footerSocialIcons a {
    flex-shrink: 0;
  }

  .copyright {
    padding: 18px 6%;
  }

  .meet {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .meet > div:nth-child(1) {
    font-size: 17px;
    margin-top: 20px;
  }

  .meet > div:nth-child(1) span {
    width: 56px;
    height: 34px;
  }

  .meet > div:nth-child(2) {
    gap: 36px;
    margin-top: 40px;
  }

  .meet > div:nth-child(2) .meet1 {
    width: 85px;
  }

  .meet > div:nth-child(2) .meet1 p {
    width: 68px;
  }

  .meet2.scroll-reveal:nth-child(1) { transition-delay: 0.03s; }
  .meet2.scroll-reveal:nth-child(2) { transition-delay: 0.08s; }
  .meet2.scroll-reveal:nth-child(3) { transition-delay: 0.13s; }
  .meet2.scroll-reveal:nth-child(4) { transition-delay: 0.18s; }
  .meet2.scroll-reveal:nth-child(5) { transition-delay: 0.23s; }
  .meet2.scroll-reveal:nth-child(6) { transition-delay: 0.28s; }
}

@media (max-width: 575px) {
  .heronav {
    height: 260px;
  }

  /* REMOVED: .hero font-size override (clamp handles this smoothly now) */
  /* REMOVED: .hero span width override */

  .aboutinfo {
    padding-inline: 5%;
    gap: 18px;
  }

  .aboutinfo > div:nth-child(2),
  .aboutinfo > div:nth-child(3) {
    height: 200px;
  }

  .aboutinfo > div:nth-child(1) > span:nth-child(2),
  .aboutinfo > div:nth-child(4) > span:nth-child(2) {
    font-size: 13px;
    margin-top: 14px;
  }

  .aboutinfo > div:nth-child(4) span:nth-child(3) p {
    font-size: 11px;
    gap: 12px;
  }

  /* Keep bullet icons as perfect circles on small screens */
  .aboutinfo > div:nth-child(4) span:nth-child(3) i {
    width: 26px;
    height: 26px;
    aspect-ratio: 1;
    flex-shrink: 0;
    font-size: 10px;
  }

  .meet {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .meet > div:nth-child(1) {
    font-size: 16px;
    gap: 8px;
  }

  .meet > div:nth-child(1) span {
    width: 50px;
    height: 32px;
    border-radius: 8px;
  }

  .meet > div:nth-child(2) {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    gap: 30px;
    margin-top: 30px;
  }

  .meet1 + span {
    margin-top: 8px;
  }

  .meet2.scroll-reveal:nth-child(1) { transition-delay: 0.02s; }
  .meet2.scroll-reveal:nth-child(2) { transition-delay: 0.06s; }
  .meet2.scroll-reveal:nth-child(3) { transition-delay: 0.10s; }
  .meet2.scroll-reveal:nth-child(4) { transition-delay: 0.14s; }
  .meet2.scroll-reveal:nth-child(5) { transition-delay: 0.18s; }
  .meet2.scroll-reveal:nth-child(6) { transition-delay: 0.22s; }

  .heronav {
    min-height: 250px;
  }

  .hero{
    font-weight: 750;
  }
}

@media (max-width: 480px) {
  nav img {
    width: 30px; /* was 22px — slightly bigger logo on small phones */
  }

  .navActions {
    gap: 8px;
  }

  nav #contactUs {
    padding: 8px 12px; /* was 5px 9px — bigger, narrower-width button */
    font-size: 0.7rem; /* was 0.65rem */
  }

  nav #menuToggle {
    font-size: 1.25rem; /* was 1.1rem — bigger hamburger icon */
  }

  /* UPDATED HERO RESPONSIVE STYLES FOR SMALL PHONES */
  .hero {
    font-size: 1.3rem;
  }
  .hero span {
    min-width: 55px;
  }
}

@media (max-width: 424px) {
  .heronav {
    height: 220px;
  }

  .aboutinfo > div:nth-child(2),
  .aboutinfo > div:nth-child(3) {
    height: 180px;
    border-radius: 0 40px 0 40px;
  }

  .aboutinfo > div:nth-child(3) {
    border-radius: 40px 0 40px 0;
  }

  .meet > div:nth-child(2) {
    gap: 24px;
  }

  .meet > div:nth-child(2) .meet1 {
    width: 80px;
  }

  .meet > div:nth-child(2) .meet1 p {
    width: 64px;
  }

  .meet1 + span {
    font-size: 14px;
  }

  .meet1 + span + span {
    font-size: 11px;
  }

  .meet2.scroll-reveal:nth-child(1) { transition-delay: 0.01s; }
  .meet2.scroll-reveal:nth-child(2) { transition-delay: 0.04s; }
  .meet2.scroll-reveal:nth-child(3) { transition-delay: 0.07s; }
  .meet2.scroll-reveal:nth-child(4) { transition-delay: 0.10s; }
  .meet2.scroll-reveal:nth-child(5) { transition-delay: 0.13s; }
  .meet2.scroll-reveal:nth-child(6) { transition-delay: 0.16s; }
}

/* REMOVED the old @media (max-width: 319px) block entirely, as the 480px rules now handle the smallest screens perfectly */

@media(min-width:768px){
  .heronav{
    background-attachment: fixed;
  }
}