/* --------- ROOT COLORS --------- */
:root {
  --ivory: #f9f6f1;
  --maroon: #6b1e2d;
  --indigo: #2c2f5a;
  --indigo-light: #3f4378;
  --gold: #c9a24d;
}

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

/* GLOBAL */
body {
  font-family: 'Inter', sans-serif;
  background-color: var(--ivory);
  color: var(--indigo);
}

/* MESSAGE CARD */
.viewport-message {
  text-align: center;
  color: #ffffff;
  padding: 2.5rem 3rem;
  border-radius: 18px;

  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
}

/* GIF BELOW MESSAGE */
.viewport-gif {
  margin-top: 1.5rem;
  width: 110px;
  max-width: 40%;
  opacity: 0.9;

  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.35));
}

.viewport-message h2 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  letter-spacing: 0.4px;
}

.viewport-message p {
  font-size: 1rem;
  line-height: 1.6;
  opacity: 0.9;
}

/* FADE OUT */
@keyframes overlayFadeOut {
  0% {
    opacity: 1;
  }
  70% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    pointer-events: none;
  }
}

@keyframes gentlePulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.85;
  }
  50% {
    transform: scale(1.05);
    opacity: 1;
  }
}

.viewport-gif {
  animation: gentlePulse 2.4s ease-in-out infinite;
}

@media (max-width: 768px) {
  .viewport-gif {
    width: 130px;
  }
}

/* NAVBAR */
.navbar {
  position: sticky;
  top: 0;
  background: rgba(249, 246, 241, 0.37);
  backdrop-filter: blur(3px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 50px;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  z-index: 1000;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  color: var(--maroon);
}

.nav-links {
  display: flex;
  gap: 25px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--maroon);
  font-size: 0.95rem;
  position: relative; /* needed for underline effect */
  padding-bottom: 4px;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--maroon); /* stays maroon on hover */
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
}

.cta {
  color: var(--maroon);
  font-weight: 500;
}

/* HAMBURGER DEFAULT (HIDDEN ON DESKTOP) */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  z-index: 1001;
}

.hamburger span {
  width: 26px;
  height: 2.5px;
  background: var(--maroon);
  border-radius: 2px;
  transition: all 0.35s ease;
}

/* HAMBURGER → CLOSE */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ============================
   MOBILE + TABLET NAV MENU
============================ */
@media (max-width: 1024px) {

  /* SHOW HAMBURGER */
  .hamburger {
    display: flex;
  }

  /* TURN NAV LINKS INTO SLIDE MENU */
  .nav-links {
    position: fixed;
    top: 60px;
    right: -100%;
    width: 100%;
    height: calc(100vh - 60px);

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;

    background: rgba(249, 246, 241, 0.96);
    backdrop-filter: blur(12px);

    transition: right 0.45s ease;
    z-index: 1000;
  }

  /* WHEN OPEN */
  .nav-links.open {
    right: 0;
  }

  .nav-links a {
    font-size: 1.3rem;
  }
}
/* ---------------- HERO SECTION ---------------- */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;

  background: url("assets/images/bg1.jpeg") no-repeat center center fixed;
  background-size: cover;
  overflow: hidden;
}

/* Translucent ivory overlay */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(249, 246, 241, 0.459);
  backdrop-filter: blur(1px);
  z-index: 1;
}

/* Content above overlay */
.hero > * {
  position: relative;
  z-index: 2;
}

/* HERO LAYOUT */
.hero-layout {
  display: flex;
  align-items: center;
  gap: 60px;
}

/* HERO TEXT */
.welcome-text {
  font-weight: 700;              /* bolder */
  letter-spacing: 1.5px;
  margin-bottom: 22px;
  color: var(--gold);
  font-size: 1.2rem;             /* bigger */
  text-transform: uppercase;     /* optional but very premium */
}

.name-text {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  margin-bottom: 25px;
}

.name-text span {
  color: var(--maroon);
}

.typing-container {
  font-size: 1.1rem;             /* slightly larger */
  font-weight: 500;              /* subtle bold */
  color: var(--indigo-light);
  max-width: 520px;
  line-height: 1.6;
}

#typing-text {
  font-weight: 600;              /* stronger emphasis */
  color: var(--indigo);          /* darker for contrast */
  transition: opacity 0.3s ease;
}

.cursor {
  color: var(--gold);
  animation: blink 1s infinite;
}

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

/* HERO IMAGE */
.hero-image {
  flex: 1.3;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  position: relative;

  /* Clean positioning instead of heavy margins */
  padding-right: 40px;
}

.hero-image img {
  width: 100%;
  max-width: 520px;   /* slightly controlled for elegance */
  height: auto;
  object-fit: contain;

  /* Clean look */
  padding: 0;
  margin: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;

  /* 👇 Controlled positioning (right + down) */
  transform: translate(40px, 40px);

  opacity: 0;
  transition: opacity 1.2s ease, transform 1.2s ease;
}

.hero-image::after {
  content: "";
  position: absolute;
  bottom: 10%;
  right: 10%;
  width: 220px;
  height: 220px;
  background: rgba(201, 162, 77, 0.15);
  filter: blur(80px);
  z-index: -1;
}

/* SECTIONS */
.section {
  padding: 100px 15%;
}

.section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--maroon);
  margin-bottom: 20px;
}

.section p {
  max-width: 700px;
  font-size: 1rem;
  color: var(--indigo-light);
}

/* QUICK STATS — INLINE HERO */
.quick-stats-inline {
  position: absolute;
  bottom: 90px; /* above scroll indicator */
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;

  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;

  max-width: 900px;
  padding: 0 20px;
}

/* Individual stat pill */
.stat-pill {
  display: flex;
  align-items: center;
  gap: 8px;

  padding: 8px 14px;
  border-radius: 18px;

  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(6px);

  font-size: 0.8rem;
  color: var(--indigo-light);
  white-space: nowrap;

  box-shadow: 0 6px 18px rgba(44, 47, 90, 0.08);
}

/* Icon */
.stat-pill img {
  width: 16px;
  height: 16px;
  opacity: 0.85;
}

/* Emphasis */
.stat-pill strong {
  color: var(--maroon);
  font-weight: 600;
}

/* SCROLL DOWN INDICATOR */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  opacity: 0.75;
  pointer-events: none;
}

