@import url('https://fonts.googleapis.com/css2?family=Sacramento&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');

html,
body {
  height: 100%;
  width: 100%;
  overflow-x: hidden;
}


#typing-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  visibility: hidden;
  text-align: center;
  z-index: 90;
  width: 100%;
}

#typed-text {
  display: inline-block;
  font-family: 'Rozha One', serif;
  font-size: 1.8rem;
  font-weight: 140vw;
  /* This seems like a typo. font-weight is usually a number like 400, 700 or a keyword. Perhaps you meant vw for something else? */
  color: #333;
  letter-spacing: 0.05em;
  position: relative;
  line-height: 1;
}

#typed-text::after {
  content: '|';
  display: inline-block;
  margin-left: 0.1em;
  opacity: 1;
  animation: blink 0.7s infinite;
}

#typed-text.typing-done::after {
  display: none;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

#page1 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100vh;
  position: relative;
  /* Ensure child elements like typing-container position correctly */
}

.logo-container {
  position: absolute;
  top: 25px;
  left: 24px;
  z-index: 10;
}

.site-logo {
  width: 80px;
  height: auto;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.8s ease-in;
}

.site-logo.visible {
  opacity: 1;
  transform: translateY(0);
}

/* container centered and responsive, initially invisible */
.stroke-container {
  display: flex;
  justify-content: center;
  /* moved slightly down */
  margin-top: 80px;
  /* was 40px */
}

.brush-stroke {
  width: 100%;
  max-width: 1200px;
  height: auto;
  opacity: 0;
  transition: opacity 0.8s ease-in;
}

.brush-stroke.visible {
  opacity: 1;
}


/* Large phones & small tablets */
@media (max-width: 768px) {
  .stroke-container {
    margin-top: 100px;
  }

  .brush-stroke {
    width: 88%;
    max-width: 500px;
  }
}

/* Mobile phones */
@media (max-width: 600px) {
  .stroke-container {
    margin-top: 70px;
  }

  .brush-stroke {
    width: 92%;
    max-width: 420px;
  }
}

/* Small mobile phones (very small screens) */
@media (max-width: 400px) {
  .stroke-container {
    margin-top: 120px;
  }

  .brush-stroke {
    width: 95%;
    max-width: 360px;
  }
}





#page1-something {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  bottom: 16%;
  width: 100%;
}


#page1-something h4 {
  font-weight: 400;
  font-size: 1vw;
  text-transform: uppercase;
  margin-top: 0.5vw;
  padding: 9px 18px;
  border: 1px solid hsl(0, 0%, 65%);
  border-radius: 50px;
  color: #000;
}



#moving-div {
  margin-top: 5vh;
  position: absolute;
  bottom: 3%;
  white-space: nowrap;
  padding: 1.2vw;
  overflow: hidden;
  width: 44%;
}

#moving-div .move {
  display: inline-block;
  animation-name: mobe;
  animation-duration: 9s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

#moving-div .move span {
  font-size: 1vw;
  /* Adjust as needed */
  margin: 0 1.2vw;
  color: #000000;
  /* Change color if needed */
}

@keyframes mobe {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-100%);
  }
}

#blur-left {
  height: 100%;
  width: 20%;
  background: linear-gradient(to right, #ffffff, transparent);
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
}

#blur-right {
  height: 100%;
  width: 20%;
  background: linear-gradient(to right, transparent, #ffffff);
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
}

#page1-something,
#moving-div {
  opacity: 0;
  transition: opacity 0.8s ease-in;
}


/* --------------------------- */
/* RESPONSIVE — UNIVERSAL FIXES */
/* --------------------------- */

