/* ================= HERO CAROUSEL ================= */


/* ================= HERO VIDEO ================= */

.hero-video {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background-color: #000;
}

/* Videos */
.hero-video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Show desktop video by default */
.hero-video-desktop {
  display: block;
}

.hero-video-mobile {
  display: none;
}

/* Overlay gradient */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.55),
    rgba(0,0,0,0.15)
  );
  z-index: 1;
}

/* Hero content */
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  max-width: 50rem;
  margin: auto;
  padding-bottom: 0rem;
  top: 80%;
  transform: translateY(-50%);
}

.hero-content h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 3.8rem);
  line-height: 1.2;
  font-weight: 500;
  text-shadow: 0 0.6rem 1.6rem rgba(0,0,0,0.45);
}

.hero-content p {
  margin: 1.2rem 0 2rem;
  font-size: 1.05rem;
  color: #f2f2f2;
}

/* ================= MOBILE ================= */

@media (max-width: 768px) {

  /* Switch videos */
  .hero-video-desktop {
    display: none;
  }

  .hero-video-mobile {
    display: block;
  }

  .hero-content {
    padding: 0 1.2rem;
  }

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

  .hero-content p {
    font-size: 0.95rem;
  }
}



/* ================= HIGHLIGHT SECTION ================= */
.section-padding {
  padding: 3rem 0;
}

.highlight-section {
  background: var(--white);
}

/* ===== Row 1 ===== */
.highlight-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: flex-start;
}

.highlight-title h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  /* line-height: 1.1; */
  font-weight: 500;
} 

.highlight-content p {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 40rem;
}

.highlight-actions {
  margin-top: 2rem;
  display: flex;
  gap: 2rem;
  align-items: center;
}

.link-cta {
  text-decoration: none;
  font-size: 0.9rem;
  color: var(--text-dark);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}

.link-cta:hover {
  border-color: var(--text-dark);
}

/* ===== Row 2 ===== */
.highlight-images {
  display: grid;
  grid-template-columns: 35% 65%;
  gap: 2rem;
  margin-top: 5rem;
  padding: 0 5rem 0 5rem;
}

.highlight-image {
  overflow: hidden;
  border-radius: 0.5rem;
}

.highlight-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.highlight-image:hover img {
  transform: scale(1.1);
}

/* ===== Row 3 ===== */
.highlight-counters {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 3rem;
  margin-top: 5rem;
  text-align: center;
}

.counter-item h3 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3vw, 2.8rem);
  color: var(--text-dark);
  font-weight: 500;
}

.counter-item p {
  margin-top: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ===== Responsive ===== */
@media (max-width: 64rem) {
  .highlight-intro {
    grid-template-columns: 1fr;
  }
  .highlight-title h2
  {
    font-size: 1.8rem;
   
  }

  .highlight-images {
    grid-template-columns: 1fr;
    padding: 0 1rem 0 1rem;
  }

  .highlight-counters {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* GLOBAL FIX: Show all .animate elements by default (visible on page load)
   JavaScript can still add/remove .visible class for scroll animations if needed
   Carousel slides are exempted to preserve their fade-in behavior */
.animate {
  opacity: 1;
  transform: translateY(0);
}

/* Keep carousel slide animations as-is */
.carousel-slide .hero-content.animate {
  opacity: 0;
  transform: translateY(1.5rem);
}

/* ===========================
   Home About Section
=========================== */

.home-about-section {
  background: var(--white);
  padding: clamp(2rem, 4vw, 6rem) 0;
}

.home-about-container {
  width: min(90%, 1200px);
  margin: 0 auto;

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 4rem);
  align-items: center;
}

/* Image */
.home-about-image {
  overflow: hidden;
  
}

.home-about-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.home-about-image:hover img {
  transform: scale(1.1);
}

/* Content */
/* .home-about-subtitle {
  display: block;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7a746c;
  margin-bottom: 1rem;
} */

.home-about-subtitle {
    font-size: 16px;
    letter-spacing: 2px;
    color: #c4161c;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.home-about-subtitle::after {
    content: "";
    width: 60px;
    height: 1px;
    background: #c4161c;
    margin-left: 15px;
}

.home-about-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.0vw, 2.6rem);
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: #111;
}

.home-kpi-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 500;
  line-height: 1.2;
  margin: 4rem auto ;
  color: #111;
  text-align: center;
}

.home-about-description {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #555;
  margin-bottom: 1rem;
  max-width: 38rem;
}

