/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600&family=Roboto&display=swap');

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

html {
  color-scheme: light only;
}

body {
  font-family: 'Roboto', sans-serif;
  background-color: #fff;
  color: #000;
  overflow-x: hidden;
}

/* Intro Container */
.intro {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  z-index: 9999;
}

.intro img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 550px;
  height: auto;
  z-index: 2;
}

.reveal-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: #fff;
  transform: translate(-50%, -50%) scale(0);
  z-index: 0;
  pointer-events: none;
}

.page-transition {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #000 0%, #333 50%, #000 100%);
  background-size: 200% 200%;
  transform: translateY(-100%);
  transition: transform 0.8s ease, opacity 0.8s ease;
  z-index: 9999;
  pointer-events: none;
  opacity: 0;
}

.page-transition.active {
  transform: translateY(0);
  opacity: 1;
  animation: gradientShift 1s linear infinite;
}

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

/* Navbar Flex Setup */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0 20px;
}

/* Left and Right Links */
.nav-left, .nav-right {
  display: flex;
  gap: 40px;
}

.nav-logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 25px;
}

.nav-logo img {
  height: 200px; /* adjust size */
  width: auto;
  transition: transform 0.3s ease;
}

.nav-logo img:hover {
  transform: scale(1.1);
}

/* Optional: adjust nav links style */
.nav-left a, .nav-right a {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: #000;
  text-decoration: none;
  transition: color 0.3s;
  font-size: 2.0rem;
}

.nav-left a:hover, .nav-right a:hover {
  color: #555;
}

/* Navbar Shrink Effect */
.top-section {
  display: flex;
  align-items: center;
  justify-content: center; /* center everything by default */
  transition: all 0.3s ease;
  height: 90px;
  padding: 0 60px;
}

/* Logo styling */
.nav-logo img {
  height: 125px;
  width: auto;
  transition: transform 0.3s ease, height 0.3s ease;
}

/* Navigation links */
nav {
  display: flex;
  gap: 50px;
  transition: opacity 0.3s ease;
}

.top-section.shrink nav {
  opacity: 0;      /* hide nav links */
  pointer-events: none; /* prevent hovering/clicking when hidden */
}

/* Shrink logo if desired */
.top-section.shrink .nav-logo img {
  height: 40px;
}

/* Hamburger Menu (Mobile) */
.hamburger {
  display: none;
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  flex-direction: column;
  gap: 0px;
  cursor: pointer;
}

.hamburger div {
  width: 30px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.4s ease;
}

/* Hamburger animation */
.hamburger.active div:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active div:nth-child(2) {
  opacity: 0;
}
.hamburger.active div:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile nav slide-in */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 250px;
  height: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(15px);
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 100px 30px;
  transition: right 0.4s ease;
  z-index: 998;
}

.mobile-nav.active {
  right: 0;
}

.mobile-nav a {
  font-size: 1.5rem;
}

/* Responsive */
@media (max-width: 1024px) {
  nav {
    display: none;
  }
  .hamburger {
    display: flex;
  }
}

/* Particle Canvas */
/* style.css update */
#particle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1; /* behind content but above background */
  pointer-events: none;
}


/* Hero Section Full-Edge Fade */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: black; /* center of hero */
  color: #fff;
  overflow: hidden;
  padding: 0 20px;
  z-index: 1;
}

/* Hero radial gradient overlay (existing) */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(0,0,0,1), rgba(255,255,255,0.98));
  z-index: 1;
}

/* New bottom fade border */
.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 150px; /* height of fade */
  pointer-events: none;
  z-index: 2;
}


.hero-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
}

.hero h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #fff;
  text-shadow: 0 4px 20px rgba(0,0,0,0.6);
}

.hero p {
  font-size: 1.2rem;
  color: #ccc;
  line-height: 1.8;
  margin-bottom: 40px;
}

.cta-button {
  display: inline-block;
  padding: 14px 35px;
  background-color: #fff;
  color: #000;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  margin: 0 10px;
  transition: transform 0.3s, background 0.3s;
}

.cta-button:hover {
  background-color: #000;
  color: #fff;
  transform: translateY(-3px) scale(1.05);
}

.cta-button.secondary {
  background-color: #000;
  color: #fff;
  border: none;
}

.cta-button.secondary:hover {
  background-color: #444;
  color: #fff;
}

/* Particle Canvas */
#hero-particles {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}






.cta-button.secondary {
  background: transparent;
  color: #000;
  border: 2px solid #000;
}

.cta-button.secondary:hover {
  background: #000;
  color: #fff;
}


.cta-button {
  display: inline-block;
  padding: 14px 35px;
  background-color: #000;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: transform 0.3s, background 0.3s;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s ease-out forwards;
  animation-delay: 1.4s;
}

.cta-button:hover {
  background-color: #444;
  transform: translateY(-3px) scale(1.05);
}

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

/* Services Section */
.services {
  display: flex;
  gap: 50px;
  padding: 0px 0px;
  max-width: 1200px;
  margin: 0 auto;
  z-index: 2;
}

.our-journey {
  background: radial-gradient(circle at center, #ffffff 0%, #f2f2f2 100%);
}

.service-list {
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: none;
  padding: 0 5vw;
  box-sizing: border-box;
}

#services-particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1; /* behind content but above background */
  pointer-events: none;
}

.service-list button {
  background: none;
  border: none;
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  padding: 10px 0;
  position: relative;
  color: #000;
}

.service-list button.active::before {
  content: '';
  position: absolute;
  left: -20px;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 30px;
  background-color: #000;
}

.service-details {
  flex: 2;
  position: relative;
  overflow: hidden;
}

.service-details-content {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.5s ease-in-out;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

.service-details-content.active {
  opacity: 1;
  transform: translateX(0);
}

.service-details-content h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  margin-bottom: 20px;
}

.service-details-content p {
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
  margin-bottom: 20px;
}

/* ===== Footer Styles ===== */
.site-footer {
  background: #1a1a1a;
  color: #f5f5f5;
  padding: 60px 10%;
  font-family: 'Poppins', sans-serif;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-about h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.footer-about p {
  font-size: 1rem;
  line-height: 1.6;
  color: #ccc;
}

.footer-links h4,
.footer-contact h4 {
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #fff;
}

.footer-contact p {
  margin-bottom: 10px;
  color: #ccc;
}

.footer-contact a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-contact a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 20px;
  text-align: center;
  font-size: 0.9rem;
  color: #ccc;
}

.footer-bottom p{
  color: #ccc;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    gap: 30px;
  }
}


/* Features Section */
.features {
  position: relative;
  padding: 100px 50px;
  background-color: #fff; /* match page background */
  overflow: hidden;
  text-align: center;
}

.features canvas.section-particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0; /* behind content */
  pointer-events: none;
}

.features h2 {
  padding-top: 30px;
  font-family: 'Poppins', sans-serif;
  font-size: 2.5rem;
  margin-bottom: 50px;
  color: #000;
  position: relative;
  z-index: 1;
}

.features-grid {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
  z-index: 1; /* above particles */
}

.feature-card {
  background: #f1f1f1;
  padding: 30px;
  border-radius: 12px;
  flex: 1 1 250px;
  max-width: 300px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.feature-card h3 {
  font-family: 'Poppins', sans-serif;
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.feature-card p {
  color: #555;
  line-height: 1.5;
}


#navbar-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0; /* behind logo and nav */
  pointer-events: none;
}
.top-section > * {
  position: relative;
  z-index: 1; /* ensure logo and links are above particles */
}


/* Responsive */
@media (max-width: 1024px) {
  .services {
    flex-direction: column;
  }
  .service-list {
    flex-direction: row;
    overflow-x: auto;
    gap: 20px;
    margin-bottom: 30px;
  }
  .service-list button::before {
    display: none;
  }
  .hero-title {
    font-size: 2.5rem;
  }
  .hero-subtitle {
    font-size: 1.2rem;
  }
  .hero-subtext {
    font-size: 1rem;
  }
}

/* ============================ */
/* About Page CSS - GraphixLab  */
/* ============================ */

/* Reset */
body, html {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  background: #f8f8f8;
  color: #111;
  overflow-x: hidden;
}

/* Particle Canvas */
#about-particle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  pointer-events: none;
  background: transparent;
}

#about-nav-particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  pointer-events: none;
  background: transparent;
}



/* Navbar */
.top-section {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 90px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(255,255,255,0.0);
  z-index: 999;
}

.top-section nav {
  display: flex;
  gap: 60px;
}

.top-section nav a {
  font-weight: 600;
  color: #111;
  text-decoration: none;
  font-size: 1rem;
  position: relative;
  transition: color 0.3s;
}

.top-section nav a.active,
.top-section nav a:hover {
  color: #444;
}

.top-section nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: #111;
  transition: width 0.3s ease;
}