@media (max-width: 768px) {

  #page1 {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 50vh;
    position: relative;
    /* Ensure child elements like typing-container position correctly */
  }

  #typing-container {
    top: 48%;
    width: 90%;
  }

  #typed-text {
    font-size: clamp(2.2rem, 10vw, 4.5rem);
    letter-spacing: 0.03em;
    -webkit-text-stroke: 2px white;
  }

  /* tagline "insight - with - sight" */
  #page1-something h4 {
    font-size: clamp(0.6rem, 3.2vw, 1rem);
    padding: 6px 14px;
  }

  #page1-something {
    bottom: 20%;
  }

  /* moving text bottom strip */
  #moving-div {
    width: 85%;
    bottom: 7%;
    padding: 3vw 0;
  }

  #moving-div .move span {
    font-size: clamp(0.6rem, 3.2vw, 0.9rem);
    margin: 0 3vw;
  }

  /* fade edges */
  #blur-left,
  #blur-right {
    width: 25%;
  }
}

/* Tablets */
@media (min-width: 769px) and (max-width: 1180px) {

  #typed-text {
    font-size: clamp(4rem, 11vw, 8rem);
    -webkit-text-stroke: 3px white;
  }

  #page1-something h4 {
    font-size: clamp(0.7rem, 1.3vw, 1.2rem);
  }

  #moving-div {
    width: 60%;
    bottom: 5%;
  }

  #moving-div .move span {
    font-size: clamp(0.8rem, 1.3vw, 1rem);
    margin: 0 2vw;
  }
}








/* ---------- PAGE 2 BASE ---------- */
#page2 {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  height: 100vh;
  width: 100%;
  position: relative;
  padding: 0 8vw;
  font-family: a;
  color: #000;
  background-color: #f9f4f4;
}

/* ---------- TEXT ---------- */
#page2>h2 {
  margin-bottom: 2vw;
  font-family: Lato;
  font-weight: 500;
  font-size: clamp(12px, 2.8vw, 36px);
}

#page2>h1 {
  font-weight: 200;
  line-height: 1.3;
  width: 90%;
  font-family: Lato;
  font-weight: 500;
  font-size: clamp(12px, 2.8vw, 36px);
  /* Auto scales on mobile */
  color: #bfadadf1;
}

/* Base layout for the H3 container (keeps svg aligned but we won't style it) */
.hero {
  display: inline-flex;
  /* keep svg and text on same line */
  align-items: center;
  gap: 0.5rem;
  /* space between text and icon */
  margin: 0;
  padding-top: 2vw;
}

/* Ensure SVG keeps its own size and is not affected by text styles */
.hero svg {
  width: 1.25em;
  /* proportional to the font-size but remains confined */
  height: 1.25em;
  flex: none;
  vertical-align: middle;
  fill: currentColor;
  /* makes SVG color follow text color if desired */
}

/* === TEXT STYLES (ONLY) === */
.hero__text {
  /* Desktop default (large screens) */
  font-family: Lato;
  color: #111;
  /* dark text color */
  font-weight: 500;
  line-height: 1.3;
  padding-right: 1.5rem;
  /* prevents overlap with the svg */
  letter-spacing: -0.01em;
  /* Use clamp to get smooth scaling but we still provide explicit breakpoints below */
  font-size: clamp(12px, 2.8vw, 36px);
  /* fallback smooth scaling */
  white-space: nowrap;
  /* keep message on one line if you want; remove if wrapping is OK */
}

@media (max-width: 767px) {
  .hero__text {
    padding-right: 1rem;
  }
}

@media (max-width: 360px) {
  .hero__text {
    padding-right: 0.75rem;
  }
}

/* Tablet: ~768px — 1024px */
@media (min-width: 768px) and (max-width: 1024px) {
  .hero__text {
    font-size: 1.375rem;
    /* ≈22px */
    letter-spacing: -0.015em;
  }
}

/* Mobile: up to 767px */
@media (max-width: 767px) {
  .hero__text {
    font-size: 1.125rem;
    /* ≈18px */
    line-height: 1.2;
    white-space: normal;
    /* allow wrapping on narrow phones */
  }

  .hero {
    gap: 0.05rem;
    /* closer than before */
  }

  .hero svg {
    width: 1em;
    /* slightly smaller = visually closer */
    height: 1em;
  }
}