.scroll-indicator img {
  width: 42px;
  height: auto;
}

@keyframes scrollFade {
  0% { opacity: 0.4; }
  50% { opacity: 0.9; }
  100% { opacity: 0.4; }
}

.scroll-indicator {
  animation: scrollFade 2.5s infinite ease-in-out;
}

@media (max-width: 767px) {

  /* NAVBAR */
  .navbar {
    padding: 10px 20px;
  }

  /* HERO */
  .hero {
    min-height: 100vh;
    background-attachment: scroll;
  }

  .hero-layout {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }

  .hero-text {
    margin-top: 60px;
  }

  .welcome-text {
    font-size: 0.9rem;
    letter-spacing: 1px;
  }

  .name-text {
    font-size: 2rem;
  }

  .typing-container {
    font-size: 0.95rem;
    max-width: 100%;
  }

  /* HERO IMAGE */
  .hero-image {
    margin: 0;
    justify-content: center;
  }

  .hero-image img {
    max-width: 280px;
    width: 100%;
    transform: none;
    opacity: 1;
  }

  /* QUICK STATS */
  .quick-stats-inline {
    position: static;
    transform: none;
    margin-top: 30px;
    padding: 0 10px;
    gap: 8px;
  }

  .stat-pill {
    font-size: 0.7rem;
    padding: 6px 10px;
  }

  /* SCROLL INDICATOR */
  .scroll-indicator {
    display: none;
  }

  /* VIEWPORT OVERLAY */
  #viewport-overlay {
    animation: none;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {

  /* NAVBAR */
  .navbar {
    padding: 12px 30px;
  }

  .nav-links {
    gap: 18px;
  }

  /* HERO */
  .hero {
    min-height: 95vh;
    background-attachment: scroll;
  }

  .hero-layout {
    gap: 40px;
  }

  .name-text {
    font-size: 2.4rem;
  }

  .typing-container {
    font-size: 1rem;
  }

  /* HERO IMAGE */
  .hero-image {
    margin-left: 40px;
    margin-top: -80px;
  }

  .hero-image img {
    max-width: 420px;
    width: 120%;
    transform: none;
    opacity: 1;
  }

  /* QUICK STATS */
  .quick-stats-inline {
    bottom: 70px;
    max-width: 95%;
  }

  .stat-pill {
    font-size: 0.75rem;
  }
}

/* FULL WIDTH VIDEO STRIP 
.hover-video-section { 
    padding: 50px 0; }*/

.hover-video-container {
  position: relative;
  width: 100vw;
  height: 400px;
  margin-left: calc(-50vw + 50%);
  overflow: hidden;
}

.hover-video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;

  /* LIGHT, WARM BASE */
  filter:
    blur(2px)
    brightness(1.00)
    contrast(0.95)
    saturate(1.15)
    sepia(0.12);

  transform: scale(1.08);
  transition: filter 0.8s ease, transform 1.2s ease;
}

/* Side fade */
.side-fade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;

  background: linear-gradient(
    to right,
    var(--ivory) 0%,
    rgba(249, 246, 241, 0.672) 18%,
    rgba(249, 246, 241, 0.206) 30%,
    rgba(249,246,241,0.4) 70%,
    rgba(244, 230, 206, 0.589) 82%,
    var(--ivory) 100%
  );
}

/* Overlay gradient */
.hover-gradient {
  position: absolute;
  inset: 0;
  z-index: 1;

  background: linear-gradient(
    to bottom,
    rgba(244, 202, 128, 0.505),
    rgba(201, 162, 77, 0.25),
    rgba(84, 65, 34, 0.6)
  );
}
.hover-text {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;

  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.hover-text h3 {
  font-family: 'Playfair Display', serif;
  font-size: 2.3rem;
  line-height: 1.4;
  color: var(--maroon);
  margin-bottom: 30px;
}

.hover-text h3 span {
  color: var(--indigo);
  font-style: italic;
}

.hover-video-container:hover .hover-text {
  opacity: 1;
  transform: translateY(0);
}

.hover-video-container:hover video {
  filter:
    blur(3px)
    brightness(1.15)
    contrast(0.9)
    saturate(1.1)
    sepia(0.18);
  transform: scale(1.12);
}

.hover-video-container::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(249, 246, 241, 0.0);
  transition: background 0.6s ease;
  z-index: 1;
}

.hover-video-container:hover::after {
  background: rgba(249, 246, 241, 0.25);
}

/* BUTTON */
.resume-btn {
  background: var(--gold);
  color: var(--indigo);
  padding: 14px 30px;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.4s ease;
  border: none;
}

/* Hover: maroon background, gold text */
.resume-btn:hover {
  background: var(--maroon);
  color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(107, 30, 45, 0.35);
}

/* SOCIAL ICONS BELOW RESUME */
.social-icons {
  margin-top: 25px;
  display: flex;
  gap: 18px;
  justify-content: center;
}

.social-icons img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  opacity: 0.75;
  transition: all 0.35s ease;
}

/* Hover effect */
.social-icons img:hover {
  opacity: 1;
  transform: translateY(-4px);
}

/* For static overlay text */
.hover-text.static-text {
  opacity: 1; /* always visible */
  transform: translateY(0); /* no animation needed */
  color: var(--maroon);
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  line-height: 1.4;
  text-align: center;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  pointer-events: none; /* text won't block video hover effects */
}

/* APPLY HOVER ONLY WHERE HOVER EXISTS */
@media (hover: hover) and (pointer: fine) {

  .hover-video-container:hover .hover-text {
    opacity: 1;
    transform: translateY(0);
  }

  .hover-video-container:hover video {
    filter:
      blur(3px)
      brightness(1.15)
      contrast(0.9)
      saturate(1.1)
      sepia(0.18);
    transform: scale(1.12);
  }

  .hover-video-container:hover::after {
    background: rgba(249, 246, 241, 0.25);
  }
}

