/* PIXL VFX Studio - Core Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Outfit:wght@100..900&display=swap');

:root {
  /* Color Tokens */
  --bg-darker: #050508;
  --bg-dark: #0b0b12;
  --bg-card: #12121e;
  --bg-card-hover: #18182a;

  --accent-cyan: #00f2fe;
  --accent-cyan-glow: rgba(0, 242, 254, 0.15);
  --accent-purple: #9b51e0;
  --accent-purple-glow: rgba(155, 81, 224, 0.15);
  --accent-grad: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-purple) 100%);

  --text-primary: #f8fafc;
  --text-secondary: #ada8a8;
  --text-muted: #64748b;
  --border-color: rgba(255, 255, 255, 0.06);
  --border-focus: rgba(0, 242, 254, 0.4);

  /* Fonts */
  --font-heading: 'Outfit', sans-serif;
  --font-body: "Barlow", sans-serif;

  /* Layout Transitions */
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;

  scroll-behavior: smooth;
}

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

body {
  background-color: var(--bg-darker);
  color: var(--text-primary);
  font-family: var(--font-body);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-darker);
}

::-webkit-scrollbar-thumb {
  background: #1e1e30;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-purple);
}

/* Typography & General Utilities */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

.gradient-text {
  background: var(--accent-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
} */

.section-padding {
  padding: 8rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 5rem;
}

.section-subtitle {
  font-family: var(--font-body);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent-cyan);
  display: block;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.section-title {
  font-size: 2.5rem;
  line-height: 1.2;
}

/* Header & Glassmorphic Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(5, 5, 8, 0.4);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition-smooth);
}

header.scrolled {
  background: rgba(5, 5, 8, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

/* .logo {
 width: 100px;
} */

.logoimg{
  width: 200px;
 height: 30px;

}
  /* .logo-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-cyan);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-cyan);
   */

nav {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-grad);
  transition: var(--transition-smooth);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.btn-contact-nav {
  padding: 0.6rem 1.4rem;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--transition-smooth);
}

.btn-contact-nav:hover {
  background: var(--text-primary);
  color: var(--bg-darker);
  border-color: var(--text-primary);
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.1);
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 1001;
}

.video{
  display: none;
  width: 100%;
  height: 100%;
}
.videoplay{
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hero Section & Interactive Canvas Background */
#hero {
  position: relative;
  height: 100vh;
  min-height: 650px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.particle-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: auto;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, rgba(5, 5, 8, 0.2) 0%, var(--bg-darker) 85%);
  z-index: 2;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 600px;
  pointer-events: auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  font-weight: 500;
  margin-bottom: 2rem;
}

.hero-badge-pulse {
  width: 6px;
  height: 6px;
  background: #10b981;
  border-radius: 50%;
  animation: pulse 2s infinite;
}


.heroSwiper {
  width: 100%;
}

.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: start;
}

.hero-title {
  font-size: clamp(60px, 8vw, 140px);
  font-weight: 800;
  line-height: 1 letter-spacing:3px color:#fff;
}

.gradient-text {
  background: linear-gradient(90deg, #00d4ff, #4f46e5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@keyframes pulse {
  0% {
    transform: scale(0.9);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
  }

  100% {
    transform: scale(0.9);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.hero-title {
  font-size: 5rem;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.hero-description {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2.2rem;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  transition: var(--transition-smooth);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--accent-grad);
  color: #000;
  box-shadow: 0 4px 30px rgba(0, 242, 254, 0.25);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 242, 254, 0.45);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

/* Stats Ribbon */
.stats-ribbon {
  background: var(--bg-dark);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 5rem 0;
  position: relative;
  margin: 5rem 0;
  z-index: 10;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
}

.stat-item {
  border-right: 1px solid var(--border-color);
}

.stat-item:last-child {
  border-right: none;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.5rem;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  font-weight: 500;
}

/* About Section */
#about {
  background-color: var(--bg-darker);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 6rem;
  align-items: center;
}

.about-text p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

.tech-badges {
  margin-top: 2.5rem;
}

.tech-badges-title {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.badge {
  padding: 0.4rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

.badge:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateX(5px);
}

.about-visual {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.about-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.about-visual:hover video {
  transform: scale(1.05);
}

.visual-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 5, 8, 0.8) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
}

.visual-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-cyan);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.visual-title {
  font-size: 1.25rem;
  font-weight: 600;
}

.new-section {
  position: relative;
  /* background: url('assets/pyro_simulation.png') center center/cover no-repeat;
  background-attachment: fixed; */
}

/* Services Section */
#services {
  background: var(--bg-dark);
}