.top-section nav a:hover::after,
.top-section nav a.active::after {
  width: 100%;
}

/* Hero Section */
.about-hero {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 120px 20px 80px;
}

.about-hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.about-hero p {
  font-size: 1.2rem;
  max-width: 700px;
  line-height: 1.6;
}

/* Timeline */
.about-timeline {
  padding: 100px 20px;
  background: #e8e8e8;
  text-align: center;
}

.about-timeline h2 {
  font-size: 2.5rem;
  margin-bottom: 60px;
}

.timeline-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.timeline-item {
  background: #fff;
  padding: 40px 30px;
  border-radius: 15px;
  width: 250px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.timeline-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.timeline-item h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.timeline-item p {
  font-size: 1rem;
  line-height: 1.5;
}

/* Team Carousel */
.about-team {
  padding: 100px 20px;
  text-align: center;
  background: #f5f5f5;
}

.about-team h2 {
  font-size: 2.5rem;
  margin-bottom: 60px;
}

.team-carousel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  overflow: hidden;
}

.team-carousel .carousel {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 10px;
}

.team-member {
  flex: 0 0 250px;
  background: #fff;
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.team-member:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.team-member img {
  width: 100%;
  border-radius: 15px;
  margin-bottom: 15px;
}

.team-member h3 {
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.team-member p {
  font-size: 0.9rem;
  color: #555;
}

/* Modern Carousel Arrows */
.team-carousel button {
  background: #111; /* dark modern button */
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.team-carousel button:hover {
  background: #fff;
  color: #111;
  transform: scale(1.1);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

.team-carousel .left-btn {
  order: 0; /* ensure left button stays on left */
}

.team-carousel .right-btn {
  order: 2; /* ensure right button stays on right */
}

/* Footer */
footer {
  padding: 0px 0px;
  background: #dcdcdc;
  text-align: center;
}

footer p {
  font-size: 1rem;
  color: #111;
}

/* Responsive */
@media(max-width:1024px){
  .timeline-grid, .team-carousel .carousel{
    flex-direction: column;
    align-items: center;
  }

  .top-section nav{
    gap: 30px;
  }
}


/* ====== SERVICES PAGE (Updated Theme & Layout) ====== */

/* Hero Section */
.services-hero {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-left: 10%;
  color: #f2f2f2;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at top left, #e5e5e5, #b5b5b5);
}

/* Hero Heading */
.services-hero h1 {
  font-size: 4rem;
  letter-spacing: 1px;
  margin-bottom: 15px;
  text-transform: uppercase;
  text-align: center;

  /* Gradient from black to white with a sharper transition */
  background: linear-gradient(to right, #000 0%, #000 50%, #fff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  /* Subtle shadow for sharper edges */
  text-shadow: 0 0 1px rgba(0,0,0,0.15);
}

/* Hero Paragraph */
.services-hero p {
  font-size: 1.2rem;
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;

  /* Softer gradient for readability */
  background: linear-gradient(to right, #000 0%, #000 50%, #000 75%, #000 95%, #ccc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  text-shadow: 0 0 1px rgba(0,0,0,0.1);
}

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-50px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Services Section */
.services-section {
  background: #f9f9f9;
  padding: 100px 10%;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
}

#services-particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  pointer-events: none;
  background: transparent;
}

#servicesnav-particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 2;
  pointer-events: none;
  background: transparent;
}

.services-section::before,
.services-section::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  opacity: 0.15;
}

.services-section::before {
  width: 250px;
  height: 250px;
  top: -80px;
  left: -80px;
  background: radial-gradient(circle, #1a1a1a 0%, transparent 70%);
  animation: floatOrb 12s ease-in-out infinite alternate;
}

.services-section::after {
  width: 400px;
  height: 400px;
  bottom: -120px;
  right: -120px;
  background: radial-gradient(circle, #1a1a1a 0%, transparent 80%);
  animation: floatOrb 14s ease-in-out infinite alternate-reverse;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 60px;
  max-width: 1200px;
  z-index: 2;
}

/* Service Cards */
.service-card {
  background: #fff;
  border-radius: 20px;
  padding: 50px 30px;
  text-align: center;
  box-shadow: 0 15px 40px rgba(0,0,0,0.05);
  position: relative;
  overflow: hidden;
  transform: translateY(30px);
  opacity: 0;
  transition: all 0.6s ease, box-shadow 0.3s ease;
}

.service-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #666, #aaa, #666);
  opacity: 0.2;
}

.service-card h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: #1a1a1a;
  letter-spacing: 0.5px;
}

.service-card p {
  color: #555;
  line-height: 1.8;
  font-size: 1rem;
}

/* Hover animation */
.service-card:hover {
  box-shadow: 0 25px 50px rgba(0,0,0,0.12);
  transform: translateY(-10px);
}

.service-card:hover::before {
  opacity: 0.8;
}

/* Floating Animations */
.service-card:nth-child(1) { animation: floatCard 6s ease-in-out infinite; }
.service-card:nth-child(2) { animation: floatCard 7s ease-in-out infinite reverse; }
.service-card:nth-child(3) { animation: floatCard 8s ease-in-out infinite; }

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}


/* Responsive */
@media (max-width: 768px) {
  .services-hero {
    padding-left: 5%;
    text-align: center;
    align-items: center;
  }

  .services-hero h1 {
    font-size: 2.8rem;
  }

  .services-hero p {
    font-size: 1rem;
  }

  .services-section {
    padding: 80px 5%;
  }

  .service-card {
    padding: 40px 25px;
  }
}

/* ====== PORTFOLIO PAGE ====== */

.portfolio-hero {
  min-height: 60vh;
  background: radial-gradient(circle at center, #111, #000);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #f5f5f5;
  text-align: center;
}

.portfolio-hero h1 {
  font-size: 4rem;
  margin-bottom: 15px;
}



.portfolio-hero p {
  max-width: 700px;
  color: #ccc;
  font-size: 1.2rem;
}

.portfolio-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  padding: 80px 8%;
  background: #fafafa;
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: transform 0.6s ease, filter 0.6s ease;
}

.portfolio-item:hover img {
  transform: scale(1.1);
  filter: grayscale(0%);
}

.portfolio-item .overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  color: #fff;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  text-align: center;
  padding: 20px;
  font-size: 1.3rem;
  opacity: 0;
  transition: all 0.4s ease;
}

.portfolio-item:hover .overlay {
  height: 60%;
  opacity: 1;
}

/* Large asymmetrical style */
.portfolio-item:nth-child(3n) {
  grid-column: span 2;
}

@media (max-width: 900px) {
  .portfolio-item:nth-child(3n) {
    grid-column: span 1;
  }
}


/* ----------------------------- */
/* Portfolio page styles (creative, greyscale) */
/* ----------------------------- */

:root{
  --bg:#f6f6f7;
  --panel:#fff;
  --muted:#9b9b9b;
  --ink:#111;
  --accent-dark:#111;
  --glass: rgba(255,255,255,0.6);
}

/* Ensure particles canvas sits behind content but above page background */
}
/* Portfolio Navbar Particles */
#portfolio2-particles {
  position: fixed; /* or fixed if needed */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none; /* don't block clicks */
  z-index: 2; /* above navbar background but below text */
}

#portfolio2-navbar-particles {
  position: absolute; /* or fixed if needed */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none; /* don't block clicks */
  z-index: 2; /* above navbar background but below text */
}

.our-approach {
  background: transparent; /* removes the white box */
  padding: 80px 10%;
  position: relative;
  z-index: 2; /* above particles if needed */
}