/* Smaller / very small phones: up to 360px */
@media (max-width: 360px) {
  .hero__text {
    font-size: 1rem;
    /* ≈16px */
    letter-spacing: 0;
    line-height: 1.18;
  }

  .hero {
    gap: 0.05rem;
    /* even closer for tiny devices */
  }

  .hero svg {
    width: 0.9em;
    height: 0.9em;
  }
}


/* ---------- ROTATING LOGO ---------- */
.rotating-logo {
  position: absolute;
  top: clamp(20px, 5vw, 50px);
  right: clamp(20px, 5vw, 50px);
  width: clamp(40px, 8vw, 90px);
  height: auto;
  pointer-events: none;
}

/* ---------- LINE RISING ANIMATION ---------- */
.line-container {
  position: absolute;
  bottom: 0;
  left: 93%;
  transform: translateX(-50%);
  z-index: 999;
}

.rising-line {
  width: 3px;
  background-color: #c7c2c2;
  height: 0;
}

.line-head {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #c7c2c2;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, -100%);
}

/* ---------- MARQUEE ---------- */
.marquee {
  position: relative;
  background: #eee;
  color: #000;
  padding: clamp(15px, 4vw, 30px) 0;
  font-weight: 600;
  font-size: clamp(18px, 5vw, 40px);
  /* Responsive text */
  text-transform: uppercase;
  overflow: hidden;
  white-space: nowrap;
}

.marquee_inner {
  display: flex;
  width: max-content;
}

.marquee_part {
  display: flex;
  align-items: center;
  padding: 0 20px;
}

.arrow {
  width: clamp(20px, 6vw, 50px);
  height: clamp(20px, 6vw, 50px);
  margin: 0 1.2em;
}

.arrow img {
  width: 100%;
  height: 100%;
}

@media (max-width: 900px) {

  #page2 {
    padding: 4vw 6vw;
    padding-top: 22vw;
    /* moves h2 up below the logo */
    height: auto;
    padding-bottom: 20vw;
    position: relative;
  }

  /* Bigger rotating logo */
  .rotating-logo {
    top: 20px;
    right: 20px;
    width: 22vw;
    /* larger for visibility */
  }

  /* H2 heading – bigger & closer to top */
  #page2>h2 {
    font-size: 6vw;
    /* bigger */
    font-weight: 500;
    /* slightly bolder */
    margin-top: 6vw;
    /* sits right under logo */
    margin-bottom: 3vw;
    line-height: 1.2;
    width: 90%;
  }

  /* H1 main paragraph */
  #page2>h1 {
    width: 100%;
    padding-right: 12%;
    font-size: 5.7vw;
    line-height: 1.5;
    margin-bottom: 12vw;
    color: #333;
  }
}

@media (max-width: 480px) {

  .rotating-logo {
    width: 20vw;
  }

  #page2>h2 {
    font-size: 7vw;
    margin-top: 5vw;
  }

  #page2>h1 {
    font-size: 6.5vw;
  }
}

@media (max-width: 900px) {

  /* gap between h2 and h1 */
  #page2>h2 {
    margin-bottom: 5vw;
    /* GAP HERE — adjust this value */
  }

  #page2>h1 {
    margin-top: 2vw;
    /* optional: avoid crowding */
  }
}

@media (max-width: 480px) {

  /* even better gap for very small screens */
  #page2>h2 {
    margin-bottom: 7vw;
    /* slightly bigger gap on tiny screens */
  }

  #page2>h1 {
    margin-top: 3vw;
  }
}








#page8 {
  background-color: #f9f4f4;
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  font-family: "Poppins", sans-serif;
  padding-left: 0;
  margin-left: 0;
  overflow: hidden;
}

.hero-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding-left: 40px;
  /* move image slightly from the edge */
}

.hero-image img {
  width: 100%;
  height: auto;
  max-width: 500px;
  /* adjust for image size */
  object-fit: cover;
  margin-left: 0;
  display: block;
}