.services-grid,
.new-section-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 3rem 2.5rem;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(800px circle at var(--mouse-x, 0) var(--mouse-y, 0), rgba(0, 242, 254, 0.06), transparent 40%);
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

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

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 242, 254, 0.2);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3), 0 0 30px var(--accent-cyan-glow);
}

.service-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: rgba(0, 242, 254, 0.05);
  border: 1px solid rgba(0, 242, 254, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  margin-bottom: 2rem;
  font-size: 1.5rem;
  transition: var(--transition-smooth);
}

.service-card:hover .service-icon {
  background: var(--accent-cyan);
  color: #000;
  box-shadow: 0 0 20px var(--accent-cyan);
  border-color: var(--accent-cyan);
}

.service-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.service-description {
  color: var(--text-secondary);
  font-size: 0.95rem;
}


/* tech */
#tech {
  background: var(--bg-dark);
}

.techSwiper {
  width: auto;
  padding: 20px 0 60px;
}

.techSwiper .swiper-slide {
  height: auto;
  /* width: 320px !important; */
}

.tech-card {
  height: 100%;
  width: 320px !important;
}


.tech-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 2rem 2.5rem;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.tech-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(800px circle at var(--mouse-x, 0) var(--mouse-y, 0), rgba(0, 242, 254, 0.06), transparent 40%);
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.tech-card:hover::before {
  opacity: 1;
}

.tech-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 242, 254, 0.2);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3), 0 0 30px var(--accent-cyan-glow);
}

.tech-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: rgba(0, 242, 254, 0.05);
  border: 1px solid rgba(0, 242, 254, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  margin-bottom: 2rem;
  font-size: 1.5rem;
  transition: var(--transition-smooth);
}

.tech-card:hover .tech-icon {
  background: var(--accent-cyan);
  color: #000;
  box-shadow: 0 0 20px var(--accent-cyan);
  border-color: var(--accent-cyan);
}

.tech-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.tech-list {
  color: var(--text-secondary);
  font-size: 0.95rem;
  list-style: none;
}

.tech-items {
  line-height: 1.8rem;
}

/* Portfolio Section */
#portfolio {
  background-color: var(--bg-darker);
  margin: 5rem 0;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.portfolio-item {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 16/10;
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.4);
  cursor: pointer;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 5, 8, 0.95) 0%, rgba(5, 5, 8, 0.4) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.5rem;
  opacity: 0.9;
  transition: var(--transition-smooth);
}

.portfolio-category {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-cyan);
  font-weight: 700;
  margin-bottom: 0.5rem;
  transform: translateY(10px);
  transition: var(--transition-smooth);
}

.portfolio-item-title {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
  transform: translateY(10px);
  transition: var(--transition-smooth);
}

.portfolio-item-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  transform: translateY(15px);
  opacity: 0;
  transition: var(--transition-smooth);
}

.play-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(0, 242, 254, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  font-size: 1.5rem;
  opacity: 0;
  transition: var(--transition-smooth);
  box-shadow: 0 0 30px var(--accent-cyan);
  pointer-events: none;
}

.portfolio-item:hover img {
  transform: scale(1.04);
}

.portfolio-item:hover .portfolio-overlay {
  background: linear-gradient(to top, rgba(5, 5, 8, 0.98) 0%, rgba(5, 5, 8, 0.6) 50%, rgba(5, 5, 8, 0.2) 100%);
}

.portfolio-item:hover .portfolio-category,
.portfolio-item:hover .portfolio-item-title {
  transform: translateY(0);
}

.portfolio-item:hover .portfolio-item-desc {
  transform: translateY(0);
  opacity: 1;
}

.portfolio-item:hover .play-badge {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/*industries*/

#industries {
  position: relative;
  background: url("assets/hero_bg.jpg") center center/cover no-repeat;
  background-attachment: fixed;
  overflow: hidden;
}

.overlay {
  position: absolute;
  inset: 0;
  background: var(--bg-card);
  opacity: .6;
}

.container {
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;

}

/*======================*/

.heading {
  text-align: center;
  margin-bottom: 70px;
}

.heading span {
  color: #00d4ff;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 14px;
  font-weight: 600;
}

.heading h2 {
  margin: 18px 0;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
}

