@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800;900&display=swap');
@import url('//fonts.googleapis.com/css?family=Roboto:500');
@import url('//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css');
@import url('https://fonts.googleapis.com/css2?family=Old+Standard+TT:ital,wght@0,400;0,700;1,400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Alegreya+Sans:ital,wght@0,100;0,300;0,400;0,500;0,700;0,800;0,900;1,100;1,300;1,400;1,500;1,700;1,800;1,900&family=EB+Garamond:ital,wght@0,400..800;1,400..800&family=GFS+Didot&family=Old+Standard+TT:ital,wght@0,400;0,700;1,400&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Elms+Sans:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=DM+Mono:ital,wght@0,300;0,400;0,500;1,300;1,400;1,500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Google+Sans+Code:ital,wght@0,300..800;1,300..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&display=swap');
/* Hide scrollbars but keep content scrollable */
/* Works across modern browsers: Chrome/Safari/Edge/Firefox/IE */
html {
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE 10+ */
}
html::-webkit-scrollbar { width: 0; height: 0; } /* Chrome, Safari, Opera */

/* Also ensure body scrollbars are hidden on some setups */
body::-webkit-scrollbar { width: 0; height: 0; }

@font-face {
  font-family: Amsterdam;
  src: url("assets/Amsterdam Four_ttf 400.ttf") format("truetype");
}

:root {
  --bg-primary: #393646;
  --surface-elevated: rgba(57, 54, 70, 0.92);
  --text-primary: #F4EEE0;
  --text-muted: rgba(244, 238, 224, 0.7);
  --accent-primary: #d299c2;
  --accent-secondary: #8ec5fc;
  --font-base: 'Google Sans Code', 'DM Mono', 'IBM Plex Mono', 'Questrial', sans-serif;
  --vh: 1vh;
  --vw: 1vw;
  /* Fluid type & spacing scale */
  --fluid-vmin: min(100vw, 100vh);
  --space-xs: clamp(0.35rem, 0.6vw, 0.75rem);
  --space-sm: clamp(0.6rem, 0.9vw, 1.05rem);
  --space-md: clamp(0.9rem, 1.4vw, 1.75rem);
  --space-lg: clamp(1.5rem, 2.4vw, 3rem);
  --space-xl: clamp(2rem, 3.6vw, 4.5rem);
  --space-xxl: clamp(3rem, 6vh, 7rem);
  --section-padding-y: clamp(3.5rem, 12vh, 9rem);
  --section-padding-x: clamp(1.5rem, 6vw, 8rem);
  --font-size-body: clamp(1rem, 1.15vw, 1.3rem);
  --font-size-subhead: clamp(0.92rem, 1vw, 1.1rem);
  --font-size-section-title: clamp(1.9rem, 3.2vw, 3.8rem);
  --font-size-quote: clamp(1.6rem, 4.5vw, 4.4rem);
  --font-size-cta: clamp(0.92rem, 1vw, 1.1rem);
}
/* TODO: consolidate redundant media queries that still target legacy hero layout sizes. */

.landing-content {
  text-align: left;
  line-height: 1.2;
  padding: 2rem;
  font-family: "Amsterdam", sans-serif;
}

.hero-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  min-height: clamp(60vh, 80vh, 92vh);
  padding: var(--space-xl) var(--space-lg);
  box-sizing: border-box;
}

.hero-logo img {
  width: clamp(320px, 65vw, 1200px);
  height: auto;
}

@media (max-width: 1024px) {
  .hero-logo img {
    width: clamp(280px, 70vw, 960px);
  }
}

@media (max-width: 600px) {
  .hero-logo img {
    width: clamp(240px, 85vw, 720px);
  }
}

.intro-line {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #F4EEE0;
}

.name {
  font-size: 4rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: #F4EEE0;
}

.last-name {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: #F4EEE0;
}

