:root {
  --primary: #0066ff;
  --primary-dark: #0044cc;
  --secondary: #00f2ff;
  --accent: #ff3366;
  --dark: #050511;
  --dark-light: #0a0a1a;
  --light: #f5f5f5;
  --gray: #888;
  --success: #27ae60;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: var(--light);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Orbitron", sans-serif;
  font-weight: 600;
  margin-bottom: 1rem;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-padding {
  padding: 30px 0;
  background: linear-gradient(135deg, #0f172a, #1e293b);
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.section-title span {
  color: var(--secondary);
  position: relative;
}

.section-title span.pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    text-shadow: 0 0 5px var(--secondary);
  }

  50% {
    text-shadow: 0 0 20px var(--secondary), 0 0 30px var(--secondary);
  }

  100% {
    text-shadow: 0 0 5px var(--secondary);
  }
}

.hero-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: var(--gray);
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Header Styles */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
}

header.scrolled {
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

/* Prevent animations from affecting header and its children */
header *,
header .logo,
header nav,
header .nav-links,
header .nav-links a,
header .cta-buttons,
header .mobile-menu-btn {
  opacity: 1 !important;
  animation: none !important;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.logo {
  font-family: "Orbitron", sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--light);
  text-decoration: none;
}

.logo span {
  color: var(--secondary);
}

.logo .tech {
  color: var(--secondary);
}

.cta-buttons {
  background: linear-gradient(45deg, var(--primary), var(--secondary));
  color: var(--dark);
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.cta-buttons:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 102, 255, 0.3);
}

.mobile-menu-btn {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* ===== Dropdown Styles ===== */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 5px;
}

.dropdown-toggle i {
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-toggle i {
  transform: rotate(180deg);
}

/* Dropdown styles handled by allDropdown.css */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Story Slider */
.story-slider {
  position: relative;
  background-color: rgba(15, 23, 42, 0.85);
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.slider-container {
  width: 100%;
  height: 100%;
  position: relative;
}

.slider-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 1.5s ease;
  text-align: center;
  padding: 0 20px;
}

.slider-slide.active {
  opacity: 1;
}

.slide-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.slide-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transform: scale(1);
  transition: opacity 1.5s ease, transform 9s ease;
}

.slider-slide.active .slide-bg-image {
  opacity: 1;
  transform: scale(1.1);
}

.slide-image::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.4) 0%,
    rgba(0, 0, 0, 0.6) 50%,
    rgba(0, 0, 0, 0.7) 100%
  );
  z-index: 1;
}

.slide-content {
  max-width: 800px;
  z-index: 10;
  position: relative;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease 0.5s, transform 1s ease 0.5s;
}

.slider-slide.active .slide-content {
  opacity: 1;
  transform: translateY(0);
}

.slide-content h2 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: var(--light);
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
  animation: fadeInUp 0.8s ease forwards 0.7s;
  opacity: 0;
}

.slider-slide.active .slide-content h2 {
  animation: fadeInUp 0.8s ease forwards 0.7s;
}

.slide-content p {
  font-size: 1.2rem;
  color: var(--light);
  margin-bottom: 2rem;
  text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.7);
  animation: fadeInUp 0.8s ease forwards 0.9s;
  opacity: 0;
}

.slider-slide.active .slide-content p {
  animation: fadeInUp 0.8s ease forwards 0.9s;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.slider-indicators {
  position: absolute;
  bottom: 50px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 15px;
  z-index: 10;
}

.slider-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.slider-indicator:hover {
  background-color: rgba(255, 255, 255, 0.5);
  transform: scale(1.1);
}

.slider-indicator.active {
  background-color: var(--secondary);
  border-color: var(--secondary);
  transform: scale(1.2);
  box-shadow: 0 0 10px var(--secondary);
}

/* Mission & Vision */
.mission-vision {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 60px;
}

.mission,
.vision {
  background: rgba(10, 10, 26, 0.7);
  padding: 40px;
  border-radius: 10px;
  border-left: 4px solid var(--primary);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.vision {
  border-left-color: var(--secondary);
}

.mission h3,
.vision h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--secondary);
  font-size: 1.5rem;
}