.heading p {
  color: var(--text-secondary);
  width: min(750px, 100%);
  margin-inline: auto;
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

/*======================*/

.grid {
  display: grid;
  grid-template-columns:
    repeat(3, minmax(270px, 1fr));
  gap: 30px;
  padding-bottom: 120px;
}

/*======================*/

.card {
  text-align: center;
  position: relative;
  padding: 40px 30px;
  border-radius: 20px;
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, .08);
  transition: .45s;
  overflow: hidden;
  cursor: pointer;
}

/* Animated Border */

.card::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg,
      transparent,
      #00d4ff,
      #2563eb,
      transparent);
  z-index: -2;
  opacity: 0;
  transition: .5s;
}

.card::after {
  content: "";
  position: absolute;
  inset: 2px;
  background: var(--bg-card);
  border-radius: 18px;
  z-index: -1;
}

/*======================*/


.card p {
  font-size: 1.2rem;
  font-weight: 300;
  line-height: 1.6;
}

/*======================*/
.card:hover {
  transform:
    translateY(-12px) scale(1.03);
  box-shadow: 0 15px 40px rgba(0, 212, 255, .25);

}

.card:hover::before {
  opacity: 1;
  animation: borderRotate 5s linear infinite;
}


.card:hover h3 {
  color: #fff;
}

/*======================*/
@keyframes borderRotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/*======================*/
@media(max-width:768px) {
  .heading h2 {
    font-size: 34px;
  }

  .grid {
    gap: 20px;
  }
}


#social {
  background-color: var(--bg-darker);
  margin: 5rem 0;
}

.social-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 6rem;
  align-items: center;
}

.social-text p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

.social-visual {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.social-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

Impact .social-visual:hover img {
  transform: scale(1.05);
}


/* Social  Section */
.impact-section {
  background: var(--bg-dark);
}

.impact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 5rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 5rem;
  align-items: center;
}

/* .impact-badge {
  background: rgba(16, 185, 129, 0.08);
  color: var(--text-secondary);
  border: 1px solid rgba(16, 185, 129, 0.2);
  display: inline-block;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
} */

.impact-badge {
  font-family: var(--font-body);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent-cyan);
  display: block;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.impact-title {
  font-size: 2.25rem;
  margin-bottom: 1.5rem;
}

.impact-text p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

/* .impact-quote {
  font-style: italic;
  border-left: 3px solid linear-gradient(from top, var(--accent-cyan), to bottom, var(--accent-purple) );
   border-left: 3px solid var(--accent-cyan-glow); 
  padding-left: 1.5rem;
  color: var(--text-primary);
  margin: 2rem 0;
  font-weight: 300;
} */

.impact-quote {
  position: relative;
  font-style: italic;
  padding-left: 1.5rem;
  color: var(--text-primary);
  margin: 2rem 0;
  font-weight: 300;
}

.impact-quote::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 100%;
  border-radius: 10px;
  background: linear-gradient(to bottom,
      var(--accent-cyan),
      var(--accent-purple));
}


.impact-visual {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.impact-visual video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.impact-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* testimonial */
#testimonial {
  padding: 5rem 0;
  background: var(--bg-dark);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#testimonial .grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 50px;
  gap: 2.5rem;
}

#testimonial .grid-item {
  padding: 35px;
  min-height: 170px;
  background: var(--bg-card);
  border-radius: 18px;
}

#testimonial .item-1 {
  grid-column: 1;
  grid-row: 1 / span 4;
}

#testimonial .item-2 {
  grid-column: 1;
  grid-row: 5 / span 4;
}

#testimonial .item-3 {
  grid-column: 2;
  grid-row: 3 / span 4;
}

#testimonial .item-4 {
  grid-column: 2;
  grid-row: 7 / span 4;
}

.testimonial-position {
  font-weight: 600;
}


/* Careers Section */
#careers {
  background: var(--bg-darker);
}

.careers-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 5rem;
}

.careers-info h3 {
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
}

.careers-info p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.openings-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.opening-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition-fast);
}

.opening-item:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateX(5px);
}

.opening-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.opening-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.btn-apply-arrow {
  color: var(--accent-cyan);
  font-size: 1.2rem;
}

.careers-form-container {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 3rem;
}

.form-title {
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: rgba(5, 5, 8, 0.4);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 0.8rem 1rem;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 300;
  transition: var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.15);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.btn-submit {
  width: 100%;
  justify-content: center;
}

/* Contact & Location Section */
#contact {
  background: var(--bg-dark);
  margin: 5rem 0;
  padding: 10rem 0;

}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 5rem;
}

.contact-info-list {
  margin-bottom: 3rem;
}