.location {
  font-size: 1.5rem;
  color: #F4EEE0;
}
.absolute-match {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.line1 {
  /* Hi, I am - top left */
  position: absolute;
  top: 10%;
  left: 12%;
  font-family: 'Questrial', sans-serif;
  font-size: 2rem;
  color: #F4EEE0;
}

.line2 {
  /* Neil - center left */
  position: absolute;
  top: 25%;
  left: 41%;
  font-family: 'Old Standard TT', serif;
  font-size: 13.2444rem;
  font-weight: 700;
  color: #F4EEE0;
  transform: translateX(-50%);
}

.line3 {
  /* rora, - center right */
  position: absolute;
  top: 10%;
  left: 57%;
  font-family: 'Amsterdam', sans-serif;
  font-size: 15.3569rem;
  color: #F4EEE0;
  transform: translateX(-50%);
}

.line4 {
  /* from India. - bottom right */
  position: absolute;
  bottom: 10%;
  right: 12%;
  font-family: 'Questrial', sans-serif;
  font-size: 2rem;
  color: #F4EEE0;
}
.bind4 {
  color: #e0e6f4;
  font-size: 2rem;
  font-family: "Josefin Sans", sans-serif;
  background-image: linear-gradient(
  -225deg,
  #d299c2 0%,
  #8ec5fc 29%,
  #d299c2 67%,
  #8ec5fc 100%
  );
  background-size: auto auto;
  background-clip: border-box;
  background-size: 200% auto;
  color: #fff;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textclip 2s linear infinite;
  text-align: center;
}
@media (max-width: 1024px) {
  .name {
    font-size: 3rem;
  }
  .last-name {
    font-size: 1.5rem;
  }
  .location {
    font-size: 1.2rem;
  }
  .line1 {
    /* Hi, I am - top left */
    position: absolute;
    top: 10%;
    left: 12%;
    font-family: 'Questrial', sans-serif;
    font-size: 1.5rem;
    color: #F4EEE0;
  }
  .line2 {
    /* Neil - center left */
    position: absolute;
    top: 25%;
    left: 41%;
    font-family: 'Old Standard TT', serif;
    font-size: 10.188rem;
    font-weight: 700;
    color: #F4EEE0;
    transform: translateX(-50%);
  }
  
  .line3 {
    /* rora, - center right */
    position: absolute;
    top: 15%;
    left: 57%;
    font-family: 'Amsterdam', sans-serif;
    font-size: 11.813rem;
    color: #F4EEE0;
    transform: translateX(-50%);
  }
  
  .line4 {
    /* from India. - bottom right */
    position: absolute;
    bottom: 10%;
    right: 12%;
    font-family: 'Questrial', sans-serif;
    font-size: 1.5rem;
    color: #F4EEE0;
  }
  .bind4 {
    color: #e0e6f4;
    font-size: 1.5rem;
    font-family: "Josefin Sans", sans-serif;
    background-image: linear-gradient(
    -225deg,
    #d299c2 0%,
    #8ec5fc 29%,
    #d299c2 67%,
    #8ec5fc 100%
    );
    background-size: auto auto;
    background-clip: border-box;
    background-size: 200% auto;
    color: #fff;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textclip 2s linear infinite;
    text-align: center;
  }
}
@media (max-width: 1024px) {
  .name {
    font-size: 3rem;
  }
  .last-name {
    font-size: 1.5rem;
  }
  .location {
    font-size: 1.2rem;
  }
  .line1 {
    /* Hi, I am - top left */
    position: absolute;
    top: 10%;
    left: 12%;
    font-family: 'Questrial', sans-serif;
    font-size: 1.5rem;
    color: #F4EEE0;
  }
  .line2 {
    /* Neil - center left */
    position: absolute;
    top: 25%;
    left: 41%;
    font-family: 'Old Standard TT', serif;
    font-size: 10.188rem;
    font-weight: 700;
    color: #F4EEE0;
    transform: translateX(-50%);
  }
  
  .line3 {
    /* rora, - center right */
    position: absolute;
    top: 15%;
    left: 57%;
    font-family: 'Amsterdam', sans-serif;
    font-size: 11.813rem;
    color: #F4EEE0;
    transform: translateX(-50%);
  }
  
  .line4 {
    /* from India. - bottom right */
    position: absolute;
    bottom: 10%;
    right: 12%;
    font-family: 'Questrial', sans-serif;
    font-size: 1.5rem;
    color: #F4EEE0;
  }
  .bind4 {
    color: #e0e6f4;
    font-size: 1.5rem;
    font-family: "Josefin Sans", sans-serif;
    background-image: linear-gradient(
    -225deg,
    #d299c2 0%,
    #8ec5fc 29%,
    #d299c2 67%,
    #8ec5fc 100%
    );
    background-size: auto auto;
    background-clip: border-box;
    background-size: 200% auto;
    color: #fff;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textclip 2s linear infinite;
    text-align: center;
  }
}
@media (max-width: 321px) {
  .name {
    font-size: 3rem;
  }
  .last-name {
    font-size: 1.5rem;
  }
  .location {
    font-size: 1.2rem;
  }
  .line1 {
    /* Hi, I am - top left */
    position: absolute;
    top: 10%;
    left: 12%;
    font-family: 'Questrial', sans-serif;
    font-size: 1.5rem;
    color: #F4EEE0;
  }
  .line2 {
    /* Neil - center left */
    position: absolute;
    top: 35%;
    left: 41%;
    font-family: 'Old Standard TT', serif;
    font-size: 4.4295652173913rem;
    font-weight: 700;
    color: #F4EEE0;
    transform: translateX(-50%);
  }
  
  .line3 {
    /* rora, - center right */
    position: absolute;
    top: 30%;
    left: 59%;
    font-family: 'Amsterdam', sans-serif;
    font-size: 5.1360869565217rem;
    color: #F4EEE0;
    transform: translateX(-50%);
  }
  
  .line4 {
    /* from India. - bottom right */
    position: absolute;
    bottom: 10%;
    right: 12%;
    font-family: 'Questrial', sans-serif;
    font-size: 1.5rem;
    color: #F4EEE0;
  }
  .bind4 {
    color: #e0e6f4;
    font-size: 1.5rem;
    font-family: "Josefin Sans", sans-serif;
    background-image: linear-gradient(
    -225deg,
    #d299c2 0%,
    #8ec5fc 29%,
    #d299c2 67%,
    #8ec5fc 100%
    );
    background-size: auto auto;
    background-clip: border-box;
    background-size: 200% auto;
    color: #fff;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textclip 2s linear infinite;
    text-align: center;
  }
  /* .fixed-arrow-hint {
    position: fixed;
  } */
  
}
@media (max-width: 430px) {
  .name {
    font-size: 3rem;
  }
  .last-name {
    font-size: 1.5rem;
  }
  .location {
    font-size: 1.2rem;
  }
  .line1 {
    /* Hi, I am - top left */
    position: absolute;
    top: 10%;
    left: 12%;
    font-family: 'Questrial', sans-serif;
    font-size: 1.5rem;
    color: #F4EEE0;
  }
  .line2 {
    /* Neil - center left */
    position: absolute;
    top: 39%;
    left: 38%;
    font-family: 'Old Standard TT', serif;
    font-size: 5.094rem;
    font-weight: 700;
    color: #F4EEE0;
    transform: translateX(-50%);
  }
  
  .line3 {
    /* rora, - center right */
    position: absolute;
    top: 33%;
    left: 59%;
    font-family: 'Amsterdam', sans-serif;
    font-size: 5.9065rem;
    color: #F4EEE0;
    transform: translateX(-50%);
  }
  
  .line4 {
    /* from India. - bottom right */
    position: absolute;
    bottom: 10%;
    right: 12%;
    font-family: 'Questrial', sans-serif;
    font-size: 1.5rem;
    color: #F4EEE0;
  }
  .bind4 {
    color: #e0e6f4;
    font-size: 1.5rem;
    font-family: "Josefin Sans", sans-serif;
    background-image: linear-gradient(
    -225deg,
    #d299c2 0%,
    #8ec5fc 29%,
    #d299c2 67%,
    #8ec5fc 100%
    );
    background-size: auto auto;
    background-clip: border-box;
    background-size: 200% auto;
    color: #fff;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textclip 2s linear infinite;
    text-align: center;
  }
  /* .fixed-arrow-hint {
    position: fixed;
  } */
  
}
@media (max-width: 375px) {
  .name {
    font-size: 3rem;
  }
  .last-name {
    font-size: 1.5rem;
  }
  .location {
    font-size: 1.2rem;
  }
  .line1 {
    /* Hi, I am - top left */
    position: absolute;
    top: 10%;
    left: 12%;
    font-family: 'Questrial', sans-serif;
    font-size: 1.5rem;
    color: #F4EEE0;
  }
  .line2 {
    /* Neil - center left */
    position: absolute;
    top: 41%;
    left: 35%;
    font-family: 'Old Standard TT', serif;
    font-size: 5.094rem;
    font-weight: 700;
    color: #F4EEE0;
    transform: translateX(-50%);
  }
  
  .line3 {
    /* rora, - center right */
    position: absolute;
    top: 35%;
    left: 59%;
    font-family: 'Amsterdam', sans-serif;
    font-size: 5.9065rem;
    color: #F4EEE0;
    transform: translateX(-50%);
  }
  
  .line4 {
    /* from India. - bottom right */
    position: absolute;
    bottom: 10%;
    right: 12%;
    font-family: 'Questrial', sans-serif;
    font-size: 1.5rem;
    color: #F4EEE0;
  }
  .bind4 {
    color: #e0e6f4;
    font-size: 1.5rem;
    font-family: "Josefin Sans", sans-serif;
    background-image: linear-gradient(
    -225deg,
    #d299c2 0%,
    #8ec5fc 29%,
    #d299c2 67%,
    #8ec5fc 100%
    );
    background-size: auto auto;
    background-clip: border-box;
    background-size: 200% auto;
    color: #fff;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textclip 2s linear infinite;
    text-align: center;
  }
  /* .fixed-arrow-hint {
    position: fixed;
  } */
  
}

/* Exact arrow from your image */
.fixed-arrow-hint {
  /* position: fixed; */
  right: 30px;
  bottom: 30px;
  z-index: 3;
  pointer-events: none;
  opacity: 0.6;
  animation: subtle-bounce 2s infinite;
}

@keyframes subtle-bounce {
  0%, 20%, 50%, 80%, 100% {
      transform: translateY(0);
  }
  40% {
      transform: translateY(-5px);
  }
}
@media (max-width: 430px) {
  .fixed-arrow-hint {
      position: absolute;
      z-index: 0 !important;
      right: 20px;
      bottom: 20px;
      transform: scale(0.8);
  }
  .social-links-wrapper{
    position: absolute !important;
  }
}
/* Add this import */
@media (max-width: 320px) {
  .line2 {
    /* Neil - center left */
    position: absolute;
    top: 41%;
    left: 35%;
    font-family: 'Old Standard TT', serif;
    font-size: 4.4295652173913rem;
    font-weight: 700;
    color: #F4EEE0;
    transform: translateX(-50%);
  }
  
  .line3 {
    /* rora, - center right */
    position: absolute;
    top: 35%;
    left: 59%;
    font-family: 'Amsterdam', sans-serif;
    font-size: 5.1360869565217rem;
    color: #F4EEE0;
    transform: translateX(-50%);
  }
}

@media (width: 820px) {
  .line2 {
    /* Neil - center left */
    position: absolute;
    top: 41%;
    left: 35%;
    font-family: 'Old Standard TT', serif;
    font-size: 7.8369230769231rem;
    font-weight: 700;
    color: #F4EEE0;
    transform: translateX(-50%);
  }
  
  .line3 {
    /* rora, - center right */
    position: absolute;
    top: 35%;
    left: 59%;
    font-family: 'Amsterdam', sans-serif;
    font-size: 9.0869230769231rem;
    color: #F4EEE0;
    transform: translateX(-50%);
  }
}
@media (height : 1366px) {
  .line1 {
    /* Hi, I am - top left */
    position: absolute;
    top: 10%;
    left: 12%;
    font-family: 'Questrial', sans-serif;
    font-size: 2.5rem;
    color: #F4EEE0;
  }
  .line2 {
    /* Neil - center left */
    position: absolute;
    top: 31%;
    left: 35%;
    font-family: 'Old Standard TT', serif;
    font-size: 13.2444rem;
    font-weight: 700;
    color: #F4EEE0;
    transform: translateX(-50%);
  }
  
  .line3 {
    /* rora, - center right */
    position: absolute;
    top: 25%;
    left: 59%;
    font-family: 'Amsterdam', sans-serif;
    font-size: 15.3569rem;
    color: #F4EEE0;
    transform: translateX(-50%);
  }
  .line4 {
    /* from India. - bottom right */
    position: absolute;
    bottom: 18%;
    right: 12%;
    font-family: 'Questrial', sans-serif;
    font-size: 2.5rem;
    color: #F4EEE0;
  }
  .bind4 {
    color: #e0e6f4;
    font-size: 2.5rem;
    font-family: "Josefin Sans", sans-serif;
    background-image: linear-gradient(
    -225deg,
    #d299c2 0%,
    #8ec5fc 29%,
    #d299c2 67%,
    #8ec5fc 100%
    );
    background-size: auto auto;
    background-clip: border-box;
    background-size: 200% auto;
    color: #fff;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textclip 2s linear infinite;
    text-align: center;
  }
}

@media (width: 768px) {
  .line2 {
    /* Neil - center left */
    position: absolute;
    top: 32%;
    left: 40%;
    font-family: 'Old Standard TT', serif;
    font-size: 7.8369230769231rem;
    font-weight: 700;
    color: #F4EEE0;
    transform: translateX(-50%);
  }
  
  .line3 {
    /* rora, - center right */
    position: absolute;
    top: 23%;
    left: 59%;
    font-family: 'Amsterdam', sans-serif;
    font-size: 9.0869230769231rem;
    color: #F4EEE0;
    transform: translateX(-50%);
  }
  .fixed-arrow-hint {
    position: absolute;
    z-index: 0 !important;
    right: 20px;
    bottom: 20px;
    transform: scale(0.8);
}
.social-links-wrapper{
  position: absolute !important;
}

@media (width: 768px) {
  .line2 {
    /* Neil - center left */
    position: absolute;
    top: 32%;
    left: 40%;
    font-family: 'Old Standard TT', serif;
    font-size: 7.8369230769231rem;
    font-weight: 700;
    color: #F4EEE0;
    transform: translateX(-50%);
  }
  
  .line3 {
    /* rora, - center right */
    position: absolute;
    top: 23%;
    left: 59%;
    font-family: 'Amsterdam', sans-serif;
    font-size: 9.0869230769231rem;
    color: #F4EEE0;
    transform: translateX(-50%);
  }
  .fixed-arrow-hint {
    position: absolute;
    z-index: 0 !important;
    right: 20px;
    bottom: 20px;
    transform: scale(0.8);
}
.social-links-wrapper{
  position: absolute !important;
}
}}

@media (width: 1440px) {
  .line2 {
    /* Neil - center left */
    position: absolute;
    top: 26%;
    left: 35%;
    font-family: 'Old Standard TT', serif;
    font-size: 15.89328rem;
    font-weight: 700;
    color: #F4EEE0;
    transform: translateX(-50%);
  }
  
  .line3 {
    /* rora, - center right */
    position: absolute;
    top: 12%;
    left: 59%;
    font-family: 'Amsterdam', sans-serif;
    font-size: 18.42828rem;
    color: #F4EEE0;
    transform: translateX(-50%);
  }
  .fixed-arrow-hint {
    position: absolute;
    z-index: 0 !important;
    right: 20px;
    bottom: 20px;
    transform: scale(0.8);
}
.social-links-wrapper{
  position: absolute !important;
}
.line4 {
  /* from India. - bottom right */
  position: absolute;
  bottom: 10%;
  right: 12%;
  font-family: 'Questrial', sans-serif;
  font-size: 2rem;
  color: #F4EEE0;
}
.bind4 {
  color: #e0e6f4;
  font-size: 2rem;
  font-family: "Josefin Sans", sans-serif;
  background-image: linear-gradient(
  -225deg,
  #d299c2 0%,
  #8ec5fc 29%,
  #d299c2 67%,
  #8ec5fc 100%
  );
  background-size: auto auto;
  background-clip: border-box;
  background-size: 200% auto;
  color: #fff;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textclip 2s linear infinite;
  text-align: center;
}
}

.abnorm {
  color: #F4EEE0;
  font-size: 5%;
}

.exact-landing {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    line-height: 1;
    text-align: left;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .name {
    font-size: 3rem;
  }
  .last-name {
    font-size: 1.5rem;
  }
  .location {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .name {
    font-size: 2.5rem;
  }
  .intro-line {
    font-size: 1.2rem;
  }
}

@keyframes textclip {
    to {
        background-position: 200% center;
    }
}

html {
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  overflow-y: scroll;
  height: 100%;
}

body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-base);
  font-size: var(--font-size-body);
  line-height: 1.7;
}