.hero-content {
  max-width: 750px;
  margin-left: -520px;
  padding: 80px;
}

.hero-content h2 {
  display: inline-block;
  /* makes the pill fit the text */
  padding: 10px 24px;
  /* space inside the pill */
  border: 2px solid #c8c8c8;
  /* light gray border like the reference */
  border-radius: 40px;
  /* rounded corners */
  font-size: 20px;
  font-weight: 400;
  color: #ff0000;
  background-color: #00000000;
  /* optional: light background similar to image */
}

.hero-content h1 {
  font-size: 98px;
  font-weight: 400;
  margin-bottom: 20px;
  font-family: "Sacramento", cursive;
  text-transform: lowercase;
}

.hero-content p {
  font-size: 22px;
  font-weight: 300;
  color: #111;
  margin-bottom: 35px;
}

.hero-content .cta-btn {
  display: inline-block;
  text-decoration: none;
  background-color: black;
  color: white;
  border: none;
  padding: 9px 18px;
  border-radius: 8px;
  font-weight: 400;
  cursor: pointer;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.hero-content .cta-btn:hover {
  background-color: #333;
  transform: translateY(-3px);
}

/* Tablet */
@media (max-width: 1024px) {
  #page8 {
    height: auto;
    padding: 40px 20px;
  }

  .hero-section {
    flex-direction: column;
    text-align: center;
    height: auto;
  }

  .hero-image {
    justify-content: center;
    padding-left: 0;
  }

  .hero-image img {
    max-width: 420px;
  }

  .hero-content {
    margin-left: 0;
    /* remove overlap */
    padding: 40px 20px;
  }

  .hero-content h1 {
    font-size: 72px;
  }

  .hero-content p {
    font-size: 20px;
  }

  .hero-content button {
    padding: 14px 30px;
  }
}

/* Mobile */
@media (max-width: 600px) {
  #page8 {
    height: auto;
    padding: 30px 10px;
  }

  .hero-section {
    flex-direction: column;
    text-align: center;
  }

  .hero-image img {
    max-width: 300px;
  }

  .hero-content {
    margin-left: 0;
    padding: 20px 10px;
  }

  .hero-content h1 {
    font-size: 48px;
    margin-bottom: 12px;
  }

  .hero-content p {
    font-size: 16px;
    margin-bottom: 22px;
    line-height: 1.4;
  }

  .hero-content button {
    padding: 12px 26px;
    font-size: 14px;
  }
}





#page3 {
  height: 100vh;
  width: 100%;
  background-color: #111;
  position: relative;
  padding: 0vw 10.5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #333;
  overflow: hidden;
}

#page3-left {
  width: 40%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 3vw 0;
  gap: 150px;
}

#page3-left p {
  font-size: 1.9vw;
  color: #fff;
  letter-spacing: 0.05em;
}

#page3-left h5 {
  width: 80%;
  font-weight: 400;
  font-size: 1.1vw;
  color: #d8d8d8;
  line-height: 1.7vw;
}

/* ===== Right Section ===== */
#page3-right {
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.right-elem {
  position: relative;
  padding: 2vw 0;
  border-bottom: 1px solid #333;
  color: #fff;
  transition: all 0.4s ease;
}

.right-elem:last-child {
  border-bottom: none;
}

.right-elem h2 {
  font-size: 1.4vw;
  font-weight: 400;
  margin-bottom: 0.8vw;
  transition: color 0.3s ease, transform 0.3s ease;
  cursor: pointer;
}

.right-elem:hover h2 {
  color: #d6c0b3;
  transform: translateX(1vw);
}

.answer {
  display: block;
  font-size: 1vw;
  color: #d3d3d3;
  line-height: 1.6vw;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transform: translateY(10px);
  padding-top: 0;
  /* no space when closed */
  transition: opacity 0.6s ease, max-height 0.6s ease, transform 0.6s ease, padding-top 0.4s ease;
}

