@import url('https://fonts.googleapis.com/css2?family=Anton&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400..700&display=swap');

/* ---------- Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&family=Montserrat:wght@400;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Anton&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Merriweather:ital,opsz,wght@0,18..144,300..900;1,18..144,300..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');
/* Anton font only for logo, headlines, book-text */
/* fix */
.logo-img,
.headline,
.book-text,
.hero-content
.about-section {
  font-family: 'Anton', sans-serif;
  display: flex;
}


:root {
  --teal: #0c8f86;
  --orange: #f59b21;
  --white: #fff;
   --teal: #10a1a5;
  --ink: #0b0b0b;
  --muted: #4b5563;
  --portrait-size: clamp(140px, 18vw, 500px);
}

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

body, html {
  height: 100%;
  font-family: Arial, sans-serif;
  background-color: #ffffff;
  cursor: url('brush.png') 0 32, auto;

}

/* -------------------- TOPBAR -------------------- */
/* Reset */



.logo-img {
  height: 40px;
}
/* -------------------- HERO SECTION -------------------- */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  height: 100dvh; /* Uses dynamic viewport height for mobile browsers */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Common for both screens */
.hero .screen {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Screen1 */
.hero .screen1 {
  background-color: #00897B;
  z-index: 2;
}

/* Screen2 */
.screen2 {
  background-color: #00897B;
  transition: opacity 0.6s ease, transform 0.4s ease;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
}

/* visible state */
.screen2.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.book-text {
  perspective: 900px;
  display: inline-block;
  transform-style: preserve-3d;
  line-height: 1.4;
}

/* flip line */
.flip-line {
  display: inline-block;
  transform-origin: bottom center;
  transform: rotateX(90deg) translateZ(0);
  opacity: 0;
  backface-visibility: hidden;
  transition: transform 0.65s cubic-bezier(.2,.9,.2,1), opacity 0.45s ease;
  will-change: transform, opacity;
  white-space: nowrap;
}

/* allow wrapping for long lines */
.flip-line.block {
  white-space: normal;
  display: inline-block;
}

/* shown state */
.flip-line.show {
  transform: rotateX(0deg) translateZ(0);
  opacity: 1;
}

/* -------------------- TEXT STYLES -------------------- */
.headline {
  font-size: clamp(40px, 12vw, 120px);
  font-weight: 900;
  text-align: center;
  
}

.orange { color: var(--orange); }
.teal { color: var(--teal); }

/* First animation (We are Redesign) */
.first-text {
  display: inline-block;
  color: #03958b;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 1s forwards;
}
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}


.flip-text.animate {
  animation: flipBook 1s forwards;
}
@keyframes flipBook {
  0%   { transform: rotateY(90deg); opacity: 0; }
  100% { transform: rotateY(0deg); opacity: 1; }
}

@import url('https://fonts.googleapis.com/css2?family=Anton&display=swap');

/* Anton font only for logo, headlines, book-text */
.logo-img,
.headline,
.book-text {
  font-family: 'Anton',;
}

:root {
  --teal: #0c8f86;
  --orange: #f59b21;
  --white: #fff;
}

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


/* -------------------- TOPBAR -------------------- */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 70px;                 /* இடைமாறாக்கலாம் */
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  z-index: 1000;         
    background: transparent;
  transition: top 0.28s ease, background-color 0.28s ease, box-shadow 0.28s ease;
       /* தலைப்பு மீது முன்னிலை */
}
.topbar.hide {
  top: -100px; /* unga header height ku pathi adjust pannikonga */
}
/* when reveals are visible -> white bg */
.topbar.white-bg {
  background-color: rgba(255,255,255,0.98);
  box-shadow: 0 6px 18px rgba(10,10,10,0.08);
  backdrop-filter: blur(4px); /* optional smoothness */
 
  backdrop-filter: blur(4px);
}
.panel {
  transition: background-color 0.28s ease;
}
.topbar.white-bg + .panel,
.topbar.white-bg .panel {
  background-color: rgba(255,255,255,0.98); /* உங்கள் panel DOM தொடர்ச்சிக்கு ஏற்று மாற்றக்கூடும் */
}
.topbar.white-bg .logo-img {
  filter: none; /* or remove rotate filter if you want */
}
/* Logo image */
.logo-img {
  height: 60px;
  width: auto;
  transform: rotate(-6deg);
    transition: filter 0.2s ease;

 
  padding-right: 6px;
}
:root{
  --orange: #f39c12;
  --menu-text: #0b0b0b;
}

/* ---------- Hamburger (you already had this, but ensure matches .menu-open on body) ---------- */
.hamburger {
  width: 48px;
  height: 36px;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 6px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
}
.hamburger span {
  display: block;
  width: 32px;
  height: 6px;
  border-radius: 2px;
  background: var(--orange);
  transition: transform 0.25s ease, opacity 0.25s ease, width 0.25s ease;
}

/* Animate to X when open — body.menu-open to match JS */
body.menu-open .hamburger span:nth-child(1) {
  transform: translateY(12px) rotate(45deg);
}
body.menu-open .hamburger span:nth-child(2) {
  opacity: 0;
  width: 0;
}
body.menu-open .hamburger span:nth-child(3) {
  transform: translateY(-12px) rotate(-45deg);
}

/* ---------- overlay & panel basics ---------- */
.overlay {
  position: fixed;
  inset: 0;
 
  z-index: 9998;
  opacity: 0;
  transition: opacity .28s ease;
  pointer-events: none;
}
.overlay.hidden { opacity: 0; pointer-events: none; }
.overlay.show { opacity: 1; pointer-events: auto; }

.panel {
  position: fixed;
  right: 28px;
  top: 28px;
  width: 420px;                 /* adjust to your design */
  max-width: calc(100% - 56px);
  height: calc(100% - 56px);
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 10px 30px rgba(2,20,20,0.2);
  transform: translateX(18px) translateY(0) scale(.98);
  transition: transform 320ms cubic-bezier(.2,.9,.2,1), opacity 260ms ease;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  overflow: auto;
  padding: 2.4rem;
}
.panel.hidden { opacity: 0; pointer-events: none; }
.panel.open { opacity: 1; transform: translateX(0) scale(1); pointer-events: auto; }

/* close inside button */
.close-inside {
  position: absolute;
  right: 16px;
  top: 12px;
  background: transparent;
  border: 0;
  font-size: 28px;
  cursor: pointer;
}

/* ---------- Big menu (links + underline animation) ---------- */
.big-menu {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

/* make each anchor behave like your big type */
.big-menu a {
  position: relative;
  display: inline-block;
  font-size: 4rem;         /* tune */
  font-weight: 900;
  color: var(--menu-text);
  text-decoration: none;
  line-height: 1;
  padding: 0.02rem 0;
  transition: transform 220ms ease;
  -webkit-tap-highlight-color: transparent;
  outline: none;
}

/* subtle lift on hover/focus */
.big-menu a:hover,
.big-menu a:focus {
  transform: translateY(-4px);
}

/* underline block */
.big-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.30em;
  width: 100%;
  height: 10px;
background: linear-gradient(to right, teal 0%, orange 100%);
  border-radius: 4px;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 360ms cubic-bezier(.2,.9,.2,1);
  pointer-events: none;
  opacity: .98;
}

/* show on hover/focus */
.big-menu a:hover::after,
.big-menu a:focus::after {
  transform: scaleX(1);
}

/* center-out variant (if you want it later) */
/* .big-menu a[data-style="center"]::after { transform-origin: center center; } */

/* keyboard visible focus */
.big-menu a:focus-visible {
  box-shadow: 0 0 0 3px rgba(243,156,18,0.12);
  border-radius: 6px;
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  .big-menu a,
  .big-menu a::after,
  .panel,
  .overlay {
    transition: none !important;
  }
}

/* responsive tweaks */
@media (max-width: 800px) {
  .panel { right: 18px; left: 18px; width: auto; border-radius: 12px; padding: 1.6rem; }
  .big-menu a { font-size: 3.0rem; }
  .big-menu a::after { bottom: -0.26em; height: 0.32em; }
}

/* -------------------- HERO SECTION -------------------- */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

/* Common for both screens */
.hero .screen {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Screen1 */
.hero .screen1 {
  background: var(--white);
  z-index: 2;
}


/* -------------------- TEXT STYLES -------------------- */
.headline {
  font-size: clamp(40px, 8vw, 120px);
  font-weight: 900;
  text-align: center;
}

.orange { color: var(--orange); }
.teal { color: var(--teal); }

/* First animation (We are Redesign) */
.first-text {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 1s forwards;
}
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* Flip animation for "ing" */
.flip-text {
  display: inline-block;
  transform-origin: left center;
  opacity: 0;
  color: teal;
  
   /* adjust tight join */
  /* ✅ spacing fix */
  
}

.flip-text.animate {
  animation: flipBook 1s forwards;
}
@keyframes flipBook {
  0%   { transform: rotateY(90deg); opacity: 0; }
  100% { transform: rotateY(0deg); opacity: 1; }
}
/* Second screen text (typing-ready) */
.book-text {
  font-size: clamp(24px, 8vw, 80px);
  font-weight: 900;
  text-align: center;
  visibility: hidden; 
  max-width: 1235px;
  margin: 0 auto;
  white-space: pre-wrap;      /* allow wrapping but preserve spaces/newlines */
  overflow: hidden;           /* hide overflow for cursor effect */
  color: #fff;
  /* start hidden visually — JS will reveal characters */
}

/* when finished or to show immediately */
.book-text.show {
  /* optional: can add a subtle fade */
  opacity: 1;
  transform: none;
}

/* cursor element (we use a pseudo-element on wrapper span) */
.book-text .typing-cursor::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 1em;
  background: #ffb24d;
  margin-left: 6px;
  vertical-align: middle;
 
}