.mission h3 i,
.vision h3 i {
  color: var(--primary);
}

.mission p,
.vision p {
  color: var(--gray);
  font-size: 1.1rem;
}

/* Core Values */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.value-card {
  background: rgba(10, 10, 26, 0.7);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.value-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 102, 255, 0.2);
  border-color: var(--primary);
}

.value-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(45deg, var(--primary), var(--secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.8rem;
  color: var(--dark);
}

.value-title {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--secondary);
}

.value-card p {
  color: var(--gray);
}

/* Leadership Section - Flip Cards */
.leadership-section {
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2.5rem;
  color: var(--secondary);
  margin-bottom: 20px;
}

.section-header p {
  font-size: 1.2rem;
  color: var(--gray);
  max-width: 700px;
  margin: 0 auto;
}

/* Custom 2-3-2 Grid Layout */
.leadership-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.leadership-row {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.row-2-cards .flip-card {
  flex: 0 0 calc(50% - 15px);
  max-width: calc(50% - 15px);
}

/* Flip Card Styles */
.flip-card {
  background-color: transparent;
  perspective: 1000px;
  height: 420px;
  border-radius: 15px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
  border-radius: 15px;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: 15px;
  overflow: hidden;
}

.flip-card-front {
  background: rgba(10, 10, 26, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px 20px;
}

.flip-card-back {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--dark);
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px 25px;
  text-align: left;
}

.member-photo-placeholder {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border: 3px solid var(--secondary);
}

.member-name {
  font-size: 1.5rem;
  color: var(--light);
  margin-bottom: 10px;
  text-align: center;
}

.member-designation {
  color: var(--secondary);
  font-size: 1rem;
  margin-bottom: 20px;
  font-weight: 500;
  text-align: center;
  line-height: 1.4;
}

.linkedin-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--primary);
  color: var(--light);
  padding: 10px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.linkedin-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.back-content h3 {
  color: var(--dark);
  margin-bottom: 15px;
  font-size: 1.4rem;
}

.back-content p {
  color: var(--dark);
  margin-bottom: 20px;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Responsive Styles for Flip Cards */
@media (max-width: 992px) {
  .row-2-cards .flip-card {
    flex: 0 0 calc(50% - 15px);
    max-width: calc(50% - 15px);
  }

  .flip-card {
    height: 400px;
  }

  .member-photo-placeholder {
    width: 120px;
    height: 120px;
  }

  .member-photo-placeholder i {
    font-size: 80px !important;
  }

  .member-name {
    font-size: 1.3rem;
  }

  .member-designation {
    font-size: 0.95rem;
  }

  .dropdown-scroll::-webkit-scrollbar-thumb {
    background: var(--secondary);
    border-radius: 3px;
  }

  .dropdown-scroll::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
  }
}

@media (max-width: 768px) {
  .leadership-container {
    gap: 30px;
  }

  .leadership-row {
    gap: 20px;
  }

  /* All cards full width on mobile */
  .row-2-cards .flip-card {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .flip-card {
    height: 380px;
  }

  .flip-card-front,
  .flip-card-back {
    padding: 25px 20px;
  }

  .member-photo-placeholder {
    width: 100px;
    height: 100px;
    margin-bottom: 15px;
  }

  .member-photo-placeholder i {
    font-size: 70px !important;
  }

  .member-name {
    font-size: 1.2rem;
    margin-bottom: 8px;
  }

  .member-designation {
    font-size: 0.9rem;
    margin-bottom: 15px;
    padding: 0 10px;
  }

  .linkedin-btn {
    padding: 8px 16px;
    font-size: 0.85rem;
  }

  .back-content h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
  }

  .back-content p {
    font-size: 0.9rem;
    margin-bottom: 15px;
    line-height: 1.5;
  }
}