@media (max-width: 767px) {

  .hover-video-container {
    height: 300px;
  }

  /* Static video (NO hover changes) */
  .hover-video-container video {
    transform: scale(1.05);
    filter:
      blur(2px)
      brightness(1.1)
      contrast(0.95)
      saturate(1.1)
      sepia(0.15);
  }

  /* Overlay text ALWAYS visible */
  .hover-text {
    opacity: 1;
    transform: none;
    pointer-events: auto; /* 👈 buttons stay clickable */
    padding: 0 20px;
  }

  .hover-text h3 {
    font-size: 1.4rem;
    line-height: 1.35;
    margin-bottom: 20px;
  }

  .resume-btn {
    font-size: 0.9rem;
    padding: 12px 24px;
  }

  .social-icons img {
    width: 26px;
    height: 26px;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {

  .hover-video-container {
    height: 340px;
  }

  /* Static video styling */
  .hover-video-container video {
    transform: scale(1.06);
    filter:
      blur(2px)
      brightness(1.08)
      contrast(0.95)
      saturate(1.12)
      sepia(0.14);
  }

  /* Text ALWAYS visible */
  .hover-text {
    opacity: 1;
    transform: none;
    pointer-events: auto; /* 👈 critical */
    padding: 0 40px;
  }

  .hover-text h3 {
    font-size: 1.8rem;
    line-height: 1.4;
  }

  .resume-btn {
    font-size: 0.95rem;
    padding: 13px 28px;
  }

  .social-icons img {
    width: 30px;
    height: 30px;
  }
}
/* ---------------- PROFESSIONAL JOURNEY SECTION ---------------- */
#journey {
  position: relative;
  padding: 30px 15%;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 40vh;

  background: url("assets/images/bg2.jpeg") no-repeat center center fixed;
  background-size: cover;
  overflow: hidden;
  border-radius: 16px; /* optional rounded corners */
}

/* Translucent overlay */
#journey::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(249, 246, 241, 0.45);
  backdrop-filter: blur(1px);
  z-index: 1;
}

/* Content above overlay */
#journey > * {
  position: relative;
  z-index: 2;
}

/* Adjust journey container inside the section */
.journey-container {
  display: flex;
  gap: 50px;
  flex-wrap: wrap;
  align-items: flex-start;
  width: 100%;
}

/* Logo collage container */
.logo-collage {
  width: 300px;
  min-height: 300px;
  position: relative;
  background: rgba(44, 47, 90, 0.03);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 15px;
}

/* Logo styling */
.logo-item {
  width: 70px;
  height: 70px;
  object-fit: contain;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 12px;
  padding: 5px;
  background: #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.logo-item:hover {
  transform: scale(1.2);
  box-shadow: 0 10px 20px rgba(107, 30, 45, 0.25);
}

/* Content panel */
.role-content {
  flex: 1;
  background: rgba(44, 47, 90, 0.03);
  padding: 25px;
  border-radius: 16px;
  min-height: 280px;
}

.role-content h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: var(--maroon);
  margin-bottom: 6px;
}

.role-content .timeline-date {
  display: block;
  font-size: 0.85rem;
  color: var(--indigo-light);
  margin-bottom: 12px;
}

.role-content p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--indigo);
}

.role-content img {
  max-width: 80px;
  margin-top: 12px;
}

.role-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: 16px;
}

.role-article-link {
  font-size: 0.8rem;
  color: var(--maroon);
  text-decoration: underline;
  font-weight: 500;
}

.award-block {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
  background: rgba(249, 246, 241, 0.6);
  padding: 12px;
  border-radius: 12px;
}

.award-block img {
  width: 60px;
  height: auto;
}

.award-block p {
  font-size: 0.85rem;
  line-height: 1.4;
  color: var(--indigo);
}

/* Responsive */
@media (max-width: 900px) {
  .journey-container {
    flex-direction: column;
    align-items: center;
  }

  .logo-collage {
    width: 90%;
    min-height: 250px;
  }
}

/* Lightbox overlay */
.award-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}

/* Show overlay */
.award-lightbox.show {
  opacity: 1;
  visibility: visible;
}

/* Enlarged image */
.award-lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  transition: transform 0.3s ease;
}

.award-lightbox img:hover {
  transform: scale(1.05);
}

/* Close hint */
.award-lightbox::after {
  content: "Click anywhere to close";
  position: absolute;
  bottom: 20px;
  color: #fff;
  font-size: 0.9rem;
  text-align: center;
}

@media (max-width: 1280px) {

  #journey {
    padding: 40px 8%;
  }

  .journey-container {
    gap: 40px;
  }

  .logo-collage {
    width: 280px;
    min-height: 280px;
  }

  .logo-item {
    width: 64px;
    height: 64px;
  }

  .role-content {
    padding: 22px;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {

  #journey {
    padding: 40px 6%;
    border-radius: 0;
  }

  .journey-container {
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }

  .logo-collage {
    width: 100%;
    min-height: auto;
    padding: 20px;
  }

  .logo-item {
    width: 60px;
    height: 60px;
  }

  .role-content {
    width: 100%;
    min-height: auto;
    padding: 22px;
  }

  .role-content h3 {
    font-size: 1.25rem;
  }

  .role-content p,
  .role-content li {
    font-size: 0.95rem;
    line-height: 1.55;
  }

  .award-block {
    flex-direction: row;
    align-items: center;
  }
}

@media (max-width: 767px) {

  #journey {
    padding: 30px 20px;
    min-height: unset;
    border-radius: 0;
  }

  #journey h2 {
    text-align: center;
    font-size: 1.6rem;
    margin-bottom: 20px;
  }

  .journey-container {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  /* Logo grid */
  .logo-collage {
    width: 100%;
    padding: 16px;
    gap: 12px;
  }

  .logo-item {
    width: 54px;
    height: 54px;
    border-radius: 10px;
  }

  /* Disable hover scale on mobile */
  .logo-item:hover {
    transform: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  }

  /* Content panel */
  .role-content {
    width: 100%;
    padding: 18px;
    min-height: unset;
  }

  .role-content h3 {
    font-size: 1.15rem;
    line-height: 1.35;
  }

  .timeline-date {
    font-size: 0.8rem;
  }

  .role-content ul {
    padding-left: 18px;
  }

  .role-content li {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .role-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-top: 14px;
  }

  .role-footer img {
    max-width: 60px;
  }

  .role-article-link {
    font-size: 0.8rem;
  }

  /* Award block */
  .award-block {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 12px;
  }

  .award-block img {
    width: 50px;
  }

  .award-block p {
    font-size: 0.85rem;
    line-height: 1.45;
  }
}