.contact-info-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: rgba(155, 81, 224, 0.05);
  border: 1px solid rgba(155, 81, 224, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-purple);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-details h4 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.contact-details p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.contact-details a:hover {
  color: var(--accent-cyan);
}

.googlemap{
   width: 100%;
   max-width: full;
}

/*.map-container {
  border-radius: 20px;
  width: 60%;
  overflow: hidden;
  height: 300px;
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  position: relative;
}

.map-placeholder {
  width: 100%;
  height: 100%;
  background: #0f0f18;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
}

.map-grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 20px 20px;
  z-index: 1;
}

.map-marker {
  position: relative;
  z-index: 2;
  width: 50px;
  height: 50px;
  background: var(--accent-grad);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  box-shadow: 0 0 30px var(--accent-cyan);
  animation: float 3s ease-in-out infinite;
  font-size: 1.25rem;
}

@keyframes float {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }

  100% {
    transform: translateY(0);
  }
}

.map-title {
  position: relative;
  z-index: 2;
  font-size: 1.1rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.map-subtitle {
  position: relative;
  z-index: 2;
  font-size: 0.85rem;
  color: var(--text-secondary);
  max-width: 250px;
}

.map-overlay-btn {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 3;
  background: rgba(5, 5, 8, 0.8);
  border: 1px solid var(--border-color);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
}

.map-overlay-btn:hover {
  background: var(--text-primary);
  color: #000;
} */

/* Footer Section */
footer {
  background-color: var(--bg-darker);
  border-top: 1px solid var(--border-color);
  padding: 5rem 0 3rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-about p {
  color: var(--text-secondary);
  margin-top: 1rem;
  margin-bottom: 2rem;
  max-width: 320px;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.02);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
}

.social-link:hover {
  color: var(--text-primary);
  border-color: var(--text-primary);
  transform: translateY(-2px);
}

.footer-nav-title {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}

.footer-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-nav-links a {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.footer-nav-links a:hover {
  color: var(--text-primary);
  padding-left: 3px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Video Lightbox Modal */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(5, 5, 8, 0.95);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  padding: 2rem;
}

.modal.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 2rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.modal-close:hover {
  color: var(--accent-cyan);
  transform: rotate(90deg);
}

.modal-content {
  width: 100%;
  max-width: 1000px;
  aspect-ratio: 16/9;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 50px rgba(0, 242, 254, 0.2);
  transform: scale(0.9);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal.active .modal-content {
  transform: scale(1);
}

.modal-content iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Form Success Overlay */
.form-success-overlay {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 0;
}

.success-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #10b981;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  animation: scaleUp 0.5s ease forwards;
}

@keyframes scaleUp {
  0% {
    transform: scale(0.7);
    opacity: 0;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Animations for scroll triggers */
.reveal {
  opacity: 0;
  transition-duration: 4000s;
  transform: translateY(60px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.15s;
}

.reveal-delay-2 {
  transition-delay: 0.3s;
}

.reveal-delay-3 {
  transition-delay: 0.45s;
}

/* Responsive Layout Media Queries */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 4rem;
  }

  .about-grid,
  .careers-grid,
  .contact-grid,
  .new-section-grid,
  .social-grid,
  #testimonial .grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .impact-card {
    grid-template-columns: 1fr;
    gap: 4rem;
    padding: 1rem;
  }

  .about-visual,
  .impact-visual {
    max-width: 600px;
    margin: 0 auto;
    aspect-ratio: 16/10;
  }

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

@media (max-width: 768px) {
  .section-padding {
    padding: 5rem 0;
  }

  .hero-title {
    font-size: 3rem;
  }

  .hero-description {
    font-size: 1.1rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 2rem;
  }

  .stat-item {
    border-right: none;
  }

  .stat-item:nth-child(odd) {
    border-right: 1px solid var(--border-color);
  }

  .services-grid,
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  #testimonial{
 display: none;
  }

  .mobile-nav-toggle {
    display: block;
  }

  nav {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    height: calc(100vh - 80px);
    background: var(--bg-darker);
    flex-direction: column;
    padding: 3rem 2rem;
    gap: 2rem;
    transform: translateX(100%);
    transition: var(--transition-smooth);
    border-top: 1px solid var(--border-color);
  }

  nav.active {
    transform: translateX(0);
  }

  .btn-contact-nav {
    width: 100%;
    text-align: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}



.video-card {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  cursor: pointer;
}

.video-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-card iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.video-card button {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  border-radius: 50%;
}