/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html, body {
  width: 100%;
  height: 100%;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  scroll-behavior: smooth;
  background: url("graphics/abt.png") no-repeat center center fixed;
  color: #fffefe;
}

/* ===== HEADER ===== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 254, 254, 0.1);
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  transition: background 0.4s ease;
}

/* Darker when scrolled */
header.scrolled {
  background: linear-gradient(180deg, #150015, #4b0082, #000000);
}

header img {
  height: 70px;
}

nav ul {
  display: flex;
  gap: 20px;
  list-style: none;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  position: relative; /* needed for underline positioning */
  transition: color 0.3s ease;
}

nav ul li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 2px;
  background: #ffffff; /* your accent color */
  transition: width 0.3s ease;
}

nav ul li a:hover {
  color: #ffffff;
}

nav ul li a:hover::after {
  width: 100%;
}

/* To prevent header from hiding first section */
body {
  padding-top: 80px; /* matches header height */
}
.hero {
  margin-top: -80px; /* pulls hero up, removes gap */
  height: 100vh;     /* keep full screen */
}

.menu-toggle {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}
.hero video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
}
.hero-content {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  z-index: 1;
}
.hero-content h2,
.hero-content p {
  padding: 12px 25px;
  border-radius: 8px;
  animation: fadeInUp 1.2s ease;
}
.hero::after {
  /* Gradient fade overlay */
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 150px;
  background: linear-gradient(to top, #0f0f0f, transparent);
  z-index: 2;
}



.scroll-down {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 2.5rem;
  color: #ffffff; /* gold */
  cursor: pointer;
  animation: bounce 1.5s infinite;
  text-shadow: 0 0 10px rgba(0,0,0,0.8);
  z-index: 10;
}

.scroll-down svg {
  width: 40px;
  height: 40px;
  stroke: #ffffff;  /* gold */
  stroke-width: 2.5;
}

@keyframes bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 12px); }
}


/* ===== SECTIONS ===== */

section {
  padding: 80px 20px;
  width: 100%;
  margin: 0;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;

  /* black fade top & bottom */
  background: transparent;
}

section.visible {
  opacity: 1;
  transform: translateY(0);
}
section.focused {
  transform: scale(1.02);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}
section h2 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 2.5rem;
  background: linear-gradient(90deg, #ffffff, #fffffd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
section p {
  text-align: center;
  font-size: 1.1rem;
  color: #ffffff;
}

/* ===== FOOTER ===== */
footer {
  background: linear-gradient(90deg, #ffffff, #ffffff);
  color: #000000;
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* ===== MOBILE STYLES ===== */
@media (max-width: 768px) {
  nav {
    display: none;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.95);
    position: absolute;
    top: 60px;
    right: 0;
    width: 200px;
    padding: 20px;
  }
  nav ul {
    flex-direction: column;
    align-items: flex-start;
  }
  nav ul li {
    margin: 10px 0;
  }
  .menu-toggle {
    display: block;
  }
}
nav.active {
  display: flex;
}

/* CLIENTS SECTION */
/* Outer wrapper hides overflow */
.clients-slider {
  overflow: hidden;
  position: relative;
  width: 100%;
}

/* Inner list is wider and animated */
.clients-list {
  display: flex;
  gap: 40px;
  animation: scrollClients 30s linear infinite;
  width: max-content; /* ensures natural width */
}

@keyframes scrollClients {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}


/* Client cards */
.client-card {
  flex: 0 0 auto;
  background: rgb(255, 254, 254);
  padding: 20px;
  text-align: center;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.client-card img {
  max-width: 100%;
  max-height: 60px;
  object-fit: contain;
}

/* Keyframes for infinite scrolling */
@keyframes scrollClients {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}



/* TEAM SECTION */
.team-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.team-card {
  background: linear-gradient(135deg, #b6b5b1, hsl(0, 0%, 100%));
  background-size: 300% 300%;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  position: relative;
  overflow: hidden; /* so shine effect stays inside */
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  animation: gradientShift 6s ease infinite, glowPulse 3s ease-in-out infinite;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  transform-style: preserve-3d;
}

/* Shine overlay */
.team-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 150%;
  height: 150%;
  background: radial-gradient(circle at var(--shine-x, 50%) var(--shine-y, 50%), rgba(255,255,255,0.4), transparent 60%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.team-card h3 {
  color: #000000;
  margin-bottom: 5px;
}

.team-card p {
  font-size: 0.9rem;
  color: rgba(0, 0, 0, 0.7);
}

.services-container {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.service-card {
  width: 260px;
  height: 220px;
  perspective: 1000px; /* 3D depth */
}

.service-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}


.service-card:hover .service-card-inner {
  transform: rotateY(180deg);
}

.service-card-front,
.service-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 15px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* Front Side */
.service-card-front {
  font-weight: bold;
}

/* Back Side */
.service-card-back {
  transform: rotateY(180deg);
  text-align: center;
  font-size: 15px;
  line-height: 1.4;
}

/* Glass Effect */
.glass-effect {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  color: #fff;
}

.service-icon {
  font-size: 35px;
  margin-bottom: 15px;
}

.service-icon svg {
  width: 40px;   /* increase icon width */
  height: 40px;  /* increase icon height */
}





/* Gradient animation */
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Glow pulse */
@keyframes glowPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5); }
  50% { box-shadow: 0 4px 30px rgba(0, 0, 0, 0.8); }
}

/* Shine sweep overlay */
.team-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgb(255, 255, 255),
    transparent
  );
  transform: skewX(-20deg);
  transition: all 0.6s ease;
}

/* Trigger shine on hover */
.team-card:hover::after {
  left: 125%;
  transition: all 0.6s ease;
}



