
/* 6) HERO SECTION */
#hero {
  background: var(--black);
  padding: 6rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 50%, rgba(16, 9, 97, 0.08) 0%, transparent 50%),
              radial-gradient(circle at 70% 50%, rgba(16, 9, 97, 0.05) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

#hero .hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  max-width: 900px;
  margin: 0 auto 2.5rem;
  position: relative;
  z-index: 1;
  background: linear-gradient(135deg, #ffffff 0%, #b0b0b0 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeInUp 0.8s ease-out, gradientShift 3s ease infinite;
}

#hero .hero-ctas {
  display: inline-flex;
  gap: 1.5rem;
  margin-bottom: 4rem;
  align-self: center;
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
  justify-content: center;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes gradientShift {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

/* Hero marquee */
.hero-carousel {
  height: 400px;
  overflow: hidden;
  margin-top: 3rem;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-carousel .carousel-track {
  display: flex;
  will-change: transform;
}

.hero-carousel .carousel-item {
  flex: 0 0 auto;
  margin: 0 1.5rem;
  filter: grayscale(100%) brightness(0.7);
  transform: scale(0.85);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.hero-carousel .carousel-item.active {
  filter: none;
  transform: scale(1.05);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.hero-carousel .carousel-item img {
  width: 500px;
  height: 300px;
  object-fit: cover;
  display: block;
}

/* ---------- Hero Responsive ---------- */

/* Tablet & small desktops */
@media (max-width: 1024px) {
  #hero {
    padding: 4rem 1rem;
  }
  #hero .hero-title {
    font-size: 2.5rem;
    max-width: 90%;
  }
  #hero .hero-ctas {
    margin-bottom: 2.5rem;
  }
  .hero-carousel {
    height: 300px;
  }
  .hero-carousel .carousel-item img {
    width: 400px;
    height: 240px;
  }
}

/* Tablets & landscape phones */
@media (max-width: 768px) {
  #hero {
    padding: 3rem 1rem;
  }
  #hero .hero-title {
    font-size: 2.4rem;
    max-width: 95%;
  }
  /* Stack CTAs vertically */
  #hero .hero-ctas {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
    width: 80%;         /* full container width */
    align-self: center;  /* center container in the flex-column #hero */
  }
  #hero .hero-ctas .btn {
    width: 100%;         /* full width of its parent */
    max-width: none;
    padding: 0.5rem 1.5rem;
    justify-content: center;
  }
  .hero-carousel {
    height: 250px;
  }
  .hero-carousel .carousel-item {
    margin: 0 0.75rem;
  }
  .hero-carousel .carousel-item img {
    width: 300px;
    height: 180px;
  }
}

/* Small phones */
@media (max-width: 480px) {
  #hero {
    padding: 2rem 0.5rem;
    min-height: 700px;
  }
  #hero .hero-title {
    font-size: 2rem;
    line-height: 1.3;
    max-width: 100%;
  }
  /* Full-width CTAs on mobile */
  #hero .hero-ctas {
    /* already 100% width and column; no side margins */
    gap: 0.5rem;
    margin-bottom: 1.5rem;
  }
  #hero .hero-ctas .btn {
    width: 100%;
    max-width: none;
    padding: 0.4rem 1rem;
    justify-content: center;
  }
  .hero-carousel {
    height: 200px;
  }
  .hero-carousel .carousel-item {
    margin: 0 0.5rem;
  }
  .hero-carousel .carousel-item img {
    width: 90vw;    /* almost full screen */
    height: 160px;
  }
}




























/* 7) RECENT PROJECTS */

/* ---------- Recent Projects Section Background + Overlay ---------- */
#recent-projects {
  position: relative;
  padding: 5rem 1rem;          /* keep your existing padding */
  min-height: 800px;  
  display: flex;               /* make the section a flex container */
  flex-direction: column;      /* stack its single child (.container) */
  justify-content: center;     /* vertically center the container */
  overflow: hidden;            /* hide blurred edges */
}