/* Responsive */
@media (max-width: 768px) {
  .home-about-container {
    grid-template-columns: 1fr;
 
  }

 
  .home-kpi-title{
    font-size: 1.8rem;
    
  }
}

/* ================= OUR PROCESS (section-specific layout) ================= */
/* Center the two-column row and provide equal horizontal padding without
   affecting other grid rows/site-wide .container rules. */
.process-section .process-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  padding-inline: clamp(1.5rem, 6vw, 4rem);
  max-width: 12000px;
  margin-inline: auto; /* centers the row inside its parent */
  box-sizing: border-box;
}

/* Ensure images inside the process row scale correctly */
.process-section .process-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0.25rem;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.process-image {
  overflow: hidden;
}

.process-image:hover img {
  transform: scale(1.1);
}

@media (max-width: 64rem) {
  .process-section .process-row {
    grid-template-columns: 1fr;
    padding-inline: clamp(1rem, 4vw, 2rem);
  }
}

/* ===========================
   Who We Work With
=========================== */

.work-with-section {
  padding: clamp(2rem, 4vw, 6rem) 0;
  background: var(--white);
}

.work-with-container {
  width: min(90%, 1200px);
  margin: 0 auto;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 3rem;
}

/* Group */
.work-group {
  margin-bottom: 4rem;
}

.work-group-header {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}

.work-group-header h3 {
  font-size: 1.8rem;
  font-family: var(--font-heading);
  font-weight: 500;


}

.work-group-subtitle {
  font-size: 0.95rem;
  color: #666;
}

/* Slider */
.work-slider {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 1rem;
}

.work-slider::-webkit-scrollbar {
  display: none;
}

/* Grid */
.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1.5rem;
}

/* Card */
.work-card {
  flex: 0 0 calc(33.333% - 1rem);
  background: #f9f9f9;
  padding: 2rem;
  border-radius: 0.75rem;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.work-card i {
  font-size: 1.8rem;
  color: #c4161c;
  margin-bottom: 1rem;
}

.work-card h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.work-card p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #555;
}

.work-card:hover {
  transform: translateY(-0.4rem);
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.08);
}

/* Slider Controls */
.slider-controls {
  display: flex;
  gap: 0.5rem;
}

.slider-btn {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1px solid #ddd;
  background: transparent;
  cursor: pointer;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.slider-btn:hover {
  background: #c4161c;
  color: #fff;
  border-color: #c4161c;
}

/* Responsive */
@media (max-width: 768px) {
  .work-card {
    flex: 0 0 80%;
  }
}

/* ================= OUR PROCESS ================= */

.process-section {
  padding: clamp(4rem, 8vw) 0;
 background: var(--white);
}

/* Header */
.process-header {
  max-width: 48rem;
  margin: 0 auto 4rem;
  text-align: center;
}

.process-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-bottom: 1rem;
  font-family: var(--font-heading);
  font-weight: 500;
}

.process-header p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #555;
}

/* Row */
.process-row {
  display: grid;
  grid-template-columns: 45% 55%;
  gap: 2rem;
  align-items: center;
}

/* Image */
.process-image img {
  width: 100%;
  border-radius: 1rem;
  display: block;
  
}



/* Timeline */
.process-timeline {
  position: relative;
  padding-left: 2.5rem;
}

.process-timeline::before {
  content: "";
  position: absolute;
  left: 0.7rem;
  top: 0;
  bottom: 0;
  width: 1px;
  background: repeating-linear-gradient(
    to bottom,
    #ccc,
    #ccc 6px,
    transparent 6px,
    transparent 12px
  );
  height: 75%;
}

/* Steps */
.process-step {
  position: relative;
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  opacity: 0;
  transform: translateY(1.5rem);
  transition: all 0.8s ease;
}

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

.step-dot {
  width: 0.9rem;
  height: 0.9rem;
  background: #c4161c;
  border-radius: 50%;
  position: absolute;
  left: -2.2rem;
  top: 0.35rem;
}

.step-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #888;
}

.step-content h4 {
  font-size: 1rem;
  margin-top: 0.3rem;
  font-weight: 500;
}

/* Link */
.process-link {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #111;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}

.process-link:hover {
  border-color: #111;
}

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

  .process-image {
    margin-bottom: 2.5rem;
  }
  .process-header{
text-align: left;
  }
}

/* ================= HOME PROJECTS ================= */

/* ================= HOME PROJECTS ================= */