/* page layout */
.portfolio-page{
  position: relative;
  z-index: 2;
  background: linear-gradient(180deg, #f7f7f8 0%, #efefef 100%);
  min-height: 100vh;
  padding-top: 110px; /* nav space */
  color: var(--ink);
  font-family: 'Poppins', sans-serif;
}

/* header */
.portfolio-header{
  display:flex;
  align-items:center;
  justify-content:center;
  padding:48px 24px 10px;
  text-align:center;
  position:relative;
}
.portfolio-headline h1{
  font-size: clamp(34px, 6vw, 58px);
  margin:0;
  font-weight:800;
  letter-spacing:1px;
  background: linear-gradient(90deg,#111 0%, #3b3b3b 60%);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  text-shadow: 0 4px 30px rgba(0,0,0,0.06);
}
.portfolio-headline .subtitle{
  margin-top:10px;
  color:var(--muted);
  max-width:900px;
  margin-left:auto;margin-right:auto;
}

/* category strip */
.category-strip{
  display:flex;
  align-items:center;
  gap:16px;
  padding:28px 24px;
  justify-content:center;
  position:relative;
  z-index:3;
}
.cat-arrow{
  background:transparent;
  border:0;
  font-size:0px;
  color:var(--ink);
  cursor:pointer;
  width:56px;height:56px;border-radius:12px;
  display:flex;align-items:center;justify-content:center;
  transition:all .25s;
}
.cat-arrow:hover{ transform:translateY(-3px); }

/* track container */
.category-track{
  display:flex;
  gap:12px;
  overflow:auto;
  padding:4px 8px;
  scroll-behavior:smooth;
  -webkit-overflow-scrolling:touch;
  align-items:center;
}

/* category pill */
.category-item{
  background:transparent;
  border:2px solid rgba(0,0,0,0.07);
  color:var(--ink);
  padding:12px 20px;
  border-radius:40px;
  white-space:nowrap;
  cursor:pointer;
  font-weight:700;
  letter-spacing:0.3px;
  transition: all .35s cubic-bezier(.2,.9,.2,1);
  transform: translateY(0);
  backdrop-filter: blur(4px);
}
.category-item:hover{ transform: translateY(-6px); box-shadow:0 12px 30px rgba(0,0,0,0.06); }
.category-item.active{
  background:linear-gradient(90deg,#111, #555);
  color:#fff;
  border-color:transparent;
  box-shadow: 0 18px 40px rgba(0,0,0,0.18);
}

/* portfolio display */
.portfolio-display{
  padding:36px 20px 56px;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:18px;
  z-index: 50000;
}

.carousel-wrapper {
  display: flex;
  align-items: center;
  justify-content: center; /* centers arrows and track */
  gap: 20px;
  width: 100%;
  max-width: 1200px;
  position: relative;
  margin: 0 auto; /* centers entire carousel horizontally */
}
/* arrows */
.carousel-arrow{
  background:var(--panel);
  border-radius:12px;
  border:1px solid rgba(0,0,0,0.06);
  width:56px;height:56px;
  display:flex;align-items:center;justify-content:center;
  font-size:28px;cursor:pointer;
  box-shadow:0 10px 30px rgba(0,0,0,0.06);
}

/* viewport and track */
.carousel-viewport{
  overflow:hidden;
  flex:1;
  border-radius:18px;
  background:transparent;
  position:relative;
}

.carousel-track{
  display:flex;
  gap:28px;
  transition: transform 520ms cubic-bezier(.2,.9,.3,1);
  will-change: transform;
  padding:28px;
  align-items:center;
}

/* each item (single large hero) */
.carousel-item{
  min-width: 760px;
  max-width: 760px;
  height: 460px;
  flex: 0 0 760px;
  position:relative;
  border-radius:14px;
  overflow:visible;
  display:flex;
  align-items:center;
  justify-content:center;
}

/* image wrapper with animated border */
.carousel-card{
  width:100%;
  height:100%;
  position:relative;
  border-radius:14px;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(180deg,#fff,#f6f6f6);
  box-shadow:0 20px 60px rgba(0,0,0,0.08);
  transform: translateY(8px) scale(.98);
  transition: transform 420ms cubic-bezier(.2,.9,.3,1), box-shadow 420ms;
}

/* animated border pseudo-element */
.carousel-card::before{
  content:'';
  position:absolute;
  inset:8px;
  border-radius:10px;
  pointer-events:none;
  background: linear-gradient(90deg, rgba(0,0,0,0.85), rgba(0,0,0,0.25));
  mask: linear-gradient(#000 0 0);
  transform: scaleX(0);
  transform-origin:left center;
  transition: transform 520ms cubic-bezier(.2,.9,.2,1);
  z-index:3;
}

/* active item */
.carousel-item.active .carousel-card{
  transform: translateY(0) scale(1);
  box-shadow:0 32px 90px rgba(0,0,0,0.14);
}
.carousel-item.active .carousel-card::before{
  transform: scaleX(1);
}

/* inner image */
.carousel-card img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition: transform 420ms, filter 420ms;
  filter: grayscale(40%);
}
.carousel-item.active .carousel-card img{
  transform: scale(1.02);
  filter: grayscale(0%);
}

/* caption overlay */
.carousel-caption{
  position:absolute;
  left:28px;
  bottom:28px;
  background: rgba(255,255,255,0.85);
  padding:12px 16px;
  border-radius:10px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  z-index:4;
  color:var(--ink);
}

/* meta */
.carousel-meta{
  max-width:1200px;
  width:100%;
  padding:0 28px;
  display:flex;
  gap:20px;
  align-items:flex-start;
  justify-content:space-between;
}
.current-title{ font-size:1.25rem; font-weight:700; margin:0; color:var(--ink); }
.current-desc{ color:var(--muted); margin:0; max-width:720px; }

/* presentation summary */
.portfolio-summary{
  max-width:1000px;
  margin:48px auto 120px;
  text-align:center;
  color:var(--ink);
}
.portfolio-summary h2{ font-size:2rem; margin-bottom:12px; }
.portfolio-summary p{ color:var(--muted); line-height:1.7; }

/* lightbox */
.lightbox{
  position:fixed; inset:0; display:none; align-items:center; justify-content:center;
  z-index:-100; background: rgba(10,10,10,0.6);
}
.lightbox.active{ display:flex; }
.lightbox-inner{
  width:min(90vw,1100px);
  border-radius:14px;
  overflow:hidden;
  background:linear-gradient(180deg,#fff,#f9f9f9);
  position:relative;
  padding:28px;
  box-shadow:0 30px 120px rgba(0,0,0,0.6);
}
.lb-media{ display:flex; gap:20px; align-items:center; }
.lb-media img{ width:640px; max-width:calc(70vw); border-radius:10px; display:block; }
.lb-caption{ max-width:340px; color:var(--ink); }
.lb-close{ position:absolute; right:18px; top:18px; border:0; background:transparent; font-size:22px; cursor:pointer; }

/* responsive */
@media (max-width: 1100px){
  .carousel-item{ min-width:640px; flex:0 0 640px; height:380px; max-width:640px; }
  .carousel-card::before{ inset:6px; }
}
@media (max-width: 820px){
  .carousel-item{ min-width:420px; flex:0 0 420px; height:300px; max-width:420px; }
  .carousel-track{ padding:16px; gap:16px; }
  .carousel-meta{ flex-direction:column; align-items:flex-start; padding:0 16px; }
}
@media (max-width: 520px){
  .category-track{ gap:8px; padding:4px; }
  .carousel-item{ min-width:320px; flex:0 0 320px; height:260px; max-width:320px; }
  .carousel-arrow{ width:46px;height:46px; }
}

/* --- Medium Devices: iPads, Foldables, Large Phones (up to 1024px) --- */
@media (max-width: 1024px) {
  .hero-content h1,
  .services-hero h1,
  .about-intro h1 {
    font-size: 2.4rem;
  }

  .hero-content p,
  .services-hero p,
  .about-intro p {
    font-size: 1.05rem;
  }

  .button-container {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .button-container a {
    font-size: 1.1rem;
    padding: 16px 28px;
    width: auto;
    min-width: 240px;
  }

  .carousel-item {
    min-width: 640px;
    max-width: 90vw;
    height: auto;
  }

  .carousel-card img {
    object-fit: contain;
    max-width: 100%;
    height: auto;
  }

  .team-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 24px;
  }

  .service-card {
    padding: 28px 20px;
  }

  .nav-logo img {
    height: 90px;
  }

  footer {
    padding: 40px 20px;
  }
}  


.call-meeting-cta {
  margin: 80px auto;
  text-align: center;
  padding: 20px 5px;
  background: radial-gradient(circle at center, #fff, #111);
  border-radius: 24px;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.25);
  max-width: 820px;
  animation: fadeIn 1.5s ease;
  z-index: 6;
}

.call-meeting-cta a {
  display: inline-block;
  padding: 14px 32px; /* smaller padding */
  font-size: 1.1rem;   /* slightly smaller text */
  font-weight: 600;
  color: #fff;
  background: linear-gradient(to right, #000, #222, #000);
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 0 12px rgba(255,255,255,0.1);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
z-index: 6;
}

.call-meeting-cta a::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.15), transparent 70%);
  animation: pulseEffect 3s infinite linear;
  z-index: -1;
}

.call-meeting-cta a span {
  position: relative;
  z-index: -1;
}

.call-meeting-cta a:hover {
  transform: scale(1.04);
  box-shadow: 0 0 25px rgba(255,255,255,0.2);
}

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

@keyframes pulseEffect {
  0% {
    transform: rotate(0deg);
    opacity: 0.6;
  }
  100% {
    transform: rotate(360deg);
    opacity: 0.2;
  }
}

/* Responsive */
@media (max-width: 600px) {
  .call-meeting-cta {
    padding: 40px 16px;
  }

  .call-meeting-cta a {
    font-size: 1.1rem;
    padding: 16px 36px;
  }
}
/* ====== RESPONSIVE DESIGN ====== */

/* --- Phones & Small Tablets --- */
@media (max-width: 768px) {


.intro img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: auto;
  z-index: 2;
}
  /* Navbar */
  .navbar {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 15px 0;
  }

  .nav-left,
  .nav-right {
    display: flex;
    justify-content: center;
    gap: 20px;
  }

  .nav-logo img {
    height: 0px;
    margin-top: 20px
  }

  nav a {
    font-size: 1rem;
  }

  /* Hero sections */
  .hero,
  .services-hero,
  .about-intro {
    min-height: 70vh;
    padding: 100px 5% 60px;
    text-align: center;
  }

  .hero-content h1,
  .services-hero h1,
  .about-intro h1 {
    font-size: 2.2rem;
  }

  .hero-content p,
  .services-hero p,
  .about-intro p {
    font-size: 1rem;
    line-height: 1.5;
  }

  /* Services grid */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 0 5%;
  }

  .service-card {
    padding: 35px 20px;
  }

  /* About page story layout */
  .story-grid {
    flex-direction: column;
    text-align: center;
  }

  .story-text {
    margin-bottom: 30px;
  }

  .story-image img {
    width: 100%;
    height: auto;
  }

  /* Team grid */
  .team-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .team-member img {
    width: 100px;
    height: 100px;
  }

  /* Footer */
  footer {
    padding: 20px 0px;
    text-align: center;
  }

  footer p {
    font-size: 0.9rem;
  }
/* Ensure container is truly centered */
.button-container {
  display: flex;
  flex-direction: column;
  align-items: center; /* THIS is key for perfect horizontal centering */
  justify-content: center;
  gap: 14px;
  margin-top: 24px;
}

/* Make buttons auto-sized and fully centered */
.button-container a {
  display: inline-block;
  text-align: center;
  padding: 16px 42px;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 12px;
  background: linear-gradient(to right, #111, #333);
  color: #fff;
  box-shadow: 0 5px 16px rgba(0,0,0,0.2);
  width: auto;
  min-width: 220px;
}

/* Responsive tweaks */
@media (max-width: 480px) {
  .button-container a {
    width: 100%;
    max-width: 300px;
  }
}

/* Fix for category pills */
.category-item {
  max-width: 100%;
  white-space: normal;
  overflow-wrap: break-word;
  text-align: center;
}

/* Ensure carousel images inside .carousel-card display properly */
.carousel-card img {
  max-width: 100%;
  height: auto;
  object-fit: contain; /* This prevents cutting off */
  display: block;
}
/* Responsive button enhancements */
.cta-button,
.button,
.btn,
.get-in-touch,
.our-work {
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  display: inline-block;
  text-align: center;
  transition: all 0.3s ease;
}

@media (max-width: 600px) {
  .cta-button,
  .button,
  .btn,
  .get-in-touch,
  .our-work {
    width: 100%;
    font-size: 1.1rem;
    padding: 16px 0;
    margin-bottom: 12px;
    background: linear-gradient(to right, #111, #333);
    color: #fff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  }
}

/* Optional: Adjust .carousel-card for mobile screens */
@media (max-width: 520px) {
  .carousel-card {
    padding: 8px;
    background: linear-gradient(180deg, #fff, #f0f0f0);
  }

  .carousel-caption {
    font-size: 0.95rem;
    padding: 8px 12px;
  }
}
}

/* --- Extra Small Phones --- */
@media (max-width: 480px) {
  nav a {
    font-size: 0.9rem;
  }

.intro img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: auto;
  z-index: 2;
}

  .nav-logo img {
    height: 0px;
    margin-top: 20px
  }

/* Ensure container is truly centered */
.button-container {
  display: flex;
  flex-direction: column;
  align-items: center; /* THIS is key for perfect horizontal centering */
  justify-content: center;
  gap: 14px;
  margin-top: 24px;
}

/* Make buttons auto-sized and fully centered */
.button-container a {
  display: inline-block;
  text-align: center;
  padding: 16px 42px;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 12px;
  background: linear-gradient(to right, #111, #333);
  color: #fff;
  box-shadow: 0 5px 16px rgba(0,0,0,0.2);
  width: auto;
  min-width: 220px;
}

/* Responsive tweaks */
@media (max-width: 480px) {
  .button-container a {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 600px) {
  .button-container {
    flex-direction: column;
    gap: 16px;
  }
}

/* Fix for category pills */
.category-item {
  max-width: 100%;
  white-space: normal;
  overflow-wrap: break-word;
  text-align: center;
}

/* Ensure carousel images inside .carousel-card display properly */
.carousel-card img {
  max-width: 100%;
  height: auto;
  object-fit: contain; /* This prevents cutting off */
  display: block;
}

/* Optional: Adjust .carousel-card for mobile screens */
@media (max-width: 520px) {
  .carousel-card {
    padding: 8px;
    background: linear-gradient(180deg, #fff, #f0f0f0);
  }

  .carousel-caption {
    font-size: 0.95rem;
    padding: 8px 12px;
  }
}

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

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

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

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

  .service-card {
    padding: 25px 15px;
  }

/* Responsive button enhancements */
.cta-button,
.button,
.btn,
.get-in-touch,
.our-work {
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  display: inline-block;
  text-align: center;
  transition: all 0.3s ease;
}

@media (max-width: 600px) {
  .cta-button,
  .button,
  .btn,
  .get-in-touch,
  .our-work {
    width: 100%;
    font-size: 1.1rem;
    padding: 16px 0;
    margin-bottom: 12px;
    background: linear-gradient(to right, #111, #333);
    color: #fff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  }
}
}



#portfolio-particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  background: black;
  pointer-events: none;
}


/* Optimizations from optimized_clean_site */
/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600&family=Roboto&display=swap');

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

body {
  font-family: 'Roboto', sans-serif;
  background-color: #fff;
  color: #000;
  overflow-x: hidden;
}

/* Intro Container */
.intro {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  z-index: 9999;
}

.intro img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 550px;
  height: auto;
  z-index: 2;
}

.reveal-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: #fff;
  transform: translate(-50%, -50%) scale(0);
  z-index: 0;
  pointer-events: none;
}

.page-transition {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #000 0%, #333 50%, #000 100%);
  background-size: 200% 200%;
  transform: translateY(-100%);
  transition: transform 0.8s ease, opacity 0.8s ease;
  z-index: 9999;
  pointer-events: none;
  opacity: 0;
}

.page-transition.active {
  transform: translateY(0);
  opacity: 1;
  animation: gradientShift 1s linear infinite;
}

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

/* Navbar Flex Setup */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0 20px;
}

/* Left and Right Links */
.nav-left, .nav-right {
  display: flex;
  gap: 40px;
}

.nav-logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 25px;
}

.nav-logo img {
  height: 200px; /* adjust size */
  width: auto;
  transition: transform 0.3s ease;
}

.nav-logo img:hover {
  transform: scale(1.1);
}

/* Optional: adjust nav links style */
.nav-left a, .nav-right a {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: #000;
  text-decoration: none;
  transition: color 0.3s;
  font-size: 2.0rem;
}

.nav-left a:hover, .nav-right a:hover {
  color: #555;
}

/* Navbar Shrink Effect */
.top-section {
  display: flex;
  align-items: center;
  justify-content: center; /* center everything by default */
  transition: all 0.3s ease;
  height: 90px;
  padding: 0 60px;
}

/* Logo styling */
.nav-logo img {
  height: 125px;
  width: auto;
  transition: transform 0.3s ease, height 0.3s ease;
}

/* Navigation links */
nav {
  display: flex;
  gap: 50px;
  transition: opacity 0.3s ease;
}

.top-section.shrink nav {
  opacity: 0;      /* hide nav links */
  pointer-events: none; /* prevent hovering/clicking when hidden */
}

/* Shrink logo if desired */
.top-section.shrink .nav-logo img {
  height: 40px;
}

/* Hamburger Menu (Mobile) */
.hamburger {
  display: none;
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  flex-direction: column;
  gap: 0px;
  cursor: pointer;
}

.hamburger div {
  width: 30px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.4s ease;
}

/* Hamburger animation */
.hamburger.active div:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active div:nth-child(2) {
  opacity: 0;
}
.hamburger.active div:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile nav slide-in */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 250px;
  height: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(15px);
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 100px 30px;
  transition: right 0.4s ease;
  z-index: 998;
}

.mobile-nav.active {
  right: 0;
}

.mobile-nav a {
  font-size: 1.5rem;
}

/* Responsive */
@media (max-width: 1024px) {
  nav {
    display: none;
  }
  .hamburger {
    display: flex;
  }
}

/* Particle Canvas */
/* style.css update */
#particle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1; /* behind content but above background */
  pointer-events: none;
}


/* Hero Section Full-Edge Fade */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: black; /* center of hero */
  color: #fff;
  overflow: hidden;
  padding: 0 20px;
  z-index: 1;
}

/* Hero radial gradient overlay (existing) */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(0,0,0,1), rgba(255,255,255,0.98));
  z-index: 1;
}