@keyframes blink {
  50% { opacity: 0; }
}

/* orange highlight (for words wrapped in <span class="orange">) */
.book-text .orange {
  color: #f59a1a;
  font-weight: 900;
  display: inline-block; /* keep it as separate inline block so typing inside works */
}

/* -------------------- VIDEO SECTION -------------------- */
.video-section {
  position: relative;
  width: 100%;
  height: 100vh;       /* always fullscreen */
  overflow: hidden;
  display: flex;
  justify-content: center;
  
  align-items: center;
  background: #ffffff;  /* fallback bg color */
}
/* Video background */
.video-wrapper {
  position: absolute;
  border-radius: 10px;

  top: 0; 
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
  transform: scale(1); /* default scale */
  transition: transform 1s ease-out; /* smooth zoom */
}

.video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 🔥 Overlay layer */


/* Text styling */
.video-section h2,
.video-section p {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;  /* text above overlay */
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.8);
}

.video-section h2 { 
  top: 40px; 
  font-size: 2rem; 
}

.video-section p { 
  top: 80px; 
  font-size: 1.2rem; 
}
/* Mobile view fix */
@media (max-width: 768px) {
  .video-section {
    height: auto;       /* remove fixed full height */
    min-height: none;  /* keep decent height */
  }

  .video-wrapper {
    position: relative;
    height: auto;
  }

  .video-wrapper video {
    width: 100%;
    height: auto;
    object-fit: cover;
  }
}
/* -------------------- RESPONSIVE -------------------- */
@media (max-width:768px) {
  .topbar { padding: 14px 20px; }
  .logo-img { height: 45px; border-right-width: 5px; }
  .headline { font-size: 2rem; }
  .video-section h2 { font-size: 1.6rem; }
  .video-section p { font-size: 1rem; }
}.hero {
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  text-align: center;
  padding: 20px;
}
/* Load fonts (add in <head>) */
@import url('https://fonts.googleapis.com/css2?family=Anton&family=Lato:wght@400;700&family=Poppins:wght@300;700&display=swap');

/* Fullscreen Hero Section - Bigger overall scale */
.hero {
  height: 77vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  text-align: center;
  padding: 30px 20px; /* give more breathing space */
  box-sizing: border-box;
}

/* make whole heading larger and more airy */
.hero-content h1 {
  font-size: clamp(32px, 6.5vw, 110px); /* raise max size */
  line-height: 1.05;                      /* tighter for multi-line balance */
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  color: #00897B;
  margin: 0;
  letter-spacing: -0.02em;
}

/* Big orange "1" styling */
.hero-content .highlight {
  color: #f59e0b;
  font-weight: 700;
  font-size: clamp(36px, 25vw, 266px); /* much larger */
  font-family: 'Anton', sans-serif;
  display: inline-block;
  line-height: 1;                       /* keep tall number */
  margin:3px -49.65px;                     /* spacing around the number */
}

/* st only in Lato, lifted and slightly smaller */
.hero-content .highlight sup {
  font-family: 'Lato', sans-serif; /* st only in Lato */
  font-size: 0.44em;               /* relative size to the big number */
  position: relative;
  top: -0.85em;                     /* lift higher to sit above the 1 */
  left: 20.04px;                     /* small nudge right if needed */
  line-height: 1;
  font-weight: 700;
  margin: -22.1px;
}

/* Big teal bold subtitle */
.hero-content .bold {
  display: block;
  font-weight: 700;
  font-size: clamp(52px, 8vw, 151px); /* increase max size */
  color: #00897B;
  margin-top: 18px;
  font-family: 'Anton', sans-serif;
  letter-spacing: -0.02px;
}

/* Small-screen tuning so it doesn't overflow */
/* Small-screen tuning so it doesn't overflow */
@media (max-width: 520px) {
  .hero {
    padding: 20px 15px;   /* less padding for small devices */
    height: auto;         /* avoid fixed 100vh (scroll issue on mobiles) */
  }

  .hero-content h1 {
    font-size: clamp(20px, 6vw, 32px);
    line-height: 1.2;
  }

  .hero-content .highlight {
    font-size: clamp(40px, 18vw, 80px); /* keep number big but not overflowing */
    margin: 0 5px;
  }

  .hero-content .highlight sup {
    top: -0.6em;
    left: 8px;
    font-size: 0.45em;
    margin: 0;
  }

  .hero-content .bold {
    font-size: clamp(24px, 9vw, 42px);
    margin-top: 10px;
  }
}




.featured-work {
  width: 100%;              /* screen full ahh illa, 100% dhaan */
  max-width: 1200px;       /* limit size */
  margin: 0 auto;          /* center middle */
  padding: 40px 10px 60px;
  transform: scale(0.9);   /* 🔑 total section small ahh irukkum */
  transform-origin: top;   /* top la irundhu shrink aagum */
}

/* GRID LAYOUT */
.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
/* GRID */
@media (min-width: 880px) {
  .grid {
    grid-template-columns: 40% 60%;  /* balance */
    gap: 24px;   /* smaller gap */
    align-items: stretch;
  }
}


/* CARD BOX */
.card {
 background: #e6f5f4;
  border-radius: 20px;        /* smaller curve */
  padding: 24px;              /* reduce padding */
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
  display: flex;
  flex-direction: column;
  justify-content: center;
    min-height: 320px;   /* kadaisi height */
  height: auto;        /* content ku follow aagum */
}

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

/* TITLE (Nagai Book Fair) */
.stack-title {
  font-family: 'Anton', sans-serif;
  line-height: 45px;
  font-size: clamp(40px, 5vw, 72px);   /* 🔑 smaller */
  margin: 0 0 12px;
  color: #12A39A;
}
.stack-title .orange { color: #F28C18; }

/* Sub Text */
.copy {
  font-size: clamp(14px, 2.2vw, 27px);  /* smaller */
  line-height: 1.5;
  margin: 16px 0;
  color: #03958b;
}
.copy1 {
  font-size: clamp(14px, 2.2vw, 27px);  /* smaller */
  line-height: 1.5;
  margin: 16px 0;
  color: #f59b21;
}
/* Project Title (Right side heading) */
.project-title {
  font-family: 'Bebas Neue', Impact, sans-serif;
  font-size:clamp(32px, 6vw, 68px);   /* 🔑 smaller */
  color: #12A39A;
  margin: 0 0 12px;
  text-align: center;
  font-weight: 10;
}

/* IMAGE */
.thumb {
  width: 100%;
  border-radius: 14px;
  object-fit: cover;
  max-height: 280px;  
  max-width: 524px; 
  align-self: center; /* 🔑 smaller image */
}

/* Caption */
.caption {
  font-size: clamp(12px, 3.2vw, 25px);
  margin: 8px 2px 0;
  line-height: 1.4;
  color: #03958b;
}


/* Section Eyebrow Title */
.featured-work .eyebrow {
  
  font-family: 'lato', sans-serif;
  font-size: clamp(20px, 2vw, 69px);  /* responsive size */
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
  color: rgb(9, 157, 157);       /* same green as titles */
  margin-bottom: 24px;
 
  position: relative;
   text-align: left;  /* right align */
}





/* ===== Aaha Showcase (scoped; won't affect your existing styles) ===== */
.aaha-showcase {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 10px 60px;
  --aaha-teal: #0e7c75;
  --aaha-mint: #e6f5f4;
  --aaha-orange: #f4a534;
  --aaha-radius: 26px;
  --aaha-shadow: 0 8px 24px rgba(0,0,0,.06);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, sans-serif;
}

.aaha-eyebrow {
  font-family: 'Bebas Neue', Impact, sans-serif;
  font-size: clamp(20px, 2vw, 32px);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--aaha-teal);
  text-align: center;
  margin-bottom: 24px;
  position: relative;
}
.aaha-eyebrow::after{
  content:"";
  display:block;
  width:60px;height:4px;border-radius:2px;
  margin:10px auto 0;
  background: linear-gradient(90deg,var(--aaha-teal),var(--aaha-orange));
}

/* Grid */
/* Base mobile-first grid (stacked) */
/* ---- GRID ---- */

/* Base (MOBILE) - 1 column layout */
.aaha-grid{
  display:grid;
  grid-template-columns: 1fr;
  gap: 26px;
  grid-template-areas:
    "illust"
    "hero"
    "bigtext"
    "quote";  /* 🔑 mobile ku stacked order */
}