/* Blurred background image */
#recent-projects::after {
  content: '';
  position: absolute;
  inset: -20px;                /* extend so blur doesn't show hard edges */
  background: url('/images/office.jpg') center/cover no-repeat;
  filter: blur(6px);
  z-index: 0;
}

#recent-projects::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);   /* dark overlay */
  z-index: 1;
}

/* Ensure inner content sits above the overlay */
#recent-projects .container {
  position: relative;
  z-index: 1;
  margin: 0 auto;
  max-width: 100%;
  padding: 0 2rem;
  box-sizing: border-box;
  width: 100%;
  overflow: visible;
}
#recent-projects h2 {
  color: var(--white);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  background: linear-gradient(135deg, #ffffff 0%, #b0b0b0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
#recent-projects .btn-outline {
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
}
#recent-projects .section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  margin-left: calc(64px + 1rem); /* Nav button width + carousel window margin */
  margin-right: calc(64px + 1rem); /* Nav button width + carousel window margin */
  padding: 0 1rem; /* Additional padding to match carousel window */
}

#recent-projects .carousel-wrapper {
  margin-top: 4rem;
  position: relative;
  padding: 2rem 0;
}

/* Title */
#recent-projects .section-header h2 {
  font-size: 2rem;
  color: var(--white);
  margin: 0;
}

/* "All projects" button/link */
#recent-projects .section-header .btn-outline {
  margin: 0;
  padding: 0.9rem 2.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#recent-projects .section-header .btn-outline:hover {
  background: linear-gradient(135deg, #100961 0%, #2d2da3 100%);
  border-color: rgba(16, 9, 97, 0.5);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

/* ----------------------------
   Recent Projects Carousel CSS
   ---------------------------- */

/* 7) RECENT PROJECTS CAROUSEL */

/* 1) Wrapper: flex-center window + arrows */
.carousel-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-top: 2rem;
  padding: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: visible;
}

/* 2) Window: fixed to 3 cards + 2 gaps */
.carousel-window {
  flex: 1 1 auto;
  overflow: hidden;
  max-width: calc(3 * 28rem + 2 * 2rem + 4rem); /* 3 cards + 2 gaps + side padding */
  min-width: 0;
  border-radius: 1rem;
  position: relative;
  margin: 0 1rem;
  box-sizing: border-box;
}

/* 3) Track: horizontal flex row, JS still handles centering */
#recent-projects .carousel-track {
  display: flex !important;
  align-items: center;
  gap: 2rem;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
  padding: 1rem 2rem; /* Side padding to show full cards */
}

/* 4) Nav buttons: elegant circular buttons */
.carousel-nav {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  padding: 0;
  cursor: pointer;
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 10;
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.carousel-nav::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, #100961 0%, #2d2da3 100%);
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
}

.carousel-nav:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(16, 9, 97, 0.6);
  transform: scale(1.15);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4);
}

.carousel-nav:hover::before {
  opacity: 0.2;
}

.carousel-nav:active {
  transform: scale(1.05);
}

.carousel-nav img {
  display: block;
  width: 28px;
  height: 28px;
  filter: brightness(0) invert(1);
  flex-shrink: 0;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 1;
}

.carousel-nav.left:hover img {
  transform: translateX(-2px);
}

.carousel-nav.right:hover img {
  transform: translateX(2px);
}

/* 5) Cards: elegant card design */
.carousel-card {
  flex: 0 0 auto;
  width: 28rem;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.25rem;
  overflow: hidden;
  transform: scale(0.9);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0;
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.carousel-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #100961 0%, #2d2da3 100%);
  transform: scaleX(0);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

.carousel-card:hover::before,
.carousel-card.active::before {
  transform: scaleX(1);
}

.carousel-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  transform: scale(0.95) translateY(-8px);
}

