:root {
  --color-body: #fffbeb;
  --color-text: #132a37;
  --color-text-2: #a6b6bf;      
  --color-primary: #1f2937;    
  --color-secondary: #0d9488;
  --color-tertiary: #af906e;   
}

/* =========================
   Global Reset & Typography
   ========================= */

* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-body);
  margin: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ====================================
   Reusable Section Heading & Paragraph
   ==================================== */

.section-heading-block {
  margin: 2rem auto 4rem auto;
  max-width: 1000px;
  width: 100%;
  position: relative;

  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255);
  border-radius: 20px;

  padding: 1rem 1rem;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.section-title {
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--color-secondary);
  text-align: center;
  margin: 0 auto;
  position: relative;
  display: block;
  padding-bottom: 12px;
  letter-spacing: -0.5px;
  width: fit-content;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
}

.section-paragraph {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--color-text);
  max-width: 700px;
  margin: 15px auto 40px auto;
  text-align: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

/* =========================
   CTA BUTTON
   ========================= */
.black-btn {
  position: relative;
  display: inline-block;
  background: #1f2937;
  color: #fff;
  padding: 10px 22px;
  border-radius: 20px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
  overflow: hidden;
}

.black-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: rgba(255, 255, 255, 0.4);
  transform: skewX(-20deg);
  transition: left 0.7s ease, opacity 0.3s ease;
  opacity: 0;
}

.black-btn:hover::before {
  left: 125%;
  opacity: 1;
}

.black-btn:hover {
  background: #1f2937;
  transform: translateY(-2px);
}

@media (min-width: 1024px) {
  .black-btn {
    padding: 12px 28px;
    /* bigger button */
    font-size: 1rem;
    /* slightly larger text */
  }
}


/* =========================
   NavBar
   ========================= */
.navbar {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 75%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 25px;
  border-radius: 20px;

  /* Frosted Glass */
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.4);

  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  z-index: 1000;
}

/* ===== LOGO ===== */
.navbar .logo img {
  height: 55px; /* adjust as needed */
  width: auto;
}

/* ===== DESKTOP LINKS ===== */
.nav-links ul {
  display: flex;
  gap: 24px;
  list-style: none;
}

.nav-links a {
  position: relative;
  text-decoration: none;
  color: var(--color-text);
  padding: 8px 16px;
  border-radius: 12px;
  background: transparent;
  border: 1px solid transparent;
  transition: all 0.3s ease;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 500;
  letter-spacing: 0.3px;
}


.nav-links a:hover {
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 3px;
  border-radius: 50px;
  background: linear-gradient(90deg,
      rgba(249, 115, 22, 0) 0%,
      #f9ecec 25%,
      var(--color-secondary) 50%,
      var(--color-secondary) 75%,
      rgba(249, 116, 22, 0) 100%);
  opacity: 0;
  transition: all 0.3s ease;
}

.nav-links a:hover::after {
  animation: comet 0.8s forwards;
}

@keyframes comet {
  0% {
    width: 0;
    left: 0;
    opacity: 1;
  }

  50% {
    width: 100%;
    left: 0;
    opacity: 1;
  }

  100% {
    width: 10%;
    left: 100%;
    opacity: 0;
  }
}


/* ===== HAMBURGER ===== */
.hamburger {
  display: none;
  cursor: pointer;
  font-size: 1.6rem;
  color: var(--color-primary);
  transition: color 0.3s ease;
}

.hamburger:hover {
  color: var(--color-secondary);
}


/* ===== MOBILE MENU ===== */
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;

  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);

  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s ease;
  z-index: 999;
}

.mobile-menu.active {
  opacity: 1;
  max-height: 500px;
  padding: 16px 0;
}

/* Nav List Centering */
.mobile-menu nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  align-items: center;
}

/* Nav Links */
.mobile-menu nav a {
  display: block;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: 12px;
  transition: all 0.3s ease;
  text-align: center;
  width: 100%;
}