.home-projects {
  background: #f1f0eb;
  padding: 6rem 0;
  
}

/* Header */
.home-projects-header {
  text-align: center;
  margin-bottom: 3rem;
}

.home-projects-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 500;
}

/* Slider */
.home-projects-slider {
  position: relative;
  overflow: hidden;
}

.home-projects-track {
  display: flex;
  position: relative;
  transition: transform 0.8s cubic-bezier(.4,0,.2,1);
}

/* Card */
.home-project-card {
  position: absolute;
  inset: 0;
  width: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1s ease;
  background: #fff;
  
}
.home-project-card.active {
  opacity: 1;
  pointer-events: auto;
  position: relative;
}

/* Image */
.home-project-image {
  height: 100vh;
  overflow: hidden;
  
}

.home-project-image img {
  width: 100%;
  height: 100%;
  /* object-fit: contain;
  border-radius: 40px; */
  
}

/* Optional luxury zoom */
.home-project-card.active .home-project-image img {
  animation: subtleZoom 10s ease forwards;
}

@keyframes subtleZoom {
  from { transform: scale(1); }
  to   { transform: scale(1.06); }
}

/* Details */
.home-project-details {
  padding: 1rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 2.5rem;
  align-items: center;
}

.home-project-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.meta-item span {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
}

.meta-item p {
  font-size: 0.95rem;
  margin-top: 0.3rem;
}

/* Nav */
.home-project-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: rgba(0,0,0,0.55);
  color: #fff;
  border: none;
  cursor: pointer;
}

.home-project-nav.prev { left: 2rem; }
.home-project-nav.next { right: 2rem; }

.home-projects-cta{
  text-align: center;
  margin-top: 2rem;
}

/* ================= MOBILE ================= */

@media (max-width: 768px) {

  .home-project-image {
    height: auto;
    object-fit: cover;
    
  }
  .home-projects-header {
  text-align: left;
  
}

  .home-project-details {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 2rem 0;
  }

  .home-project-meta {
    grid-template-columns: repeat(2, 1fr);
  }

  .home-project-nav {
    display: none;
  }
}


/* ===== Home Press Event ===== */

/* ================= EVENTS SECTION ================= */
/* ================= EVENTS SECTION ================= */

.home-press-event {
  background: var(--white);
  padding: 3rem 0;
}

/* Header */
.home-press-event-header {
  text-align: center;
  margin-bottom: 3rem;
}

.home-press-event-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-family: var(--font-heading);
  font-weight: 500;
}

/* ================= EVENTS WRAPPER ================= */

.home-press-event-wrapper {
  max-width: 1400px;
  margin: auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

/* ================= EVENT CARD ================= */

.home-press-event-slide {
  width: 100%;
  height: 400px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  background: #000;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.home-press-event-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Hover animation (DESKTOP ONLY) */
@media (hover: hover) {
  .home-press-event-slide:hover {
    transform: scale(1.03);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
  }
}

/* Overlay */
.home-press-event-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.4rem;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  color: #fff;
}

.home-press-event-tag {
  background: #c80808;
  font-size: 0.65rem;
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 0.5rem;
}

.home-press-event-overlay h3 {
  font-size: 1.05rem;
  line-height: 1.4;
}

/* ================= TABLET ================= */

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

  .home-press-event-slide {
    height: 260px;
  }
}

/* ================= MOBILE ================= */

@media (max-width: 768px) {

  .home-press-event-header {
    text-align: left;
    padding: 0 1rem;
  }

  .home-press-event-wrapper {
    grid-template-columns: 1fr;   /* 🔥 ONE PER ROW */
    padding: 0 1rem;
  }

  .home-press-event-slide {
    height: 320px;
    transform: none;   /* remove any transforms */
  }
}

/* ================= SMALL MOBILE ================= */

@media (max-width: 520px) {
  .home-press-event-slide {
    height: 300px;
  }
}


/* ===============================
   Trusted Developers Section
================================ */
.trusted-developers {
  background: var(--white);
  padding: 6rem 0;
  overflow: hidden;
}

.trusted-developers-container {
  max-width: 90%;
  margin: auto;
  text-align: center;
}

/* Title */
.trusted-developers-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-bottom: 3rem;
  font-weight: 500;
  color: #111;
}

/* Carousel */
.trusted-developers-carousel {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.trusted-developers-track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 5rem;
  animation: trustedScroll 30s linear infinite;
}

