/* =====================================
   DLight Creatives — About Page (Deluxe Redesign)
   ===================================== */

/* GENERAL LAYOUT */
main {
  padding-top: 90px;
}
section {
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}
.container {
  width: min(90%, 1200px);
  margin-inline: auto;
}

/* ============================
   ABOUT HERO SECTION
   ============================ */
.about-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, #fff8f2 0%, #ffffff 60%, #fff3e0 100%);
  padding: 160px 20px 120px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* soft gradient overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at top right,
    rgba(243, 146, 0, 0.15),
    transparent 60%
  );
  z-index: 1;
}

/* inner content */
.about-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 780px;
  margin: 0 auto;
}

/* title */
.about-title {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 3rem;
  color: var(--accent);
  letter-spacing: -0.5px;
  line-height: 1.2;
  animation: fadeInDown 1s ease both;
}

/* subtitle */
.about-subtext {
  margin-top: 16px;
  font-size: 1.15rem;
  color: var(--text);
  line-height: 1.7;
  animation: fadeInUp 1s ease 0.3s both;
}

/* floating decorative circles */
.floating-circles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(243, 146, 0, 0.15);
  filter: blur(30px);
  animation: floaty 8s ease-in-out infinite alternate;
}

.circle.one {
  width: 160px;
  height: 160px;
  top: 60px;
  left: 10%;
  animation-delay: 0s;
}
.circle.two {
  width: 240px;
  height: 240px;
  bottom: 40px;
  right: 15%;
  animation-delay: 2s;
}
.circle.three {
  width: 120px;
  height: 120px;
  top: 200px;
  right: 35%;
  animation-delay: 4s;
}

/* animations */
@keyframes fadeInDown {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes floaty {
  0% {
    transform: translateY(0) scale(1);
  }
  100% {
    transform: translateY(-30px) scale(1.05);
  }
}

/* responsive */
@media (max-width: 767px) {
  .about-hero {
    padding: 120px 20px 90px;
  }
  .about-title {
    font-size: 2.2rem;
  }
  .about-subtext {
    font-size: 1rem;
  }
  .circle.one,
  .circle.two,
  .circle.three {
    opacity: 0.7;
  }
}

/* =====================================
   COMPANY HISTORY (REIMAGINED)
   ===================================== */
.about-history {
  position: relative;
  padding: 120px 0;
  background: #fff;
  overflow: hidden;
}

.about-history .history-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  opacity: 0.25;
}
.about-history .history-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.1);
  filter: grayscale(20%) brightness(0.8);
  animation: slowPan 18s ease-in-out infinite alternate;
}

.about-history .history-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin-inline: auto;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(12px);
  border-radius: 22px;
  padding: 60px 50px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06);
  text-align: center;
  animation: floatUp 1s ease both;
}

.about-history h2 {
  font-family: "Montserrat", sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: #f39200;
  margin-bottom: 18px;
  position: relative;
}
.about-history h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: #f39200;
  margin: 10px auto 0;
  border-radius: 2px;
}

.about-history p {
  color: #333;
  line-height: 1.8;
  font-size: 1rem;
  margin-bottom: 18px;
}

.about-history strong {
  color: #f39200;
  font-weight: 700;
}

/* Animations */
@keyframes slowPan {
  from {
    transform: scale(1.1) translateY(0);
  }
  to {
    transform: scale(1.15) translateY(-20px);
  }
}

@keyframes floatUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Adjustments */
@media (max-width: 767px) {
  .about-history {
    padding: 80px 0;
  }
  .about-history .history-content {
    padding: 40px 24px;
  }
  .about-history h2 {
    font-size: 1.7rem;
  }
}

/* =====================================
   OUR TEAM — Cinematic Edition
   ===================================== */
.team-section {
  position: relative;
  padding: 120px 0;
  background: linear-gradient(135deg, #fff, #f9f9f9);
  overflow: hidden;
}

/* soft gradient aura for depth */
.team-section::before {
  content: "";
  position: absolute;
  top: -100px;
  left: -120px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(243, 146, 0, 0.25), transparent 70%);
  filter: blur(90px);
  z-index: 0;
}

.section-head {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  z-index: 2;
}
.section-head h2 {
  font-size: 2.4rem;
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  color: #f39200;
}
.section-head p {
  font-size: 1.05rem;
  color: #666;
}