#contact {
background: transparent;
  color: #F5F5F5;
  padding: 80px 20px;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  max-width: 1000px;
  margin: auto;
}

.contact-info {
  flex: 1 1 300px;
}

.contact-info h3 {
  color: #d1d0cc;
  margin-bottom: 15px;
}

.contact-info p {
  color: #ffffff;
  margin-bottom: 10px;
  font-size: 1rem;
}

.contact-info a {
  color: #ffffff;
  text-decoration: none;
}


section.focused {
  transform: scale(1.02);
  transition: all 0.6s ease;
}

section {
  transition: all 0.4s ease;
}

section * {
  transition: all 0.4s ease;
}


/* Base section style */
section {
  transition: all 0.4s ease;
}

/* Internal content movement */
section * {
  transition: all 0.4s ease;
}

section:hover * {
  opacity: 1;
}

/* Base section style */
section {
  transition: all 0.4s ease;
}


/* Active hovered section */
body.hovering section:hover {
  opacity: 1;
  filter: none;
  transform: scale(1.02);
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.3);
}
.client-card img {
  max-width: 100%;
  max-height: 60px;
  object-fit: contain;
  
  transition: all 0.4s ease;
}

.client-card img:hover {
  filter: grayscale(0%);
  transform: scale(1.05);
}


.stats-container {
  display: flex;
  justify-content: center;
  gap: 50px;
  text-align: center;
}

.stat {
  font-size: 2rem;
  color: #ffffff;
}

.stat p {
  font-size: 1rem;
  color: #A8A29E;
}


/* Why Choose Us Section */
#why-choose-us {
  text-align: center;
}

.why-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 30px;
}

.why-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 30px 20px;
  width: 260px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-card:hover {
  transform: translateY(-20px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}

.why-card i {
  width: 40px;
  height: 40px;
  stroke: #FFD700; /* gold icons */
  margin-bottom: 15px;
}

.why-card h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  color: #fff;
}

.why-card p {
  font-size: 0.95rem;
  color: #ddd;
}





/* Why Choose Us Section */
#why-choose-us {
  text-align: center;
}

.why-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 30px;
}

.why-card {
  background: rgba(255, 255, 255, 0.08);   /* transparent white layer */
  border-radius: 15px;
  padding: 30px 20px;
  width: 260px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  backdrop-filter: blur(20px);             /* glass blur */
  -webkit-backdrop-filter: blur(12px);     /* Safari support */
  border: 1px solid rgba(255, 255, 255, 0.2); /* subtle border */
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25); /* soft shadow */
}

.why-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 8px 30px rgb(255, 254, 249);
  background: rgba(255, 255, 255, 0.15);   /* brighter glass on hover */
}

.why-card i {
  width: 45px;
  height: 45px;
  stroke: #FFD700; /* gold icons */
  margin-bottom: 20px;
  margin-top: 10px;
}

.why-card h3 {
  margin: 15px 0 10px;
  font-size: 1.2rem;
  color: #fff;
}

.why-card p {
  margin-top: 10px;
  font-size: 0.95rem;
  color: #ddd;
}



.about-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap; /* allows stacking on smaller screens */
}

.about-image img {
  width: 100%;
  max-height: 400px;
  max-width: 550px;   /* increased from 400px */
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
  object-fit: cover;
}





/* --- Video section layering (no color change) --- */
.hero {
  position: relative;
  height: 100vh;            /* keep your full-screen video */
  overflow: hidden;
}

.hero video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-text {
  position: relative;
  z-index: 2;
  color: #fff;
  text-align: center;
  top: 40%;
  transform: translateY(-50%);
}

/* soft fade at bottom so overlap looks pro */
.hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 140px;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, #0e0e0e 100%);
  z-index: 2;
  pointer-events: none;
}

/* Down arrow on top of video */
.scroll-down {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  z-index: 3;               /* above video & gradient */
  animation: arrow-bounce 1.5s infinite;
}

.scroll-down svg {
  width: 44px;
  height: 44px;
  stroke: #ffffff;          /* gold */
  stroke-width: 2.5;
  filter: drop-shadow(0 0 8px rgba(0,0,0,0.8));
}

@keyframes arrow-bounce {
  0%,100% { transform: translate(-50%, 0); }
  50%     { transform: translate(-50%, 12px); }
}

/* --- About section overlap + reveal (does NOT change background) --- */
/* IMPORTANT: remove any earlier '#about { background: ... }' you added.
   We do NOT set background here, so your existing section gradient stays. */
#about {
  position: relative;
  margin-top: -120px;   /* pulls it over the video */
  z-index: 4;      
}

/* reveal animation states */
#about.reveal-init {
  opacity: 0;
  transform: translateY(80px);
  transition: opacity .9s ease, transform .9s ease;
}

#about.reveal-show {
  opacity: 1;
  transform: translateY(0);
}


h1, h2, h3 { font-family: 'Poppins', sans-serif; }
body, p { font-family: 'Open Sans', sans-serif; line-height: 1.6; }




/* TEAM SECTION - simplified glass style */
.team-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.team-card {
  background: rgba(255, 255, 255, 0.08);   /* transparent white layer */
  border-radius: 15px;
  padding: 30px 20px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  backdrop-filter: blur(12px);             /* glass blur */
  -webkit-backdrop-filter: blur(12px);     /* Safari support */
  border: 1px solid rgba(255, 255, 255, 0.2); /* subtle border */
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25); /* soft shadow */
}

.team-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
  background: rgba(255, 255, 255, 0.15);   /* brighter glass on hover */
}

.team-card img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin-bottom: 15px;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.team-card h3 {
  margin-bottom: 8px;
  font-size: 1.1rem;
  color: #fff;
}

.team-card p {
  font-size: 0.9rem;
  color: #ddd;
}