@media (max-width: 576px) {
  .flip-card {
    height: 360px;
  }

  .flip-card-front,
  .flip-card-back {
    padding: 20px 15px;
  }

  .member-photo-placeholder {
    width: 90px;
    height: 90px;
  }

  .member-photo-placeholder i {
    font-size: 60px !important;
  }

  .member-name {
    font-size: 1.1rem;
  }

  .member-designation {
    font-size: 0.85rem;
  }

  .linkedin-btn {
    padding: 7px 14px;
    font-size: 0.8rem;
  }

  .back-content h3 {
    font-size: 1.1rem;
  }

  .back-content p {
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .flip-card {
    height: 340px;
  }

  .member-designation {
    font-size: 0.8rem;
    line-height: 1.3;
  }
}

/* Journey Timeline */
.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), var(--secondary));
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: 60px;
  width: 100%;
}

.timeline-item:nth-child(odd) .timeline-content {
  margin-left: auto;
  margin-right: 0;
  text-align: left;
}

.timeline-item:nth-child(odd) .timeline-content::before {
  right: -10px;
  left: auto;
}

.timeline-content {
  position: relative;
  width: 45%;
  background: rgba(10, 10, 26, 0.7);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.timeline-content::before {
  content: "";
  position: absolute;
  top: 30px;
  left: -10px;
  width: 20px;
  height: 20px;
  background: var(--secondary);
  border-radius: 50%;
  z-index: 1;
}

.timeline-icon {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 15px;
}

.timeline-year {
  display: inline-block;
  background: linear-gradient(45deg, var(--primary), var(--secondary));
  color: var(--dark);
  padding: 5px 15px;
  border-radius: 20px;
  font-weight: 600;
  margin-bottom: 15px;
  margin-left: 15px;
}

.timeline-title {
  font-size: 1.3rem;
  color: var(--secondary);
  margin-bottom: 15px;
}

.timeline-content p {
  color: var(--gray);
}

/* CEO Section */
.ceo-section {
  background: rgba(10, 10, 26, 0.7);
  border-radius: 10px;
  padding: 60px;

  position: relative;
  overflow: hidden;
}

.ceo-section::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
  opacity: 0.1;
}

.ceo-quote {
  font-size: 1.8rem;
  font-style: italic;
  margin-bottom: 30px;
  color: var(--secondary);
  position: relative;
  padding-left: 2px;
}

/* .ceo-quote::before {
            content: '"';
            position: absolute;
            left: 0;
            top: -10px;
            font-size: 4rem;
            color: var(--primary);
            opacity: 0.5;
        } */

.ceo-content {
  font-size: 1.1rem;
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 30px;
}

.ceo-signature {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 40px;
}

.ceo-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(45deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--dark);
  font-weight: bold;
}

.ceo-info h4 {
  color: var(--secondary);
  margin-bottom: 5px;
}

.ceo-info p {
  color: var(--gray);
}

/* Client Story */
.client-story {
  background: rgba(10, 10, 26, 0.7);
  border-radius: 10px;
  overflow: hidden;
  margin-top: 60px;
}

.client-header {
  padding: 40px;
  background: linear-gradient(45deg, var(--primary), var(--secondary));
  color: var(--dark);
}

.client-header h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.client-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  padding: 40px;
}

.client-detail-box {
  background: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: 8px;
  text-align: center;
}

.client-detail-box h4 {
  color: var(--secondary);
  margin-bottom: 10px;
}

.client-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 40px;
}