/* Prevent horizontal page scroll on narrow devices */
html, body {
  overflow-x: hidden;
}

/* Use border-box universally to avoid unexpected widths */
*, *::before, *::after {
  box-sizing: border-box;
}

.bodnorm {
    padding: 0;
    margin: 0;
  background-color: var(--bg-primary);
  font-family: var(--font-base);
    }
.err {
  body {
    padding: 10%;
    background-color: #ffffff;
    font-family: "Questrial", sans-serif;
    }
}

    img {
      display: inline-block;
      width: auto; 
      height: 5vw;
      vertical-align: middle;
      margin: 0 auto;
  }
  
  @media (max-width: 600px) {
    .image {
      display: flex;
      flex-wrap: wrap; /* Allow items to wrap to the next line */
      gap: 5px; /* Space between items */
    }
    img {
      height: 20vw;
      padding: 0.1rem;
      padding-bottom: 20%;
  }
  }

  @media (max-width: 768px) {
    .image {
      display: flex;
      flex-wrap: wrap; /* Allow items to wrap to the next line */
      gap: 5px; /* Space between items */
    }
    img {
      height: 10vw;
      padding: 0.1rem;
      padding-bottom: 20%;
  }
  .abnorm {
    color: #F4EEE0;
    font-size: 5%;
  }
  }

.full {
    text-align: left;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 100vh;
    width: 100%;
    flex: 1;
    flex-direction: column;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  padding: var(--section-padding-y) var(--section-padding-x);
  box-sizing: border-box;
}
.about {
    text-align: left;
    display: flex;
    justify-content: center;
    align-items: center;
    top:0;
    left:0;
    bottom:0;
    right:0;
    height:100%;
    width:100%;
    top:0;
    left:0;
    bottom:0;
    right:0;
    height:100%;
    width:100%;
    flex: 1;
    flex-direction: column;
}
.about_txt {
    text-align: left;
    display: flex;
    top:0;
    left:0;
    bottom:0;
    right:0;
    height:100%;
    width:100%;
    top:0;
    left:0;
    bottom:0;
    right:0;
    height:100%;
    width:100%;
    flex: 1;
    flex-direction: column;
}
.about_pic {
    text-align: left;
    display: flex;
    top:0;
    left:0;
    bottom:0;
    right:0;
    height:100%;
    width:100%;
    top:0;
    left:0;
    bottom:0;
    right:0;
    height:100%;
    width:100%;
    flex: 1;
    flex-direction: column;
}
p {
  color: var(--text-primary);
  font-size: var(--font-size-body);
  line-height: 1.7;
  margin: 0 0 var(--space-md);
  font-family: var(--font-base);
  float: none;
}