/* New bottom fade border */
.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 150px; /* height of fade */
  pointer-events: none;
  z-index: 2;
}


.hero-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
}

.hero h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #fff;
  text-shadow: 0 4px 20px rgba(0,0,0,0.6);
}

.hero p {
  font-size: 1.2rem;
  color: #ccc;
  line-height: 1.8;
  margin-bottom: 40px;
}

.cta-button {
  display: inline-block;
  padding: 14px 35px;
  background-color: #fff;
  color: #000;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  margin: 0 10px;
  transition: transform 0.3s, background 0.3s;
}

.cta-button:hover {
  background-color: #000;
  color: #fff;
  transform: translateY(-3px) scale(1.05);
}

.cta-button.secondary {
  background-color: #000;
  color: #fff;
  border: none;
}

.cta-button.secondary:hover {
  background-color: #444;
  color: #fff;
}

/* Particle Canvas */
#hero-particles {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}






.cta-button.secondary {
  background: transparent;
  color: #000;
  border: 2px solid #000;
}

.cta-button.secondary:hover {
  background: #000;
  color: #fff;
}


.cta-button {
  display: inline-block;
  padding: 14px 35px;
  background-color: #000;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: transform 0.3s, background 0.3s;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s ease-out forwards;
  animation-delay: 1.4s;
}