.mobile-menu nav a:hover {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Mobile CTA */
.mobile-cta {
  display: none;
  margin: 10px auto 16px;
  text-align: center;
  width: 60%;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .desktop-only {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-cta {
    display: block;
  }
}

/* =========================
   HERO SECTION
   ========================= */

.hero {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 20px;

  background: url("assets/images/Hero-Image.png") center/cover no-repeat;
  position: relative;
  color: #222;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  /* Soft overlay with subtle tint */
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.244),
    rgba(255, 255, 255, 0.697)
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 850px;
  padding: 0 15px;
}

.hero h1 {
  font-size: 3.2rem;
  margin-bottom: 20px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  letter-spacing: 0.5px;
  line-height: 1.2;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 40px;
  color: var(--color-text);
  opacity: 0.9;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 400;
  line-height: 1.6;
}

/* ===== HERO BUTTONS ===== */
.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 18px;
}

/* Upscaled CTA Button */
.cta-btn {
  padding: 14px 34px;
  font-size: 1.15rem;
  border-radius: 26px;
}

/* Outline Button (uses heading tone) */
.outline-btn {
  background: transparent;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  padding: 14px 34px;
  border-radius: 26px;
  font-weight: 600;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Plus Jakarta Sans', sans-serif;
  width: 40%;
}

.outline-btn:hover {
  border-color: var(--color-secondary);
  color: var(--color-secondary);
  transform: translateY(-2px);
}

/* ===== RESPONSIVE HERO ===== */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }
  
  .outline-btn {
  padding: 12px 32px;
  font-size: 1rem;
 
}
}

/* =========================
   SERVICES SECTION
   ========================= */

.services-section {
  margin: 4rem auto;
  max-width: 1200px;
  width: 100%;
  position: relative;

  background: var(--color-primary);
  backdrop-filter: blur(12px);

  border: 1px solid rgba(255, 255, 255);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border-radius: 24px;

  padding: 3rem 2rem;
  text-align: center;

}

/* Grid with 2 cards per row */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 50px;
}

/* Service cards */
.service-card {
  padding: 2rem 1.5rem;
  border-radius: 16px;
  background: var(--color-body); 
  backdrop-filter: blur(8px);

  border-top: 1px solid rgba(255, 255, 255, 0.6);
  border-left: 1px solid rgba(255, 255, 255, 0.6);
  border-right: 1px solid transparent;
  border-bottom: 1px solid transparent;

  transition: all 0.3s ease;
}

/* On hover → full white border + subtle bottom/sides shadow */
.service-card:hover {
  border: 1px solid rgba(255, 255, 255, 0.9);
  transform: rotateX(5deg) rotateY(5deg);
}

/* Icon */
.service-icon {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

/* Title */
.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--color-heading);
  font-weight: 600;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

/* Description List */
.service-card .service-list {
  font-size: 0.95rem;
  color: var(--color-text);
  line-height: 1.6;
  font-family: 'Plus Jakarta Sans', sans-serif;
  padding-left: 4rem;
  margin: 0.8rem 0 0;
  text-align: left;
}

.service-card .service-list li {
  margin-bottom: 0.4rem;
  text-align: left;
}

/* Responsive */
@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================
   ABOUT US SECTION
   ========================= */

.about-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  margin: 6rem auto;
  max-width: 1200px;
  padding: 4rem 3rem;
  border-radius: 28px;

  background:  var(--color-primary);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.5);

  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

/* Content */
.about-content {
  flex: 1.1;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.about-content h2 {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--color-secondary);
  position: relative;
}

.about-content h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary),var(--color-secondary));
  margin-top: 0.6rem;
  border-radius: 2px;
}

.about-content p {
  margin-bottom: 2rem;
  color: var(--color-text-2);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* Image */
.about-image {
  flex: 1;
}

.about-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  object-fit: cover;
}