.carousel-card.active {
  transform: scale(1);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
  z-index: 2;
}

/* 6) Card content */
.carousel-card img {
  width: 100%;
  height: 16rem;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  display: block;
}

.carousel-card:hover img {
  transform: scale(1.05);
}

.carousel-card.active img {
  transform: scale(1.02);
}

.carousel-card-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.carousel-card h3 {
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
}

.carousel-card p {
  color: #b0b0b0;
  font-size: 1rem;
  margin: 0;
  line-height: 1.5;
}

.carousel-card a {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 600;
  margin-top: 0.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  width: fit-content;
}

.carousel-card a::after {
  content: '→';
  transition: transform 0.3s ease;
  display: inline-block;
}

.carousel-card a:hover {
  color: #100961;
  transform: translateX(4px);
}

.carousel-card a:hover::after {
  transform: translateX(4px);
}
/* ----------------------------
   Recent Projects Section
   ---------------------------- */

/* Base styles already defined above... */

/* ===== Responsive Overrides ===== */

/* Large Desktops (≤1400px) */
@media (max-width: 1400px) {
  #recent-projects .container {
    padding: 0 1.5rem;
    max-width: 100%;
    overflow: visible;
  }

  .carousel-wrapper {
    padding: 0 1rem;
    max-width: 100%;
  }

  .carousel-window {
    max-width: calc(3 * 26rem + 2 * 1.5rem + 4rem);
    margin: 0 1rem;
  }

  .carousel-card {
    width: 26rem;
  }

  #recent-projects .carousel-track {
    padding: 1rem 2rem;
  }

  #recent-projects .section-header {
    margin-left: calc(64px + 1rem);
    margin-right: calc(64px + 1rem);
    padding: 0 1rem;
  }
}

/* Large Tablets & Small Desktops (≤1200px) */
@media (max-width: 1200px) {
  #recent-projects .container {
    padding: 0 1.25rem;
    max-width: 100%;
  }

  .carousel-wrapper {
    padding: 0 1rem;
    max-width: 100%;
  }

  .carousel-window {
    max-width: calc(3 * 24rem + 2 * 1.5rem + 3rem);
    margin: 0 0.75rem;
  }

  .carousel-card {
    width: 24rem;
  }

  .carousel-card img {
    height: 14rem;
  }

  .carousel-nav {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
  }

  .carousel-nav img {
    width: 24px;
    height: 24px;
  }

  #recent-projects .carousel-track {
    padding: 1rem 1.5rem;
    gap: 1.5rem;
  }
}

/* Tablet & Small Desktops (≤1024px) */
@media (max-width: 1024px) {
  /* Container inset */
  #recent-projects .container {
    margin: 0 auto;
    padding: 0 1rem;
    max-width: 100%;
    overflow: visible;
  }

  .carousel-wrapper {
    padding: 0 1rem;
    max-width: 100%;
  }

  /* Window & nav spacing */
  .carousel-window {
    max-width: calc(2 * 22rem + 1 * 1.5rem + 3rem);
    margin: 0 0.75rem;
  }

  .carousel-nav {
    display: flex;
    width: 52px;
    height: 52px;
    flex-shrink: 0;
  }

  .carousel-nav img {
    width: 22px;
    height: 22px;
  }

  /* Card size */
  .carousel-card {
    width: 22rem;
  }

  .carousel-card img {
    height: 13rem;
  }

  .carousel-card-content {
    padding: 1.75rem;
  }

  .carousel-card h3 {
    font-size: 1.35rem;
  }

  .carousel-card p {
    font-size: 0.95rem;
  }

  #recent-projects .carousel-track {
    padding: 1rem 1.5rem;
    gap: 1.5rem;
  }
}