.cta-button:hover {
  background-color: #444;
  transform: translateY(-3px) scale(1.05);
}

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

/* Services Section */
.services {
  display: flex;
  gap: 50px;
  padding: 100px 50px;
  max-width: 1200px;
  margin: 0 auto;
  z-index: 2;
}



#services-particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1; /* behind content but above background */
  pointer-events: none;
}
.services.section {
  text-align: center;
  padding: 100px 20px;
  background: transparent;
}

.services.section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.services.section p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.services.section .cta-button {
  font-size: 1.1rem;
  padding: 15px 35px;
  border: 2px solid black;
  border-radius: 12px;
  background: white;
  color: black;
  text-decoration: none;
  transition: all 0.3s ease;
}

.services.section .cta-button:hover {
  background: black;
  color: white;
}


/* ===== Footer Styles ===== */
.site-footer {
  background: #1a1a1a;
  color: #f5f5f5;
  padding: 60px 10%;
  font-family: 'Poppins', sans-serif;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-about h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.footer-about p {
  font-size: 1rem;
  line-height: 1.6;
  color: #ccc;
}

.footer-links h4,
.footer-contact h4 {
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #fff;
}

.footer-contact p {
  margin-bottom: 10px;
  color: #ccc;
}

.footer-contact a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-contact a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 20px;
  text-align: center;
  font-size: 0.9rem;
  color: #ccc;
}

.footer-bottom p{
  color: #ccc;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    gap: 30px;
  }
}


/* Features Section */
.features {
  position: relative;
  padding: 100px 50px;
  background-color: #fff; /* match page background */
  overflow: hidden;
  text-align: center;
}

.features canvas.section-particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0; /* behind content */
  pointer-events: none;
}

.features h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 2.5rem;
  margin-bottom: 50px;
  color: #000;
  position: relative;
  z-index: 1;
}

.features-grid {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
  z-index: 1; /* above particles */
}

.feature-card {
  background: #f1f1f1;
  padding: 30px;
  border-radius: 12px;
  flex: 1 1 250px;
  max-width: 300px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.feature-card h3 {
  font-family: 'Poppins', sans-serif;
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.feature-card p {
  color: #555;
  line-height: 1.5;
}


#navbar-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0; /* behind logo and nav */
  pointer-events: none;
}
.top-section > * {
  position: relative;
  z-index: 1; /* ensure logo and links are above particles */
}


/* Responsive */
@media (max-width: 1024px) {
  .services {
    flex-direction: column;
  }
  .service-list {
    flex-direction: row;
    overflow-x: auto;
    gap: 20px;
    margin-bottom: 30px;
  }
  .service-list button::before {
    display: none;
  }
  .hero-title {
    font-size: 2.5rem;
  }
  .hero-subtitle {
    font-size: 1.2rem;
  }
  .hero-subtext {
    font-size: 1rem;
  }
}

/* ============================ */
/* About Page CSS - GraphixLab  */
/* ============================ */

/* Reset */
body, html {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  background: #f8f8f8;
  color: #111;
  overflow-x: hidden;
}

/* Particle Canvas */
#about-particle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  pointer-events: none;
  background: transparent;
}

#about-nav-particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  pointer-events: none;
  background: transparent;
}



/* Navbar */
.top-section {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 90px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(255,255,255,0.0);
  z-index: 999;
}

.top-section nav {
  display: flex;
  gap: 60px;
}

.top-section nav a {
  font-weight: 600;
  color: #111;
  text-decoration: none;
  font-size: 1rem;
  position: relative;
  transition: color 0.3s;
}

.top-section nav a.active,
.top-section nav a:hover {
  color: #444;
}

.top-section nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: #111;
  transition: width 0.3s ease;
}

.top-section nav a:hover::after,
.top-section nav a.active::after {
  width: 100%;
}

/* Hero Section */
.about-hero {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 120px 20px 80px;
}

.about-hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.about-hero p {
  font-size: 1.2rem;
  max-width: 700px;
  line-height: 1.6;
}

/* Timeline */
.about-timeline {
  padding: 100px 20px;
  background: #e8e8e8;
  text-align: center;
}

.about-timeline h2 {
  font-size: 2.5rem;
  margin-bottom: 60px;
}

.timeline-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.timeline-item {
  background: #fff;
  padding: 40px 30px;
  border-radius: 15px;
  width: 250px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.timeline-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.timeline-item h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.timeline-item p {
  font-size: 1rem;
  line-height: 1.5;
}

/* Team Carousel */
.about-team {
  padding: 100px 20px;
  text-align: center;
  background: #f5f5f5;
}

.about-team h2 {
  font-size: 2.5rem;
  margin-bottom: 60px;
}

.team-carousel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  overflow: hidden;
}

.team-carousel .carousel {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 10px;
}