/* ABOUT SECTION */
/* ---------------- ABOUT SECTION BACKGROUND ---------------- */
#about {
  position: relative;
  max-width: 1500px;
  margin: 0 auto;
  padding: 40px 40px;

  background: url("assets/images/bg3.jpeg") no-repeat center center fixed;
  background-size: cover;
  overflow: hidden;
  border-radius: 16px; /* optional, matches journey */
}

/* Translucent overlay */
#about::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(249, 246, 241, 0.576);
  backdrop-filter: blur(2px);
  z-index: 1;
}

/* Ensure content sits above overlay */
#about > * {
  position: relative;
  z-index: 2;
}

.now-page-cta {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 32px;
  padding: 20px 26px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(107, 30, 45, 0.08);
  box-shadow: 0 16px 36px rgba(44, 47, 90, 0.08);
  backdrop-filter: blur(8px);
}

.now-page-cta p {
  margin: 0 auto 14px;
  color: var(--indigo-light);
  font-size: 0.95rem;
}

.now-page-cta a {
  display: inline-block;
  background: var(--maroon);
  color: var(--ivory);
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.now-page-cta a:hover {
  background: var(--gold);
  color: var(--indigo);
  transform: translateY(-2px);
}

/* GRID */
.editorial-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(4, 1fr);
  gap: 18px;
  height: calc(100vh - 220px); /* no scroll */
}

/* CARD BASE */
.story-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: #000;
}

/* IMAGE + VIDEO ALWAYS FIT CARD */
.story-card img,
.story-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, filter 0.4s ease;
  display: block;
}

.story-card video {
  will-change: transform;
  pointer-events: none; /* prevents accidental pause */
}

/* HOVER IMAGE */
/* HOVER MEDIA */
.story-card:hover img,
.story-card:hover video {
  transform: scale(1.05);
  filter: blur(3px);
}

/* OVERLAY */
.story-overlay {
  position: absolute;
  inset: 0;
  background: rgba(214, 207, 194, 0.742);
  backdrop-filter: blur(2px);
  opacity: 0;
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: opacity 0.4s ease;
}

.story-card:hover .story-overlay {
  opacity: 1;
}

.story-overlay p {
  font-size: 0.8rem;
  margin-bottom: 10px;
}

.story-overlay a,
.story-overlay button {
  background: var(--maroon);
  color: #fff;
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  text-decoration: none;
  border: none;
  margin-top: 6px;
  width: fit-content;
  cursor: pointer;
}

/* --- EXACT PLACEMENT --- */

.journey {
  grid-column: 1 / span 3;
  grid-row: 1 / span 3;
}

.dance {
  grid-column: 4 / span 2;
  grid-row: 1 / span 3;
}

.author {
  grid-column: 6 / span 2;
  grid-row: 2 / span 3;
}

.achievement {
  grid-column: 8 / span 3;
  grid-row: 2 / span 3;
}

.instagram {
  grid-column: 6 / span 5;
  grid-row: 1 / span 1;
}

.award {
  grid-column: 1 / span 4;
  grid-row: 4 / span 1;
}

.work {
  grid-column: 11 / span 2;
  grid-row: 1 / span 2;
}

.fashion {
  grid-column: 11 / span 2;
  grid-row: 3 / span 2;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .editorial-grid {
    grid-template-columns: repeat(2, 1fr);
    height: auto;
  }
}

/* ================== AWARDS SECTION BACKGROUND ================== */
#awards {
  position: relative;
  padding: 50px 10px; /* you already have 30px, can adjust */
  background: url("assets/images/bg4.jpeg") no-repeat center center fixed;
  background-size: cover;
  border-radius: 16px;
  overflow: hidden;
}

/* Translucent overlay */
#awards::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(249, 246, 241, 0.45); /* similar overlay as journey/about */
  backdrop-filter: blur(1.5px);
  z-index: 1;
}

/* Ensure content sits above overlay */
#awards > * {
  position: relative;
  z-index: 2;
}

/* -------- TITLE -------- */
.awards-tv-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  text-align: center;
  color: #6b1e2d;
  margin-bottom: 10px;
}

/* -------- SPHERES ROW -------- */
.awards-spheres {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 36px;
  flex-wrap: nowrap;
  margin-bottom: 20px;
}

/* -------- INDIVIDUAL SPHERE -------- */
.award-sphere {
  position: relative;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(
    circle at top left,
    #a73046,
    #360912e2 70%
  );
  box-shadow:
    0 0 0 2px rgba(212, 175, 55, 0.604),
    0 0 28px rgba(212, 175, 55, 0.18),
    inset 0 0 30px rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: pointer;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.award-sphere:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow:
    0 0 0 2px rgba(212, 175, 55, 0.55),
    0 0 45px rgba(212, 175, 55, 0.45),
    inset 0 0 40px rgba(255, 255, 255, 0.12);
}

/* -------- SPHERE TEXT -------- */
.award-sphere h5 {
  font-family: 'Playfair Display', serif;
  font-size: .85rem;
  line-height: 1.3;
  color: #eed687;
  padding: 0 6px;
}

/* -------- TV DISPLAY -------- */
.tv-display {
  max-width: 920px;
  margin: 0 auto;
  background: linear-gradient(
    135deg,
    rgba(44, 47, 90, 0.08),
    rgba(201, 162, 77, 0.12)
  );
  border-radius: 18px;
  padding: 2px;
  box-shadow: 0 35px 70px rgba(44, 47, 90, 0.18);
}

/* -------- TV SCREEN -------- */
.tv-screen {
  background: rgba(249, 246, 241, 0.94);
  border-radius: 10px;
  padding: 20px;
  min-height: 240px;
  color: var(--indigo);
}

/* Placeholder text */
.tv-placeholder {
  font-style: italic;
  color: var(--indigo-light);
}

/* TV Content */
.tv-screen h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  color: var(--maroon);
  margin-bottom: 14px;
}

.tv-screen p {
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 18px;
  color: var(--indigo);
}

/* -------- AWARD IMAGE -------- */
#award-image {
  width: 100%;
  max-height: 760px;
  object-fit: contain;
  border-radius: 10px;
  margin-bottom: 20px;
  display: block; /* 👈 show default image */
  box-shadow: 0 18px 35px rgba(44, 47, 90, 0.25);
}

/* TV text wrapper */
.award-tv-content {
  text-align: left;
}

.award-sphere.active {
  transform: translateY(-8px) scale(1.05);
  box-shadow:
    0 0 0 2px rgba(212, 175, 55, 0.7),
    0 0 55px rgba(212, 175, 55, 0.55);
}