/* ===== TEAM GRID ===== */
.team-grid {
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 60px;
  position: relative;
  z-index: 2;
}

/* ===== TEAM CARD ===== */
.team-card {
  position: relative;
  width: 280px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 22px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 18px 40px rgba(17, 17, 17, 0.06);
  transform: translateY(0);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}
.team-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 28px 60px rgba(17, 17, 17, 0.1);
}

/* ===== IMAGE FRAME ===== */
.photo-frame {
  position: relative;
  width: 100%;
  height: 320px;
  overflow: hidden;
  border-bottom: 4px solid #f39200;
}
.photo-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0));
  z-index: 1;
}
.photo-frame img.service-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  transition: transform 1.2s ease;
}
.team-card:hover .photo-frame img.service-image {
  transform: scale(1.15);
}

/* ===== TEXT ===== */
.team-card h3 {
  margin-top: 18px;
  font-size: 1.1rem;
  color: #f39200;
  font-weight: 800;
}
.person-name {
  font-size: 1rem;
  font-weight: 700;
  color: #222;
  margin-top: 6px;
}
.person-quote {
  font-size: 0.9rem;
  font-style: italic;
  color: #555;
  margin: 10px auto 20px;
  max-width: 220px;
  line-height: 1.6;
}

/* ===== DECORATIVE LIGHT EFFECT ===== */
.team-card::after {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(243, 146, 0, 0.3), transparent 70%);
  filter: blur(50px);
  transition: opacity 0.4s ease;
  opacity: 0;
}
.team-card:hover::after {
  opacity: 1;
}

/* ===== ENTRANCE ANIMATION ===== */
.team-card {
  opacity: 0;
  transform: translateY(40px);
  animation: teamFadeUp 1s ease forwards;
}
.team-card:nth-child(2) {
  animation-delay: 0.3s;
}

@keyframes teamFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1023px) {
  .team-grid {
    gap: 40px;
  }
  .photo-frame {
    height: 280px;
  }
}
@media (max-width: 767px) {
  .team-section {
    padding: 80px 0;
  }
  .team-card {
    width: 100%;
    max-width: 320px;
  }
}

/* =====================================
   OUR CORE VALUES — Floating Bubble Design (Fixed)
   ===================================== */
.core-values {
  position: relative;
  padding: 100px 0;
  background: radial-gradient(circle at 20% 20%, #fff9f2, #ffffff 70%);
  overflow: hidden;
}

.values-header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  z-index: 2;
}

.values-header h2 {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 2.4rem;
  color: #f39200;
}
.values-header p {
  color: #444;
  font-size: 1.05rem;
  margin-top: 10px;
}

/* Layout container */
.values-bubbles {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 30px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

/* Bubble cards */
.bubble {
  background: #fff;
  border-radius: 24px; /* fixed radius instead of 50% */
  width: 200px;
  height: 200px;
  text-align: center;
  box-shadow: 0 10px 35px rgba(17, 17, 17, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  position: relative;
  transition: all 0.4s ease;
  overflow: hidden;
}

.bubble::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    circle at top left,
    rgba(243, 146, 0, 0.12),
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
}

.bubble:hover::before {
  opacity: 1;
}

.bubble:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 15px 45px rgba(243, 146, 0, 0.2);
}

/* Icons */
.bubble .icon {
  font-size: 2rem;
  color: #f39200;
  margin-bottom: 12px;
}

/* Text */
.bubble h4 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #222;
  margin-bottom: 4px;
}
.bubble p {
  font-size: 0.9rem;
  color: #666;
  margin-top: 2px;
  line-height: 1.4;
}

/* Subtle float animation */
@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}
.bubble:nth-child(odd) {
  animation: floaty 6s ease-in-out infinite;
}
.bubble:nth-child(even) {
  animation: floaty 8s ease-in-out infinite reverse;
}

/* Background glow */
.core-values::after {
  content: "";
  position: absolute;
  top: 40%;
  left: 50%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(243, 146, 0, 0.08), transparent 70%);
  transform: translate(-50%, -50%);
  z-index: 0;
  filter: blur(70px);
}