/* Pause on hover */
.trusted-developers-carousel:hover .trusted-developers-track {
  animation-play-state: paused;
}

.trusted-developers-carousel::before,
.trusted-developers-carousel::after {
  content: "";
  position: absolute;
  top: 0;
  width: 80px;
  height: 100%;
  z-index: 2;
}

.trusted-developers-carousel::before {
  left: 0;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.81), transparent);
}

.trusted-developers-carousel::after {
  right: 0;
  background: linear-gradient(to left, rgba(255, 255, 255, 0.81), transparent);
}


/* Logo */
.trusted-developers-logo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.trusted-developers-logo img {
  max-height: 4.5rem;
  width: auto;
  transition: all 0.4s ease;
}

/* Hover premium effect */
.trusted-developers-logo img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}

/* Animation */
@keyframes trustedScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ===============================
   Responsive
================================ */
@media (max-width: 768px) {
  .trusted-developers-track {
    gap: 2.5rem;
    animation-duration: 22s;
  }

  .trusted-developers-logo img {
    max-height: 4rem;
  }
  .trusted-developers-title{
    text-align: left;
  }
}

/* Footer CTA STRIP */
.cta-strip {
  background: #0f0f0f;
 padding: 4.0rem 4.0rem;
}

.cta-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 80px;
  align-items: center;
}

/* LEFT CONTENT */
.cta-content h2 {
  margin-bottom: 20px;
  color: #CfCfCf;
}

.cta-content p {
  max-width: 520px;
  margin-bottom: 30px;
  font-size: 18px;
  color: #CfCfCF;
}

/* SOCIAL ICONS */
.cta-socials {
  display: flex;
  gap: 18px;
  margin-bottom: 25px;
}

.cta-socials a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #111;
  color: #CfCfCF;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: all 0.3s ease;
}

.cta-socials a:hover {
  background: #000;
  color: #CfCfCF;
}

/* CONTACT INFO */
.cta-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: #CfCfCF;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-item a {
  font-size: 18px;
  text-decoration: none;
  color: #CfCfCF;
}

/* ICON STYLING */
.cta-socials i {
  font-size: 18px;
}

.contact-item i {
  font-size: 16px;
  color: #ffffff;
}

/* RIGHT FORM */
.cta-form-wrapper {
  background: #fff;
  padding: 40px;
  border-radius: 14px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.08);
}

/* GLOBAL FORM (Reusable Everywhere) */
.global-form h3 {
  margin-bottom: 25px;
  font-family: var(--font-heading);
  font-weight: 600;
}

.global-form .form-group {
  margin-bottom: 18px;
}

.global-form input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 15px;
  font-family: inherit;
}

.global-form input:focus {
  outline: none;
  border-color: #000;
}

.cta-button.full {
  width: 100%;
  margin-top: 10px;
  background: #d71920;
  color: #fff;
  padding: 14px 34px;
  border-radius: 30px;
  font-size: 16px;
  border: none;
  transition: background 0.3s ease;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .cta-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
}

@media (max-width: 768px) {
  .cta-strip{
    padding: 1.6rem 0.5rem;
  }
}

/* Floating Action Button */
.floating-actions {
  position: fixed;
  right: 20px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 1000;
}

/* Base FAB */
.floating-btn {
  position: relative;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff;
  font-size: 20px;
  text-decoration: none;
  overflow: visible;
}

/* Button colors */
.call-back-btn {
  background: #000000;
}

.whatsapp-btn {
  background: #25d366;
}

/* Hover label */
.fab-label {
  position: absolute;
  right: 64px;
  white-space: nowrap;
  background: #111;
  color: #fff;
  font-size: 13px;
  padding: 6px 10px;
  border-radius: 4px;
  opacity: 0;
  transform: translateX(8px);
  pointer-events: none;
  transition: all 0.25s ease;
}

/* Arrow */
.fab-label::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -5px;
  transform: translateY(-50%);
  border-width: 5px;
  border-style: solid;
  border-color: transparent transparent transparent #111;
}

/* Show on hover */
.floating-btn:hover .fab-label {
  opacity: 1;
  transform: translateX(0);
}


/* Mobile Optimization */
@media (max-width: 768px) {
  .floating-btn span {
    display: none;
  }

  .floating-btn {
    width: 52px;
    height: 52px;
    justify-content: center;
    border-radius: 50%;
    padding: 0;
  }

  .floating-btn i {
    font-size: 18px;
  }
}