.client-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.client-text h3 {
  color: var(--secondary);
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.client-text p {
  color: var(--gray);
  margin-bottom: 20px;
}

.client-image {
  border-radius: 10px;
  overflow: hidden;
  height: 400px;
  background: linear-gradient(45deg, var(--primary), var(--dark-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  font-size: 1.2rem;
  background-image: url("./uploads/Kaleshwari\ Mandir.JPG");
  background-size: cover;
  background-position: center;
}

.client-image::after {
  /* content: 'Kaleshwari Mandir'; */
  background: rgba(0, 0, 0, 0.6);
  padding: 10px 20px;
  border-radius: 5px;
  font-weight: 600;
}

.pain-points {
  padding: 40px;
  background: rgba(255, 255, 255, 0.03);
}

.pain-points h3 {
  text-align: center;
  color: var(--secondary);
  margin-bottom: 30px;
}

.points-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.point-item {
  background: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: 8px;
  text-align: center;
}

.point-item i {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 15px;
}

.point-item p {
  color: var(--gray);
}

.solution-section {
  padding: 40px;
}

.solution-section h3 {
  color: var(--secondary);
  text-align: center;
  margin-bottom: 30px;
}

.solution-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.feature-item {
  background: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: 8px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.feature-item i {
  color: var(--success);
  font-size: 1.2rem;
  margin-top: 3px;
}

.feature-item p {
  color: var(--gray);
}

.journey-section {
  padding: 40px;
  background: rgba(255, 255, 255, 0.03);
}

.journey-section h3 {
  color: var(--secondary);
  text-align: center;
  margin-bottom: 30px;
}

.journey-content {
  max-width: 800px;
  margin: 0 auto;
}

.journey-content p {
  color: var(--gray);
  margin-bottom: 20px;
}

.results-section {
  padding: 40px;
}

.results-section h3 {
  color: var(--secondary);
  text-align: center;
  margin-bottom: 30px;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.result-item {
  text-align: center;
}

.result-value {
  font-size: 3rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 10px;
}

.result-label {
  color: var(--gray);
}

.comparison-section {
  padding: 40px;
  background: rgba(255, 255, 255, 0.03);
}

.comparison-section h3 {
  color: var(--secondary);
  text-align: center;
  margin-bottom: 30px;
}

.comparison-table {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
}

.comparison-col {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  overflow: hidden;
}

.comparison-header {
  background: linear-gradient(45deg, var(--primary), var(--secondary));
  color: var(--dark);
  padding: 15px;
  text-align: center;
  font-weight: 600;
}

.comparison-list {
  padding: 20px;
}

.comparison-item {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--gray);
}

.comparison-item:last-child {
  border-bottom: none;
}

.testimonial-section {
  padding: 40px;
  text-align: center;
}

.testimonial-section h3 {
  color: var(--secondary);
  margin-bottom: 30px;
}

.testimonial {
  max-width: 800px;
  margin: 0 auto;
  font-style: italic;
  font-size: 1.2rem;
  color: var(--gray);
  position: relative;
  padding: 0 40px;
}

/* .testimonial::before,
        .testimonial::after {
            content: '"';
            font-size: 4rem;
            color: var(--primary);
            opacity: 0.5;
            position: absolute;
        } */

.testimonial::before {
  top: -20px;
  left: 0;
}

.testimonial::after {
  bottom: -40px;
  right: 0;
}

.testimonial-author {
  margin-top: 40px;
  color: var(--secondary);
  font-weight: 600;
}

.cta-section {
  padding: 60px 40px;
  text-align: center;
  background: linear-gradient(45deg, var(--primary), var(--secondary));
  color: var(--dark);
  border-radius: 10px;
  margin-top: 60px;
}

.cta-section h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.cta-section p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta-button {
  display: inline-block;
  background: var(--dark);
  color: var(--light);
  padding: 15px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.cta-button:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Flashcard Services Section */
.flashcards-section {
  margin-bottom: 80px;
}

.flashcards-title {
  text-align: center;
  font-family: "Orbitron", sans-serif;
  font-size: 2.5rem;
  margin-bottom: 60px;
  background: linear-gradient(45deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.flashcards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.flashcard {
  height: 350px;
  perspective: 1000px;
  cursor: pointer;
}

.flashcard a {
  text-decoration: none;
  color: inherit;
  display: block;
  width: 100%;
  height: 100%;
}

.flashcard-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.flashcard:hover .flashcard-inner {
  transform: rotateY(180deg);
}

.flashcard-front,
.flashcard-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 30px;
}

.flashcard-front {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(100, 116, 139, 0.2);
}

.flashcard-back {
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(37, 99, 235, 0.3);
  transform: rotateY(180deg);
  text-align: left;
  justify-content: flex-start;
  align-items: flex-start;
}

.service-icon {
  font-size: 3rem;
  color: var(--secondary);
  margin-bottom: 20px;
}

.service-icon img {
  width: 164px;
  height: 168px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
}

.service-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.service-desc {
  color: #94a3b8;
  line-height: 1.7;
}

.service-cta {
  background: linear-gradient(45deg, var(--primary), var(--secondary));
  color: white;
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  margin-top: 20px;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
}

.service-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.6);
}

.explore-all-btn {
  text-align: center;
  margin-top: 50px;
}

.explore-all-btn .btn {
  background: linear-gradient(45deg, var(--primary), var(--secondary));
  color: white;
  padding: 15px 40px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
  border: 2px solid transparent;
}

.explore-all-btn .btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(37, 99, 235, 0.6);
  border: 2px solid var(--secondary);
}

.explore-all-btn .btn i {
  margin-left: 10px;
  transition: transform 0.3s ease;
}

.explore-all-btn .btn:hover i {
  transform: translateX(5px);
}

/* Impact Numbers Section */
.impact-section {
  padding: 80px 0;
  margin-top: 0px;
  position: relative;
  overflow: hidden;
}

.impact-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 242, 255, 0.03),
    transparent
  );
  animation: slideBackground 8s infinite linear;
  pointer-events: none;
}