/* Tablets & Landscape Phones (≤768px) */
@media (max-width: 768px) {
  /* Container inset */
  #recent-projects {
    padding: 4rem 1rem;
    overflow-x: hidden;
  }

  #recent-projects .container {
    margin: 0;
    padding: 0 0.75rem;
    overflow: visible;
    max-width: 100%;
  }

  .carousel-wrapper {
    padding: 0;
    margin: 0;
  }

  #recent-projects .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 3rem;
    margin-left: calc(52px + 0.75rem); /* Nav button width + carousel window margin */
    margin-right: calc(52px + 0.75rem);
    padding: 0 1rem;
  }

  /* Carousel wrapper */
  .carousel-wrapper {
    flex-direction: row;
    gap: 0.75rem;
    align-items: center;
    padding: 1rem 0;
    width: 100%;
    max-width: 100%;
  }

  /* Navigation buttons */
  .carousel-nav {
    display: flex;
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    z-index: 10;
  }

  .carousel-nav img {
    width: 22px;
    height: 22px;
  }

  /* Window fills available width */
  .carousel-window {
    max-width: calc(100% - 120px);
    flex: 1;
    min-width: 0;
    margin: 0 0.5rem;
    overflow: visible;
  }

  /* Track spacing - increased padding to show full cards */
  #recent-projects .carousel-track {
    gap: 1.5rem;
    padding: 1rem 2rem;
  }

  /* Card size - show 1.5 cards */
  .carousel-card {
    width: 20rem;
    min-width: 20rem;
    flex-shrink: 0;
  }

  .carousel-card img {
    height: 12rem;
  }

  .carousel-card-content {
    padding: 1.5rem;
    gap: 0.75rem;
  }

  .carousel-card h3 {
    font-size: 1.25rem;
  }

  .carousel-card p {
    font-size: 0.9rem;
  }

  .carousel-card a {
    font-size: 0.9rem;
  }
}

/* Small Phones (≤480px) */
@media (max-width: 480px) {
  body,
  html {
    overflow-x: hidden;
  }

  #recent-projects {
    overflow-x: hidden;
    padding: 3rem 0.5rem;
    min-height: auto;
  }

  /* Container inset */
  #recent-projects .container {
    margin: 0;
    padding: 0 0.5rem;
    overflow: visible;
    max-width: 100%;
  }

  .carousel-wrapper {
    padding: 0;
    margin: 0;
  }

  #recent-projects .section-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
    margin-bottom: 2rem;
    margin-left: calc(48px + 0.75rem);
    margin-right: calc(48px + 0.75rem);
    padding: 0 0.5rem;
  }

  #recent-projects .section-header h2 {
    font-size: 1.75rem;
  }

  #recent-projects .section-header .btn-outline {
    width: 100%;
    padding: 0.75rem 1.5rem;
    text-align: center;
  }

  /* Carousel wrapper */
  .carousel-wrapper {
    flex-direction: row;
    gap: 0.5rem;
    padding: 0.5rem 0;
    position: relative;
    width: 100%;
    max-width: 100%;
  }

  /* Navigation buttons - smaller and visible */
  .carousel-nav {
    display: flex;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    position: relative;
    z-index: 10;
  }

  .carousel-nav img {
    width: 20px;
    height: 20px;
  }

  /* Window - ensure it doesn't overflow */
  .carousel-window {
    max-width: calc(100% - 110px);
    flex: 1;
    min-width: 0;
    margin: 0 0.25rem;
    overflow: visible;
  }

  /* Track spacing - increased padding to show full cards */
  #recent-projects .carousel-track {
    gap: 1rem;
    padding: 1rem 2rem;
  }

  /* Card size - adjusted to fit properly with all margins accounted for */
  .carousel-card {
    width: calc(100vw - 160px);
    min-width: calc(100vw - 160px);
    max-width: 280px;
    flex-shrink: 0;
  }

  .carousel-card img {
    height: 10rem;
  }

  .carousel-card-content {
    padding: 1.25rem;
    gap: 0.5rem;
  }

  .carousel-card h3 {
    font-size: 1.1rem;
  }

  .carousel-card p {
    font-size: 0.85rem;
  }

  .carousel-card a {
    font-size: 0.85rem;
    margin-top: 0.25rem;
  }
}