/* Desktop (>=900px) - 2 column layout */
@media (min-width: 900px){
  .aaha-grid{
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "illust illust"   /* Illustration full width */
      "hero hero"       /* AaHa Foundation full width */
      "bigtext quote";  /* Bottom blocks side by side */
    gap: 26px;
    align-items: stretch;
  }
}


.aaha-illust{ grid-area: illust; }
.aaha-hero{ grid-area: hero; }
.aaha-bigtext{ grid-area: bigtext; }
.aaha-quote{ grid-area: quote; }

/* Tile base */
.aaha-tile{
  background: var(--aaha-mint);
  border-radius: var(--aaha-radius);
  padding: clamp(18px, 2.2vw, 28px);
  box-shadow: var(--aaha-shadow);
}

/* Image tile */
.aaha-illust{
  background: #5fa4af; /* teal block behind image (like reference) */
  display:flex;align-items:center;justify-content:center;
  overflow:hidden;
}
.aaha-illust img{
  width:100%;height:100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: calc(var(--aaha-radius) - 4px);
  mix-blend-mode: normal;
}

/* Hero (AaHa Foundation) */
.aaha-title{
  font-family: 'Bebas Neue', Impact, sans-serif;
  color: var(--aaha-teal);
  font-size: clamp(40px, 5.2vw, 84px);
  line-height: .9;
  margin: 0 16px 8px;
}
.aaha-lead{
  color: var(--aaha-orange);
  font-size: clamp(16px, 1.8vw, 26px);
  line-height: 1.35;
  margin: 10px 17px 12px;
}
.aaha-copy{
  color: #03958b;
  font-size: clamp(14px, 1.4vw, 22px);
  line-height: 1.45;
  margin: 6px 19px 0;
}

/* Dindigul BookFair 2025 block */
.aaha-bigtext{
  display:flex;align-items:center;
}
.aaha-stack{
  font-family: 'Anton', sans-serif;
  margin:0;
  color: var(--aaha-teal);
  line-height:.9;
  font-size: clamp(44px, 6vw, 99px);
}
.aaha-stack .aaha-orange{ color: var(--aaha-orange); display:inline-block; }
.aaha-year{ display:block; }

/* KMVS block */
.aaha-quote .aaha-title{
  font-size: clamp(38px, 5vw, 80px);
}
.aaha-quote .aaha-copy{
  font-size: clamp(14px, 3.6vw, 27px);
}



@media (max-width: 768px) {
  .hero {
    height: auto;          /* let content define height */
    min-height: 60vh;      /* optional: ensures some vertical space */
    padding: 40px 20px;    /* adjust spacing */
  }
}
@media (max-width: 768px) {
  /* Hero fonts */
  .hero-content h1,
  .hero-content .bold,
  .hero-content .highlight,
  .headline,
  .book-text,
  .quote,
  .name,
  .big-quote,
  .stack-title,
  .project-title,
  .aaha-title,
  .aaha-lead,
  .aaha-copy {
    font-family: 'Anton', 'Bebas Neue', sans-serif;  /* set main fonts */
  }
}
@media (max-width: 768px) {
  .flip-text {
    font-family: 'Anton', sans-serif; /* set main font */
    font-size: clamp(28px, 32px, 36px); /* mobile scaling */
    margin-left: -10px;
    margin: 0; /* adjust spacing for small screens */
  }
}

/* Small helpers for very small screens */
@media (max-width: 420px) {
  .featured-work { padding: 20px 12px 36px; }
  .card { padding: 14px; }
  .stack-title { font-size:clamp(23px, 17.5vw, 59px); }
  .aaha-eyebrow::after { width: 40px; height: 3px; }
}

/* ---------------------------
   Desktop / Larger screens
   --------------------------- */
@media (min-width: 880px) {
  /* Featured section becomes two-column grid */
  .featured-work { padding: 40px 20px 60px; }
  .grid {
    grid-template-columns: 40% 60%;
    gap: 24px;
    align-items: stretch;
  }

  .card {
    padding: 24px;
    min-height: 320px;
    border-radius: 20px;
  }

  .stack-title { font-size: clamp(36px, 5vw, 72px); line-height: 1; }
  .copy { font-size: clamp(14px, 2.2vw, 20px); }
  .project-title { font-size: clamp(32px, 6vw, 68px); }

  .thumb { max-width: 524px; max-height: 280px; }

  /* Restore aaha hero boxed layout (image + text side-by-side) */
  .aaha-hero .aaha-box {
    display: grid;
    grid-template-columns: 40% 60%;
    height: 100%;
  }
  .aaha-illust img { aspect-ratio: 4 / 3; }
  .aaha-stack { font-size: clamp(44px, 6vw, 99px); }
}

/* Larger desktop polish */
@media (min-width: 1200px) {
  .featured-work { padding: 48px 24px 80px; }
  .aaha-showcase { padding: 40px 24px 60px; }
  .stack-title { font-size: 72px; }
  .project-title { font-size: 68px; }
  .aaha-title { font-size: 72px; }
}

/* Accessibility / readability tweaks */
img { max-width: 100%; height: auto; display: block; }
button, a { touch-action: manipulation; }