@keyframes slideBackground {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(100%);
  }
}

.impact-title {
  text-align: center;
  font-family: "Orbitron", sans-serif;
  font-size: 2.5rem;
  margin-bottom: 60px;
  color: var(--light);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease forwards;
}

.impact-title span {
  color: var(--secondary);
  position: relative;
  animation: textGlow 3s ease-in-out infinite alternate;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes textGlow {
  0% {
    text-shadow: 0 0 5px rgba(0, 242, 255, 0.5);
  }

  100% {
    text-shadow: 0 0 20px rgba(0, 242, 255, 0.8),
      0 0 30px rgba(0, 242, 255, 0.6);
  }
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.impact-card {
  text-align: center;
  position: relative;
  padding: 40px 25px;
  border-radius: 15px;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.02),
    rgba(255, 255, 255, 0.01)
  );
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0;
  transform: translateY(50px) scale(0.9);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  animation: cardFadeIn 0.8s ease forwards;
}

.impact-card:nth-child(1) {
  animation-delay: 0.2s;
}

.impact-card:nth-child(2) {
  animation-delay: 0.4s;
}

.impact-card:nth-child(3) {
  animation-delay: 0.6s;
}

.impact-card:nth-child(4) {
  animation-delay: 0.8s;
}

@keyframes cardFadeIn {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.impact-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    45deg,
    rgba(0, 102, 255, 0.1),
    rgba(0, 242, 255, 0.1)
  );
  border-radius: 15px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.impact-card:hover {
  transform: translateY(-15px) scale(1.05);
  border-color: rgba(0, 242, 255, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2), 0 0 30px rgba(0, 242, 255, 0.2);
}

.impact-card:hover::before {
  opacity: 1;
}

.impact-icon {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 25px;
  transform: translateY(0);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.impact-icon::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.2), transparent);
  border-radius: 50%;
  opacity: 0;
  transition: all 0.3s ease;
  z-index: -1;
}