/* Extra Small Phones (≤360px) */
@media (max-width: 360px) {
  #recent-projects {
    padding: 3rem 0.25rem;
  }

  #recent-projects .container {
    margin: 0;
    padding: 0 0.25rem;
    overflow: visible;
    max-width: 100%;
  }

  .carousel-wrapper {
    padding: 0;
    margin: 0;
  }

  #recent-projects .section-header {
    margin-left: calc(44px + 0.5rem);
    margin-right: calc(44px + 0.5rem);
  }

  .carousel-nav {
    width: 44px;
    height: 44px;
  }

  .carousel-nav img {
    width: 18px;
    height: 18px;
  }

  .carousel-window {
    max-width: calc(100% - 100px);
    margin: 0 0.25rem;
    overflow: visible;
  }

  #recent-projects .carousel-track {
    padding: 1rem 1.25rem;
    gap: 0.75rem;
  }

  .carousel-card {
    width: calc(100vw - 120px);
    min-width: calc(100vw - 120px);
    max-width: 280px;
    flex-shrink: 0;
  }

  .carousel-card img {
    height: 9rem;
  }

  .carousel-card-content {
    padding: 1rem;
  }

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

  .carousel-card p {
    font-size: 0.8rem;
  }
}


































/* ===== Latest Project — Centered Two-Column ===== */
/* ===== LATEST PROJECT SECTION ===== */
#latest-project {
  position: relative;
  background: #000000;
  color: #ffffff;
  padding: 6rem 2rem;
  min-height: auto;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.latest-project-bg {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(16, 9, 97, 0.12) 0%, transparent 60%),
    radial-gradient(circle at 80% 50%, rgba(16, 9, 97, 0.08) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.latest-project-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(16, 9, 97, 0.1) 0%, transparent 70%);
  pointer-events: none;
  display: none; /* Remove middle glow */
}

/* Floating Background Shapes */
.floating-shape {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(16, 9, 97, 0.1) 0%, rgba(45, 45, 163, 0.05) 100%);
  pointer-events: none;
  z-index: 0;
  filter: blur(40px);
}

.shape-1 {
  width: 300px;
  height: 300px;
  top: 10%;
  left: 5%;
  animation: float1 20s ease-in-out infinite;
}

.shape-2 {
  width: 200px;
  height: 200px;
  bottom: 20%;
  right: 10%;
  animation: float2 25s ease-in-out infinite;
}

.shape-3 {
  display: none; /* Remove middle glow */
}

@keyframes float1 {
  0%, 100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.6;
  }
  33% {
    transform: translate(30px, -30px) scale(1.1);
    opacity: 0.8;
  }
  66% {
    transform: translate(-20px, 20px) scale(0.9);
    opacity: 0.5;
  }
}

@keyframes float2 {
  0%, 100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.5;
  }
  50% {
    transform: translate(-40px, 40px) scale(1.2);
    opacity: 0.7;
  }
}

@keyframes float3 {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
    opacity: 0.4;
  }
  50% {
    transform: translate(50px, -50px) rotate(180deg);
    opacity: 0.6;
  }
}

#latest-project .container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding: 0 4rem;
  box-sizing: border-box;
}

.latest-project-content {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 5rem;
  align-items: center;
}