/* -------- DEAN'S LIST YEAR BUTTONS -------- */
.deans-years {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px 0 10px;
}

.deans-years button {
  background: transparent;
  border: 1px solid rgba(107, 30, 45, 0.35);
  border-radius: 22px;
  padding: 6px 14px;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  color: var(--maroon);
  cursor: pointer;
  transition: all 0.3s ease;
}

.deans-years button:hover {
  background: rgba(56, 14, 22, 0.279);
}

.deans-years button.active {
  background: var(--maroon);
  color: var(--ivory);
  border-color: var(--maroon);
}

/* -------- RESPONSIVE -------- */
@media (max-width: 1100px) {
  .awards-spheres {
    gap: 28px;
  }

  .award-sphere {
    width: 130px;
    height: 130px;
  }

  .award-sphere h5 {
    font-size: 0.8rem;
  }
}

@media (max-width: 900px) {
  .awards-spheres {
    flex-wrap: wrap;
    margin-bottom: 60px;
  }
}

@media (max-width: 600px) {
  .award-sphere {
    width: 120px;
    height: 120px;
  }

  .award-sphere h5 {
    font-size: 0.75rem;
  }

  .tv-screen {
    padding: 24px;
  }
}

.award-links {
  display: flex;
  gap: 18px;
  margin-top: 18px;
}

.award-links a {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  padding: 8px 16px;
  border-radius: 20px;
  text-decoration: none;
  color: var(--maroon);
  border: 1px solid rgba(107, 30, 45, 0.35);
  transition: all 0.3s ease;
}

.award-links a:hover {
  background: var(--maroon);
  color: var(--ivory);
}

/* ===========================
   Certificates Section CSS
=========================== */
.certificates-section {
  padding: 60px 20px;
  background-color: #f8f8f8;
  text-align: center;
}

.certificates-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 30px;
  color: #6b1e2d;
}

/* ===========================
   Carousel Styles
=========================== */
.certificates-carousel {
  overflow: hidden;
  margin-bottom: 40px;
  padding: 10px 0;
  border-bottom: 1px solid #ddd;
  position: relative;
}

.carousel-track {
  display: flex;
  gap: 20px;
  animation: scroll-left 20s linear infinite;
}

.carousel-track img {
  width: 140px;
  height: 140px;
  object-fit: contain;
  cursor: pointer;
  transition: transform 0.3s, border 0.3s;
  border-radius: 12px;
}

.carousel-track img:hover {
  transform: scale(1.15);
  border: 2px solid #800000;
}

/* Continuous scroll animation */
@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ===========================
   Certificates Grid Styles
=========================== */
.certificates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  justify-items: center;
  margin-top: 20px;
}

/* ===========================
   Certificate Card Flip
=========================== */
.certificate-card {
  perspective: 1000px;
  width: 100%;
  max-width: 280px;
  position: relative;
}

.card-front,
.card-back {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  backface-visibility: hidden;
  transition: transform 0.6s;
  padding: 20px;
  height: 350px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.certificate-card:hover .card-front {
  transform: rotateY(180deg);
}

.certificate-card:hover .card-back {
  transform: rotateY(0deg);
}

.card-front {
  transform: rotateY(0deg);
}

.card-back {
  transform: rotateY(-180deg);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* ===========================
   Card Front Styles
=========================== */
.card-front img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 15px;
}

.card-front h3 {
  font-size: 1.1rem;
  margin-bottom: 5px;
  color: #333;
}

.card-front p,
.card-front span {
  font-size: 0.85rem;
  color: #666;
}

/* ===========================
   Card Back Styles
=========================== */
.card-back p {
  font-size: 0.85rem;
  text-align: left;
  color: #333;
  margin-bottom: 10px;
}

.card-back .btn {
  display: inline-block;
  text-decoration: none;
  background-color: #800000;
  color: #fff;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.85rem;
  margin-top: 10px;
  transition: 0.3s;
}

.card-back .btn:hover {
  background-color: #b22222;
}

/* ===========================
   Responsive Styles
=========================== */
@media (max-width: 1024px) {
  .carousel-track img {
    width: 100px;
    height: 100px;
  }
}

@media (max-width: 768px) {
  .certificates-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  .carousel-track img {
    width: 60px;
    height: 60px;
  }
}

@media (max-width: 480px) {
  .certificates-section h2 {
    font-size: 2rem;
  }

  .card-front h3 {
    font-size: 1rem;
  }
}

/* ================= SKILLS – SIGNATURE ================= */

.skills-signature {
  position: relative;
  padding: 30px 8%;
  color: #2c2f5a;

  background: url("assets/images/bg5.jpeg") no-repeat center center fixed;
  background-size: cover;
  border-radius: 16px;
  overflow: hidden;
}

/* Translucent ivory overlay */
.skills-signature::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(249, 246, 241, 0.45);
  backdrop-filter: blur(4.2px);
  z-index: 1;
}

/* Ensure content stays above overlay */
.skills-signature > * {
  position: relative;
  z-index: 2;
}

.skills-heading {
  text-align: center;
  font-family: 'Playfair Display', serif;
  font-size: 2.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #6b1e2d;
}

.skills-subtext {
  text-align: center;
  margin: 20px auto 30px;
  max-width: 520px;
  font-size: 0.95rem;
  color: #6b6f88;
}

/* PROCESS ROW */
.process-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.process-step {
  width: 200px;
  text-align: center;
}

.process-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 1px solid rgba(201,162,77,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 16px;
  position: relative;
  transition: 
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

/* Soft ambient glow */
.process-icon::after {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgb(231, 168, 31) 0%,
    rgba(234, 200, 128, 0.697) 40%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: -1;
}

/* Hover effect */
.process-step:hover .process-icon {
  transform: translateY(-6px) scale(1.05);
  box-shadow:
    0 0 0 1px rgba(201, 162, 77, 0.55),
    0 14px 30px rgba(201, 162, 77, 0.25);
  border-color: rgba(201, 162, 77, 0.85);
}

.process-step:hover .process-icon::after {
  opacity: 1;
}

.process-step h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: #2c2f5a;
  margin-bottom: 6px;
}

.process-step:hover h4 {
  color: #6b1e2d;
}