/* Responsive */
@media (max-width: 1023px) {
  .core-values {
    padding: 80px 0;
  }
  .bubble {
    width: 180px;
    height: 180px;
  }
}

@media (max-width: 767px) {
  .core-values {
    padding: 70px 0;
  }
  .values-bubbles {
    gap: 20px;
  }
  .bubble {
    width: 150px;
    height: 150px;
    padding: 18px;
  }
  .bubble h4 {
    font-size: 1rem;
  }
  .bubble p {
    font-size: 0.85rem;
  }
}

/* =====================================
   OUR TEAM CULTURE (REIMAGINED)
   ===================================== */
.culture-section {
  position: relative;
  padding: 120px 0;
  background: linear-gradient(135deg, #fff, #f9f9f9);
  overflow: hidden;
}

.culture-section::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -150px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(243, 146, 0, 0.25), transparent 70%);
  filter: blur(90px);
  z-index: 0;
}

.culture-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

/* ===== TEXT SIDE ===== */
.culture-text {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(17, 17, 17, 0.06);
  transform: translateY(0);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.culture-text:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 50px rgba(17, 17, 17, 0.08);
}

.culture-text p {
  color: #333;
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 18px;
}

.culture-text ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.culture-text li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  font-size: 1rem;
  color: #444;
}
.culture-text li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 10px;
  height: 10px;
  background: linear-gradient(135deg, #f39200, #ffb347);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(243, 146, 0, 0.4);
}

/* ===== IMAGE SIDE ===== */
.culture-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.culture-visual::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(243, 146, 0, 0.2), transparent 80%);
  top: 0;
  left: 0;
  z-index: 1;
}