/* ===== TEXT COLUMN ===== */
.latest-project-text {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Scroll-triggered animations */
[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

[data-animate].animated {
  opacity: 1;
  transform: translateY(0);
}

[data-animate="fade-up"] {
  transform: translateY(30px);
}

[data-animate="fade-left"] {
  transform: translateX(30px);
}

[data-animate].animated[data-animate="fade-left"] {
  transform: translateX(0);
}

.latest-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 1.25rem;
  background: rgba(16, 9, 97, 0.15);
  border: 1px solid rgba(16, 9, 97, 0.3);
  border-radius: 50px;
  width: fit-content;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #ffffff;
  backdrop-filter: blur(10px);
  letter-spacing: 1px;
  text-transform: uppercase;
  box-shadow: 0 2px 10px rgba(16, 9, 97, 0.2);
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: linear-gradient(135deg, #100961 0%, #2d2da3 100%);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.2);
  }
}

.latest-title {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin: 0;
  letter-spacing: -1px;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.title-word {
  display: inline-block;
  background: linear-gradient(135deg, #ffffff 0%, #b0b0b0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  animation: gradientShift 3s ease infinite, wordSlide 0.6s ease-out forwards;
  opacity: 0;
  transform: translateY(20px);
}

.title-word:nth-child(1) {
  animation-delay: 0.1s;
}

.title-word:nth-child(2) {
  animation-delay: 0.2s;
}

.title-word:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes wordSlide {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes gradientShift {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.latest-project-name {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  position: relative;
}

.project-name-text {
  position: relative;
  z-index: 1;
}

.name-underline {
  position: absolute;
  bottom: -8px;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, #100961 0%, #2d2da3 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
  max-width: 200px;
}

.latest-project-name:hover .name-underline,
.latest-project-name.animated .name-underline {
  transform: scaleX(1);
}

.latest-description {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: #b0b0b0;
  margin: 0;
  max-width: 30rem;
  font-weight: 400;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Stats Section */
.latest-stats {
  display: flex;
  gap: 2rem;
  margin: 1rem 0;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, #100961 0%, #2d2da3 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.stat-label {
  font-size: 0.75rem;
  color: #b0b0b0;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.latest-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 2rem;
  background: linear-gradient(135deg, #100961 0%, #2d2da3 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 0.625rem;
  font-weight: 600;
  font-size: 0.9375rem;
  width: fit-content;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(16, 9, 97, 0.3);
  box-shadow: 0 4px 20px rgba(16, 9, 97, 0.25);
  margin-top: 0.5rem;
  letter-spacing: 0.3px;
  position: relative;
  overflow: hidden;
}

.cta-arrow {
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: scale(0);
  animation: ripple 2s ease-out infinite;
  pointer-events: none;
}

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

.latest-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(16, 9, 97, 0.4);
  background: linear-gradient(135deg, #2d2da3 0%, #100961 100%);
}

.latest-cta:hover .cta-arrow {
  transform: translateX(4px);
}

.latest-cta:active {
  transform: translateY(0);
}

/* ===== IMAGE COLUMN ===== */
.latest-project-image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-wrapper {
  position: relative;
  border-radius: 1.25rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  max-width: 500px;
  width: 100%;
  aspect-ratio: 16 / 11;
}

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

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
  #latest-project .container {
    padding: 0 3rem;
  }

  .latest-project-content {
    gap: 4rem;
    grid-template-columns: 1fr 0.85fr;
  }

  .image-wrapper {
    max-width: 450px;
  }
}

@media (max-width: 1024px) {
  #latest-project {
    padding: 5rem 2rem;
    min-height: auto;
  }

  #latest-project .container {
    padding: 0 2rem;
  }

  .latest-project-content {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .latest-project-image {
    order: -1;
    justify-content: center;
  }

  .image-wrapper {
    max-width: 100%;
    aspect-ratio: 16 / 9;
  }

  .latest-description {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  #latest-project {
    padding: 4rem 1.5rem;
  }

  #latest-project .container {
    padding: 0 1.5rem;
  }

  .latest-project-content {
    gap: 3rem;
  }

  .latest-badge {
    font-size: 0.75rem;
    padding: 0.4rem 1rem;
  }

  .latest-description {
    font-size: 1rem;
  }

  .latest-cta {
    padding: 0.875rem 1.75rem;
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  #latest-project {
    padding: 3rem 1rem;
  }

  #latest-project .container {
    padding: 0 1rem;
  }

  .latest-project-content {
    gap: 2.5rem;
  }

  .image-wrapper {
    border-radius: 1rem;
  }
}



























/* 9) OUR PROCESS SECTION */
/* Our Process Section */
.our-process {
  position: relative;
  background: #000000;
  color: #ffffff;
  padding: 8rem 2rem;
  min-height: auto;
  overflow: hidden;
}

.process-bg {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 30% 20%, rgba(16, 9, 97, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(16, 9, 97, 0.08) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.process-shape {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(16, 9, 97, 0.08) 0%, rgba(45, 45, 163, 0.04) 100%);
  pointer-events: none;
  z-index: 0;
  filter: blur(60px);
}

.process-shape.shape-1 {
  width: 400px;
  height: 400px;
  top: -100px;
  left: -100px;
  animation: processFloat1 25s ease-in-out infinite;
}

.process-shape.shape-2 {
  width: 300px;
  height: 300px;
  bottom: -50px;
  right: -50px;
  animation: processFloat2 30s ease-in-out infinite;
}

@keyframes processFloat1 {
  0%, 100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.5;
  }
  50% {
    transform: translate(50px, 50px) scale(1.2);
    opacity: 0.7;
  }
}

@keyframes processFloat2 {
  0%, 100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.4;
  }
  50% {
    transform: translate(-60px, -60px) scale(1.3);
    opacity: 0.6;
  }
}

.our-process .container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding: 0 2rem;
  box-sizing: border-box;
}