.process-step p {
  font-size: 0.8rem;
  line-height: 1.5;
  color: #6b6f88;
}

.process-step:hover p {
  color: #2c2f5a;
}

.process-arrow {
  font-size: 1.2rem;
  color: #c9a24d;
}

/* BOTTOM GRID */
.skills-grid {
  display: grid;
  grid-template-columns: 2fr 2fr;
  gap: 80px;
  padding-left: 154px; /* subtle right shift */
}

.skills-panel {
  padding-left: 20px;
}

.skills-panel h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  margin-bottom: 36px;
}

/* EXPANDED TECH GROUPS */
.tech-groups {
  margin-top: 24px; /* was 50px */
}

.tech-group {
  margin-bottom: 20px; /* was 26px */
}

.tech-group h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: #6b1e2d;
  margin-bottom: 2px;
}

.tech-group p {
  font-size: 0.85rem;
  line-height: 1.55; /* slightly tighter */
  color: #2c2f5a;
}

/* HUMAN SKILLS */
.human-skills {
  list-style: none;
  padding: 0;
}

.human-skills li {
  margin-bottom: 18px;
  font-size: 0.95rem;
  padding-left: 28px;
  position: relative;
}

.human-skills li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #6b1e2d;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .skills-grid {
    grid-template-columns: 1fr;
  }

  .process-row {
    gap: 40px;
  }

  .process-arrow {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .process-icon,
  .process-icon::after {
    transition: none;
  }
}

@media (max-width: 900px) {

  /* Center the entire skills grid */
  .skills-grid {
    padding-left: 0;
    gap: 48px;
    justify-items: center;
  }

  /* Center each panel */
  .skills-panel {
    padding-left: 0;
    max-width: 520px;
    width: 100%;
    text-align: center;
  }

  /* Center panel headings */
  .skills-panel h3 {
    text-align: center;
  }

  /* Technical skills text */
  .tech-group h4 {
    text-align: center;
  }

  .tech-group p {
    text-align: center;
  }

  /* Human skills list */
  .human-skills {
    max-width: 420px;
    margin: 0 auto;
    text-align: left; /* keeps checkmarks readable */
  }

  .human-skills li {
    padding-left: 28px;
  }
}

/* ================= PROFESSIONAL GALLERY STRIP ================= */

.gallery-strip-container {
  position: relative;
  width: 100vw;
  height: 300px;
  margin-left: calc(-50vw + 50%);
  overflow: hidden;
  background: var(--ivory);
}

/* Image track */
.gallery-track {
  display: flex;
  gap: 2px;
  height: 100%;
  padding: 0 0px;
  transition: transform 0.8s ease;
}

/* MULTI-IMAGE VIEW */
.gallery-track img {
  flex: 0 0 auto;
  width: 300px;
  height: 110%;
  object-fit: cover;
  border-radius: 2px;

  filter:
    brightness(.9)
    contrast(0.95)
    saturate(1.15)
    blur(6px);

  transition: filter 0.6s ease;
}

/* Overlay */
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(150, 118, 49, 0.632),
    rgba(238, 192, 112, 0.481),
    rgba(126, 91, 34, 0.55)
  );
  backdrop-filter: blur(6px);
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.6s ease;
}

.gallery-quote {
  position: absolute;
  inset: 0;
  z-index: 2;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  text-align: center;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.gallery-main {
  margin: 0;
}

.gallery-hint {
  margin-top: 8px;
  font-size: 0.95rem;
  letter-spacing: 0.7px;
  color: rgba(245, 245, 245, 0.6);
  text-transform: lowercase;
}

.gallery-quote p {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  letter-spacing: 0.5px;
  color: var(--ivory);
  text-shadow: 0 10px 30px rgba(0,0,0,0.45);
}

.gallery-quote .gallery-hint {
  margin-top: 9px;
  font-size: .95rem !important;
  letter-spacing: 0.7px;
  color: rgba(245, 245, 245, 0.6);
  text-transform: lowercase;
}

.gallery-quote span {
  display: block;
  margin-top: 8px;
  font-size: 2.3rem;
  font-weight: 600;
  color: var(--maroon);
}

.gallery-nav {
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s ease;
}

/* Navigation arrows */
.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;

  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;

  background: rgba(249,246,241,0.9);
  color: var(--maroon);
  font-size: 2rem;
  font-family: 'Playfair Display', serif;

  cursor: pointer;
  transition: all 0.35s ease;
}

.gallery-nav:hover {
  background: var(--maroon);
  color: var(--gold);
  transform: translateY(-50%) scale(1.1);
}

.gallery-nav.prev { left: 24px; }
.gallery-nav.next { right: 24px; }

/* Responsive */
@media (max-width: 768px) {
  .gallery-strip-container {
    height: 300px;
  }

  .gallery-track {
    gap: 16px;
    padding: 0 40px;
  }

  .gallery-track img {
    width: 220px;
  }
}

.gallery-strip-container:hover .gallery-track img {
  filter:
    brightness(1.05)
    contrast(1)
    saturate(1.05)
    blur(0);
}

.gallery-strip-container:hover .gallery-overlay {
  opacity: 0;
}

.gallery-strip-container:hover .gallery-quote {
  opacity: 0;
}

.gallery-strip-container:hover .gallery-nav {
  opacity: 1;
  pointer-events: auto;
}

/* ================= PASSIONS – SIGNATURE ================= */

.passion-signature {
  position: relative;
  padding: 50px 8%;
  background: url("assets/images/bg6.jpeg") no-repeat center center fixed;
  background-size: cover;
  border-radius: 16px;
  overflow: hidden;
}

/* Ivory overlay */
.passion-signature::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(249, 246, 241, 0.5);
  backdrop-filter: blur(2px);
  z-index: 1;
}

.passion-signature > * {
  position: relative;
  z-index: 2;
}

.passion-heading {
  text-align: center;
  font-family: 'Playfair Display', serif;
  font-size: 2.6rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #6b1e2d;
}

.passion-subtext {
  text-align: center;
  margin: 20px auto 60px;
  max-width: 520px;
  font-size: 0.95rem;
  color: #6b6f88;
  font-style: italic;
}

/* ================= PASSION FLIP CARDS ================= */

.passion-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
}

.passion-card {
  perspective: 1200px;
  height: 420px;
}

.passion-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(.4,.2,.2,1);
}