/* Container */
.testimonials {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.half {
  flex: 1;
  display: grid;
  place-items: center;
}
.half.teal { background: var(--teal); color: white; }
.half.white { background: white; color: var(--ink); }

.inner {
  width: min(1200px, 100%);
  
  display: grid;
  /* portrait | content | portrait */
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  height: 100%;
}
.half.white .name, 
.half.white .title {
  text-align: right;
}
.half.teal .name, .half.teal .title {
  text-align: right; 
}
.half.white .quote {
  margin: 87px 1px 57px;
}
/* Portrait (unchanged) */
.portrait img {
  width: 372px;   /* unga venum size kudunga */
  height: 354px;
  object-fit: contain;
  margin: 0px -8px -45px;

}

.left { justify-self: start; }
.right { justify-self: end; }

/* ---------- TEXT STYLES ---------- */


/* Teal half center, White half left align */
.white .content { text-align: left; }

.quote {
  font-family: "lato", sans-serif;
  font-weight: 600;
  font-size: clamp(20px, 2.5vw, 28px);
  line-height: 1.5;
  margin-bottom: 1rem;
  color: inherit;
  margin: 4px -12px 80px;
}

.name {
  font-family: "canva", sans-serif;
  font-weight: 700;
  font-size: clamp(18px, 2vw, 24px);
  margin: 0.25rem 0;
  letter-spacing: 0.3px;
  color: inherit;
}

.title {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-size: 0.95rem;
  margin: 0;
  color: #d2f6f5;
}
.white .title { color: var(--muted); }
.teal-name { color: var(--teal); }

/* Big Quote Glyph */
.big-quote {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: clamp(62px, 12vw, 163px);
  opacity: 0.15;
  text-align: center;
  line-height: 0.8;
}
.teal-quote { 
  color: white; 
  opacity: 1; 
  margin: 0px 13px 80px;
}
/* ---------- Responsive ---------- */
@media(max-width: 768px){
  .inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  /* Portrait goes top */
  .portrait { 
    justify-self: center; 
    order:-1; 
    margin-bottom:1rem; 
  }

  /* Big quote glyph smaller & top */
  .big-quote { 
    order:-1; 
    font-size: 2.5rem; 
    text-align: center; 
    margin-bottom: 0.5rem;
  }

  /* Force all text center align */
  .quote, 
  .name, 
  .title {
    text-align: center !important;  /* override desktop rules */
    margin-left: auto;
    margin-right: auto;
  }

  /* Quote size smaller for mobile */
  .quote { 
    font-size: 1rem; 
    margin: 0.5rem auto 1rem;
  }
}

/* Collector Appreciation Block */
.collector-block {
  display: flex;
  background-color:  #e6f5f4;
  justify-content: center;
  padding: 60px 20px;
}

.collector-wrapper {
  max-width: 1200px;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 28px;
  width: 100%;
 
}

.collector-media {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  background: #eeeeee;
  min-height: 380px;
}

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

.collector-text {

  background: #f28b20;
  color: #fff;
  padding: 40px 34px;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

.collector-text h3 {
  margin: 0;
  font-family: 'Anton', sans-serif;
  font-size: 35px;
  font-weight: 100;
  line-height: 1.3;
}

.collector-text p {
  margin: 0;
  font-size: 18px;
  
  line-height: 1.5;
  font-weight: 400;
}

/* Responsive */
@media (max-width: 900px) {
  .collector-wrapper {
    grid-template-columns: 1fr;
  }
  .collector-text {
    order: 2;
    padding: 28px;
  }
  .collector-media {
    order: 1;
    min-height: 260px;
  }
  .collector-text h3 {
    font-size: 18px;
  }
  .collector-text p {
    font-size: 15px;
  }
}





/* Contact Section */
.contact-block {
  width: 100%;
  margin-top: 60px;
  
}

/* Top teal hero text */
.contact-hero {
  background: #009999; /* teal shade */
  color: #fff;
  padding: 60px 30px;
  text-align: left;
}

.contact-hero h2 {
  font-family: 'Anton', sans-serif;
  font-size: 74px;
  font-weight: 2;
  line-height: 1.2;
  margin: 140px -2px -29px ;
}

/* Bottom info box */
.contact-info {
  background: #fff;
  display: flex;
  justify-content: space-between;
  padding: 40px 30px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.info-left h4 {
  font-family: 'lato', sans-serif;
  margin: 0;
  font-size: 21px;
  font-weight: 700;
}

.info-left p {
  font-family: 'lato', sans-serif;
  margin: 0 0 20px;
  font-size: 20px;
  color: #444;
}

/* Social icons right */
.info-right {
  display: flex;
  gap: 12px;
  font-size: 24px;
   color: #444;
}

.social-icon {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border: 2px solid #000;
  border-radius: 6px;
  font-size: 20px;
  text-decoration: none;
  color: #000;
}
.social-icon:hover {
  background: #f28b20;
  color: #fff;
  border-color: #f28b20;
}

/* Responsive */
@media (max-width: 768px) {
  .contact-hero h2 {
    font-size: 28px;
  }
  .contact-info {
    flex-direction: column;
    gap: 20px;
  }
  .info-right {
    justify-content: flex-start;
  }
}





/* Common animation base */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease-out;
}

/* When visible */
.reveal.active {
  opacity: 1;
  width: 100%;
  transform: translateY(0);
}

/* Extra effects (optional per section) */
.fade-left {
  transform: translateX(-40px);
}
.fade-left.active {
  transform: translateX(0);
}

.fade-right {
  transform: translateX(40px);
}
.fade-right.active {
  transform: translateX(0);
}

.zoom {
  transform: scale(0.9);
}
.zoom.active {
  transform: scale(1);
}


















/* ==============================
   Cleaned & Responsive Full CSS
   Desktop preserved, Mobile fixed
   ============================== */

/* ---------- Reset / Safety ---------- */
*,
*::before,
*::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

/* Ensure include in HTML head:
   <meta name="viewport" content="width=device-width, initial-scale=1"> */

/* ---------- About / Hero ---------- */
.about-hero {
  background-color: #018b86; /* teal */
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
       /* safer than forcing full screen on small devices */
  height: auto;
  padding: 255px 20px;
  font-family: 'Lato', sans-serif;
}

.about-hero-inner h1 {
  font-size: clamp(28px, 9vw, 70px);
  font-weight: 4;
  line-height: 1.05;
  margin: 0;
  font-family: 'Anton', sans-serif;
}

.about-hero-inner .accent { color: #ffc107; }

/* ---------- About Section ---------- */
.about-section { margin: 0; padding: 0; font-family: 'Anton', sans-serif; }

/* Heading */
.about-heading {
  padding-top: calc(70px + 20px); /* topbar height + extra breathing room */
  padding-left: 20px;
  padding-right: 20px;
  background: #fff;
  text-align: left;
  animation: fadeInDown 1s ease;
  overflow: hidden;
}
.about-heading h2,
.about-heading span {
  font-family: 'Anton', sans-serif;
  font-size: clamp(32px, 8vw, 77px);
  font-weight: 4;
  line-height: 1.12;
  margin: 0;
  letter-spacing: -1px;
}

/* Image */
.about-image img {
  width: 100%;
  display: block;
  animation: fadeIn 1.5s ease;
  height: auto;
  max-height: 60vh;
  object-fit: cover;
}

/* Content (desktop defaults) */
.about-content {
  background: #009688;
  color: #fff;
  padding: 40px 32px;
  animation: fadeInUp 1.2s ease;
}
.about-content p {
  font-family: 'Lato', sans-serif;
  font-size: clamp(16px, 3.6vw, 32px);
  margin-bottom: 20px;
}
.about-content .highlight {
  font-family: 'Anton', sans-serif;
  font-weight: 4;
  font-size: clamp(18px, 3.2vw, 36px);
  color: #ff9800;
  line-height: 1.2;
}

/* Animations */
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* -----------------------------
   MOBILE / TABLET ADJUSTMENTS
   ----------------------------- */
@media (max-width: 768px) {
  .about-heading {
    padding-top: calc(20px + env(safe-area-inset-top));
    padding-left: 16px;
    padding-right: 16px;
    text-align: center;
  }
  .about-heading h2,
  .about-heading span {
    font-size: clamp(22px, 7.5vw, 40px);
    line-height: 1.08;
  }

  /* Stack layout: image on top, content below */
  .about-image,
  .about-content {
    width: 100%;
    padding-left: 16px;
    padding-right: 16px;
  }

  .about-content {
    padding: 20px 16px;
    border-radius: 8px;
    margin-top: 12px;
  }

  .about-content p {
    font-size: clamp(14px, 3.6vw, 18px);
    line-height: 1.5;
    text-align: left;
  }

  .about-content .highlight {
    font-size: clamp(16px, 4.6vw, 28px);
    display: block;
    margin-bottom: 8px;
    text-align: left;
  }
}

/* Very small phones */
@media (max-width: 420px) {
  .about-heading h2,
  .about-heading span { font-size: clamp(18px, 9vw, 28px); }
  .about-content { padding: 16px; }
  .about-content p { font-size: clamp(13px, 4.5vw, 16px); }
  .about-content .highlight { font-size: clamp(14px, 5.5vw, 20px); }
}

/* ---------- About Us (Desktop First) ---------- */
.about-us { background: #fff; padding: 60px 40px; }

.about-container { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }

.about-title { flex: 1; font-family: 'Anton', sans-serif; }

.about-title h2 {
  font-size: clamp(28px, 7.6vw, 55px);
  font-weight: 4;
  margin: 55px 0;
  line-height: 1.2;
}

.about-text { flex: 3; font-family: 'Lato', sans-serif; }

.about-text p {
  margin-bottom: 20px;
  font-size: 18px;
  line-height: 1.6;
  color: #333;
  text-align: left;
}

/* Mobile About Us */
@media (max-width: 768px) {
  .about-container { flex-direction: column; gap: 20px; }
  .about-title h2 { font-size: 32px; margin: 0 auto; text-align: center; }
  .about-text p { font-size: 16px; line-height: 1.5; text-align: justify; }
  .about-us { padding: 40px 20px; }
}
@media (max-width: 420px) {
  .about-title h2 { font-size: 26px; }
  .about-text p { font-size: 15px; }
}
html {
  scroll-behavior: smooth;
}
.services {
  position: relative;
  text-align: center;
  padding: 53px 17px;
  background: #fff;
}

.section-title {
  font-family: 'Anton', sans-serif;
  font-size: 2.2em;
  font-weight: 4;
  margin-bottom: 30px;
  color: #333;
}

.services-slider {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 20px;
  padding: 0 40px;
}

.service-card {
  height: 538px;
  flex: 0 0 310px;
  border-radius: 15px;
  overflow: hidden;
  color: #fff;
  text-align: left;
  transition: transform 0.3s ease;
}

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

.service-card img {
  width: 340px;
  height: 240px;
  object-fit: cover;
}

.service-card h3 {
  font-family: anton, sans-serif;
  font-size: 1.9em;
  font-weight: 4;
  padding: 20px 20px 10px;
}

.service-card p {
  font-family: 'Lato', sans-serif;
  font-size: 1.1;
  padding: 0px 20px 11px;
  line-height: 1.4;
}

.service-card.teal {
  background-color: #009688;
}

.service-card.orange {
  background-color: #ff9800;
}

.nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #00000080;
  color: #fff;
  border: none;
  font-size: 28px;
  padding: 10px 15px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
}

.nav:hover {
  background: #000;
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}

/* Hide scrollbar */
.services-slider::-webkit-scrollbar {
  display: none;
}


/* Card hover effect */
.service-card:hover {
  transform: translateY(-10px);
}

/* Each card with unique background color */
.service-card:nth-child(1) {
  background-color: #00a5a7 ; /* Teal */
}

.service-card:nth-child(2) {
  background-color: #f7941e; /* Orange */
}

.service-card:nth-child(3) {
  background-color: #068077; /* Indigo */
}

.service-card:nth-child(4) {
  background-color: #835d3e; /* Pink */
}

.service-card:nth-child(5) {
  background-color: #3282a0; /* Green */
}

/* ---------- Approach ---------- */
.approach { background: #d9f0f0; padding: 40px 20px; }
.approach-container { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.approach-left { flex: 1; min-width: 280px; }

.approach-left h3 {
  font-family: 'Lato', sans-serif;
  font-weight: 4;
  font-size: clamp(20px, 4.6vw, 40px);
  margin: 98px 52px 14px;
}
.approach-left h2 {
  font-size: clamp(24px, 5.5vw, 48px);
  font-weight: 700;
  font-family: 'Anton', sans-serif;
  margin: -3px  48px 9px;
}
.approach-left p { font-family: 'Lato', sans-serif; font-size: 16px; color: #333; margin: 0  52px 14px; }

.approach-right { flex: 1; min-width: 260px; }
.approach-right img { width: 100%; max-width: 420px; height: auto; display: block; margin: 0 auto; }

.step { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.step h1 {
  font-size: clamp(48px, 12vw, 120px);
  font-family: "Caveat", cursive;
  margin: 0;
  font-weight: 400;
}
.step h3 { font-size: clamp(16px, 3.6vw, 20px); font-weight: 700; margin: 0; }
.step p { font-size: 15px; color: #333; margin: 6px 0 0; }

/* Approach mobile */
@media (max-width: 768px) {
  .approach-container { flex-direction: column; gap: 16px; }
  .approach-left h3 { font-size: 20px; margin: 8px 0; }
  .approach-left h2 { font-size: 26px; margin: 0 0 8px; }
  .approach-left p { font-size: 14px; margin: 0 0 10px; }
  .step { flex-direction: row; align-items: center; gap: 10px; }
  .step h1 { font-size: clamp(40px, 10vw, 80px); margin: 0; }
  .step h3 { font-size: 18px; }
  .step p { font-size: 14px; margin: 0; }
}

/* ---------- Team Section (Responsive) ---------- */
.team { padding: 60px 40px; background: #fff; font-family: Arial, sans-serif; box-sizing: border-box; }

/* Header */
.team-header { display: flex; flex-wrap: wrap; justify-content: space-between; margin-bottom: 40px; gap: 20px; align-items: flex-start; }

.team-left h3 {
  font-size: clamp(28px, 6.5vw, 79px);
  font-weight: 300;
  margin: 0;
  font-family: 'Lato', sans-serif;
  line-height: 105px;
}

.team-left h1 {
  font-size: clamp(24px, 5.5vw, 68px);
  font-family: 'Anton', sans-serif;
  font-weight: 4;
  line-height: 76px;
  margin: 0;
}

.team-right {
  max-width: 420px;
  font-size: 16px;
  color: #333;
  text-align: justify;
  margin: 20px 5px 0;
  align-self: center;
}

/* Team Members */
.team-members {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* keeps rows centered nicely */
  align-items: flex-start;
  gap: 20px 100px; /* reduce vertical (20px) and keep horizontal (100px) spacing */
  margin-top: 30px;
}

/* Member card */
.member {
  /* ensure contents are centered (name/role/text stay centered too) */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.member-img {
  position: relative;
  width: 200px;      /* size of image container (desktop) */
  height: 200px;
  margin: 0 auto 18px;
  border-radius: 50%;
 
  display: flex;
  align-items: center;
  justify-content: center;
}
.member-img::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 10%;                 /* push the circle slightly up behind the head */
  transform: translateX(-50%);
  width: 188px;             /* circle size (slightly larger than photo) */
  height: 188px;
  border-radius: 50%;
  background: #00897b;      /* teal — change if you want a different shade */
  z-index: 0;               /* behind the img */
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.member-img img {
  width: 200px;             /* visible photo size */
  height: 225px;
  object-fit: cover;
  display: block;
  
  position: relative;
  z-index: 1;               /* above the teal circle */
 
}


.member h2 { font-size: 20px; font-weight: 700; color: #009688; margin: 8px 0; }
.member p { font-size: 14px; color: #333; margin: 0; }

/* Responsive adjustments */
/* ---------- Responsive tweaks (adjust sizes on smaller screens) ---------- */
@media (max-width: 1100px) {
  .member-img { width: 170px; height: 170px; }
  .member-img::before { width: 140px; height: 140px; top: 12%; }
  .member-img img { width: 120px; height: 120px; transform: translateY(6px); }
}

@media (max-width: 820px) {
  .member-img { width: 140px; height: 140px; }
  .member-img::before { width: 120px; height: 120px; top: 12%; }
  .member-img img { width: 100px; height: 100px; transform: translateY(6px); }
}

@media (max-width: 420px) {
  .member-img { width: 120px; height: 120px; margin-bottom: 12px; }
  .member-img::before { width: 100px; height: 100px; top: 14%; }
  .member-img img { width: 86px; height: 86px; transform: translateY(6px); }
}
/* ----------- Team Popup New Design (Like Vasanth Style) ----------- */
:root {
  --popup-accent: #009688;
  --popup-bg: #fff;
  --popup-radius: 10px;
  --popup-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}
/* Image grayscale effect */
.member-img img {
  filter: grayscale(100%);
  transition: filter 0.6s ease, transform 0.4s ease;
}

/* On hover: color + slight zoom for life effect */
.member:hover .member-img img {
  filter: grayscale(0%);
  transform: scale(1.05);
}/* ---------- Refined Popup CSS (replace your current #team-floating-popup rules) ---------- */

/* Variables (ensure these exist in :root or adjust values directly) */
:root {
  --popup-bg: #ffffff;
  --popup-radius: 12px;
  --popup-shadow: 0 20px 45px rgba(0,0,0,0.18);
  --teal: #3282a0;
}

/* Base Popup Container */
#team-floating-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.98);
  width: 520px;            /* slightly wider for breathing room */
  max-width: 96%;
  height: auto;            /* let content define height */
  min-height: 260px;       /* reasonable minimum */
  background: var(--popup-bg);
  border-radius: var(--popup-radius);
  box-shadow: var(--popup-shadow);
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms ease, transform 300ms cubic-bezier(.2,.9,.2,1);
  z-index: 9999;
  font-family: lato, sans-serif;
}
.popup-connect-title {
  position: relative;
  text-align: center;
  margin: 16px auto 8px;
  font-size: 13.5px;
  color: #666;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.popup-connect-title::before,
.popup-connect-title::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 30%;
  height: 1px;
  background: #ddd;
  transform: translateY(-50%);
}

.popup-connect-title::before {
  left: 0;
}

.popup-connect-title::after {
  right: 0;
}

/* Visible State */
#team-floating-popup.visible {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  pointer-events: auto;
}

/* Popup Top Section (Image + Header Background) */
#team-floating-popup .popup-top {
  display: flex;
  align-items: center;
  background: var(--teal);   /* consistent color */
  padding: 22px 22px;       /* more vertical padding */
  gap: 18px;
}

/* left avatar container */
#team-floating-popup .popup-left {
  flex: 0 0 92px;           /* slightly larger avatar */
  height: 92px;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  margin-right: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* avatar image */
#team-floating-popup .popup-left .popup-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* header text */
#team-floating-popup .popup-right h2 {
  font-family: 'Anton', system-ui, sans-serif;
  font-size: 26px;      /* bigger, bold name */
  font-weight: 4;
  color: #fff;
  margin: 0;
  line-height: 1;
  letter-spacing: -0.6px;
}

#team-floating-popup .popup-right p {
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 14px;
  color: rgba(255,255,255,0.92);
  margin: 6px 0 0;
  line-height: 1.35;
}

/* Popup Content Section */
#team-floating-popup .popup-content {
  padding: 22px 26px 26px 26px; /* more breathing room */
  color: #111;
  background: var(--popup-bg);
  font-size: 15px;
  line-height: 1.75;            /* increased line-height for readability */
}

/* paragraph spacing */
#team-floating-popup .popup-content p {
  margin-bottom: 14px;
  color: #222;
}

/* beyond text */
#team-floating-popup .popup-beyond {
  font-size: 14px;
  color: #555;
  margin-top: 6px;
}

/* Close Button (styled for header contrast) */
#team-floating-popup .popup-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  width: 36px;
  height: 36px;
  border-radius: 8px;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
#team-floating-popup .popup-close:hover {
  background: rgba(255,255,255,0.16);
}

/* ---------- Social icons (fixed and centered) ---------- */
.popup-social {
  display: flex;
  justify-content: center;     /* center the icons */
  gap: 16px;
  margin-top: 18px;
  padding-bottom: 6px;
}

.popup-social a {
  display: inline-flex;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: #f3f9f8;
  color: var(--teal);
  text-decoration: none;
  transition: transform 220ms ease, background 220ms ease, color 220ms ease;
  font-size: 16px;
  border: 1px solid rgba(0,0,0,0.04);
}

.popup-social a:hover {
  background: var(--teal);
  color: #fff;
  transform: translateY(-4px);
}

/* smaller on mobile */
@media (max-width: 520px) {
  #team-floating-popup {
    width: 94%;
    left: 50%;
  }
  #team-floating-popup .popup-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 16px;
  }
  #team-floating-popup .popup-left {
    margin-right: 0;
    margin-bottom: 10px;
    width: 80px;
    height: 80px;
  }
  #team-floating-popup .popup-right h2 {
    font-size: 20px;
  }
  #team-floating-popup .popup-content {
    padding: 16px;
    font-size: 14px;
    line-height: 1.6;
  }
  .popup-social { gap: 12px; margin-top: 14px; }
  .popup-social a { width: 32px; height: 32px; font-size: 15px; }
}