/* Process Header */
.process-header {
  text-align: center;
  margin-bottom: 6rem;
}

.process-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 1.25rem;
  background: rgba(16, 9, 97, 0.15);
  border: 1px solid rgba(16, 9, 97, 0.3);
  border-radius: 50px;
  width: fit-content;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #ffffff;
  backdrop-filter: blur(10px);
  letter-spacing: 1px;
  text-transform: uppercase;
  box-shadow: 0 2px 10px rgba(16, 9, 97, 0.2);
  margin-bottom: 1.5rem;
}

.process-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 1rem 0;
  letter-spacing: -1px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.process-title .title-word {
  display: inline-block;
  background: linear-gradient(135deg, #ffffff 0%, #b0b0b0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  animation: gradientShift 3s ease infinite, wordSlide 0.6s ease-out forwards;
  opacity: 0;
  transform: translateY(20px);
}

.process-title .title-word:nth-child(1) {
  animation-delay: 0.1s;
}

.process-title .title-word:nth-child(2) {
  animation-delay: 0.2s;
}

.process-subtitle {
  font-size: 1.125rem;
  color: #b0b0b0;
  margin: 0;
  font-weight: 400;
}

/* Process Timeline */
.process-timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 0;
}

.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, rgba(16, 9, 97, 0.3) 0%, rgba(16, 9, 97, 0.6) 50%, rgba(16, 9, 97, 0.3) 100%);
  transform: translateX(-50%);
  z-index: 0;
}

.timeline-line::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 0;
  background: linear-gradient(180deg, #100961 0%, #2d2da3 100%);
  animation: timelineProgress 3s ease-out forwards;
}

@keyframes timelineProgress {
  to {
    height: 100%;
  }
}

/* Process Steps */
.process-step {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 6rem;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.process-step.animated {
  opacity: 1;
  transform: translateY(0);
}

.process-step:nth-child(odd) {
  flex-direction: row;
}

.process-step:nth-child(even) {
  flex-direction: row-reverse;
}

.process-step:last-child {
  margin-bottom: 0;
}

/* Step Marker */
.step-marker {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.marker-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(16, 9, 97, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.process-step:hover .marker-circle,
.process-step.active .marker-circle {
  background: rgba(16, 9, 97, 0.2);
  border-color: rgba(16, 9, 97, 0.6);
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(16, 9, 97, 0.4);
}

.marker-inner {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, #100961 0%, #2d2da3 100%);
  transition: all 0.4s ease;
}

.marker-pulse {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 2px solid rgba(16, 9, 97, 0.3);
  animation: markerPulse 2s ease-in-out infinite;
}

@keyframes markerPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.3);
    opacity: 0;
  }
}