/* ===== Responsive: About Section ===== */
@media (max-width: 768px) {
  .about-section {
    flex-direction: column;
    text-align: center;
    padding: 3rem 1.5rem;
    gap: 2rem;
  }

  .about-content {
    flex: unset;
  }

  .about-content h2::after {
    margin-left: auto;
    margin-right: auto;
    /* center underline */
  }

  .about-image {
    flex: unset;
    width: 100%;
  }

  .about-image img {
    width: 100%;
    max-height: 350px;
    object-fit: cover;
  }
}

/* =========================
   WHY CHOOSE US SECTION
   ========================= */

.why-choose-us {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 3rem 1.5rem;
  
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(12px);
  
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  
  position: relative;
}


/* Timeline vertical line */
.timeline {
  position: relative;
  margin: 0 auto;
  padding: 2rem 0;
  margin-top: 50px;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background: linear-gradient(to bottom,
      rgba(255, 255, 255, 0),
      /* transparent top */
      rgba(0, 0, 0, 0.9),
      /* bright center */
      rgba(255, 255, 255, 0)
      /* transparent bottom */
    );
  border-radius: 2px;
}

/* Timeline cards */
.timeline-card {
  width: 45%;
  background: linear-gradient(90deg, var(--color-primary));
  /* refined orange gradient */
  border-radius: 16px;
  padding: 1.5rem;
  margin: 2.5rem 0;
  position: relative;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  /* soft shadow */
  color: #000;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-height: 180px;
}

.timeline-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

/* Zigzag placement */
.timeline-card.left {
  left: 0;
  text-align: right;
}

.timeline-card.right {
  left: 55%;
  text-align: left;
}

/* Glass icon bubble */
.icon-bubble {
  position: absolute;
  top: -36px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  /* bigger emoji size */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* Card content */
.card-content h3 {
  margin-bottom: 0.6rem;
  font-size: 1.3rem;
  font-weight: bold;
  color: #fff;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.card-content p {
  line-height: 1.5;
  font-size: 0.95rem;
  color: var(--color-text-2);
  font-family: 'Plus Jakarta Sans', sans-serif;
}

/* ===== Responsive Fix for Why Choose Us ===== */
@media (max-width: 768px) {
  .timeline::before {
    left: 20px;
    /* move line to the left */
    transform: none;
  }

  .timeline-card {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding-left: 4rem;
    /* space for the line + bubble */
    text-align: left !important;
  }

  .timeline-card.left,
  .timeline-card.right {
    left: 0;
    /* remove zigzag */
  }

  .icon-bubble {
    left: 20px;
    transform: none;
    top: -20px;
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .timeline-card {
    padding: 1rem;
    padding-left: 3.5rem;
  }

  .card-content h3 {
    font-size: 1.1rem;
  }

  .card-content p {
    font-size: 0.9rem;
  }
}

/* =========================
   Portfolio Section
   ========================= */

.portfolio-section {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px 60px 20px;
  min-height: 100vh;
}

.portfolio-container {
  max-width: 1200px;
  margin: 0 auto;
}

.portfolio-title:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, #5499f9, #0fbefe);
  border-radius: 2px;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 280px;
  gap: 30px;
  justify-content: center;
}

.portfolio-card .portfolio-card-link {
  position: absolute;
  inset: 0;
  /* top:0; right:0; bottom:0; left:0 */
  display: block;
  z-index: 30;
  /* sits above inner content */
  text-decoration: none;
  color: inherit;
  background: transparent;
  border-radius: 12px;
  -webkit-tap-highlight-color: var(--color-primary);
}

/* focus outline for accessibility */
.portfolio-card .portfolio-card-link:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(255, 126, 95, 0.4);
  border-radius: 12px;
}