.impact-card:hover .impact-icon {
  transform: translateY(-5px) scale(1.1);
  color: var(--secondary);
  animation: iconPulse 2s ease-in-out infinite;
}

.impact-card:hover .impact-icon::before {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.2);
}

@keyframes iconPulse {
  0%,
  100% {
    transform: translateY(-5px) scale(1.1);
  }

  50% {
    transform: translateY(-8px) scale(1.15);
  }
}

.impact-number {
  font-family: "Orbitron", sans-serif;
  font-size: 4rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 20px;
  display: block;
  text-shadow: 0 0 15px rgba(0, 242, 255, 0.4);
  transition: all 0.3s ease;
  background: linear-gradient(45deg, var(--secondary), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.impact-card:hover .impact-number {
  transform: scale(1.1);
  text-shadow: 0 0 25px rgba(0, 242, 255, 0.6);
}

.impact-label {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--light);
  line-height: 1.4;
  transition: color 0.3s ease;
  position: relative;
}

.impact-card:hover .impact-label {
  color: rgba(255, 255, 255, 0.9);
}

/* Floating particles animation */
.impact-card::after {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(0, 242, 255, 0.1),
    transparent
  );
  border-radius: 15px;
  opacity: 0;
  z-index: -2;
  animation: borderGlow 3s ease-in-out infinite;
}

@keyframes borderGlow {
  0%,
  100% {
    opacity: 0;
    transform: rotate(0deg);
  }

  50% {
    opacity: 1;
    transform: rotate(1deg);
  }
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .impact-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .impact-card {
    padding: 35px 20px;
  }

  .impact-number {
    font-size: 3.5rem;
  }
}

@media (max-width: 576px) {
  .impact-section {
    padding: 0px 0;
    margin-top: 40px;
  }

  .impact-title {
    font-size: 2rem;
    margin-bottom: 40px;
  }

  .impact-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .impact-card {
    padding: 30px 20px;
    margin: 0 10px;
  }

  .impact-number {
    font-size: 3rem;
  }

  .impact-icon {
    font-size: 2.5rem;
  }

  .impact-label {
    font-size: 1.1rem;
  }
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  .impact-card,
  .impact-icon,
  .impact-number,
  .impact-title {
    animation: none;
    transition: none;
  }

  .impact-section::before {
    animation: none;
  }

  .impact-title span {
    animation: none;
  }
}

/* Career Section */
.career-section {
  background: rgba(10, 10, 26, 0.7);
  border-radius: 10px;
  padding: 60px;
  margin-top: 60px;
  text-align: center;
}

.career-section h2 {
  font-size: 2.5rem;
  color: var(--secondary);
  margin-bottom: 20px;
}

.career-section p {
  color: var(--gray);
  font-size: 1.2rem;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Contact Section */
.contact-section {
  /* background: rgba(10, 10, 26, 0.7); */
  border-radius: 10px;
  padding: 60px;
  margin-top: 60px;
  text-align: center;
}

.contact-section h2 {
  font-size: 2.5rem;
  color: var(--secondary);
  margin-bottom: 20px;
}

.contact-section p {
  color: var(--gray);
  font-size: 1.2rem;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .mission-vision {
    grid-template-columns: 1fr;
  }

  .client-content {
    grid-template-columns: 1fr;
  }

  .timeline::before {
    left: 30px;
  }

  .timeline-content {
    width: calc(100% - 80px);
    margin-left: 80px !important;
    text-align: left !important;
  }

  .timeline-content::before {
    left: -40px;
    right: auto;
  }
}

@media (max-width: 768px) {
  .dropdown-scroll {
    max-height: 250px;
    /* Smaller scroll container for mobile */
  }

  .footer-container {
    display: flex;
    flex-direction: column;
    /* grid-template-columns: repeat(4, minmax(150px, 1fr)); */
    gap: 40px;
    margin-bottom: 40px;
  }

  .mobile-menu-btn {
    display: block;
  }

  .slide-content h2 {
    font-size: 2rem;
  }

  .slide-content p {
    font-size: 1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .ceo-section,
  .career-section,
  .contact-section {
    padding: 40px 20px;
  }

  .slider-indicators {
    bottom: 30px;
  }

  .slider-indicator {
    width: 10px;
    height: 10px;
  }
}

@media (max-width: 576px) {
  .values-grid {
    grid-template-columns: 1fr;
  }

  .comparison-table {
    grid-template-columns: 1fr;
  }

  .results-grid {
    grid-template-columns: 1fr;
  }

  .story-slider {
    height: 80vh;
  }

  .slide-content h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }

  .slide-content p {
    font-size: 0.95rem;
    margin-bottom: 1rem;
  }

  .slider-indicators {
    bottom: 20px;
    gap: 10px;
  }

  .slide-bg-image {
    object-fit: cover;
  }
}

/* ================================
   PROFESSIONAL SCROLL ANIMATIONS
==================================*/

/* Core Animation Keyframes */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.85);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes flipInY {
  from {
    opacity: 0;
    transform: perspective(400px) rotateY(90deg);
  }
  to {
    opacity: 1;
    transform: perspective(400px) rotateY(0deg);
  }
}