.norm {
    color: var(--text-primary);
    font-size: 2.5vw;
    font-family: var(--font-base);
}
/* .indnorm {
  color: #F4EEE0;
  font-size: 4vw;
} */
.abnorm {
  color: var(--text-primary);
  font-size: 2.5vw;
  font-family: var(--font-base);
}
b {
    color: #e0e6f4;
    font-size: 4.5vw;
    font-family: var(--font-base);
    background-image: linear-gradient(
    -225deg,
    #d299c2 0%,
    #8ec5fc 29%,
    #d299c2 67%,
    #8ec5fc 100%
    );
    background-size: auto auto;
    background-clip: border-box;
    background-size: 200% auto;
    color: #fff;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textclip 2s linear infinite;
    text-align: center;
}
.bind {
  color: #e0e6f4;
  font-size: 4.5vw;
  font-family: var(--font-base);
  background-image: linear-gradient(
  -225deg,
  #d299c2 0%,
  #8ec5fc 29%,
  #d299c2 67%,
  #8ec5fc 100%
  );
  background-size: auto auto;
  background-clip: border-box;
  background-size: 200% auto;
  color: #fff;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textclip 2s linear infinite;
  text-align: center;
}


.normbutton {
    border-radius: 12px;
    border: 2px solid #e0e6f4;
    transition-duration: 0.4s;
  background-color: var(--bg-primary);
  color: var(--text-primary);
    padding: 15px 24px;
    cursor: pointer;
    font-size: 30%;
}

.resbut {
    border-radius: 100%;
    border: 2px solid #e0e6f4;
    transition-duration: 0.4s;
  background-color: var(--text-primary);
  color: var(--bg-primary);
    /* padding: 15px 24px; */
    cursor: pointer;
    font-size: 30%;
}

.resume {
  border-radius: 12px;
  border: 2px solid #e0e6f4;
  transition-duration: 0.4s;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  padding: 15px 24px;
  cursor: pointer;
  font-size: 25%;
}
.normbutton:hover {
    background-color: var(--text-primary);
    color: var(--bg-primary);
    box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19);
}
.resbut:hover {
  background-color: var(--text-primary);
  color: var(--bg-primary);
  box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19);
}
.resume:hover {
  background-color: var(--text-primary);
  color: var(--bg-primary);
  box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19);
}
@media only screen and (max-width: 768px) {
  .normbutton {
    border-radius: 12px;
    border: 2px solid #e0e6f4;
    transition-duration: 0.4s;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    padding: 5px 14px;
    cursor: pointer;
    font-size: 70%;
}
.resbut {
  border-radius: 100%;
  border: 2px solid #e0e6f4;
  transition-duration: 0.4s;
  background-color: var(--text-primary);
  color: var(--bg-primary);
  padding: 5px 14px;
  cursor: pointer;
  font-size: 70%;
}
.resume {
  border-radius: 12px;
  border: 2px solid #e0e6f4;
  transition-duration: 0.4s;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  padding: 5px 14px;
  cursor: pointer;
  font-size: 50%;
}
/* .indnorm {
  color: #F4EEE0;
  font-size: 6vw;
} */
.abnorm {
  color: var(--text-primary);
  font-size: 5vw;
  font-family: var(--font-base);
}
.bind {
  color: #e0e6f4;
  font-size: 6.5vw;
  font-family: var(--font-base);
  background-image: linear-gradient(
  -225deg,
  #d299c2 0%,
  #8ec5fc 29%,
  #d299c2 67%,
  #8ec5fc 100%
  );
  background-size: auto auto;
  background-clip: border-box;
  background-size: 200% auto;
  color: #fff;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textclip 2s linear infinite;
  text-align: center;
}
p {
  color: var(--text-primary);
  font-size: var(--font-size-body);
  line-height: 1.7;
  float: none;
  font-family: var(--font-base);
  margin: 0 0 var(--space-md);
}
}

.button-67 {
    align-items: center;
    background: #f5f5fa;
    border: 0;
    border-radius: 12px;
    box-shadow: -10px -10px 30px 0 #fff,10px 10px 30px 0 #1d0dca17;
    box-sizing: border-box;
    color: #2a1f62;
    cursor: pointer;
    display: flex;
    font-family: "Josefin Sans", sans-serif;
    font-size: 1rem;
    justify-content: center;
    
    padding: 15px;
    position: relative;
    text-align: left;
    transition: 0.4s;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    white-space: pre;
    width: max-content;
    word-break: normal;
    word-spacing: normal;
}
.button-67:hover {
    background: #f8f8ff;
    box-shadow: -15px -15px 30px 0 #fff, 15px 15px 30px 0 #1d0dca17;
}
@media (min-width: 600px) {
    .button-67 {
        padding: 24px;
    }
}

.fixedButton{
  position: fixed;
  bottom: 0px;
  right: 0px; 
  padding: 20px;
}
.roundedFixedBtn{
height: 60px;
line-height: 80px;  
width: 60px;  
font-size: 2em;
font-weight: bold;
border-radius: 100%;
background-color: #F4EEE0;
color: white;
text-align: center;
cursor: pointer;
}

.fundo{
  animation: scales 3s alternate  infinite;
  transform-origin: center;
}
.pao-baixo{
   animation: rotatepao 14s cubic-bezier(.1,.49,.41,.97)  infinite;
  transform-origin: center;
}
.pao-cima{
   animation: rotatepao 7s 1s cubic-bezier(.1,.49,.41,.97)  infinite;
  transform-origin: center;
}
.olhos{animation: olhos   2s  alternate  infinite;
   transform-origin: center;
}

.left-sparks{animation: left-sparks   4s  alternate  infinite;
      transform-origin: 150px 156px;
}

.right-sparks{animation: left-sparks   4s  alternate  infinite;
      transform-origin: 310px 150px;
}

.olhos{animation: olhos   2s  alternate  infinite;
   transform-origin: center;
}
@keyframes scales{
  from { transform: scale(0.98)}
  to{ transform: scale(1)}
}

@keyframes rotatepao{
  0% { transform:  rotate(0deg)}
  50% , 60%{ transform:  rotate(-20deg)}
  100%{  transform:  rotate(0deg) }
 
}

@keyframes olhos{
  0%{
    transform: rotateX(0deg);
  }
   100%{
    transform: rotateX(30deg);
  }
}

@keyframes left-sparks{
  0%{
    opacity: 0; 
  }
  
}


.main{
  
  min-height: 600px;
  margin: 0px auto;
  width: auto;
  max-width: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.path {
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
  animation: dash 4s   alternate infinite;
}

@keyframes dash{
   0%, 30%{
     fill: 4B4B62;
    stroke-dashoffset:   0;
  }
   80%,100%{
     fill: transparent;
    stroke-dashoffset:  -200;
  }
   
  
}

/* Contact Form Styles (Additions) */

/* Contact Form Wrapper */
.contact-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 50vh;
  padding: 20px;
  background: transparent;
  box-sizing: border-box; /* To ensure padding doesn't affect layout */
}

/* Contact Form */
.form-wrapper {
  background: var(--surface-elevated);
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0px 12px 30px rgba(0, 0, 0, 0.35);
  width: 100%;
  max-width: 500px; /* Reduced max-width */
  color: var(--text-primary);
}

/* Heading Style */
.form-wrapper h2 {
  text-align: center;
  font-size: 1.8rem; /* Adjusted font size */
  color: var(--text-primary);
  margin-bottom: 10px;
}

/* Subheading Style */
.subheading {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* Input Styles */
.input-group {
  margin-bottom: 15px; /* Reduced margin for a more compact form */
}

.input-group input,
.input-group textarea {
  width: 100%;
  padding: 12px; /* Adjusted padding */
  border: 1px solid rgba(244, 238, 224, 0.15);
  border-radius: 8px;
  font-size: 1rem;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.3s ease, background-color 0.3s ease;
  background: rgba(244, 238, 224, 0.05);
  color: var(--text-primary);
}

.input-group input::placeholder,
.input-group textarea::placeholder {
  color: var(--text-muted);
}

/* Focus Effect */
.input-group input:focus,
.input-group textarea:focus {
  border-color: var(--accent-primary);
  background: rgba(244, 238, 224, 0.12);
}

/* Textarea Styling */
textarea {
  height: 120px; /* Slightly reduced height */
  resize: none;
}

/* Button Style */
.btn {
  width: 100%;
  background: #ff6a00;
  color: #fff;
  padding: 12px;
  font-size: 1.1rem; /* Slightly reduced font size */
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

/* Button Hover Effect: match resource card CTA hover */
.btn:hover {
  background: var(--accent-secondary);
  color: #111;
  border-color: transparent;
  transform: scale(1.05);
}

/* Response Message Style */
#response-message {
  text-align: center;
  margin-top: 20px;
  font-size: 1rem;
  color: var(--text-primary);
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

/* Success/Failure Response */
#response-message.success {
  color: #28a745;
}

#response-message.error {
  color: #dc3545;
}
.g-recaptcha {
  transform-origin: center;
  display: flex;
  justify-content: center;
  padding-bottom: 3%;
}