.culture-visual img.service-image {
  width: 100%;
  max-width: 460px;
  height: 360px;
  border-radius: 22px;
  object-fit: cover;
  box-shadow: 0 20px 50px rgba(17, 17, 17, 0.08);
  transform: scale(1) translateY(0);
  transition: transform 1.2s ease, box-shadow 0.6s ease;
  animation: fadeZoomIn 1.4s ease both;
}
.culture-visual img.service-image:hover {
  transform: scale(1.05) translateY(-8px);
  box-shadow: 0 28px 60px rgba(17, 17, 17, 0.1);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeZoomIn {
  0% {
    opacity: 0;
    transform: scale(1.05) translateY(30px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1023px) {
  .culture-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .culture-text {
    order: 2;
  }
  .culture-visual img.service-image {
    max-width: 90%;
    height: auto;
  }
  .culture-section {
    padding: 80px 0;
  }
}

@media (max-width: 767px) {
  .culture-section {
    padding: 60px 0;
  }
  .culture-text {
    padding: 28px 22px;
  }
  .culture-visual img.service-image {
    max-width: 100%;
    height: auto;
  }
}

/* =====================================
   HOW WE WORK (REIMAGINED)
   ===================================== */
.process-section {
  position: relative;
  padding: 100px 0;
  background: linear-gradient(135deg, #fff, #f9f9f9);
  overflow: hidden;
}

.process-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(243, 146, 0, 0.2),
    rgba(243, 146, 0, 0)
  );
  border-radius: 3px;
  z-index: 0;
}

.process-section .section-head {
  text-align: center;
  margin-bottom: 60px;
}

.process-section .section-head h2 {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 2.3rem;
  color: #f39200;
  position: relative;
}
.process-section .section-head h2::after {
  content: "";
  width: 60px;
  height: 4px;
  background: #f39200;
  display: block;
  margin: 12px auto 0;
  border-radius: 2px;
}
.process-list {
  counter-reset: step;
}

.process-list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 700px;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.process-list li {
  position: relative;
  padding-left: 70px;
  color: #222;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.8;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border-radius: 14px;
  padding: 28px 28px 28px 80px;
  box-shadow: 0 12px 40px rgba(17, 17, 17, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.process-list li:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 45px rgba(17, 17, 17, 0.08);
}

.process-list li::before {
  content: counter(step);
  counter-increment: step;
  position: absolute;
  left: 22px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #f39200, #ffb84d);
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(243, 146, 0, 0.4);
}

.process-list li strong {
  color: #f39200;
}

.process-section p.muted {
  text-align: center;
  margin-top: 60px;
  color: #777;
  font-size: 1rem;
  line-height: 1.7;
}

/* subtle floating effect */
@keyframes fadeUpProcess {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.process-list li {
  animation: fadeUpProcess 0.8s ease both;
}
.process-list li:nth-child(1) {
  animation-delay: 0.1s;
}
.process-list li:nth-child(2) {
  animation-delay: 0.2s;
}
.process-list li:nth-child(3) {
  animation-delay: 0.3s;
}
.process-list li:nth-child(4) {
  animation-delay: 0.4s;
}
.process-list li:nth-child(5) {
  animation-delay: 0.5s;
}
.process-list li:nth-child(6) {
  animation-delay: 0.6s;
}

/* =====================================
   RESPONSIVE
   ===================================== */
@media (max-width: 767px) {
  .process-section {
    padding: 70px 0;
  }
  .process-section::before {
    left: 24px;
    width: 3px;
  }
  .process-list {
    gap: 30px;
    padding-left: 20px;
  }
  .process-list li {
    padding: 22px 18px 22px 70px;
  }
  .process-list li::before {
    left: 10px;
    width: 36px;
    height: 36px;
    font-size: 0.95rem;
  }
  .process-section p.muted {
    margin-top: 40px;
    font-size: 0.95rem;
  }
}

/* ============= OUR PROMISE SECTION ============= */
.promise-section {
  background: linear-gradient(180deg, #fff, #fafafa);
  padding: 100px 0;
  text-align: center;
  overflow: hidden;
}

.promise-header {
  margin-bottom: 50px;
}

.promise-header h2 {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 2.3rem;
  color: var(--accent);
  margin-bottom: 10px;
}

.promise-header .subtitle {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Grid layout */
.promise-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 28px;
  justify-items: center;
}

.promise-card {
  background: #fff;
  border-radius: 16px;
  padding: 30px 20px;
  box-shadow: 0 15px 35px rgba(17, 17, 17, 0.05);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.promise-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle at center,
    rgba(243, 146, 0, 0.15) 0%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.promise-card:hover::before {
  opacity: 1;
}

.promise-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(17, 17, 17, 0.1);
}

/* Icon styling */
.icon-box {
  width: 70px;
  height: 70px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f39200, #ffb84d);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 14px rgba(243, 146, 0, 0.25);
}

.icon-box i {
  font-size: 26px;
  color: #fff;
}

.promise-card h4 {
  color: var(--accent);
  font-size: 1.1rem;
  margin-bottom: 8px;
  font-weight: 700;
}

.promise-card p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* Floating subtle motion */
@keyframes floatCard {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
}

.promise-card:nth-child(odd) {
  animation: floatCard 6s ease-in-out infinite;
}
.promise-card:nth-child(even) {
  animation: floatCard 6s ease-in-out 2s infinite;
}

/* Responsive */
@media (max-width: 1023px) {
  .promise-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 767px) {
  .promise-grid {
    grid-template-columns: 1fr;
  }
  .promise-section {
    padding: 70px 0;
  }
}

/* ============= FINAL WORD SECTION ============= */
.final-word {
  position: relative;
  background: linear-gradient(135deg, #fff8f2 0%, #ffffff 70%);
  text-align: center;
  padding: 120px 20px;
  overflow: hidden;
}

.final-inner {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* glowing accent line above & below */
.glow-bar {
  width: 120px;
  height: 4px;
  background: linear-gradient(90deg, #f39200, #ffba42);
  border-radius: 4px;
  margin: 0 auto 24px;
  box-shadow: 0 0 18px rgba(243, 146, 0, 0.6);
  animation: glowPulse 3s infinite ease-in-out;
}

.glow-bar.bottom {
  margin-top: 24px;
  margin-bottom: 0;
}

/* title */
.final-title {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 2.6rem;
  color: var(--accent);
  margin-bottom: 18px;
  letter-spacing: -0.5px;
  animation: fadeSlideDown 1s ease both;
}

/* text */
.final-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text);
  animation: fadeSlideUp 1s ease 0.2s both;
}

/* background motion bubbles */
.final-word::before,
.final-word::after {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(243, 146, 0, 0.15), transparent 70%);
  filter: blur(60px);
  animation: floatBg 10s ease-in-out infinite alternate;
  z-index: 1;
}
.final-word::before {
  top: -100px;
  left: -100px;
}
.final-word::after {
  bottom: -120px;
  right: -100px;
  animation-delay: 4s;
}

/* Animations */
@keyframes glowPulse {
  0%,
  100% {
    opacity: 0.8;
    box-shadow: 0 0 18px rgba(243, 146, 0, 0.6);
  }
  50% {
    opacity: 1;
    box-shadow: 0 0 30px rgba(243, 146, 0, 0.9);
  }
}

@keyframes fadeSlideDown {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeSlideUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes floatBg {
  0% {
    transform: translateY(0) scale(1);
  }
  100% {
    transform: translateY(-40px) scale(1.1);
  }
}

/* Responsive */
@media (max-width: 767px) {
  .final-title {
    font-size: 1.8rem;
  }
  .final-text {
    font-size: 1rem;
  }
  .glow-bar {
    width: 90px;
  }
}

/* =====================================
   ANIMATIONS
   ===================================== */
@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =====================================
   RESPONSIVE
   ===================================== */
@media (max-width: 1024px) {
  .about-history .history-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 40px 24px;
  }
  .culture-grid {
    grid-template-columns: 1fr;
  }
  .team-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  section {
    padding: 50px 0;
  }
  .team-card {
    max-width: 90%;
  }
  .photo-frame {
    width: 180px;
    height: 180px;
  }
  .culture-visual {
    height: 260px;
  }
  .values-grid {
    grid-template-columns: 1fr;
  }
}

/* =====================================
   OUR TEAM — Wave Portrait Edition
   ===================================== */
.wave-team {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 60px;
  padding: 100px 0;
  background: linear-gradient(135deg, #fff, #f9f9f9);
}

.wave-card {
  position: relative;
  text-align: center;
  animation: gentleWave 1s ease-in-out infinite alternate;
  transform-origin: center -40px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.wave-card:hover {
  animation-play-state: paused;
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(17, 17, 17, 0.08);
  cursor: pointer;
}

/* image frame */
.wave-card img {
  width: 230px;
  height: 280px;
  border: 5px solid #fff;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(17, 17, 17, 0.08);
  background: #fff;
}

/* label text under each image */
.wave-card figcaption {
  margin-top: 12px;
  color: #222;
  font-family: "Montserrat", sans-serif;
}

.wave-card h3 {
  color: #f39200;
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.wave-card .person-name {
  font-weight: 700;
  font-size: 1rem;
}

.wave-card q {
  display: block;
  font-style: italic;
  color: #666;
  margin-top: 6px;
  font-size: 0.9rem;
  line-height: 1.4;
}

/* subtle wave motion */
@keyframes gentleWave {
  0% {
    transform: rotate(4deg);
  }
  100% {
    transform: rotate(-4deg);
  }
}

/* decorative pin like a hanging frame */
.wave-card::before {
  content: "";
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 48px;
  background-image: url("https://cdn.hashnode.com/res/hashnode/image/upload/v1602040503586/FW6g79WBY.png");
  background-size: 20px 20px;
  background-repeat: no-repeat;
  z-index: 2;
  opacity: 0.6;
}
.wave-card::after {
  content: "";
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%) rotate(35deg);
  width: 20px;
  height: 20px;
  border: 1.5px solid #f39200;
  border-bottom: none;
  border-right: none;
  border-radius: 3px;
}

/* responsive */
@media (max-width: 767px) {
  .wave-team {
    gap: 40px;
    padding: 60px 0;
  }
  .wave-card img {
    width: 180px;
    height: 220px;
  }
}
/* --- Fix Team Culture image layout for 1024px and up --- */
@media (min-width: 1024px) {
  .culture-grid {
    display: grid;
    grid-template-columns: 1fr 420px; /* keep text + image split */
    align-items: center; /* vertically center both sides */
    gap: 60px;
  }

  .culture-visual {
    display: flex;
    justify-content: center; /* center horizontally */
    align-items: center; /* center vertically */
    height: 100%; /* use available space */
  }

  .culture-visual img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 16px;
    object-fit: cover;
    object-position: center; /* perfect image centering */
    box-shadow: 0 12px 40px rgba(17, 17, 17, 0.08);
    transition: transform 0.4s ease;
  }

  .culture-visual img:hover {
    transform: scale(1.03);
  }
}