/* ===== overlay + panel + hero-text styles ===== */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 9990;
  transition: opacity .28s ease;
  background: rgba(0,0,0,0.35);
}
.overlay.hidden { opacity: 0; pointer-events: none; }

/* panel (rounded right card) */
.panel {
  position: fixed;
  right: 28px;
  top: 28px;
  width: min(420px, 44vw);
  height: calc(100vh - 56px);
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 26px 60px rgba(0,0,0,0.28);
  z-index: 9992;
  transform: translateX(42%) scale(.98);
  transform-origin: right center;
  transition: transform .44s cubic-bezier(.18,.9,.3,1), opacity .28s;
  overflow: auto;
  padding: 36px;
}
.panel.hidden { opacity: 0; pointer-events: none; }
.panel.open { transform: translateX(0) scale(1); opacity: 1; pointer-events: auto; }

/* panel close button */
.close-inside {
  position: absolute;
  right: 20px; top: 16px;
  background: transparent; border: none; font-size: 36px; cursor: pointer; color: #333;
  z-index: 9993;
}

/* big menu */
.big-menu { list-style: none; margin: 0; padding-left: 6px; }
.big-menu li { margin: 8px 0; opacity: 0; transform: translateX(28px); transition: transform .42s, opacity .36s; }
.panel.open .big-menu li { opacity: 1; transform: translateX(0); transition-delay: calc(var(--i)*60ms + 60ms); }
.big-menu a { font-family: 'Anton', 'Poppins', sans-serif; font-size: clamp(28px, 6.8vw, 72px); color: #111; text-decoration: none; padding: 6px 4px; }

/* hero text that appears with menu */
.hero-text {
  position: absolute;
  left: 80px;
  top: 30%;
  max-width: 720px;
  color: #fff;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .36s ease, transform .36s cubic-bezier(.2,.9,.25,1);
  z-index: 5;
}
.hero-text.show { opacity: 1; transform: translateY(0); }

/* menu-open body background tint */
body.menu-open-body { background: #00897b; }
.panel-visible { background: #03958b !important; }

/* heroText */
#heroText {
  position: absolute;
  left: 4vw;
  top: 50%;
  transform: translateY(-50%);
  max-width: 100%;
  color: #fff;
  font-family: 'Anton', sans-serif;
  font-size: clamp(20px, 2.5vw, 42px);
  font-weight: 800;
  line-height: 1.04;
  opacity: 0;
  transition: opacity .36s ease, transform .36s ease;
  z-index: 8;
  pointer-events: none;
}
body.menu-open-body #heroText,
.panel-visible #heroText { opacity: 1; transform: translateY(-50%) translateX(0); }

/* ===== full-screen panel mode ===== */
.panel.fullscreen {
  right: 0; left: 0; top: 0; bottom: 0;
  width: 100vw; height: 100vh; border-radius: 0; padding: 48px;
  transform: translateX(0) scale(1);
}

/* Ensure original hero-wrapper hides while this special text is visible */
.hero-wrapper.hide-when-menu { display: none !important; }

/* disable page scroll while menu open */
body.no-scroll { overflow: hidden; }

/* Prevent accidental horizontal overflow on small devices */
@media (max-width: 768px) {
  html, body { overflow-x: hidden !important; }

  /* Hero adjustments */
  .about-hero { min-height: 60vh !important; height: auto !important; padding: 28px 16px !important; }
  .about-hero-inner h1 { font-size: clamp(22px, 8.5vw, 60px) !important; line-height: 1.05 !important; }

  /* Images */
  .about-image img { height: auto !important; max-height: 55vh !important; width: 100% !important; object-fit: cover !important; }

  /* About content */
  .about-content { padding: 18px 14px !important; border-radius: 8px !important; margin-top: 12px !important; }
  .about-heading h2, .about-heading span { font-size: clamp(20px, 7.5vw, 36px) !important; text-align: center !important; }
  .about-content .highlight { font-size: clamp(16px, 5vw, 26px) !important; display: block !important; }

  /* Approach */
  .approach-left h3, .approach-left h2, .approach-left p { margin: 8px 12px !important; }
  .approach-right img { max-width: 100% !important; margin: 0 auto !important; }
  .step h1 { font-size: clamp(48px, 12vw, 92px) !important; margin: 0 !important; }

  /* Team */
  .team-header { flex-direction: column !important; align-items: center !important; text-align: center !important; gap: 12px !important; }
  .team-left h3 { font-size: clamp(24px, 8vw, 36px) !important; }
  .team-left h1 { font-size: clamp(20px, 6.5vw, 32px) !important; line-height: 1.05 !important; }
  .team-right { text-align: left !important; padding: 0 8px !important; max-width: 100% !important; margin-top: 8px !important; }
  .member { flex: 1 1 calc(50% - 16px) !important; max-width: none !important; }
  .member-img { width: 140px !important; height: 140px !important; margin-bottom: 12px !important; }

  /* Panel/menu */
  .panel { width: min(92vw, 420px) !important; right: 16px !important; left: auto !important; top: 16px !important; padding: 18px !important; border-radius: 16px !important; }
  .big-menu a { font-size: clamp(24px, 7vw, 48px) !important; }

  /* heroText */
  #heroText { left: 5vw !important; top: 46% !important; font-size: clamp(18px, 5vw, 32px) !important; max-width: 90% !important; }
}

/* reset-ish */
* { box-sizing: border-box; margin: 0; padding: 0; }
html,body { height: 100%; font-family: 'Montserrat', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; color:#111; }

/* CTA container */
.tn-cta-block { width: 100%; }

/* band common */
.tn-cta-band {
  width:100%;
  display:block;
  padding: 48px 6%;
  border-bottom: 6px solid #fff;
}

/* layout inside band */
.tn-band-inner {
  max-width:1200px;
  margin:4px 11px 0px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}

/* Orange band */
.tn-band-orange { background: #f39b20;padding: 21px 9px 81px; position:relative; }
.tn-cta-ghost {
  background: #fff;
  color:#0b4845;
  font-family: 'Anton', sans-serif;
  font-size: 32px;
  border:none;
  padding:15px 40px 9px;
  border-radius:10px;
  font-weight:4;
  cursor:pointer;
  box-shadow:0 6px 0 rgba(0,0,0,0.05);
  flex: 0 0 auto;
  margin: 0px 255px -180px;
}
.tn-cta-text { text-align:right; max-width:820px; margin: 6px -140px 6px; font-size: 10px; }

/* small line and big title */
.tn-small-line { font-family: 'Anton', sans-serif; font-weight:4; font-size:62px; letter-spacing:0.6px; margin-bottom:-15px; }
.tn-small-line .tn-accent { font-family: 'Anton', sans-serif; color:#066; font-size:79px; margin-left:-8px; margin-bottom: 30px; display:inline-block; vertical-align:middle; }

.tn-big-title {
  font-family: 'Anton', sans-serif;
  font-size:160px;
  line-height:0.85;
  font-weight: 4;
  color:#021;
  margin-top:0;
  margin-bottom:0;
}
.tn-big-title .tn-highlight { color:#066; }

/* Teal band */
.tn-band-teal { background:#0e9a95; color:#fff; padding:40px 20px; border-top:6px solid #fff; }
.tn-left-text { max-width:1200px; }
.tn-ask-small { font-size: clamp(18px, 4vw, 36px);
  font-family: 'Anton', sans-serif;
    color: #eeeaea;
    margin: 15px 42px 2px;
    font-weight: 400;
    max-width: 68ch;
    line-height: 40px; }
.tn-ask-big {     
  font-size: clamp(32px, 8vw, 113px);
  color: black;
    font-weight: 400;
    font-family: 'Anton', sans-serif;
    margin: 15px 16px 2px;
    line-height: 84px; }
.tn-ask-highlight { color:#ffd24d; }

/* Footer */
/* ---------- Footer (updated to match 2nd image layout) ---------- */
.tn-cta-footer {
  background:#fff;
 
  border-top:1px solid #eee;
  position:relative;
}

/* container: large horizontal layout with left column and right socials */
.tn-footer-inner {
  max-width:1200px;
  margin:0 auto;
  display:flex;
  justify-content:space-between;   /* left = contacts, right = socials */
  align-items:flex-start;
  gap:24px;
  padding-top:8px;
  position:relative;
}

/* contacts column stacked vertically like 2nd image */
.tn-contacts {
  display:flex;
  flex-direction:column;
  gap:22px;                /* space between each contact block */
  align-items:flex-start;
  flex: 1 1 70%;           /* give contacts most of the width */
  min-width:220px;
}

/* each contact block */
.tn-contact-item {
  min-width:0;
  line-height:1.4;
}
.tn-contact-item strong {
  display:block;
  margin-bottom:8px;
  font-weight:700;
  font-size:16px;
}
.tn-muted {
  color:#777;
  font-size:15px;
}

/* socials pinned to the right, vertically centered at top */
.tn-socials {
  display:flex;
  flex-direction:column;    /* stack icons vertically like screenshot (or row if you prefer) */
  gap:12px;
  align-items:flex-end;
  justify-content:flex-start;
  flex: 0 0 auto;
}

/* square icon style (bigger, with brand images allowed) */
.tn-social-btn {
  width: 32px; 
  height: 32px; 
  transition: transform 0.2s; 
 margin: 0px -1px 131px;
}

/* ==========================
   Responsive / Mobile styles
   Paste at end of your CSS
   ========================== */

/* Small laptops / large tablets */
@media (max-width: 1024px) {
  .tn-band-inner {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 24px;
    gap: 14px;
  }

  .tn-cta-ghost {
    font-size: 22px;
    padding: 12px 28px;
    margin: 0;               /* remove giant offsets on medium screens */
    box-shadow: 0 4px 0 rgba(0,0,0,0.04);
  }

  .tn-small-line { font-size: 44px; }
  .tn-small-line .tn-accent { font-size: 54px; margin-left: -4px; margin-top: 41px;}
  .tn-big-title { font-size: 96px; line-height: 0.9; }
  .tn-cta-text { text-align: right; font-size: 14px; max-width: 56ch; }
}

/* Tablets / landscape phones */
@media (max-width: 768px) {
  .tn-cta-band { padding: 28px 6%; }

  /* Center orange band contents on mobile */
  .tn-band-inner {
    flex-direction: column;
    align-items: center;       /* centers text + button horizontally */
    text-align: center;        /* centers inline text content */
    gap: 12px;
  }

  .tn-cta-text {
    order: 1;
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
    font-size: 15px;
  }

  .tn-cta-ghost {
    order: 2;
    margin: 20px auto 0;     /* center horizontally and add spacing */
    align-self: center;      /* centers inside flex column */
    width: auto;             /* let it size naturally */
    min-width: 220px;        /* keeps button comfortable */
    display: inline-block;
    font-size: 20px;
    padding: 12px 18px;
    border-radius: 8px;
    box-shadow: 0 4px 0 rgba(0,0,0,0.04);
  }

  .tn-small-line { font-size: 36px; margin-bottom: 4px; }
  .tn-small-line .tn-accent { font-size: 44px; display:inline-block; margin-left:0; margin-top: -41px;}
  .tn-big-title { font-size: 56px; line-height: 0.95; }

  /* Teal band: center content on mobile as well */
  .tn-band-teal { padding: 28px 16px; text-align: center; }
  .tn-ask-small { font-size: clamp(16px, 4vw, 22px); line-height: 1.25; margin: 10px auto; max-width: 72ch; }
  .tn-ask-big { font-size: clamp(22px, 7vw, 48px); line-height: 1.05; margin: 6px auto; }

  /* Footer stacks */
  .tn-footer-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 16px;
  }
  .tn-contacts { flex: 1 1 auto; gap: 12px; }
  .tn-socials {
    flex-direction: row;
    justify-content: flex-start;
    gap: 12px;
    align-items: center;
  }
  .tn-social-btn { width: 40px; height: 40px; margin: 0; }
}

/* Narrow phones */
@media (max-width: 480px) {
  html, body { font-size: 15px; }

  .tn-cta-band { padding: 18px 6%; }
  .tn-band-inner { gap: 8px; padding: 0; }

  .tn-cta-ghost {
    font-size: 18px;
    padding: 10px 14px;
    border-radius: 10px;
    margin-bottom: 6px;
    min-width: 0;
  }

  .tn-small-line { font-size: 28px; }
  .tn-small-line .tn-accent { font-size: 39px; margin-bottom: -24px; }
  .tn-big-title { font-size: 36px; }

  .tn-ask-small { font-size: 16px; line-height: 1.2; }
  .tn-ask-big { font-size: 28px; line-height: 1.05; }

  .tn-footer-inner { padding: 12px; }
  .tn-contacts { gap: 10px; }
  .tn-contact-item strong { font-size: 15px; }
  .tn-muted { font-size: 14px; }

  /* Make touch targets comfortable */
  .tn-social-btn { width: 44px; height: 44px; }
}

/* Extra helpful: prevent text overflow */
.tn-small-line, .tn-big-title {
  hyphens: auto;
  word-break: break-word;
}



/* ------------------- WORK PAGE STYLE ------------------- */
:root {
  --work-teal: #048c84;
  --work-accent: #ffffff;
  --work-text: #111;
  --work-muted: #666;
  --max-width: 1100px;
}

/* Header */
.work-page {
  background: var(--work-teal);
  color: white;
  padding: 78px 7px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 486px;
}

.work-header {
  text-align: center;
  max-width: 1100px;
  width: 100%;
  }

.work-heading-small {
  font-family: 'Anton', sans-serif;
  font-size: 88px;
  font-weight: 4;
  margin: 0 0 8px 0;
  line-height: 1;
}

.work-heading-large {
  font-family: 'Anton', sans-serif;
  font-size: 60px;
  font-weight: 4;
  margin: 0;
  line-height: 1;
  letter-spacing: -1px;
}

/* Image section */
.work-image {
  
  display: flex;
  justify-content: center;
  background: transparent;
}

.work-img {
  width: 100%;
  height: auto;
  display: block;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  object-fit: cover;
}
/* ---------------- SITE VARIABLES & RESET ---------------- */
:root{
  --site-max: 1200px;
  --site-pad: 40px;   /* horizontal padding for page */
  --work-gap: 50px;
  --bg: #f9f9f9;
}

* { box-sizing: border-box; }
html,body { margin:0; padding:0; font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial; color:#111; background:#fff; }

/* ---------------- OUR WORK SECTION ---------------- */
.work {
  display: grid;
  grid-template-columns: 280px 1fr;
  align-items: start;
  gap: var(--work-gap);
  max-width: var(--site-max);
  margin: 0 auto 40px;           /* smaller bottom gap */
  padding: 60px var(--site-pad);
  background: #fff;
  border-radius: 10px;
}

/* Left title */
.work-title {
  font-family: 'Anton', sans-serif;
  font-size: 72px;
  font-weight: 700;              /* keep valid weight */
  color: #000;
  line-height: 1.05;
  margin: 50px 0 0 0;
  justify-content: center;
  letter-spacing: 0.5px;
}

/* Right content - remove manual left margin so it aligns with grid */
.work-right {
  max-width: 780px;
  margin: 0;                      /* IMPORTANT: removed margin-left */
}

.work-right p {
  margin-bottom: 24px;
  font-size: 17px;
  line-height: 1.75;
  color: #222;
  font-family: 'Inter', sans-serif;
  text-align: justify;
}

/* compact modifier if you want less vertical space */
.work--compact {
  padding-bottom: 28px;
  margin-bottom: 18px;
}

/* ---------------- EVENTS SECTION ---------------- */
.events-section {
 
  padding: 48px var(--site-pad) 80px;
  margin: -100px 0 0px;                       /* we control vertical spacing by .work margin */
}

/* Align the title to the same site container/padding */
.events-title {
  max-width: var(--site-max);
  margin: 0 auto 40px;
  padding: 0 var(--site-pad);
  font-family: 'Anton', sans-serif;
  font-size: 50px;
  color: #111;
  letter-spacing: 0.5px;
  text-align: left;
}

/* GRID - 3 columns on desktop */
.event-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  justify-items: center;
  max-width: var(--site-max);
  margin: 0 auto;
  padding: 0 var(--site-pad);
}

/* EVENT CARD (unique class event-card) */
.event-card {
  width: 100%;
  max-width: 380px;
  border-radius: 20px;
  overflow: hidden;
  padding: 0px 0px 55px;
  text-align: left;
  box-shadow: 0 5px 20px rgba(0,0,0,0.10);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-card img {
  width: 100%;
  height: 230px;
  border-radius: 14px;
  object-fit: cover;
  margin-bottom: 20px;
}

.event-card h3 {
  font-family: 'Anton', sans-serif;
  font-size: 28px;
  color: #000;
  margin-bottom: 10px;
  margin-left: 14px;
  font-weight: 4;
  text-align: left;
}

.event-card p {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.65;
  color: #333;
  margin-left: 14px;
  margin-top: 30px;
}

/* Hover */
.event-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.15);
}

/* 9 pastel backgrounds */
.event-card:nth-child(1) { background-color: #C3E7E3; }
.event-card:nth-child(2) { background-color: #E7DCCF; }
.event-card:nth-child(3) { background-color: #F0F2F5; }
.event-card:nth-child(4) { background-color: #E6F4D8; }
.event-card:nth-child(5) { background-color: #F9E5D8; }
.event-card:nth-child(6) { background-color: #E3E1F9; }
.event-card:nth-child(7) { background-color: #CDE9F9; }
.event-card:nth-child(8) { background-color: #F7E4F2; }
.event-card:nth-child(9) { background-color: #FFF2CC; }

/* ---------------- RESPONSIVE ---------------- */
@media (max-width: 1100px) {
  .work { grid-template-columns: 220px 1fr; gap: 36px; padding: 48px 32px; }
  .work-title { font-size: 56px; }
  .event-card img { height: 210px; }
  .event-card { max-width: 360px; padding: 20px; }
  .events-title { font-size: 44px; padding: 0 32px; }
}

@media (max-width: 1024px) {
  .event-grid { grid-template-columns: repeat(2, 1fr); gap: 34px; }
}

@media (max-width: 768px) {
  .work {
    grid-template-columns: 1fr;
    padding: 36px 20px;
    gap: 20px;
    text-align: center;
  }
  .work-title {
    font-size: 48px;
    text-align: center;
    margin: 0 auto 6px;
  }
  .work-right { max-width: 100%; }
  .events-section { padding: 32px 20px 56px; }
  .event-grid { grid-template-columns: 1fr; gap: 26px; }
  .event-card { max-width: 100%; padding: 18px; border-radius: 14px; }
  .event-card img { height: 200px; }
  .events-title { font-size: 36px; text-align: center; padding: 0 18px; }
}

@media (max-width: 480px) {
  .work { padding: 28px 14px; margin-bottom: 28px; }
  .work-title { font-size: 36px; }
  .events-section { padding: 28px 14px 48px; }
  .event-card img { height: 160px; }
  .event-card h3 { font-size: 20px; }
  .event-card p { font-size: 15px; }
}

/* ---------------- OPTIONAL: pull events up a bit (overlap) ---------------- */
/* Uncomment and tweak -20 to -40px to visually overlap events with the work block */
/*
.events-section {
  margin-top: -30px;
  padding-top: 20px;
}
*/

/* ===== Animations: reveal + hover ===== */

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .event-card,
  .event-card img,
  .event-card .meta { transition: none !important; animation: none !important; transform: none !important; }
}

/* Initial hidden state for reveal */
.event-card {
  opacity: 0;
  transform: translateY(18px) scale(.995);
  transition: opacity 520ms cubic-bezier(.2,.9,.2,1) var(--delay, 0ms),
              transform 520ms cubic-bezier(.2,.9,.2,1) var(--delay, 0ms),
              box-shadow 260ms ease;
  will-change: transform, opacity;
}

/* When in view, show */
.event-card.in-view {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Slight staggered micro-hover lift (keeps previous hover effect) */
.event-card {
  transition-property: opacity, transform, box-shadow;
}
.event-card:hover {
  transform: translateY(-10px) scale(1.01);
  box-shadow: 0 18px 40px rgba(0,0,0,0.16);
}

/* Image zoom on hover - keep the image inside a wrapper for smoothness */
.event-card .img-wrap { overflow: hidden; border-radius: 14px; }
.event-card img {
  transition: transform 420ms cubic-bezier(.2,.9,.2,1);
  will-change: transform;
  display:block;
}
.event-card:hover img {
  transform: scale(1.06) translateY(-4px);
}

/* small title highlight animation on reveal */
.event-card h3 {
  display: inline-block;
  transform: translateY(6px);
  transition: transform 420ms cubic-bezier(.2,.9,.2,1) var(--delay,0ms);
}
.event-card.in-view h3 {
  transform: translateY(0);
}

/* optional pulse accent (use by toggling class .pulse) */
.event-card.pulse::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  pointer-events: none;
  box-shadow: 0 0 0 rgba(0,0,0,0.06);
  animation: pulse 2000ms infinite;
  mix-blend-mode: multiply;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(0,0,0,0.04); }
  70% { box-shadow: 0 30px 60px 6px rgba(0,0,0,0.02); }
  100% { box-shadow: 0 0 0 0 rgba(0,0,0,0.00); }
}

/* small decorative tilt on big screens (optional subtle effect) */
@media (min-width: 1100px) {
  .event-grid { perspective: 1200px; }
  .event-card { transform-origin: center; }
  .event-card:hover { transform: translateY(-12px) rotateX(0.6deg); }
}

/* accessibility: focus style for keyboard users */
.event-card:focus-within,
.event-card a:focus {
  outline: 3px solid rgba(139,59,255,0.18);
  outline-offset: 6px;
}


/* ---------------- Curtain + hero text animation (matches your header CSS) ---------------- */

/* reuse your --work-teal variable for curtain color */
:root {
  --curtain-color: var(--work-teal);
  --curtain-speed: 1600ms;  /* smoother and slower curtain slide */
  --text-speed: 1200ms;     /* text fade-in slower */
  --stagger: 220ms;         /* nice pause between small and large heading */
}



/* full-screen curtain */
.site-curtain {
  position: fixed;
  inset: 0;
  background: var(--curtain-color);
  z-index: 9999;
  transform: translateY(0%);
 transition: transform var(--curtain-speed) cubic-bezier(.25,1,.3,1);

  pointer-events: none;
}

/* move curtain off-screen (up) */
.site-curtain.curtain-up {
  transform: translateY(-105%);
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .site-curtain { transition: none; transform: translateY(-105%); }
}

/* --- Heading initial hidden state --- */
/* Use the exact classes you already have */
.work-heading-small,
.work-heading-large {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity var(--text-speed) cubic-bezier(.2,.9,.2,1),
              transform var(--text-speed) cubic-bezier(.2,.9,.2,1);
  will-change: opacity, transform;
}

/* visible state — JS adds .is-visible */
.work-heading-small.is-visible,
.work-heading-large.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* allow per-element transition delay via CSS var */
.work-heading-small { transition-delay: calc(var(--delay, 0ms)); }
.work-heading-large { transition-delay: calc(var(--delay, 0ms)); }

/* small niceties to match your large type */
.work-heading-small.is-visible { letter-spacing: 0.5px; transform: translateY(0) scale(1); }
.work-heading-large.is-visible { letter-spacing: -1px; transform: translateY(0) scale(1); }

/* safety for very large fonts on small screens */
.work-header { overflow: visible; }

/* reduced-motion for headings */
@media (prefers-reduced-motion: reduce) {
  .work-heading-small, .work-heading-large {
    transition: none;
    opacity: 1;
    transform: none;
  }
}

/* ---------------- EVENT TAGS ---------------- */
/* ---------------- SMOOTH INLINE TAGS STYLE ---------------- */
.event-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0 14px 0; /* reduced top gap, tighter to content */
  justify-content: flex-start;
  align-content: center;
  margin-left: 14px;
}
.tag {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 00;
  font-family: lato, sans-serif;
  letter-spacing: 0.3px;
  justify-items: center;
  text-align: center ;
  color: #111;
  background: #eee;
  transition: background 0.3s ease, transform 0.3s ease;
 
  
}

/* color variations for each tag type */
.tag.social-media            { background: #C3E7E3; } /* teal mint */
.tag.communication-strategy  { background: #FBE5D6; } /* soft peach */
.tag.advertising             { background: #E3E1F9; } /* soft lavender */
.tag.sbcc                    { background: #D0E9FF; } /* sky blue */
.tag.logo                    { background: #FFF2CC; } /* pale yellow */
.tag.hcd                     { background: #D5F3E5; } /* mint green */
.tag.coms                    { background: #F9E5D8; } /* blush peach */
.tag.public-interest         { background: #E6F4D8; } /* pale green */
.tag.media-awareness         { background: #F4D7E8; } /* pink lavender */
.tag.communication-material  { background: #CDE9F9; } /* light blue */
.tag.design                  { background: #F3F1FF; } /* soft white lavender */
/* small hover effect */
.tag:hover {
  transform: translateY(-2px);
  background: #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

/* responsive fix */
@media (max-width: 768px) {
  .event-tags {
    gap: 6px;
    margin-top: 10px;
  }
  .tag {
    font-size: 12px;
    padding: 5px 10px;
  }
}

/* -------------------------
   Work Footer Section (Aligned Icons)
   ------------------------- */

.work-footer-section { 
  font-family: 'Anton', sans-serif; 
  margin: 0; 
  padding: 0; 
  box-sizing: border-box; 
}

/* Top CTA */
.work-contact-cta {
  background: #00897b;
  color: #fff;
  padding: 40px 20px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.work-contact-cta p {
  font-size: clamp(18px, 4vw, 36px);
  color: #eeeaea;
  margin: 15px 42px 2px;
  font-weight: 400;
  max-width: 68ch;
  line-height: 40px;
}
.work-contact-cta h1 {
  font-size: clamp(32px, 8vw, 113px);
  font-weight: 400;
  margin: 15px 16px 2px;
  line-height: 84px;
}

/* Contact Info */
.work-contact-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 24px 40px;
  background: #fff;
  flex-wrap: wrap;
  box-sizing: border-box;
}

.work-info-left {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1 1 60%;
  min-width: 220px;
}

.work-info-block h3 { 
  margin: 0; 
  font-size: 16px; 
  font-weight: 700; 
  color: #545454; 
  font-family: 'Lato', sans-serif; 
}
.work-info-block p { 
  font-family: lato, sans-serif;
  margin: 4px 0 0; 
  color: #555; 
  font-size: 14px; 
  line-height: 1.5; 
}

/* ---- FIX: Social Icons Horizontal ---- */
.work-info-right {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
}

.work-info-right a {
  display: inline-block;
}

.work-info-right img { 
  width: 32px; 
  height: 32px; 
  transition: transform 0.2s; 
 margin: 0px -1px 131px;
}
.work-info-right img:hover { 
  transform: scale(1.1); 
}

/* -------------------------
   Mobile View
   ------------------------- */
@media (max-width: 768px) {
  .work-contact-cta {
    text-align: center;
    padding: 30px 15px;
    align-items: center;
  }

  .work-contact-cta h1 {
    font-size: clamp(28px, 9vw, 60px);
    line-height: 1.2;
    margin: 10px 0;
  }

  .work-contact-cta p {
    font-size: clamp(14px, 4vw, 18px);
    line-height: 1.5;
    margin: 10px auto;
    max-width: 90%;
  }

  .work-contact-info {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 15px;
    gap: 25px;
  }

  .work-info-left {
    flex: 1 1 100%;
    align-items: center;
    gap: 10px;
  }

  .work-info-block h3 {
    font-size: 15px;
  }

  .work-info-block p {
    font-size: 13px;
    max-width: 90%;
  }

  .work-info-right {
    justify-content: center;
  }

  .work-info-right img {
    width: 28px;
    height: 28px;
    margin: 0 5px;
  }
}