/* Responsive Design for Mobile */
@media screen and (max-width: 768px) {
  .form-wrapper {
      padding: 25px;
      max-width: 90%; /* Ensures the form takes full width on smaller screens */
  }
  
  .g-recaptcha {
    transform: scale(0.85);
    transform-origin: center;
    display: flex;
    justify-content: center;
    padding-bottom: 10%;
}

  h2 {
      font-size: 1.6rem; /* Adjust heading size */
  }

  .subheading {
      font-size: 0.9rem;
  }

  .input-group input,
  .input-group textarea {
      padding: 10px; /* Reduced padding for inputs */
  }

  .btn {
      font-size: 1rem; /* Smaller button font size */
      padding: 10px; /* Adjusted padding for buttons */
  }
  .contact-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 50vh;
    padding: 30px;
    background: transparent;
    top:0;
    left:0;
    bottom:0;
    right:0;
    height:100%;
    width:100%;
    flex: 1;
    flex-direction: column;
    position: absolute;
  }
}

/* Scroll Indicator */
.scroll-indicator {
  text-align: center;
  font-size: 1.2rem;
  color: #F4EEE0;
  animation: fade-in 2s infinite alternate;
  position: absolute;
  bottom: 5vh;
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
}

@keyframes fade-in {
  from { opacity: 0.3; }
  to { opacity: 1; }
}

/* Apple-Style Animation Section */
.animation-section {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: var(--bg-primary);
  font-size: 2rem;
  font-weight: bold;
  color: var(--text-primary);
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s ease-out, transform 1s ease-out;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

/* Showcase Section */
/* General Styles */
/* body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Questrial", sans-serif;
  background-color: #393646;
  color: #F4EEE0;
  overflow-x: hidden;
} */

/* Scroll Indicator */
.scroll-indicator {
  text-align: center;
  font-size: 1.2rem;
  color: #F4EEE0;
  animation: fade-in 2s infinite alternate;
  position: absolute;
  bottom: 5vh;
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
}

@keyframes fade-in {
  from { opacity: 0.3; }
  to { opacity: 1; }
}

/* Apple-Style Animation Section */
.animation-section {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: linear-gradient(135deg, #d299c2, #8ec5fc);
  font-size: 2rem;
  font-weight: bold;
  color: white;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s ease-out, transform 1s ease-out;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

/* Showcase Section */
.showcase {
  background-color: var(--bg-primary);
  padding: var(--section-padding-y) var(--section-padding-x);
  border-radius: 10px;
  text-align: center;
  overflow: hidden;
  max-width: 100%;
  min-height: 100vh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

/* Large right-to-left marquee quote inside the showcase */
.showcase-quote {
  width: 100%;
  min-height: 85vh; /* occupy most of the viewport to emphasize the quote */
  display: flex;
  align-items: center; /* vertically center the quote within the section */
  justify-content: flex-start; /* keep content left-aligned visually */
  position: relative; /* for positioning the credit at bottom-right */
  box-sizing: border-box;
  padding: var(--space-lg) var(--section-padding-x);
}
/* legacy marquee rules removed — stationary quote styles follow */

/* Stationary quote variant: used when marquee is disabled/removed */
.stationary-quote {
  width: 100%;
  display: flex;
  align-items: center; /* center vertically inside the showcase-quote */
  justify-content: flex-start; /* left-align the quote on wide screens */
  box-sizing: border-box;
  padding: var(--space-xl) var(--space-xl);
}

.stationary-quote .quote-text {
  /* left-aligned, readable, and emphatic; scaled to fit the section */
  white-space: normal;
  display: block;
  max-width: 60ch;
  margin: 0;
  margin-bottom: var(--space-md);
  color: var(--text-primary);
  font-family: var(--font-base);
  font-weight: 700;
  /* reduce maximum size so the quote fits on a single section */
  font-size: var(--font-size-quote);
  line-height: 1.45; /* increased spacing but compact enough to fit */
  text-align: left;
  word-break: break-word;
  padding-left: var(--space-sm);
  /* make the left rule match the background colour as requested */
  border-left: 8px solid var(--bg-primary);
  /* subtle text-wrap tuning to avoid overflow */
  hyphens: auto;
}

.quote-source {
  /* positioned at the bottom-right of the showcase section */
  position: absolute;
  right: var(--section-padding-x);
  bottom: clamp(1rem, 2.5vh, 2.25rem);
  color: var(--text-muted);
  font-family: var(--font-base);
  font-weight: 500;
  font-size: clamp(0.95rem, 1.8vw, 1.2rem);
  font-style: italic;
  text-align: right;
}

@media (max-width: 700px) {
  .stationary-quote {
    justify-content: center;
    padding: clamp(2vh, 4vh, 3vh) clamp(1rem, 6vw, 1.5rem);
    position: relative; /* ensure absolute children position relative to this container */
    /* extra bottom padding so the absolute-positioned credit doesn't overlap the quote */
    padding-bottom: clamp(3rem, 12vh, 4.5rem);
  }
  .stationary-quote .quote-source {
    position: absolute;
    right: clamp(0.75rem, 5vw, 1.5rem);
    bottom: clamp(0.75rem, 4vw, 1.75rem); /* move the credit lower on phones for breathing room */
    color: var(--text-muted);
    font-size: clamp(0.9rem, 2.6vw, 1.1rem);
    text-align: right;
  }
  .stationary-quote .quote-text {
    text-align: left; /* keep left alignment for the quote on small screens */
    border-left: none;
    padding-left: 0;
    max-width: 100%;
    font-size: clamp(1.6rem, 4.2vw, 3.2rem);
    line-height: 1.4;
    /* ensure there's space below the quote text to avoid overlap */
    margin-bottom: clamp(1.1rem, 3vw, 1.8rem);
  }
}

@media (max-width: 420px) {
  .stationary-quote {
    padding-bottom: clamp(4.25rem, 16vh, 6.25rem);
  }
  .stationary-quote .quote-text {
    margin-bottom: clamp(2rem, 6vw, 2.8rem);
  }
  .stationary-quote .quote-source {
    bottom: clamp(1.4rem, 5.5vw, 2.4rem);
  }
}

@media (orientation: landscape) and (max-height: 600px) {
  .full, .intro-section, .showcase, .resources, .snap-section {
    padding-top: clamp(1rem, 4vh, 2.25rem);
    padding-bottom: clamp(1rem, 4vh, 2.25rem);
    min-height: calc(var(--vh, 1vh) * 100);
  }

  .stationary-quote {
    align-items: flex-start;
    padding-top: clamp(1.5rem, 4vh, 2.5rem);
    padding-bottom: clamp(3rem, 10vh, 4rem);
  }

  .quote-source {
    bottom: clamp(0.75rem, 3vh, 1.5rem);
  }

  .resources-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    width: min(1100px, 100%);
  }

  .snap-contact {
    max-height: 78vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: clamp(0.75rem, 2vh, 1.25rem);
  }
}

/* legacy marquee/keyframe/fade rules removed to keep stylesheet minimal */

.showcase h4 {
  text-align: center;
}

.showcase h2 {
  font-size: 2.5rem;
  margin-bottom: 30px;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  gap: 20px;
  justify-content: center;
  align-items: center;
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
}

.achievement {
  background: rgba(244, 238, 224, 0.05);
  padding: 20px;
  border-radius: 10px;
  transition: transform 0.3s;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 90%;
  margin: 0 auto;
}

.achievementpara {
  padding: 20px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 90%;
  margin: 0 auto;
}

.achievement:hover {
  transform: translateY(-5px);
}

.achievement img, .achievement video {
  max-width: 100%;
  border-radius: 10px;
  width: 100%;
  height: auto;
  display: block;
}

.achievement p {
  font-size: 2rem;
  text-align: center;
  font-family: var(--font-base);
}

.achievementpara p{
  font-size: 1.5rem;
  text-align: center;
  font-family: var(--font-base);
}

/* Responsive Fixes */
@media (max-width: 1024px) {
  .showcase {
      padding: 50px 5%;
  }

  .showcase h2 {
      font-size: 2rem;
  }
}

@media (min-width: 2560px) {
  .scroll-indicator {
    font-size: 2.5rem;
  }
}
  /* Keep the quote-source anchored to the bottom-right on small screens as well */
  .stationary-quote .quote-source {
    position: absolute;
    right: 1.25rem;
    bottom: 2.5vh;
    color: var(--text-muted);
    font-size: clamp(0.9rem, 2.6vw, 1.1rem);
    text-align: right;
  }
  .stationary-quote .quote-text {
    text-align: left; /* keep left alignment for the quote even on small screens */
    border-left: none;
    padding-left: 0;
    max-width: 100%;
  }
  .achievementpara {
    width: 90%;
    max-width: 350px;
    padding: 15px;
}

  .achievement img, .achievement video {
      max-width: 100%;
  }

  .achievement p {
      font-size: 1.5rem;
  }

  .achievementpara p {
    font-size: 1.3rem;
}
  .scroll-indicator {
    font-size: 1rem;
  }


@media (max-width: 430px) {
  .showcase {
      padding: 20px 5%;
  }

  .achievement {
      width: 100%;
      max-width: 90%;
      padding: 10px;
      margin: 0 auto;
  }

  .achievement img{
    width: 80%;
}


  .achievement img, .achievement video {
      max-width: 100%;
  }

  .achievement p {
      font-size: 1rem;
  }
  .scroll-indicator {
    font-size: 0.8rem;
  }

}

/* Introduction Section */
.intro-section {
  height: 100vh;
  width: 100%;
  background-color: var(--bg-primary);
  display: flex;
  justify-content: flex-start; /* align content to the left of the page */
  align-items: center;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  padding: var(--section-padding-y) var(--section-padding-x);
  box-sizing: border-box;
}

.intro-content {
  display: flex;
  justify-content: flex-start; /* keep content flushed to the left */
  align-items: flex-start;
  max-width: none; /* allow content to use full available width */
  width: 100%;
}

.intro-text {
  width: 100%;
  max-width: none; /* allow text to span across the page */
  color: var(--text-primary);
  text-align: left; /* left-align text inside the box */
}

.intro-text p {
  font-family: var(--font-base);
  /* larger, readable sizing while staying responsive */
  font-size: clamp(1rem, 1.9vw, 1.45rem);
  line-height: 1.75;
  color: var(--text-primary);
  margin-bottom: 20px;
  font-weight: 400;
}

/* Transition section removed to avoid conflicts with marquee showcase */

/* Make sure the following showcase section fills the viewport */
.showcase {
  min-height: 100vh;
  padding: 60px 5%;
  box-sizing: border-box;
}

/* Resources / Access section */
.resources {
  background: transparent;
  padding: var(--section-padding-y) 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center; /* center vertically */
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
.resources-inner {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center; /* center horizontally */
  justify-content: center; /* center vertically within inner container */
  gap: var(--space-sm);
  padding: var(--space-lg) var(--space-md);
}
.resources-title {
  font-family: var(--font-base);
  color: var(--text-primary);
  font-size: var(--font-size-section-title);
  margin: 0;
  letter-spacing: 0.02em;
  text-align: center;
}
.resources-sub {
  color: var(--text-muted);
  margin: 0;
  font-size: var(--font-size-subhead);
  text-align: center;
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: var(--space-lg);
  width: min(1100px, 100%);
  margin-top: var(--space-lg);
  align-items: stretch;
}

.resource-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-lg);
  background: rgba(244,238,224,0.035);
  border-radius: 14px;
  color: var(--text-primary);
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0,0,0,0.28);
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease;
  border: 1px solid rgba(244,238,224,0.04);
  min-height: clamp(180px, 26vh, 260px);
  align-items: flex-start;
}
.resource-head {
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: clamp(1.05rem, 1.4vw, 1.35rem);
}
.resource-label { font-size: clamp(1rem, 1.2vw, 1.15rem); }
.resource-desc {
  color: var(--text-muted);
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  line-height: 1.5;
  margin-top: 0.25rem;
}
.resource-cta {
  /* default: phone-first — left-aligned and compact */
  display: inline-block;
  align-self: flex-start;
  margin-top: 0; /* mobile spacing will be set in breakpoints */
  background: transparent;
  color: var(--text-primary);
  padding: 0.4rem 1rem;
  border-radius: 8px;
  border: 1px solid rgba(244,238,224,0.06);
  font-weight: 700;
  font-size: var(--font-size-cta);
}

/* Make title/description/button align across cards */
.resource-card {
  display: flex;
  flex-direction: column;
}
.resource-head {
  /* reserve space for up to 2 lines of title so descriptions start aligned */
  min-height: 3.6rem;
  align-items: flex-start;
}
.resource-desc {
  /* allow descriptions to grow and push CTA to the bottom */
  flex: 1 1 auto;
}


/* Hover/focus: subtle rise and reveal a brighter CTA */
.resource-card:hover,
.resource-card:focus {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.45);
  background: rgba(244,238,224,0.04);
}
.resource-card:hover .resource-cta,
.resource-card:focus .resource-cta {
  background: var(--accent-secondary);
  color: #111;
  border-color: transparent;
}