.team-member {
  flex: 0 0 250px;
  background: #fff;
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.team-member:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.team-member img {
  width: 100%;
  border-radius: 15px;
  margin-bottom: 15px;
}

.team-member h3 {
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.team-member p {
  font-size: 0.9rem;
  color: #555;
}

/* Modern Carousel Arrows */
.team-carousel button {
  background: #111; /* dark modern button */
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.team-carousel button:hover {
  background: #fff;
  color: #111;
  transform: scale(1.1);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

.team-carousel .left-btn {
  order: 0; /* ensure left button stays on left */
}

.team-carousel .right-btn {
  order: 2; /* ensure right button stays on right */
}

/* Footer */
footer {
  padding: 0px 0px;
  background: #dcdcdc;
  text-align: center;
}

footer p {
  font-size: 1rem;
  color: #111;
}

/* Responsive */
@media(max-width:1024px){
  .timeline-grid, .team-carousel .carousel{
    flex-direction: column;
    align-items: center;
  }

  .top-section nav{
    gap: 30px;
  }
}


/* ====== SERVICES PAGE (Updated Theme & Layout) ====== */

/* Hero Section */
.services-hero {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-left: 10%;
  color: #f2f2f2;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at top left, #e5e5e5, #b5b5b5);
}

/* Hero Heading */
.services-hero h1 {
  font-size: 4rem;
  letter-spacing: 1px;
  margin-bottom: 15px;
  text-transform: uppercase;
  text-align: center;

  /* Gradient from black to white with a sharper transition */
  background: linear-gradient(to right, #000 0%, #000 50%, #fff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  /* Subtle shadow for sharper edges */
  text-shadow: 0 0 1px rgba(0,0,0,0.15);
}

/* Hero Paragraph */
.services-hero p {
  font-size: 1.2rem;
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;

  /* Softer gradient for readability */
  background: linear-gradient(to right, #000 0%, #000 50%, #000 75%, #000 95%, #ccc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  text-shadow: 0 0 1px rgba(0,0,0,0.1);
}

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-50px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Services Section */
.services-section {
  background: #f9f9f9;
  padding: 100px 10%;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
}

#services-particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  pointer-events: none;
  background: transparent;
}

#servicesnav-particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 2;
  pointer-events: none;
  background: transparent;
}

.services-section::before,
.services-section::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  opacity: 0.15;
}

.services-section::before {
  width: 250px;
  height: 250px;
  top: -80px;
  left: -80px;
  background: radial-gradient(circle, #1a1a1a 0%, transparent 70%);
  animation: floatOrb 12s ease-in-out infinite alternate;
}

.services-section::after {
  width: 400px;
  height: 400px;
  bottom: -120px;
  right: -120px;
  background: radial-gradient(circle, #1a1a1a 0%, transparent 80%);
  animation: floatOrb 14s ease-in-out infinite alternate-reverse;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 60px;
  max-width: 1200px;
  z-index: 2;
}

/* Service Cards */
.service-card {
  background: #fff;
  border-radius: 20px;
  padding: 50px 30px;
  text-align: center;
  box-shadow: 0 15px 40px rgba(0,0,0,0.05);
  position: relative;
  overflow: hidden;
  transform: translateY(30px);
  opacity: 0;
  transition: all 0.6s ease, box-shadow 0.3s ease;
}

.service-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #666, #aaa, #666);
  opacity: 0.2;
}

.service-card h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: #1a1a1a;
  letter-spacing: 0.5px;
}

.service-card p {
  color: #555;
  line-height: 1.8;
  font-size: 1rem;
}

/* Hover animation */
.service-card:hover {
  box-shadow: 0 25px 50px rgba(0,0,0,0.12);
  transform: translateY(-10px);
}

.service-card:hover::before {
  opacity: 0.8;
}

/* Floating Animations */
.service-card:nth-child(1) { animation: floatCard 6s ease-in-out infinite; }
.service-card:nth-child(2) { animation: floatCard 7s ease-in-out infinite reverse; }
.service-card:nth-child(3) { animation: floatCard 8s ease-in-out infinite; }

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}


/* Responsive */
@media (max-width: 768px) {
  .services-hero {
    padding-left: 5%;
    text-align: center;
    align-items: center;
  }

  .services-hero h1 {
    font-size: 2.8rem;
  }

  .services-hero p {
    font-size: 1rem;
  }

  .services-section {
    padding: 80px 5%;
  }

  .service-card {
    padding: 40px 25px;
  }
}

/* ====== PORTFOLIO PAGE ====== */

.portfolio-hero {
  min-height: 60vh;
  background: radial-gradient(circle at center, #111, #000);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #f5f5f5;
  text-align: center;
}

.portfolio-hero h1 {
  font-size: 4rem;
  margin-bottom: 15px;
}



.portfolio-hero p {
  max-width: 700px;
  color: #ccc;
  font-size: 1.2rem;
}

.portfolio-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  padding: 80px 8%;
  background: #fafafa;
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: transform 0.6s ease, filter 0.6s ease;
}

.portfolio-item:hover img {
  transform: scale(1.1);
  filter: grayscale(0%);
}

.portfolio-item .overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  color: #fff;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  text-align: center;
  padding: 20px;
  font-size: 1.3rem;
  opacity: 0;
  transition: all 0.4s ease;
}

.portfolio-item:hover .overlay {
  height: 60%;
  opacity: 1;
}

/* Large asymmetrical style */
.portfolio-item:nth-child(3n) {
  grid-column: span 2;
}

@media (max-width: 900px) {
  .portfolio-item:nth-child(3n) {
    grid-column: span 1;
  }
}


/* ----------------------------- */
/* Portfolio page styles (creative, greyscale) */
/* ----------------------------- */

:root{
  --bg:#f6f6f7;
  --panel:#fff;
  --muted:#9b9b9b;
  --ink:#111;
  --accent-dark:#111;
  --glass: rgba(255,255,255,0.6);
}

/* Ensure particles canvas sits behind content but above page background */
}
/* Portfolio Navbar Particles */
#portfolio2-particles {
  position: fixed; /* or fixed if needed */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none; /* don't block clicks */
  z-index: 2; /* above navbar background but below text */
}

#portfolio2-navbar-particles {
  position: absolute; /* or fixed if needed */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none; /* don't block clicks */
  z-index: 2; /* above navbar background but below text */
}

.our-approach {
  background: transparent; /* removes the white box */
  padding: 80px 10%;
  position: relative;
  z-index: 2; /* above particles if needed */
}