.passion-card:hover .passion-card-inner,
.passion-card:focus-within .passion-card-inner {
  transform: rotateY(180deg);
}

/* FRONT & BACK COMMON */
.passion-card-front,
.passion-card-back {
  position: absolute;
  inset: 0;
  border-radius: 14px;
  overflow: hidden;
  backface-visibility: hidden;
  box-shadow: 0 18px 40px rgba(232, 188, 76, 0.516);
}

/* FRONT */
.passion-card-front {
  display: flex;
  flex-direction: column;
  background: #ffffff;
}

.passion-card-front img {
  width: 100%;
  height: 90%;
  object-fit: fit;
}

.passion-front-title {
  height: 18%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;

  background: rgba(249, 246, 241, 0.95);
  border-top: 1px solid rgba(201, 162, 77, 0.548);

  font-family: 'Playfair Display', serif;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: center;
  color: #2c2f5a;
}

/* BACK */
.passion-card-back {
  background: rgba(249, 246, 241, 0.95);
  transform: rotateY(180deg);
  padding: 32px 26px;
  text-align: center;
}

.passion-card-back h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6b1e2d;
  margin-bottom: 18px;
}

.passion-card-back p {
  font-size: 0.85rem;
  line-height: 1.6;
  color: #2c2f5a;
  margin-bottom: 22px;
}

.passion-card-back a {
  display: inline-block;
  margin: 6px 8px;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #c9a24d;
  text-decoration: none;
}

.passion-card-back a:hover {
  color: #6b1e2d;
}

/* RESPONSIVE */
@media (max-width: 1100px) {
  .passion-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .passion-grid {
    grid-template-columns: 1fr;
  }
}

/* ACCESSIBILITY */
@media (prefers-reduced-motion: reduce) {
  .passion-card-inner {
    transition: none;
  }
}

/* ================= SOCIAL GALLERY STRIP ================= */

.social-gallery-container {
  position: relative;
  width: 100vw;
  height: 220px;
  margin-left: calc(-50vw + 50%);
  overflow: hidden;
  background: var(--ivory);
}

/* Track */
.social-gallery-track {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 100%;
  width: max-content; /* CRITICAL */
  animation: scroll-gallery 60s linear infinite;
}

/* Images */
.social-gallery-track img {
  height: 100%;
  width: auto;
  flex-shrink: 0; /* CRITICAL */
  border-radius: 10px;
  object-fit: cover;

  filter:
    brightness(0.95)
    contrast(0.95)
    saturate(1.05);

  transition: transform 0.4s ease;
}

/* Hover lift (desktop only) */
@media (hover: hover) {
  .social-gallery-track img:hover {
    transform: scale(1.05);
  }
}

/* Overlay */
.social-gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(249,246,241,0.85),
    rgba(249,246,241,0.2),
    rgba(249,246,241,0.85)
  );
  pointer-events: none;
}

/* PERFECT LOOP — move exactly one set */
@keyframes scroll-gallery {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 1024px) {
  .social-gallery-container {
    height: 180px;
  }

  .social-gallery-track {
    gap: 10px;
    animation-duration: 75s;
  }
}

@media (max-width: 600px) {
  .social-gallery-container {
    height: 150px;
  }

  .social-gallery-track {
    animation-duration: 95s;
  }
}
/* ================= CONNECT (SIMPLE & ELEGANT) ================= */

.connect-signature {
  position: relative;
  padding: 40px 8%;
  background: url("assets/images/bg5.jpeg") no-repeat center center / cover;
  border-radius: 18px;
  overflow: hidden;
  text-align: center;
}

/* Ivory overlay */
.connect-signature::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(249, 246, 241, 0.6);
  backdrop-filter: blur(5px);
  z-index: 1;
}

.connect-signature > * {
  position: relative;
  z-index: 2;
}

/* Headings */
.connect-heading {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #6b1e2d;
}

.connect-subtext {
  margin: 20px auto 60px;
  max-width: 520px;
  font-size: 0.95rem;
  color: #6b6f88;
  font-style: italic;
}

/* CARD */
.connect-card-simple {
  max-width: 840px;
  margin: 0 auto;
  background: rgba(255,255,255,0.85);
  border-radius: 18px;
  box-shadow: 0 35px 80px rgba(0,0,0,0.15);
  padding: 30px 30px;
}

/* Script Heading */
.connect-script {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: #2c2f5a;
  margin-bottom: 18px;
}

/* Text */
.connect-description {
  font-size: 0.9rem;
  line-height: 1.7;
  color: #6b6f88;
  margin-bottom: 34px;
}

/* BUTTONS */
.connect-btn {
  display: inline-block;
  margin: 10px 8px;
  padding: 12px 28px;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border-radius: 30px;
  transition: all 0.35s ease;
  text-decoration: none;
}

/* Primary */
.connect-btn.primary {
  background: #c9a24d;
  color: #6b1e2d;
}

.connect-btn.primary:hover {
  background: #b38e3d;
  transform: translateY(-8px);
}

/* Secondary */
.connect-btn.secondary {
  border: 1px solid rgba(201,162,77,0.6);
  color: #6b1e2d;
}

.connect-btn.secondary:hover {
  background: rgba(201, 162, 77, 0.36);
  transform: translateY(-8px);
}

/* Resume */
.resume-btn {
  display: block;
  margin: 28px auto 34px;
  font-size: 0.75rem;
  color: #6b1e2d;
  text-decoration: underline;
  letter-spacing: 0.12em;
}

/* Socials */
.social-icons {
  display: flex;
  justify-content: center;
  gap: 22px;
}

.social-icons img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.social-icons img:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.18);
}

/* RESPONSIVE */
@media (max-width: 600px) {
  .connect-card-simple {
    padding: 45px 32px;
  }
}

/* DIVIDER */
.divider {
  height: 2px;
  width: 70%;
  margin: 0 auto;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
}

/* ALT */
.alt {
  background: rgba(44,47,90,0.03);
}

/* FOOTER */
footer {
  text-align: center;
  padding: 20px;
  font-size: 0.85rem;
  color: var(--indigo-light);
}

/* MOBILE */
@media (max-width: 900px) {
  .hero-layout {
    flex-direction: column;
    text-align: center;
  }

  .hero,
  .hover-video-container {
    background-attachment: scroll;
  }
}

/* =========================
   PROJECTS PAGE
========================= */