/* Responsive: fewer columns */
@media (max-width: 1000px) {
  .resources-grid { gap: var(--space-md); }
}
@media (max-width: 540px) {
  /* Stack cards as a vertical list on small phones */
  .resources-grid { display: block; grid-template-columns: none; gap: 1rem; }
  .resource-card { min-height: auto; padding: 0.9rem 1rem; width: 100%; max-width: 720px; margin: 0 auto 1rem; border-radius: 10px; gap: 0.45rem; }
  .resource-cta { align-self: flex-start; margin-left: 0; }
  /* tighten spacing so headings and descriptions sit closer on small phones */
  .resource-head { min-height: 0; margin-bottom: 0; }
  .resource-desc { margin-top: 0.12rem; }
  /* make the space between text and button match the title->text gap
     and force left alignment on very small viewports (use strong override) */
  .resource-card { align-items: flex-start !important; }
  .resource-cta { align-self: flex-start !important; margin-top: 0.12rem !important; }
}

/* Additional responsive tuning for Resources */
@media (max-width: 1000px) {
  .resources-grid { grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: var(--space-md); }
  .resource-card { min-height: 160px; padding: 1.25rem; }
}

@media (max-width: 700px) {
  .resources-inner { padding: 4vh 1rem; }
  /* keep cards left aligned so title/desc/button line up on narrow viewports */
  .resource-card { align-items: flex-start; text-align: left; }
  .resource-head { justify-content: flex-start; }
  .resource-cta { align-self: flex-start; }
  .resource-desc { margin: 0.25rem 0 0; }
}

/* Tighten vertical spacing between title and description for mid-width screens */
@media (max-width: 786px) {
  .resource-card { gap: 0.45rem; }
  /* slightly tighter stack for mid-width screens */
  .resource-head { min-height: 1.8rem; font-size: 1.02rem; }
  .resource-desc { margin-top: 0.1rem; font-size: 0.95rem; line-height: 1.35; }
}

/* Add left/right margins for mid breakpoints to avoid edge clipping */
@media (max-width: 1024px) {
  .resources-inner { padding-left: 6vw; padding-right: 6vw; }
}
@media (max-width: 768px) {
  .resources-inner { padding-left: 5vw; padding-right: 5vw; }
}