.step-number {
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 2px;
  margin-top: 0.25rem;
}

/* Step Content */
.step-content {
  flex: 1;
  max-width: 45%;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.25rem;
  padding: 2.5rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.step-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #100961 0%, #2d2da3 100%);
  transform: scaleX(0);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.process-step:hover .step-content::before,
.process-step.active .step-content::before {
  transform: scaleX(1);
}

.process-step:hover .step-content,
.process-step.active .step-content {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(16, 9, 97, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(16, 9, 97, 0.2);
}

.step-icon {
  width: 48px;
  height: 48px;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, rgba(16, 9, 97, 0.2) 0%, rgba(45, 45, 163, 0.1) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: #ffffff;
  transition: all 0.4s ease;
}

.process-step:hover .step-icon,
.process-step.active .step-icon {
  background: linear-gradient(135deg, rgba(16, 9, 97, 0.4) 0%, rgba(45, 45, 163, 0.2) 100%);
  transform: scale(1.1) rotate(5deg);
}

.step-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 1rem 0;
  letter-spacing: -0.5px;
}

.step-description {
  font-size: 1rem;
  line-height: 1.7;
  color: #b0b0b0;
  margin: 0 0 1.5rem 0;
}

.step-details {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: #b0b0b0;
}

.detail-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(16, 9, 97, 0.3) 0%, rgba(45, 45, 163, 0.2) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: #ffffff;
  flex-shrink: 0;
}

/* Responsive Styles for Our Process */
@media (max-width: 1024px) {
  .our-process {
    padding: 6rem 1.5rem;
  }

  .our-process .container {
    padding: 0 1.5rem;
  }

  .process-timeline {
    max-width: 100%;
  }

  .process-step {
    flex-direction: row !important;
    margin-bottom: 4rem;
  }

  .step-content {
    max-width: calc(100% - 100px);
    margin-left: 80px;
  }

  .timeline-line {
    left: 40px;
  }

  .step-marker {
    left: 40px;
  }
}

@media (max-width: 768px) {
  .our-process {
    padding: 4rem 1rem;
  }

  .our-process .container {
    padding: 0 1rem;
  }

  .process-header {
    margin-bottom: 4rem;
  }

  .process-step {
    margin-bottom: 3rem;
  }

  .step-content {
    max-width: calc(100% - 80px);
    margin-left: 70px;
    padding: 2rem;
  }

  .step-title {
    font-size: 1.5rem;
  }

  .step-description {
    font-size: 0.9375rem;
  }

  .marker-circle {
    width: 50px;
    height: 50px;
  }

  .marker-inner {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 480px) {
  .our-process {
    padding: 3rem 1rem;
  }

  .process-header {
    margin-bottom: 3rem;
  }

  .process-title {
    font-size: 2rem;
  }

  .process-subtitle {
    font-size: 1rem;
  }

  .step-content {
    max-width: calc(100% - 70px);
    margin-left: 60px;
    padding: 1.5rem;
  }

  .step-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 1rem;
  }

  .step-icon svg {
    width: 24px;
    height: 24px;
  }

  .step-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
  }

  .step-description {
    font-size: 0.875rem;
    margin-bottom: 1rem;
  }

  .step-details {
    gap: 0.5rem;
  }

  .detail-item {
    font-size: 0.875rem;
  }

  .marker-circle {
    width: 44px;
    height: 44px;
  }

  .marker-inner {
    width: 18px;
    height: 18px;
  }

  .step-number {
    font-size: 0.625rem;
  }
}




