/* page layout */
.portfolio-page{
  position: relative;
  z-index: 2;
  background: linear-gradient(180deg, #f7f7f8 0%, #efefef 100%);
  min-height: 100vh;
  padding-top: 110px; /* nav space */
  color: var(--ink);
  font-family: 'Poppins', sans-serif;
}

/* header */
.portfolio-header{
  display:flex;
  align-items:center;
  justify-content:center;
  padding:48px 24px 10px;
  text-align:center;
  position:relative;
}
.portfolio-headline h1{
  font-size: clamp(34px, 6vw, 58px);
  margin:0;
  font-weight:800;
  letter-spacing:1px;
  background: linear-gradient(90deg,#111 0%, #3b3b3b 60%);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  text-shadow: 0 4px 30px rgba(0,0,0,0.06);
}
.portfolio-headline .subtitle{
  margin-top:10px;
  color:var(--muted);
  max-width:900px;
  margin-left:auto;margin-right:auto;
}

/* category strip */
.category-strip{
  display:flex;
  align-items:center;
  gap:16px;
  padding:28px 24px;
  justify-content:center;
  position:relative;
  z-index:3;
}
.cat-arrow{
  background:transparent;
  border:0;
  font-size:0px;
  color:var(--ink);
  cursor:pointer;
  width:56px;height:56px;border-radius:12px;
  display:flex;align-items:center;justify-content:center;
  transition:all .25s;
}
.cat-arrow:hover{ transform:translateY(-3px); }

/* track container */
.category-track{
  display:flex;
  gap:12px;
  overflow:auto;
  padding:4px 8px;
  scroll-behavior:smooth;
  -webkit-overflow-scrolling:touch;
  align-items:center;
}

/* category pill */
.category-item{
  background:transparent;
  border:2px solid rgba(0,0,0,0.07);
  color:var(--ink);
  padding:12px 20px;
  border-radius:40px;
  white-space:nowrap;
  cursor:pointer;
  font-weight:700;
  letter-spacing:0.3px;
  transition: all .35s cubic-bezier(.2,.9,.2,1);
  transform: translateY(0);
  backdrop-filter: blur(4px);
}
.category-item:hover{ transform: translateY(-6px); box-shadow:0 12px 30px rgba(0,0,0,0.06); }
.category-item.active{
  background:linear-gradient(90deg,#111, #555);
  color:#fff;
  border-color:transparent;
  box-shadow: 0 18px 40px rgba(0,0,0,0.18);
}

/* portfolio display */
.portfolio-display{
  padding:36px 20px 56px;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:18px;
  z-index: 50000;
}

.carousel-wrapper {
  display: flex;
  align-items: center;
  justify-content: center; /* centers arrows and track */
  gap: 20px;
  width: 100%;
  max-width: 1200px;
  position: relative;
  margin: 0 auto; /* centers entire carousel horizontally */
}
/* arrows */
.carousel-arrow{
  background:var(--panel);
  border-radius:12px;
  border:1px solid rgba(0,0,0,0.06);
  width:56px;height:56px;
  display:flex;align-items:center;justify-content:center;
  font-size:28px;cursor:pointer;
  box-shadow:0 10px 30px rgba(0,0,0,0.06);
}

/* viewport and track */
.carousel-viewport{
  overflow:hidden;
  flex:1;
  border-radius:18px;
  background:transparent;
  position:relative;
}

.carousel-track{
  display:flex;
  gap:28px;
  transition: transform 520ms cubic-bezier(.2,.9,.3,1);
  will-change: transform;
  padding:28px;
  align-items:center;
}

/* each item (single large hero) */
.carousel-item{
  min-width: 760px;
  max-width: 760px;
  height: 460px;
  flex: 0 0 760px;
  position:relative;
  border-radius:14px;
  overflow:visible;
  display:flex;
  align-items:center;
  justify-content:center;
}

/* image wrapper with animated border */
.carousel-card{
  width:100%;
  height:100%;
  position:relative;
  border-radius:14px;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(180deg,#fff,#f6f6f6);
  box-shadow:0 20px 60px rgba(0,0,0,0.08);
  transform: translateY(8px) scale(.98);
  transition: transform 420ms cubic-bezier(.2,.9,.3,1), box-shadow 420ms;
}

/* animated border pseudo-element */
.carousel-card::before{
  content:'';
  position:absolute;
  inset:8px;
  border-radius:10px;
  pointer-events:none;
  background: linear-gradient(90deg, rgba(0,0,0,0.85), rgba(0,0,0,0.25));
  mask: linear-gradient(#000 0 0);
  transform: scaleX(0);
  transform-origin:left center;
  transition: transform 520ms cubic-bezier(.2,.9,.2,1);
  z-index:3;
}

/* active item */
.carousel-item.active .carousel-card{
  transform: translateY(0) scale(1);
  box-shadow:0 32px 90px rgba(0,0,0,0.14);
}
.carousel-item.active .carousel-card::before{
  transform: scaleX(1);
}

/* inner image */
.carousel-card img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition: transform 420ms, filter 420ms;
  filter: grayscale(40%);
}
.carousel-item.active .carousel-card img{
  transform: scale(1.02);
  filter: grayscale(0%);
}

/* caption overlay */
.carousel-caption{
  position:absolute;
  left:28px;
  bottom:28px;
  background: rgba(255,255,255,0.85);
  padding:12px 16px;
  border-radius:10px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  z-index:4;
  color:var(--ink);
}

/* meta */
.carousel-meta{
  max-width:1200px;
  width:100%;
  padding:0 28px;
  display:flex;
  gap:20px;
  align-items:flex-start;
  justify-content:space-between;
}
.current-title{ font-size:1.25rem; font-weight:700; margin:0; color:var(--ink); }
.current-desc{ color:var(--muted); margin:0; max-width:720px; }

/* presentation summary */
.portfolio-summary{
  max-width:1000px;
  margin:48px auto 120px;
  text-align:center;
  color:var(--ink);
}
.portfolio-summary h2{ font-size:2rem; margin-bottom:12px; }
.portfolio-summary p{ color:var(--muted); line-height:1.7; }

/* lightbox */
.lightbox{
  position:fixed; inset:0; display:none; align-items:center; justify-content:center;
  z-index:-100; background: rgba(10,10,10,0.6);
}
.lightbox.active{ display:flex; }
.lightbox-inner{
  width:min(90vw,1100px);
  border-radius:14px;
  overflow:hidden;
  background:linear-gradient(180deg,#fff,#f9f9f9);
  position:relative;
  padding:28px;
  box-shadow:0 30px 120px rgba(0,0,0,0.6);
}
.lb-media{ display:flex; gap:20px; align-items:center; }
.lb-media img{ width:640px; max-width:calc(70vw); border-radius:10px; display:block; }
.lb-caption{ max-width:340px; color:var(--ink); }
.lb-close{ position:absolute; right:18px; top:18px; border:0; background:transparent; font-size:22px; cursor:pointer; }

/* responsive */
@media (max-width: 1100px){
  .carousel-item{ min-width:640px; flex:0 0 640px; height:380px; max-width:640px; }
  .carousel-card::before{ inset:6px; }
}
@media (max-width: 820px){
  .carousel-item{ min-width:420px; flex:0 0 420px; height:300px; max-width:420px; }
  .carousel-track{ padding:16px; gap:16px; }
  .carousel-meta{ flex-direction:column; align-items:flex-start; padding:0 16px; }
}
@media (max-width: 520px){
  .category-track{ gap:8px; padding:4px; }
  .carousel-item{ min-width:320px; flex:0 0 320px; height:260px; max-width:320px; }
  .carousel-arrow{ width:46px;height:46px; }
}

/* --- Medium Devices: iPads, Foldables, Large Phones (up to 1024px) --- */
@media (max-width: 1024px) {
  .hero-content h1,
  .services-hero h1,
  .about-intro h1 {
    font-size: 2.4rem;
  }

  .hero-content p,
  .services-hero p,
  .about-intro p {
    font-size: 1.05rem;
  }

  .button-container {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .button-container a {
    font-size: 1.1rem;
    padding: 16px 28px;
    width: auto;
    min-width: 240px;
  }

  .carousel-item {
    min-width: 640px;
    max-width: 90vw;
    height: auto;
  }

  .carousel-card img {
    object-fit: contain;
    max-width: 100%;
    height: auto;
  }

  .team-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 24px;
  }

  .service-card {
    padding: 28px 20px;
  }

  .nav-logo img {
    height: 90px;
  }

  footer {
    padding: 40px 20px;
  }
}  


.call-meeting-cta {
  margin: 80px auto;
  text-align: center;
  padding: 20px 5px;
  background: radial-gradient(circle at center, #fff, #111);
  border-radius: 24px;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.25);
  max-width: 820px;
  animation: fadeIn 1.5s ease;
  z-index: 6;
}

.call-meeting-cta a {
  display: inline-block;
  padding: 14px 32px; /* smaller padding */
  font-size: 1.1rem;   /* slightly smaller text */
  font-weight: 600;
  color: #fff;
  background: linear-gradient(to right, #000, #222, #000);
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 0 12px rgba(255,255,255,0.1);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
z-index: 6;
}

.call-meeting-cta a::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.15), transparent 70%);
  animation: pulseEffect 3s infinite linear;
  z-index: -1;
}

.call-meeting-cta a span {
  position: relative;
  z-index: -1;
}

.call-meeting-cta a:hover {
  transform: scale(1.04);
  box-shadow: 0 0 25px rgba(255,255,255,0.2);
}

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

@keyframes pulseEffect {
  0% {
    transform: rotate(0deg);
    opacity: 0.6;
  }
  100% {
    transform: rotate(360deg);
    opacity: 0.2;
  }
}

/* Responsive */
@media (max-width: 600px) {
  .call-meeting-cta {
    padding: 40px 16px;
  }

  .call-meeting-cta a {
    font-size: 1.1rem;
    padding: 16px 36px;
  }
}
/* ====== RESPONSIVE DESIGN ====== */

/* --- Phones & Small Tablets --- */
@media (max-width: 768px) {


.intro img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: auto;
  z-index: 2;
}
  /* Navbar */
  .navbar {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 15px 0;
  }

  .nav-left,
  .nav-right {
    display: flex;
    justify-content: center;
    gap: 20px;
  }

  .nav-logo img {
    height: 0px;
    margin-top: 20px
  }

  nav a {
    font-size: 1rem;
  }

  /* Hero sections */
  .hero,
  .services-hero,
  .about-intro {
    min-height: 70vh;
    padding: 100px 5% 60px;
    text-align: center;
  }

  .hero-content h1,
  .services-hero h1,
  .about-intro h1 {
    font-size: 2.2rem;
  }

  .hero-content p,
  .services-hero p,
  .about-intro p {
    font-size: 1rem;
    line-height: 1.5;
  }

  /* Services grid */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 0 5%;
  }

  .service-card {
    padding: 35px 20px;
  }

  /* About page story layout */
  .story-grid {
    flex-direction: column;
    text-align: center;
  }

  .story-text {
    margin-bottom: 30px;
  }

  .story-image img {
    width: 100%;
    height: auto;
  }

  /* Team grid */
  .team-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .team-member img {
    width: 100px;
    height: 100px;
  }

  /* Footer */
  footer {
    padding: 20px 0px;
    text-align: center;
  }

  footer p {
    font-size: 0.9rem;
  }
/* Ensure container is truly centered */
.button-container {
  display: flex;
  flex-direction: column;
  align-items: center; /* THIS is key for perfect horizontal centering */
  justify-content: center;
  gap: 14px;
  margin-top: 24px;
}

/* Make buttons auto-sized and fully centered */
.button-container a {
  display: inline-block;
  text-align: center;
  padding: 16px 42px;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 12px;
  background: linear-gradient(to right, #111, #333);
  color: #fff;
  box-shadow: 0 5px 16px rgba(0,0,0,0.2);
  width: auto;
  min-width: 220px;
}

/* Responsive tweaks */
@media (max-width: 480px) {
  .button-container a {
    width: 100%;
    max-width: 300px;
  }
}

/* Fix for category pills */
.category-item {
  max-width: 100%;
  white-space: normal;
  overflow-wrap: break-word;
  text-align: center;
}

/* Ensure carousel images inside .carousel-card display properly */
.carousel-card img {
  max-width: 100%;
  height: auto;
  object-fit: contain; /* This prevents cutting off */
  display: block;
}
/* Responsive button enhancements */
.cta-button,
.button,
.btn,
.get-in-touch,
.our-work {
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  display: inline-block;
  text-align: center;
  transition: all 0.3s ease;
}

@media (max-width: 600px) {
  .cta-button,
  .button,
  .btn,
  .get-in-touch,
  .our-work {
    width: 100%;
    font-size: 1.1rem;
    padding: 16px 0;
    margin-bottom: 12px;
    background: linear-gradient(to right, #111, #333);
    color: #fff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  }
}

/* Optional: Adjust .carousel-card for mobile screens */
@media (max-width: 520px) {
  .carousel-card {
    padding: 8px;
    background: linear-gradient(180deg, #fff, #f0f0f0);
  }

  .carousel-caption {
    font-size: 0.95rem;
    padding: 8px 12px;
  }
}
}

/* --- Extra Small Phones --- */
@media (max-width: 480px) {
  nav a {
    font-size: 0.9rem;
  }

.intro img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: auto;
  z-index: 2;
}

  .nav-logo img {
    height: 0px;
    margin-top: 20px
  }

/* Ensure container is truly centered */
.button-container {
  display: flex;
  flex-direction: column;
  align-items: center; /* THIS is key for perfect horizontal centering */
  justify-content: center;
  gap: 14px;
  margin-top: 24px;
}

/* Make buttons auto-sized and fully centered */
.button-container a {
  display: inline-block;
  text-align: center;
  padding: 16px 42px;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 12px;
  background: linear-gradient(to right, #111, #333);
  color: #fff;
  box-shadow: 0 5px 16px rgba(0,0,0,0.2);
  width: auto;
  min-width: 220px;
}

/* Responsive tweaks */
@media (max-width: 480px) {
  .button-container a {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 600px) {
  .button-container {
    flex-direction: column;
    gap: 16px;
  }
}

/* Fix for category pills */
.category-item {
  max-width: 100%;
  white-space: normal;
  overflow-wrap: break-word;
  text-align: center;
}

/* Ensure carousel images inside .carousel-card display properly */
.carousel-card img {
  max-width: 100%;
  height: auto;
  object-fit: contain; /* This prevents cutting off */
  display: block;
}

/* Optional: Adjust .carousel-card for mobile screens */
@media (max-width: 520px) {
  .carousel-card {
    padding: 8px;
    background: linear-gradient(180deg, #fff, #f0f0f0);
  }

  .carousel-caption {
    font-size: 0.95rem;
    padding: 8px 12px;
  }
}

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

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

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

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

  .service-card {
    padding: 25px 15px;
  }

/* Responsive button enhancements */
.cta-button,
.button,
.btn,
.get-in-touch,
.our-work {
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  display: inline-block;
  text-align: center;
  transition: all 0.3s ease;
}

@media (max-width: 915px) {
  .cta-button,
  .button,
  .btn,
  .get-in-touch,
  .our-work {
    font-size: 1.1rem;
    padding: 16px 32px;
    margin-bottom: 12px;
    background: linear-gradient(to right, #111, #333);
    color: #fff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    
    width: auto;               /* Let it size to content */
    max-width: 90%;            /* Prevent overflow */
    display: inline-block;
  }
}

}



#portfolio-particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  background: black;
  pointer-events: none;
}

/* Consolidated from inline styles */

/* Global Modern Styling */
body {
  margin: 0;
  padding: 0;
  font-smooth: always;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
  background: #0f1116;
  color: #ffffff;
  font-family: 'Helvetica Neue', sans-serif;
}

/* Modern Section Look */
.section {
  padding: 100px 20px;
  transition: all 0.4s ease-in-out;
  position: relative;
  z-index: 1;
}

.section:hover {
  transform: scale(1.01);
}

/* Glassmorphism Panels */
.glass {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 40px;
}

/* Typography & Animation */
h1, h2, h3 {
  letter-spacing: 0.03em;
  line-height: 1.2;
  margin-bottom: 20px;
}

.fade-in {
  opacity: 0;
  animation: fadeIn 1.5s ease forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* Buttons */
button, .btn {
  transition: all 0.3s ease;
  border: none;
  padding: 12px 24px;
  border-radius: 30px;
  background: #ffffff10;
  color: white;
  cursor: pointer;
  font-weight: 500;
  letter-spacing: 0.05em;
}

button:hover, .btn:hover {
  background: #ffffff20;
  transform: scale(1.05);
}

@media screen and (max-width: 768px) {
  .section {
    padding: 60px 15px;
  }
  h1, h2, h3 {
    font-size: 90%;
  }
  nav {
    flex-direction: column;
    gap: 10px;
  }
}


:root {
  --primary-color: #e63946;
  --secondary-color: #457b9d;
  --background-color: #f1faee;
  --text-color: #1d3557;
  --accent-color: #a8dadc;
}

/* Apply new color theme */
body {
  background-color: var(--background-color);
  color: var(--text-color);
}

.section {
  background: var(--accent-color);
  color: var(--text-color);
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

button, .btn {
  background-color: var(--primary-color);
  color: #fff;
}

button:hover, .btn:hover {
  background-color: var(--secondary-color);
  color: #fff;
}


    body {
        margin: 0;
        padding: 0;
        font-smooth: always;
        -webkit-font-smoothing: antialiased;
        scroll-behavior: smooth;
    }

    .section {
        padding: 80px 20px;
        transition: all 0.4s ease-in-out;
    }

    .section:hover {
        transform: scale(1.01);
    }

    .fade-in {
        opacity: 0;
        animation: fadeIn 1.5s ease forwards;
    }

    @keyframes fadeIn {
        to {
            opacity: 1;
        }
    }
    

        body {
            margin: 0;
            padding: 0;
            font-smooth: always;
            -webkit-font-smoothing: antialiased;
            scroll-behavior: smooth;
        }

        .section {
            padding: 80px 20px;
            transition: all 0.4s ease-in-out;
        }

        .section:hover {
            transform: scale(1.01);
        }

        .fade-in {
            opacity: 0;
            animation: fadeIn 1.5s ease forwards;
        }

        @keyframes fadeIn {
            to {
                opacity: 1;
            }
        }

        @media screen and (max-width: 768px) {
            .section {
                padding: 60px 15px;
            }

            h1, h2, h3 {
                font-size: 90%;
            }

            nav {
                flex-direction: column;
                gap: 10px;
            }
        }
        

:root {
  --background-color: #ffffff;
  --card-bg: rgba(255, 255, 255, 0.75);
  --text-color: #111111;
  --border-color: rgba(0, 0, 0, 0.1);
  --highlight: #eeeeee;
  --hover-bg: rgba(0, 0, 0, 0.03);
}

/* Clean and modern white gloss theme */
body {
  background-color: var(--background-color);
  color: var(--text-color);
  font-family: 'Helvetica Neue', sans-serif;
  -webkit-font-smoothing: antialiased;
}

.section {
  background: var(--card-bg);
  color: var(--text-color);
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

button, .btn {
  background-color: var(--highlight);
  color: var(--text-color);
  border-radius: 32px;
  padding: 12px 24px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

button:hover, .btn:hover {
  background-color: var(--hover-bg);
  transform: scale(1.03);
}


.service-details-content p {
  font-family: 'Segoe UI', 'Helvetica Neue', sans-serif;
  font-size: 1rem;
  color: #333;
  line-height: 1.6;
  margin-bottom: 1em;
}

.service-list button {
  background-color: transparent;
  color: #333;
  border: none;
  padding: 12px 24px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.service-list button:hover,
.service-list button.active {
  background-color: transparent !important;
  color: #000 !important;
  border-bottom: 2px solid #000;
}


/* Glassmorphism styles added */

/* Glassmorphism effect for section backgrounds */
.glass {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 40px;
}


/* Responsive Enhancements */

/* Responsive Layout Adjustments */
@media screen and (max-width: 768px) {
  body {
    padding: 0 10px;
  }

  .section, .glass, .commitment-section, .our-journey {
    padding: 0px 0px;
  }

  h1, h2, h3 {
    font-size: 1.5rem !important;
  }

  .scaled-services {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .scaled-services span {
    width: 100%;
    padding: 10px 0;
  }

  .portfolio-item img {
    width: 100% !important;
    height: auto !important;
    display: block;
    margin: 0 auto;
    max-width: 100%;
  }

  .service-list {
    flex-direction: column;
    gap: 10px;
  }

  .navbar, nav, .menu {
    flex-direction: column;
    gap: 15px;
  }

  .footer, footer {
    text-align: center;
    padding: 30px 15px;
  }
}


@media screen and (max-width: 1024px) {
  .services-hero {
    padding-top: 80px !important;
    padding-bottom: 40px;
  }

  .services-hero h1,
  .services-hero p {
    z-index: 2;
    position: relative;
    color: white; /* Ensures contrast over dark background */
  }

  .services-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, #000 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
  }
}


.hero .cta-button {
  display: block;
  margin: auto auto;
  text-align: center;
}

.service-list {
  width: 100vw;
  max-width: 100%;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: space-between;
  box-sizing: border-box;
}


.service-teaser {
  text-align: center;
  padding: 100px 20px;
  background: transparent;
  z-index: -1;
}

.service-teaser h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.service-teaser p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.service-teaser .cta-button {
  display: block;
  margin: 20px auto;
  text-align: center;
  font-size: 1.1rem;
  padding: 15px 35px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 50%, #ffffff 100%);
  color: black;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  transition: all 0.3s ease;
}

.service-teaser .cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.2);
  background: linear-gradient(135deg, #e0e0e0 0%, #ffffff 50%, #e0e0e0 100%);
}



@media (prefers-color-scheme: dark) {
  html {
    color-scheme: light;
    background: #ffffff !important;
    color: #000000 !important;
  }
}

@media (max-width: 1024px) {
  .features fade-in glass section h2 {
    padding-top: 60px;
  }
}