/* Extra safety: ensure wide elements don't force horizontal scroll on very small devices */
@media (max-width: 425px) {
  .resource-card, .resources-inner, .resources-grid { max-width: 100%; padding-left: 1rem; padding-right: 1rem; overflow-x: hidden; }
  img, video { max-width: 100%; height: auto; }
  /* Left-align card content on very small screens and reduce type sizes to fit */
  .resource-card {
    align-items: flex-start;
    text-align: left;
    padding: 0.75rem 0.9rem;
    min-height: auto;
    gap: 0.35rem;
  }
  .resource-head { justify-content: flex-start; font-size: clamp(0.95rem, 3.6vw, 1.05rem); min-height: 0; margin-bottom: 0; }
  .resource-label { font-size: 0.95rem; }
  .resource-desc { font-size: clamp(0.78rem, 2.4vw, 0.9rem); line-height: 1.35; margin-top: 0.15rem; }
  .resource-cta { align-self: flex-start; font-size: 0.88rem; padding: 0.22rem 0.56rem; margin-left: 0; }
  /* match the text->button spacing to the title->text spacing on very small screens
     and force alignment so buttons line up with text on phones */
  .resource-card { align-items: flex-start !important; }
  .resource-cta { align-self: flex-start !important; margin-top: 0.15rem !important; }
}

@media (min-width: 1200px) {
  .resources-grid { grid-template-columns: repeat(4, 1fr); gap: 2rem; }
  .resource-card { padding: 2.25rem; min-height: 200px; }
  .resources-inner { padding: 8vh 0; }
}

/* On larger screens, keep CTAs pinned to the bottom/right of the card */
@media (min-width: 700px) {
  .resource-cta {
    align-self: flex-end;
    margin-top: auto;
    display: inline-block;
  }
}

/* Slight visual refinement on hover for large screens */
@media (hover: hover) and (min-width: 800px) {
  .resource-card:hover { transform: translateY(-8px) scale(1.01); }
}

/* Responsive Design for Introduction Section */
@media (max-width: 1024px) {
  .intro-section {
    padding: 50px 5%;
  }
}

@media (max-width: 768px) {
  .intro-section {
    padding: 40px 5%;
  }
  .intro-content {
    /* on narrow screens keep content left-aligned within the padding */
    justify-content: flex-start;
    align-items: flex-start;
  }
}

@media (max-width: 430px) {
  .intro-section {
    padding: 30px 5%;
  }
}

footer {
  text-align: center;
  padding-top: 30px;
}