@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
  70% {
    transform: scale(0.9);
  }
  100% {
    transform: scale(1);
  }
}

/* Base animation classes */
.animate-on-scroll {
  opacity: 0;
  transition: none;
  will-change: opacity, transform;
}

/* Exclude header and footer from animations */
header .animate-on-scroll,
footer .animate-on-scroll,
#header .animate-on-scroll,
.footer .animate-on-scroll {
  opacity: 1 !important;
  animation: none !important;
  transform: none !important;
}

.animate-on-scroll.animated {
  animation-duration: 0.9s;
  animation-fill-mode: both;
  animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Animation types */
.fade-in-up.animated {
  animation-name: fadeInUp;
}
.fade-in-left.animated {
  animation-name: fadeInLeft;
}
.fade-in-right.animated {
  animation-name: fadeInRight;
}
.scale-in.animated {
  animation-name: scaleIn;
}
.slide-in-down.animated {
  animation-name: slideInDown;
}
.zoom-in.animated {
  animation-name: zoomIn;
}
.flip-in.animated {
  animation-name: flipInY;
}
.bounce-in.animated {
  animation-name: bounceIn;
}

/* Stagger delays for sequential animations */
.stagger-1 {
  animation-delay: 0.1s;
}
.stagger-2 {
  animation-delay: 0.2s;
}
.stagger-3 {
  animation-delay: 0.3s;
}
.stagger-4 {
  animation-delay: 0.4s;
}
.stagger-5 {
  animation-delay: 0.5s;
}
.stagger-6 {
  animation-delay: 0.6s;
}
.stagger-7 {
  animation-delay: 0.7s;
}
.stagger-8 {
  animation-delay: 0.8s;
}

/* Smooth transitions for interactive elements */
.mission,
.vision,
.value-card,
.timeline-item,
.flip-card,
.impact-card {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Enhanced hover effects */
.value-card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 102, 255, 0.3);
}

.timeline-content:hover {
  transform: translateX(5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

/* Accessibility: Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  .animate-on-scroll {
    opacity: 1 !important;
    animation: none !important;
    transition: none !important;
  }

  .mission,
  .vision,
  .value-card,
  .timeline-item,
  .flip-card,
  .impact-card {
    transition: none !important;
  }
}

/* Mobile optimizations */
@media (max-width: 768px) {
  .animate-on-scroll.animated {
    animation-duration: 0.6s;
  }

  .stagger-1,
  .stagger-2,
  .stagger-3,
  .stagger-4,
  .stagger-5,
  .stagger-6,
  .stagger-7,
  .stagger-8 {
    animation-delay: 0.05s;
  }

  .value-card:hover {
    transform: translateY(-10px) scale(1.01);
  }
}