.projects-hero {
  position: relative;
  min-height: 62vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 10% 80px;
  overflow: hidden;
}

/* 🎥 Video styling */
.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120%;
  height: 120%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  z-index: 0;
  filter: brightness(0.75); /* slight darkening for readability */
}

/* 🌫 Overlay (blur + tint + vignette) */
.projects-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;

  background:
    radial-gradient(circle at center, rgba(68, 54, 29, 0.35) 0%, rgba(118, 99, 62, 0.65) 70%, rgba(73, 66, 56, 0.85) 100%),
    rgba(249, 246, 241, 0.639);

  backdrop-filter: blur(6px);
}

/* Content stays above everything */
.projects-hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.projects-github {
  margin-top: 18px;
  font-size: 0.95rem;
  color: rgb(41, 46, 120);
}

.projects-github a {
  color: rgb(94, 22, 22);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgb(238, 224, 31);
  transition: all 0.3s ease;
}

.projects-github a:hover {
  color: rgb(238, 224, 31);
  border-bottom: 1px solid rgb(94, 22, 22);
}

.github-inline {
  width: 16px;
  height: 16px;
  margin-right: 6px;
  vertical-align: middle;
  opacity: 0.8;
}

.projects-kicker {
  color: rgb(255, 255, 255);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 700;
  margin-bottom: 16px;
}

.projects-hero h1 {
  font-family: 'Playfair Display', serif;
  color: rgb(94, 22, 22);
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 20px;
}

.projects-intro {
  color: rgb(41, 46, 120);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 720px;
  margin: 0 auto;
}

.projects-page {
  padding-top: 70px;
  padding-bottom: 90px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.project-card {
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(107, 30, 45, 0.08);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(44, 47, 90, 0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  backdrop-filter: blur(8px);
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 50px rgba(44, 47, 90, 0.14);
}

.project-media {
  height: 250px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(201, 162, 77, 0.18), rgba(44, 47, 90, 0.08));
}

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

.project-content {
  padding: 24px;
}

.project-tag {
  display: inline-block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 12px;
}

.project-content h3 {
  font-family: 'Playfair Display', serif;
  color: var(--maroon);
  font-size: 1.6rem;
  margin-bottom: 14px;
}

.project-content p {
  color: var(--indigo-light);
  line-height: 1.7;
  font-size: 0.96rem;
  margin-bottom: 18px;
}

.project-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.project-links a {
  display: inline-block;
  background: var(--gold);
  color: var(--indigo);
  text-decoration: none;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 999px;
  transition: all 0.3s ease;
}

.project-links a:hover {
  background: var(--maroon);
  color: var(--ivory);
}

@media (max-width: 1024px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }

  .projects-hero h1 {
    font-size: 2.4rem;
  }
}

@media (max-width: 767px) {
  .projects-hero {
    min-height: 55vh;
    padding: 110px 20px 60px;
    background-attachment: scroll;
  }

  .projects-hero h1 {
    font-size: 2rem;
  }

  .projects-intro {
    font-size: 0.95rem;
  }

  .project-media {
    height: 220px;
  }

  .project-content {
    padding: 20px;
  }

  .project-content h3 {
    font-size: 1.35rem;
  }
}

@media (max-width: 767px) {
  .hero-video {
    width: 180%;
    height: 180%;
  }

  .projects-hero {
    padding: 110px 22px 60px;
    min-height: 55vh;
  }
}

/* =========================
   NOW PAGE
========================= */

.now-hero {
  position: relative;
  min-height: 62vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 10% 80px;
  background: url("assets/images/bg2.jpeg") no-repeat center center fixed;
  background-size: cover;
  overflow: hidden;
}

.now-overlay {
  position: absolute;
  inset: 0;
  background: rgba(249, 246, 241, 0.74);
  backdrop-filter: blur(2px);
  z-index: 1;
}

.now-hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.now-kicker {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 700;
  margin-bottom: 16px;
}

.now-hero h1 {
  font-family: 'Playfair Display', serif;
  color: var(--maroon);
  font-size: 3.2rem;
  line-height: 1.15;
  margin-bottom: 20px;
}

.now-hero p {
  color: var(--indigo-light);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 740px;
  margin: 0 auto;
}

.now-page {
  padding-top: 80px;
  padding-bottom: 100px;
}

.now-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.now-card {
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(107, 30, 45, 0.08);
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 18px 42px rgba(44, 47, 90, 0.08);
  backdrop-filter: blur(8px);
  transition: all 0.35s ease;
}

.now-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 55px rgba(44, 47, 90, 0.14);
}

.now-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  display: block;
}

.feature-now {
  grid-column: span 2;
}

.feature-now img {
  height: 330px;
}

.now-card-content {
  padding: 24px;
}

.now-card-content span {
  display: block;
  color: var(--gold);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  margin-bottom: 10px;
}

.now-card-content h3 {
  font-family: 'Playfair Display', serif;
  color: var(--maroon);
  font-size: 1.45rem;
  margin-bottom: 12px;
}

.now-card-content p {
  color: var(--indigo-light);
  line-height: 1.7;
  font-size: 0.95rem;
}

.now-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.now-links a {
  display: inline-block;
  background: var(--gold);
  color: var(--indigo);
  text-decoration: none;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 999px;
  transition: all 0.3s ease;
}

.now-links a:hover {
  background: var(--maroon);
  color: var(--ivory);
}

@media (max-width: 1024px) {
  .now-grid {
    grid-template-columns: 1fr 1fr;
  }

  .feature-now {
    grid-column: span 2;
  }

  .now-hero h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 767px) {
  .now-hero {
    min-height: 55vh;
    padding: 110px 22px 60px;
    background-attachment: scroll;
  }

  .now-hero h1 {
    font-size: 2rem;
  }

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

  .feature-now {
    grid-column: span 1;
  }

  .feature-now img,
  .now-card img {
    height: 220px;
  }
}

/* NEW badge */
.new-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: #22c55e; /* clean green */
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 999px;
  letter-spacing: 0.08em;
  box-shadow: 0 6px 16px rgba(34, 197, 94, 0.3);
}

/* make media relative so badge positions correctly */
.project-media {
  position: relative;
}

.new-project {
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.new-project:hover {
  box-shadow: 0 20px 60px rgba(34, 197, 94, 0.15);
}