.right-elem:hover .answer {
  opacity: 1;
  max-height: 400px;
  /* enough height for long text */
  transform: translateY(0);
  padding-top: 1.2vw;
  /* space appears only when open */
}

/* ===== Floating Image Cursor ===== */
.right-elem img {
  position: absolute;
  top: 0;
  left: 0;
  height: 8vw;
  width: 8vw;
  border-radius: 50%;
  object-fit: cover;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.7);
  transition: opacity 0.5s ease, transform 0.5s ease;
  z-index: 5;
}

.right-elem:hover img {
  opacity: 1;
  transform: scale(1);
}

/* ===== Hover Overlay Effect ===== */
.right-elem::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 1px;
  background-color: #d6c0b3;
  transition: width 0.5s ease;
}

.right-elem:hover::after {
  width: 100%;
}

/* ============================================
   PAGE 3 RESPONSIVE DESIGN (TABLET + MOBILE)
   ============================================ */

/* ===== Tablet (up to 1024px) ===== */
@media (max-width: 1024px) {
  #page3 {
    height: auto;
    padding: 5vw 6vw;
    flex-direction: column;
    gap: 6vw;
  }

  #page3-left {
    width: 100%;
    padding: 0;
    gap: 40px;
  }

  #page3-left p {
    font-size: 4vw;
  }

  #page3-left h5 {
    width: 100%;
    font-size: 2.4vw;
    line-height: 3.6vw;
  }

  #page3-right {
    width: 100%;
  }

  .right-elem {
    padding: 4vw 0;
  }

  .right-elem h2 {
    font-size: 2.8vw;
  }

  .answer {
    font-size: 2.2vw;
    line-height: 3.2vw;
    max-height: none;
    /* prevent awkward height cutoff */
  }

  .right-elem img {
    height: 14vw;
    width: 14vw;
  }
}

/* ===== Mobile (up to 600px) ===== */
/* ===== Mobile (up to 600px) ===== */
@media (max-width: 600px) {
  #page3 {
    height: auto;
    padding: 8vw 5vw;
    flex-direction: column;
    gap: 10vw;
  }

  #page3-left {
    width: 100%;
    gap: 30px;
  }

  #page3-left p {
    font-size: 6.5vw;
    line-height: 8vw;
  }

  #page3-left h5 {
    width: 100%;
    font-size: 4vw;
    line-height: 6vw;
  }

  #page3-right {
    width: 100%;
  }

  .right-elem {
    padding: 6vw 0;
    cursor: pointer;
    /* tap interaction */
  }

  .right-elem h2 {
    font-size: 4.5vw;
    line-height: 6vw;
  }

  /* Hide answers by default like desktop */
  .answer {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    font-size: 3.8vw;
    line-height: 6vw;
    transition: opacity 0.5s ease, max-height 0.5s ease;
  }

  /* When opened (via JS class) */
  .right-elem.active .answer {
    opacity: 1;
    max-height: 300px;
  }

  /* Disable floating image for mobile */
  .right-elem img {
    display: none;
  }
}

/* --- CSS Reset & Variables --- */
:root {
  /* Color Palette */
  --color-bg: #f7f2ec;
  --color-dark: #1c1917;
  --color-muted: #57534e;
  --color-accent: #ea580c;
  --color-white: #ffffff;
  --color-border: #e7e5e4;

  /* Hover Gradients/Colors for Socials */
  --color-insta: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  --color-linkedin: #0077b5;
  --color-pinterest: #bd081c;
  --color-youtube: #ff0000;
  --color-facebook: #1877f2;
  --color-green: #22c55e;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #e5e5e5;
  /* Outer background */
  color: var(--color-dark);
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

ul {
  list-style: none;
}

/* --- Page Wrapper (Simulation) --- */
#page4 {
  width: 100%;
  background-color: #000;
}