/* visually hidden helper (for screen readers) */
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.portfolio-card {
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: all 0.4s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.portfolio-card-img {
  height: 80%;
  overflow: hidden;
  background: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.portfolio-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.portfolio-card-content {
  height: 20%;
  /* slightly taller content section */
  padding: 20px;
  background: #000;
  /* black background */
  display: flex;
  align-items: center;
}

.portfolio-card-content h3 {
  font-size: 1.4rem;
  margin: 0;
  color: #fff;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

/* Card positions */
.portfolio-card-1 {
  grid-column: span 1;
  grid-row: span 2;
}

.portfolio-card-2 {
  grid-column: span 2;
  grid-row: span 1;
}

.portfolio-card-3 {
  grid-column: 2 / span 1;
  /* directly below card 2 on the left */
  grid-row: 2 / span 1;
}

.portfolio-card-4 {
  grid-column: 4 / span 1;
  /* directly below card 2 on the left */
  grid-row: 1 / span 1;
}

/* Hover effects */
.portfolio-card:hover {
  filter: brightness(1) blur(0);
  transform: scale(1.05);
  z-index: 10;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.portfolio-card:hover .portfolio-card-img img {
  transform: scale(1.1);
}

.portfolio-card:hover .portfolio-card-tag {
  opacity: 1;
}

/* Decorative elements */
.portfolio-card-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(135deg, #d3d3d3, #a9a9a9);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.portfolio-card:hover .portfolio-card-content::before {
  transform: scaleX(1);
}

.portfolio-card-tag {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--color-primary);
  color: #fff;
  backdrop-filter: blur(10px);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Responsive */
/* Tablet View */
@media (max-width: 900px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: auto;
  }

  .portfolio-card {
    grid-column: auto !important;
    grid-row: auto !important;
  }
}

/* Mobile View */
@media (max-width: 600px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .portfolio-card {
    grid-column: auto !important;
    grid-row: auto !important;
  }

  .portfolio-card-img {
    height: 200px;
  }

  .portfolio-card-content {
    height: auto;
    padding: 15px;
  }

  .portfolio-card-content h3 {
    font-size: 1.1rem;
  }
}

/* =========================
   Our Clients Section
   ========================= */
.clients-section {
  width: 100%;
  max-width: 1200px;
  margin: 40px auto;
  padding: 40px 20px 60px 20px;
}

.journey-text {
  font-size: 2.2rem;
  color: var(--color-text);
  font-weight: 500;
  text-align: center;
  padding: 3rem 0 6rem 0;

}

.journey-text .highlight {
  color: var(--color-tertiary);
  font-weight: 500;
  font-size: 2.2rem;
  background: rgba(237, 225, 202, 0.875);
  backdrop-filter: blur(12px);
  border-radius: 16px;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s;
  padding: 8px 10px 8px 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.logos-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 10px 0;
}

/* Track: single source of truth. duplicated by JS for a seamless loop */
.logos-track {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 15px 0;
  animation: marquee var(--scroll-duration, 30s) linear infinite;
  will-change: transform;
}

/* Individual logo card */
.logo-item {
  width: 230px;
  height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  border-radius: 16px;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s;
  padding: 25px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  flex-shrink: 0;
  /* do not shrink in the flex row */
  -webkit-touch-callout: none;
}

/* hover */
.logo-item:hover {
  transform: scale(1.1);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  z-index: 10;
}

/* logo image */
.logo-img {
  max-width: 100%;
  max-height: 80px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.logo-item:hover .logo-img {
  transform: scale(1.05);
}

/* marquee animation: we translate by -50% (half the duplicated content) */
@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* responsive tweaks (same breakpoints as before) */
@media (max-width: 1200px) {
  .logos-track {
    animation-duration: var(--scroll-duration, 25s);
  }

  .logo-item {
    width: 200px;
    height: 150px;
  }
}

@media (max-width: 900px) {
  .logos-track {
    animation-duration: var(--scroll-duration, 20s);
    gap: 20px;
  }

  .logo-item {
    width: 180px;
    height: 140px;
  }

  .section-heading h2 {
    font-size: 2.4rem;
  }
}

@media (max-width: 700px) {
  .logos-track {
    animation-duration: var(--scroll-duration, 15s);
    gap: 15px;
  }

  .logo-item {
    width: 160px;
    height: 130px;
    padding: 20px;
  }

  .section-heading h2 {
    font-size: 2rem;
  }

  .section-heading p {
    font-size: 1.1rem;
  }
}

@media (max-width: 500px) {
  .logos-track {
    animation-duration: var(--scroll-duration, 12s);
    gap: 10px;
  }

  .logo-item {
    width: 140px;
    height: 120px;
    padding: 15px;
  }

  .section-heading h2 {
    font-size: 1.8rem;
  }
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .logos-track {
    animation: none !important;
  }
}

/* =========================
   Tech Orbit Section
   ========================= */

.tech-orbit-section {
  width: 100%;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1.5rem 1rem;
}

.container {
  width: 90%;
  max-width: 1000px;
  background: rgba(30, 30, 47, 0.96);
  border-radius: 24px;
  padding: 1rem 1.25rem;
  position: relative;
  overflow: visible;
}

/* heading inside container */
.section-heading-2 {
  text-align: center;
  margin-bottom: 0.8rem;
}

/* orbit container: occupies an area that holds rings */
.orbit-container {
  position: relative;
  width: 100%;
  height: 520px;
  /* desktop area */
  display: flex;
  justify-content: center;
  align-items: center;
}

/* sun (center) */
.sun {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 90px;
  height: 90px;
  background: #ffcc00;
  color: #1e1e2f;
  font-weight: 800;
  font-size: 0.85rem;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 20px rgba(255, 204, 0, 0.7);
  z-index: 6;
}

/* orbit rings centered */
.orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 2px dashed rgba(255, 255, 255, 0.30);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* sizes (desktop) */
.orbit-1 {
  width: 240px;
  height: 240px;
}

.orbit-2 {
  width: 380px;
  height: 380px;
}

.orbit-3 {
  width: 520px;
  height: 520px;
}

/* tech circles - stacked image + label */
.tech-circle {
  position: absolute;
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(4px);
  border-radius: 50%;
  border: 1.5px solid #1494f7;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 4px;
  transition: transform .22s ease, background .22s ease, border .22s ease;
  animation: float 3.5s ease-in-out infinite;
  z-index: 5;
}

.tech-circle img {
  width: 22px;
  height: 22px;
  margin-bottom: 3px;
  display: block;
}

.tech-circle span {
  font-size: 10px;
  line-height: 1;
}

/* floating only Y translation so manual positions remain intact */
@keyframes float {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }

  100% {
    transform: translateY(0);
  }
}

/* hover effect - note: while hovered the translateY is temporarily overridden */
.tech-circle:hover {
  transform: scale(1.18);
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.7);
}

/* independent delays so floats look natural */
.orbit-1 .tech-circle:nth-child(1) { animation-delay: 0s; }

.orbit-1 .tech-circle:nth-child(2) { animation-delay: 0.5s; }

.orbit-1 .tech-circle:nth-child(3) { animation-delay: 1s; }



.orbit-2 .tech-circle:nth-child(1) { animation-delay: 0.8s; }

.orbit-2 .tech-circle:nth-child(2) { animation-delay: 1.6s; }

.orbit-2 .tech-circle:nth-child(3) { animation-delay: 2.2s; }



.orbit-3 .tech-circle:nth-child(1) { animation-delay: 0.3s; }

.orbit-3 .tech-circle:nth-child(2) { animation-delay: 1.1s; }

.orbit-3 .tech-circle:nth-child(3) { animation-delay: 2s; }

.orbit-3 .tech-circle:nth-child(4) { animation-delay: 2.3s; }

/* === KEEP YOUR MANUAL POSITIONS EXACTLY AS PROVIDED BY YOU === */
.orbit-1 .tech-circle:nth-child(1) { top: -8%; left: 40%;}

.orbit-1 .tech-circle:nth-child(2) { top: 70%; right: 0; }

.orbit-1 .tech-circle:nth-child(3) { bottom: 3%; left: 8%; }



.orbit-2 .tech-circle:nth-child(1) { top: 38%; left: -5%; }

.orbit-2 .tech-circle:nth-child(2) { top: 35%; right: -3%; }

.orbit-2 .tech-circle:nth-child(3) { bottom: -6%; left: 45%; }



.orbit-3 .tech-circle:nth-child(1) { top: 2%; left: 20%; }

.orbit-3 .tech-circle:nth-child(2) { top: 70%; right: 0; }

.orbit-3 .tech-circle:nth-child(3) { bottom: 10%; left: 10%;}

.orbit-3 .tech-circle:nth-child(4) { top: 10%; left: 80%; }

/* smaller screens adjustments */
@media (max-width: 900px) {
  .orbit-container {
    height: 420px;
  }

  .orbit-1 { width: 200px; height: 200px;}

  .orbit-2 { width: 320px; height: 320px;}

  .orbit-3 { width: 440px; height: 440px;}

  .tech-circle {
    width: 54px;
    height: 54px;
    font-size: 9px;
  }

  .tech-circle img {
    width: 18px;
    height: 18px;
  }

  .sun {
    width: 76px;
    height: 76px;
    font-size: 11px;
  }
}

@media (max-width: 600px) {
  .container {
    padding: .75rem;
    width: 95%;
  }

  .orbit-container {
    height: 360px;
  }

  .orbit-1 { width: 160px; height: 160px; }

  .orbit-2 { width: 260px; height: 260px; }

  .orbit-3 { width: 360px; height: 360px; }

  .tech-circle {
    width: 48px;
    height: 48px;
    font-size: 8px;
  }

  .tech-circle img {
    width: 16px;
    height: 16px;
    margin-bottom: 2px;
  }

  .sun {
    width: 66px;
    height: 66px;
    font-size: 10px;
  }

  .section-heading-2 {
    font-size: 1.2rem;
  }
}

/* =========================
   CONTACT SECTION
   ========================= */

.contact-section {
  margin: 4rem auto;
  max-width: 1200px;
  padding: 2rem;
}

.contact-container {
  display: flex;
  justify-content: space-between;
  position: relative;
  gap: 2rem;
}

/* Left Info (Glass) */
.contact-info {
  flex: 1;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 20px;
  padding: 3rem 2.5rem;
  position: relative;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  z-index: 2;
  margin-right: -2rem;
  /* subtle overlap */
}

/* Heading */
.contact-info h2 {
  font-size: 2.2rem;
  font-weight: 700;

  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  
  margin-bottom: 1rem;
  line-height: 1.3;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

/* Subtext */
.contact-subtext {
  font-size: 1.05rem;
  color: var(--color-text);
  margin-bottom: 2rem;
  line-height: 1.6;
  max-width: 90%;
}

/* List */
.contact-info ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-info li {
  display: flex;
  align-items: center;
  font-size: 1.05rem;
  color: var(--color-text);
  font-weight: 500;
  margin-bottom: 1.2rem;
  gap: 0.9rem;
}

.contact-info i {
  font-size: 1.2rem;
  color: var(--color-tertiary);
  background: rgba(237, 225, 202, 0.875);
  padding: 0.6rem;
  border-radius: 50%;
}

.contact-info li span {
  display: inline-block;
  color: #222;
}


/* Right Form  */
.contact-form {
  flex: 1;
  background: linear-gradient(90deg, var(--color-primary));
  border-radius: 20px;
  padding: 3rem 2.5rem;
  color: #fff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.contact-form h3 {
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-align: left;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  padding: 0.9rem 1rem;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  outline: none;
  background: rgb(255, 255, 255);
  color: #000;
}

.contact-form textarea {
  resize: none;
}

.contact-form button {
  padding: 0.9rem;
  border: none;
  border-radius: 12px;
  background: #000;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.contact-form button:hover {
  background: #222;
  transform: translateY(-2px);
}

/* ================= 
  CONTACT RESPONSIVE 
  ================== */

@media (max-width: 992px) {
  .contact-container {
    flex-direction: column;
    gap: 2rem;
  }

  .contact-info {
    margin-right: 0;
    /* remove overlap */
    padding: 2rem;
  }

  .contact-form {
    padding: 2rem;
  }
}

@media (max-width: 600px) {
  .contact-section {
    padding: 1.5rem 1rem;
  }

  .contact-info h2 {
    font-size: 1.6rem;
  }

  .contact-subtext {
    font-size: 0.95rem;
  }

  .contact-info li {
    font-size: 0.95rem;
  }

  .contact-form h3 {
    font-size: 1.3rem;
    text-align: center;
  }

  .contact-form button {
    font-size: 0.95rem;
    padding: 0.8rem;
  }
}

/* Call Section Container */
.call-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  padding: 2rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* Left side (Heading and paragraph) */
.call-left {
  flex: 1;
  text-align: left;
  padding-right: 2rem;
  align-self: flex-start;
}

.call-left h2 {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--color-primary);
  letter-spacing: -1px;
}

.call-left p {
  font-size: 1.5rem;
  color: #475569;
  max-width: 480px;
  line-height: 1.6;
}

/* Right side (Calendar Card) */
.call-right {
  flex: 1;
  display: flex;
  justify-content: center;
  background-color: #fff;
  border-radius: 25px;
  padding: 20px;
}

.calendar-content {
  width: 100%;
  max-width: 550px;
  text-align: center;
}

.calendar-content p {
  color: #475569;
  font-size: 0.95rem;
  margin-bottom: 1.2rem;
}

.calendar-frame {
  width: 100%;
  height: 480px;
  border: none;
  border-radius: 10px;
  box-shadow: 0 0 12px rgba(15, 111, 244, 0.08);
}

/* Responsive */
@media (max-width: 900px) {
  .call-container {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }

  .call-left h2 {
    font-size: 2.2rem;
  }

  .calendar-frame {
    height: 420px;
  }
}




/* Footer */
.footer {
  background: var(--color-primary);
  /* deep black */
  color: var(--color-text-2);
  padding: 3.5rem 1.5rem 2rem;
  font-family: 'Poppins', sans-serif;
  position: relative;
}

/* Decorative top border */
.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
}

/* Layout */
.footer-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 2rem;
}

/* Sections */
.footer-section h4 {
  color: #fff;
  margin-bottom: 1rem;
  font-weight: 600;
  font-size: 1.1rem;
  position: relative;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 0.6rem;
}

.footer-section a {
  text-decoration: none;
  color: var(--color-text-2);
  transition: all 0.3s ease;
}

.footer-section a:hover {
  color: var(--color-secondary);
  padding-left: 6px;
}

.footer-brand  img {
  height: 70px; /* adjust as needed */
  width: auto;
}

.footer-brand p {
  line-height: 1.6;
  font-size: 0.95rem;
  max-width: 300px;
}

/* Contact */
.footer-contact p {
  margin: 0.4rem 0;
  font-size: 0.95rem;
}

.social-icons {
  margin-top: 1rem;
}

.social-icons a {
  display: inline-block;
  margin-right: 1rem;
  font-size: 1.2rem;
  color: #bbb;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  color: var(--color-secondary);
  transform: translateY(-4px);
}

/* Bottom Bar */
.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 2.5rem;
  padding-top: 1rem;
  font-size: 0.9rem;
  color: #888;
}

.footer-bottom span {
  color: var(--color-secondary);
}