/* Social Media Links */
.social-links {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.social-links a {
  margin: 0 15px;
  font-size: 5px;
  color: #ffffff; /* Default icon color */
  text-decoration: none;
  transition: color 0.3s ease;
}

/* Change color on hover */
.social-links a:hover {
  color: #d299c2;
}

.social-links i {
  font-size: 20px;
}

.social-links-wrapper {
  position: absolute;
  left: 30px;
  bottom: 30px;
  z-index: 3;
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.social-icon {
  width: 24px;
  height: 24px;
  opacity: 0.6;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
  position: relative;
}

.social-icon:hover {
  opacity: 1;
  transform: translateY(-3px) scale(1.1);
}

.social-icon::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 40px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(57, 54, 70, 0.9);
  color: #F4EEE0;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-family: 'Questrial', sans-serif;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.social-icon:hover::after {
  opacity: 1;
  left: 45px;
}

/* Animated circles background */
.social-icon::before {
  content: '';
  position: absolute;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(244, 238, 224, 0.1);
  transition: all 0.6s ease-out;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.social-icon:hover::before {
  width: 60px;
  height: 60px;
}
.ripple-effect {
  position: absolute;
  border-radius: 50%;
  background: rgba(244, 238, 224, 0.3);
  transform: scale(0);
  animation: ripple 0.6s linear;
  pointer-events: none;
}

@keyframes ripple {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* Add this to your existing social-icon styles */
.social-icon svg {
  transition: all 0.3s ease;
  opacity: 0.6;
}

.social-icon:hover svg {
  opacity: 1;
  transform: scale(1.1);
  filter: drop-shadow(0 2px 4px rgba(244, 238, 224, 0.2));
}

/* Visually-hidden utility */
.visually-hidden { position: absolute !important; height: 1px; width: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

/* Video modal/lightbox */
.video-modal { display: none; position: fixed; inset: 0; z-index: 9999; align-items: center; justify-content: center; }
.video-modal[aria-hidden="false"] { display: flex; }
.video-modal__overlay { position: absolute; inset: 0; background: rgba(6,8,10,0.75); }
.video-modal__content { position: relative; z-index: 2; width: min(1100px, calc(100% - 2rem)); max-width: 1100px; background: transparent; padding: 1rem; display: flex; flex-direction: column; align-items: stretch; }
.video-modal__close { position: absolute; right: 0.5rem; top: 0.5rem; z-index: 3; background: rgba(0,0,0,0.2); color: var(--text-primary); border: none; font-size: 1.5rem; padding: 0.25rem 0.6rem; border-radius: 6px; cursor: pointer; }
.video-modal__frame { width: 100%; padding-top: 56.25%; position: relative; background: #000; border-radius: 8px; overflow: hidden; }
.video-modal__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

@media (max-width: 540px) {
  .video-modal__content { padding: 0.6rem; }
  .video-modal__close { font-size: 1.25rem; right: 0.5rem; top: 0.4rem; }
}

/* Extremely specific mobile overrides to ensure CTA alignment and spacing */
@media (max-width: 540px) {
  .resources-grid .resource-card > .resource-cta,
  .resources-grid .resource-card span.resource-cta {
    display: inline-block !important;
    align-self: flex-start !important;
    margin-top: 0.12rem !important;
    margin-left: 0 !important;
    width: auto !important;
  }
}
@media (max-width: 425px) {
  .resources-grid .resource-card > .resource-cta,
  .resources-grid .resource-card span.resource-cta {
    display: inline-block !important;
    align-self: flex-start !important;
    margin-top: 0.15rem !important;
    margin-left: 0 !important;
    width: auto !important;
  }
}

/* New snap target section styling */
.snap-section {
  min-height: clamp(85vh, calc(var(--vh, 1vh) * 100), 115vh);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--section-padding-y) var(--section-padding-x);
  box-sizing: border-box;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  background: transparent; /* keep visual subtle so it blends with page */
}
.snap-inner { max-width: 960px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: var(--space-sm); }
.snap-title { font-family: var(--font-base); font-size: clamp(1.6rem, 2.8vw, 2.4rem); margin: 0 0 var(--space-sm) 0; color: var(--text-primary); }
.snap-desc { margin: 0; color: var(--text-muted); font-size: var(--font-size-subhead); }

/* Enhanced contact form inside snap section */
.snap-contact {
  margin: var(--space-md) auto 0;
  max-width: 820px;
  width: min(100%, 820px);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  padding: var(--space-lg);
  background: rgba(244,238,224,0.02);
  border-radius: 12px;
  border: 1px solid rgba(244,238,224,0.04);
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
  align-items: stretch;
}
.snap-contact .input-group { display:block; }
.snap-contact .input-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
.snap-contact input[type="text"],
.snap-contact input[type="email"],
.snap-contact textarea {
  width: 100%;
  padding: var(--space-sm);
  background: rgba(6,8,10,0.02);
  border: 1px solid rgba(244,238,224,0.06);
  color: var(--text-primary);
  border-radius: 8px;
  outline: none;
  font-family: var(--font-base);
  font-size: var(--font-size-body);
  transition: box-shadow 200ms ease, border-color 180ms ease, transform 150ms ease;
}
.snap-contact textarea { min-height: 140px; resize: vertical; }
.snap-contact input::placeholder, .snap-contact textarea::placeholder { color: rgba(244,238,224,0.45); }
.snap-contact input:focus, .snap-contact textarea:focus {
  border-color: var(--accent-primary);
  box-shadow: 0 8px 30px rgba(210,153,194,0.08);
  transform: translateY(-2px);
}
.snap-contact .g-recaptcha { display:flex; justify-content:center; margin: 0.25rem 0 0; }

/* Button: subtle border, then filled on hover to match resource CTAs */
.snap-contact .btn {
  width: auto;
  padding: var(--space-sm) var(--space-md);
  background: transparent;
  border: 1px solid rgba(142,197,252,0.22);
  color: var(--text-primary);
  border-radius: 8px;
  font-weight: 700;
  font-size: var(--font-size-cta);
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, transform 120ms ease;
}
.snap-contact .btn:hover {
  background: var(--accent-secondary);
  color: #111;
  border-color: transparent;
  transform: translateY(-2px) scale(1.02);
}

@media (max-width: 900px) {
  .snap-contact .input-row { grid-template-columns: 1fr; }
  .snap-contact { padding: 1rem; }
}

/* Laptop-height tuning: keep the entire contact card visible without extra page scroll */
@media (max-height: 900px) and (min-width: 768px) {
  .snap-section {
    min-height: 100vh;
    padding-top: clamp(1.5rem, 6vh, 2.75rem);
    padding-bottom: clamp(1.5rem, 6vh, 2.75rem);
  }

  .snap-inner {
    max-height: 90vh;
    justify-content: center;
  }

  .snap-contact {
    max-height: 70vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: clamp(1rem, 3vh, 1.5rem);
    margin-top: var(--space-sm);
  }

  .snap-contact textarea {
    min-height: 120px;
  }
}

/* Extra horizontal margin for very small phones (e.g., 320px) */
@media (max-width: 320px) {
  .snap-contact {
    /* ensure the card can't exceed viewport and leaves horizontal breathing room */
    box-sizing: border-box !important;
    width: auto !important;
    max-width: calc(100% - 1.8rem) !important;
    margin-left: 0.9rem !important;
    margin-right: 0.9rem !important;
    padding-left: 0.6rem !important;
    padding-right: 0.6rem !important;
  }
  /* prevent inner inputs from forcing wider widths */
  .snap-contact input,
  .snap-contact textarea,
  .snap-contact .input-row {
    min-width: 0 !important;
    box-sizing: border-box !important;
  }
}

/* Force full-section clipping on narrow phones to avoid peek-through of next snap target */
@media (max-width: 420px) {
  .showcase, .resources, .snap-section, .intro-section, .full {
    /* Make each section exactly viewport-height and clip overflow so the next section can't peek */
    height: calc(var(--vh, 1vh) * 100) !important;
    min-height: calc(var(--vh, 1vh) * 100) !important;
    overflow: hidden !important;
    padding-top: env(safe-area-inset-top, 12px) !important;
    padding-bottom: env(safe-area-inset-bottom, 12px) !important;
  }

  /* Ensure inner containers use the full section height and center content */
  .snap-inner, .resources-inner, .showcase-quote {
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    overflow: hidden !important;
  }

  /* Keep the contact card scrollable within itself if content is taller */
  .snap-contact {
    margin-top: 0 !important;
    max-height: calc(100% - 4rem) !important;
    overflow: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }

  /* Small tweak: reduce large offsets that could push content out of view */
  .stationary-quote { padding: 2vh 1rem !important; }
}

/* Make the name/logo PNG span the full viewport width on phones */
@media (max-width: 600px) {
  /* Make the hero/logo a prominent, centered focus while leaving breathing room */
  .hero-logo {
    width: 100%;
    max-width: 96vw; /* minimal side margins */
    margin: 2vh auto 4vh;
    padding: 3vh 0;
    min-height: 52vh;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
  }

  .hero-logo img {
    width: clamp(300px, 85vw, 100vw); /* larger focus with slight edge breathing room */
    max-width: 100vw;
    height: auto;
    display: block;
    margin: 0 auto;
    object-fit: contain;
  }
}


/* Extra precise tuning for very narrow tall phones (e.g., 390x844) */
@media (max-width: 390px) and (max-height: 900px) {
  .hero-logo { min-height: 40vh !important; }
  .stationary-quote .quote-text { font-size: clamp(1rem, 4.6vw, 1.8rem) !important; }
  .snap-title { font-size: clamp(1.2rem, 4.4vw, 1.6rem) !important; }
}

/* ==========================
   Section containment fixes
   - Ensure every major section contains absolutely-positioned children
   - Prevent visual bleeding between stacked sections on small viewports
   - Make sure sections respect viewport height and layout flow
   ========================== */
section,
.full,
.intro-section,
.showcase,
.resources,
.snap-section {
  position: relative; /* establish a containing block for absolutely positioned descendants */
  overflow: hidden;   /* clip any positioned children so they can't visually bleed into adjacent sections */
  box-sizing: border-box;
  /* keep consistent viewport sizing */
  min-height: calc(var(--vh, 1vh) * 100);
}

/* Defensive: undo any older rules that forced the contact container to be absolute on mobile */
.contact-container {
  position: static !important;
}

/* Ensure snap-inner/snap-contact scale responsively and never force horizontal overflow */
.snap-inner,
.resources-inner,
.resource-card,
.snap-contact {
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

/* Extra safety: clip any oversized absolutely-positioned helper elements (like decorative lines) */
.absolute-match,
.fixed-arrow-hint {
  pointer-events: auto;
  will-change: transform;
}

/* Final small-screen tune: reduce large type/absolute offsets that might overlap on very short viewports */
@media (max-height: 640px) and (max-width: 420px) {
  .stationary-quote .quote-text { font-size: clamp(1.25rem, 4.6vw, 2.6rem); line-height: 1.35; }
  .quote-source { bottom: 2.4vh; }
  .hero-logo { min-height: 55vh; }
}

/* ==================================================
   Small-screen typographic and layout safety overrides
   - Reduce aggressive global paragraph sizing and floats
   - Shrink images and hero area on narrow viewports
   - Reduce section min-height so short viewports don't clip content
   ================================================== */

/* Reset surprising global paragraph sizing on small screens */
@media (max-width: 1024px) {
  body p {
    font-size: clamp(0.9rem, 2.2vw, 1rem) !important;
    float: none !important;
    margin: 0 0 1rem 0 !important;
    line-height: 1.6 !important;
  }
  .intro-text p {
    font-size: clamp(0.95rem, 2.4vw, 1.25rem) !important;
    line-height: 1.75 !important;
    margin: 0 !important;
  }
  .achievement p, .achievementpara p {
    font-size: clamp(0.9rem, 2.2vw, 1.1rem) !important;
    line-height: 1.4 !important;
  }
}

/* Tighter rules for narrow phones to avoid clipping top/bottom */
@media (max-width: 425px) {
  /* Ensure the hero/logo has comfortable side breathing room on very small screens */
  .hero-logo {
    min-height: 50vh;
    margin: 0 auto 1vh;
    padding-left: 4vw;
    padding-right: 4vw;
    box-sizing: border-box;
  }

  /* Make the logo fit inside the viewport with side margins (not edge-to-edge) */
  .hero-logo img {
    width: clamp(240px, 84vw, 92vw);
    max-width: 92vw;
    height: auto;
    display: block;
    margin: 0 auto;
    object-fit: contain;
  }

  /* Reduce global paragraph sizing further */
  body p { font-size: clamp(0.82rem, 3.6vw, 0.95rem) !important; }
  .intro-text p { font-size: clamp(0.85rem, 3.8vw, 1rem) !important; line-height: 1.6 !important; }

  /* Allow sections to be slightly shorter than 100vh on short displays so content isn't clipped
     while still preserving scroll-snap alignment. */
  .full, .showcase, .resources, .snap-section { min-height: calc(100vh - 72px); }

  /* Avoid overly large absolute offsets for decorative lines that might push past the viewport */
  .line2, .line3, .line4 { max-height: 50vh; }
}

@media (max-width: 320px) {
  /* Further reduce quote and intro text so they fit on very small displays */
  .stationary-quote .quote-text { font-size: clamp(1rem, 5.2vw, 2rem); line-height: 1.35; }
  .intro-text p { font-size: clamp(0.78rem, 4.6vw, 0.92rem) !important; }
  .full, .showcase, .resources, .snap-section { min-height: calc(100vh - 64px); padding-left: 0.9rem; padding-right: 0.9rem; }
}