/* --- Main Footer Container --- */
.site-footer {
  width: 100%;
  background-color: var(--color-bg);
  color: var(--color-dark);
  padding: 5rem 0 2.5rem 0;
  border-top-left-radius: 3rem;
  border-top-right-radius: 3rem;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.1);
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* --- Grid Layout --- */
.footer-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2rem;
}

/* Responsive Columns */
.col-brand {
  grid-column: span 12;
}

.col-nav {
  grid-column: span 12;
}

.col-support {
  grid-column: span 12;
}

.col-contact {
  grid-column: span 12;
}

@media (min-width: 768px) {
  .col-brand {
    grid-column: span 12;
  }

  .col-nav {
    grid-column: span 4;
  }

  .col-support {
    grid-column: span 4;
  }

  .col-contact {
    grid-column: span 4;
  }
}

@media (min-width: 1024px) {
  .col-brand {
    grid-column: span 4;
  }

  .col-nav {
    grid-column: 6 / span 2;
  }

  /* Offset start */
  .col-support {
    grid-column: span 2;
  }

  .col-contact {
    grid-column: span 3;
  }
}

/* --- Column 1: Brand --- */
.brand-logo-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
  cursor: pointer;
}

.brand-logo-group:hover .footer-logo {
  transform: scale(1.1);
}

.footer-logo {
  width: auto;
  height: 40px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.brand-name {
  font-family: 'Rozha One', serif;
  font-size: 1.875rem;
  color: var(--color-dark);
  margin-top: 4px;
}

.brand-desc {
  color: var(--color-muted);
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 320px;
}

/* Social Icons */
.social-links {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.social-btn {
  width: 40px;
  height: 40px;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-muted);
  font-size: 1.125rem;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.social-btn:hover {
  color: var(--color-white);
  transform: translateY(-4px);
  border-color: transparent;
}

.social-btn.instagram:hover {
  background: var(--color-insta);
}

.social-btn.linkedin:hover {
  background-color: var(--color-linkedin);
}

.social-btn.pinterest:hover {
  background-color: var(--color-pinterest);
}

.social-btn.youtube:hover {
  background-color: var(--color-youtube);
}

.social-btn.facebook:hover {
  background-color: var(--color-facebook);
}

/* --- Columns 2 & 3: Navigation --- */
.footer-heading {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--color-dark);
  letter-spacing: -0.025em;
}

.footer-links li {
  margin-bottom: 1rem;
}

.footer-links a {
  color: var(--color-muted);
  font-size: 0.875rem;
  font-weight: 500;
  position: relative;
  display: inline-block;
}

.footer-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--color-accent);
  transition: width 0.3s ease;
}

.footer-links a:hover {
  color: var(--color-accent);
}

.footer-links a:hover::after {
  width: 100%;
}

/* --- Column 4: Contact Buttons --- */
.contact-desc {
  color: var(--color-muted);
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

.contact-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--color-dark);
  padding: 0.75rem;
  border-radius: 0.75rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  overflow: hidden;
  /* Prevent text overflow */
}

.contact-btn:hover {
  background-color: #292524;
  /* Slightly lighter dark */
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.contact-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  /* Crucial for flex child truncation */
  flex: 1;
}

.contact-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  transition: background-color 0.3s ease;
}

.contact-btn:hover .mail-icon {
  background-color: var(--color-accent);
}

.contact-btn:hover .phone-icon {
  background-color: var(--color-green);
}

.contact-text {
  min-width: 0;
  /* Enable truncation */
}

.contact-label {
  font-size: 0.625rem;
  font-weight: 700;
  color: #a8a29e;
  /* Stone 400 */
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.contact-value {
  color: var(--color-white);
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.contact-arrow {
  color: #78716c;
  /* Stone 500 */
  transform: rotate(-45deg);
  transition: all 0.3s ease;
  margin-left: 0.5rem;
  flex-shrink: 0;
}

.contact-btn:hover .contact-arrow {
  color: var(--color-white);
  transform: rotate(0deg);
}