/* Main CSS */

/* Variables */
:root {
  /* Colors */
  --primary: #0066ff;
  --primary-dark: #0052cc;
  --primary-light: #4d94ff;
  --secondary: #2d3748;
  --secondary-dark: #1a202c;
  --secondary-light: #4a5568;
  --white: #ffffff;
  --light: #f7fafc;
  --light-gray: #edf2f7;
  --gray: #a0aec0;
  --dark-gray: #4a5568;
  --black: #1a202c;
  --success: #48bb78;
  --warning: #ecc94b;
  --danger: #f56565;
  --info: #4299e1;

  /* Typography */
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-md: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  --font-size-5xl: 3rem;
  --font-size-6xl: 3.75rem;
  --font-size-7xl: 4.5rem;

  /* Spacing */
  --spacing-1: 0.25rem;
  --spacing-2: 0.5rem;
  --spacing-3: 0.75rem;
  --spacing-4: 1rem;
  --spacing-5: 1.25rem;
  --spacing-6: 1.5rem;
  --spacing-8: 2rem;
  --spacing-10: 2.5rem;
  --spacing-12: 3rem;
  --spacing-16: 4rem;
  --spacing-20: 5rem;
  --spacing-24: 6rem;
  --spacing-32: 8rem;

  /* Border Radius */
  --border-radius-sm: 0.125rem;
  --border-radius-md: 0.25rem;
  --border-radius-lg: 0.5rem;
  --border-radius-xl: 0.75rem;
  --border-radius-2xl: 1rem;
  --border-radius-full: 9999px;

  /* Box Shadow */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Z-index */
  --z-0: 0;
  --z-10: 10;
  --z-20: 20;
  --z-30: 30;
  --z-40: 40;
  --z-50: 50;
  --z-auto: auto;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-4);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-3) var(--spacing-6);
  border-radius: var(--border-radius-md);
  font-weight: 500;
  transition: all var(--transition-normal);
  cursor: pointer;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
}

.btn-outline {
  background-color: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-outline:hover {
  background-color: var(--white);
  color: var(--primary);
}

.btn-light {
  background-color: var(--white);
  color: var(--primary);
}

.btn-light:hover {
  background-color: var(--light);
}

.btn-outline-light {
  background-color: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-outline-light:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.btn i {
  margin-left: var(--spacing-2);
}

/* Preloader */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--white);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader {
  width: 50px;
  height: 50px;
}

.loader-path {
  stroke: var(--primary);
  stroke-dasharray: 150;
  stroke-dashoffset: 150;
  animation: dash 2s linear infinite;
}

@keyframes dash {
  0% {
    stroke-dashoffset: 150;
  }
  50% {
    stroke-dashoffset: 0;
  }
  100% {
    stroke-dashoffset: -150;
  }
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: var(--z-50);
  transition: all var(--transition-normal);
  padding: var(--spacing-4) 0;
}

.header.scrolled {
  background-color: var(--white);
  box-shadow: var(--shadow-md);
  padding: var(--spacing-2) 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--white);
  transition: color var(--transition-normal);
}

.header.scrolled .logo {
  color: var(--primary);
}

.nav-menu {
  display: none;
}

.nav-list {
  display: flex;
  gap: var(--spacing-6);
}

.nav-link {
  font-weight: 500;
  color: var(--white);
  position: relative;
  transition: color var(--transition-normal);
}

.header.scrolled .nav-link {
  color: var(--secondary);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: width var(--transition-normal);
}

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

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

.header-cta {
  display: none;
}

.mobile-menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: var(--z-50);
}

.mobile-menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--white);
  transition: all var(--transition-normal);
}

.header.scrolled .mobile-menu-toggle span {
  background-color: var(--secondary);
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--white);
  z-index: var(--z-40);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  overflow-y: auto;
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-container {
  padding: 100px var(--spacing-4) var(--spacing-8);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-8);
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-4);
  width: 100%;
  text-align: center;
}

.mobile-nav-link {
  font-size: var(--font-size-xl);
  font-weight: 500;
  color: var(--secondary);
  padding: var(--spacing-2) 0;
  display: block;
  transition: color var(--transition-normal);
}

.mobile-nav-link:hover {
  color: var(--primary);
}

.mobile-menu-cta {
  width: 100%;
  max-width: 300px;
}

.mobile-menu-cta .btn {
  width: 100%;
}

.mobile-menu-social {
  display: flex;
  gap: var(--spacing-4);
}

.mobile-menu-social .social-link {
  width: 40px;
  height: 40px;
  border-radius: var(--border-radius-full);
  background-color: var(--light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  transition: all var(--transition-normal);
}

.mobile-menu-social .social-link:hover {
  background-color: var(--primary);
  color: var(--white);
}

/* Hero Section */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}

.hero-carousel {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity var(--transition-slow);
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-slide-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5));
}

.hero-content {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 var(--spacing-4);
  color: var(--white);
}

.hero-title {
  font-size: var(--font-size-4xl);
  font-weight: 700;
  margin-bottom: var(--spacing-4);
  max-width: 800px;
}

.hero-subtitle {
  font-size: var(--font-size-xl);
  margin-bottom: var(--spacing-8);
  max-width: 600px;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-4);
}

.hero-controls {
  position: absolute;
  bottom: var(--spacing-8);
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--spacing-4);
  z-index: var(--z-10);
}

.hero-control {
  width: 40px;
  height: 40px;
  border-radius: var(--border-radius-full);
  background-color: rgba(255, 255, 255, 0.2);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-normal);
}

.hero-control:hover {
  background-color: var(--primary);
}

.hero-indicators {
  display: flex;
  gap: var(--spacing-2);
}

.hero-indicator {
  width: 12px;
  height: 12px;
  border-radius: var(--border-radius-full);
  background-color: rgba(255, 255, 255, 0.3);
  transition: all var(--transition-normal);
}

.hero-indicator.active {
  background-color: var(--white);
  width: 30px;
  border-radius: var(--border-radius-full);
}

.scroll-down {
  position: absolute;
  bottom: var(--spacing-8);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--white);
  font-size: var(--font-size-sm);
  opacity: 0.8;
  cursor: pointer;
  transition: opacity var(--transition-normal);
}

.scroll-down:hover {
  opacity: 1;
}

.scroll-down i {
  margin-top: var(--spacing-2);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* Features Section */


/* Advanced Features Section Styling */
.features-section {
  position: relative;
  padding: 6rem 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  overflow: hidden;
}

/* Animated background elements */
.features-section::before,
.features-section::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  animation: float 15s infinite ease-in-out;
}

.features-section::before {
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, #0066ff 0%, #e9ecef 100%);
  top: -150px;
  right: -100px;
  animation-delay: 0s;
}

.features-section::after {
  width: 500px;
  height: 500px;
  background: linear-gradient(135deg, rgba(0, 102, 255, 0.05) 0%, #0066ff 100%);
  bottom: -250px;
  left: -200px;
  animation-delay: -7s;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(5deg);
  }
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

/* Features grid with advanced layout */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2.5rem;
  perspective: 1000px;
}

/* Feature card with 3D effects and advanced styling */
.feature-card {
  position: relative;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05), 
              0 1px 3px rgba(0, 0, 0, 0.03);
  transition: all 0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
  transform-style: preserve-3d;
  overflow: hidden;
  isolation: isolate;
}

/* Pseudo-element for card border effect */
.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 2px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.4) 0%,
    rgba(0, 102, 255, 0.4) 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* Card hover effects */
.feature-card:hover {
  transform: translateY(-15px) rotateX(5deg) rotateY(-5deg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1), 
              0 5px 10px rgba(0, 0, 0, 0.05);
}

.feature-card:hover::before {
  background: linear-gradient(
    135deg,
    rgba(0, 102, 255, 0.6) 0%,
    rgba(0, 102, 255, 0.2) 100%
  );
}

/* Feature icon styling */
.feature-icon {
  position: relative;
  width: 80px;
  height: 80px;
  margin-bottom: 1.5rem;
  border-radius: 20px;
  background: linear-gradient(135deg, #f0f4ff 0%, #e6eeff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.5s ease;
  transform-style: preserve-3d;
  transform: translateZ(20px);
}

.feature-icon::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 2px;
  background: linear-gradient(
    328deg,
    #0052cc 0%,
    rgba(0, 102, 255, 0.1) 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.feature-card:hover .feature-icon {
  transform: translateZ(30px) scale(1.1);
  background: linear-gradient(135deg, #e6eeff 0%, #d9e6ff 100%);
}

.feature-icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: drop-shadow(0 4px 6px rgba(0, 102, 255, 0.2));
  transition: all 0.5s ease;
  transform: translateZ(10px);
}

.feature-card:hover .feature-icon img {
  transform: translateZ(15px) scale(1.1);
  filter: drop-shadow(0 8px 12px rgba(0, 102, 255, 0.3));
}

/* Feature title styling */
.feature-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 1rem;
  position: relative;
  transform: translateZ(15px);
  transition: all 0.5s ease;
}

.feature-card:hover .feature-title {
  color: #0066ff;
  transform: translateZ(25px);
}

.feature-title::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(to right, #0066ff, #66a3ff);
  border-radius: 3px;
  transition: width 0.5s ease;
}

.feature-card:hover .feature-title::after {
  width: 50px;
}

/* Feature text styling */
.feature-text {
  color: #4a5568;
  line-height: 1.7;
  transform: translateZ(10px);
  transition: all 0.5s ease;
}

.feature-card:hover .feature-text {
  transform: translateZ(20px);
}

/* Shine effect on hover */
.feature-card::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.3) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(30deg);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.feature-card:hover::after {
  animation: shine 1.5s ease;
}

@keyframes shine {
  0% {
    opacity: 0;
    transform: rotate(30deg) translateX(-300%);
  }
  30% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: rotate(30deg) translateX(300%);
  }
}

/* Staggered animation on page load */
.feature-card {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s forwards;
}

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

/* Staggered delay for each card */
.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }
.feature-card:nth-child(5) { animation-delay: 0.5s; }
.feature-card:nth-child(6) { animation-delay: 0.6s; }
.feature-card:nth-child(7) { animation-delay: 0.7s; }
.feature-card:nth-child(8) { animation-delay: 0.8s; }

/* Custom scrollbar for the section */
.features-section::-webkit-scrollbar {
  width: 8px;
}

.features-section::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.features-section::-webkit-scrollbar-thumb {
  background: #0066ff;
  border-radius: 10px;
}

.features-section::-webkit-scrollbar-thumb:hover {
  background: #0052cc;
}

/* Media queries for responsiveness */
@media (max-width: 1200px) {
  .features-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .features-section {
    padding: 4rem 0;
  }
  
  .features-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
  }
  
  .feature-card {
    padding: 2rem 1.5rem;
  }
  
  .feature-icon {
    width: 70px;
    height: 70px;
  }
  
  .feature-title {
    font-size: 1.3rem;
  }
}

@media (max-width: 576px) {
  .features-section {
    padding: 3rem 0;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    max-width: 350px;
    margin: 0 auto;
  }
  
  .feature-card:hover {
    transform: translateY(-10px) rotateX(3deg) rotateY(-3deg);
  }
}

/* Prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
  .features-section::before,
  .features-section::after {
    animation: none;
  }
  
  .feature-card,
  .feature-card:hover,
  .feature-icon,
  .feature-card:hover .feature-icon,
  .feature-title,
  .feature-card:hover .feature-title,
  .feature-text,
  .feature-card:hover .feature-text {
    transition: none;
    transform: none;
    animation: none;
  }
  
  .feature-card::after {
    display: none;
  }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  .features-section {
    background: linear-gradient(135deg,rgba(255, 255, 255, .015));
  }
  
  .feature-card {
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2), 
                0 1px 3px rgba(0, 0, 0, 0.1);
  }
  
  .feature-card::before {
    background: linear-gradient(
      135deg,
      rgba(66, 153, 225, 0.4) 0%,
      rgba(0, 102, 255, 0.4) 100%
    );
  }
  
  .feature-icon {
    background: #fff;
  }
  
  .feature-title {
    color: #4a5568e3;;
  }
  
  .feature-card:hover .feature-title {
    color: #0066ff;
  }
  
  .feature-text {
    color: #2d3748e3;
  }
}


/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: var(--spacing-12);
}

.section-title {
  font-size: var(--font-size-3xl);
  font-weight: 700;
  color: var(--secondary-dark);
  margin-bottom: var(--spacing-2);
}

.section-subtitle {
  font-size: var(--font-size-lg);
  color: var(--secondary-light);
  max-width: 600px;
  margin: 0 auto;
}

/* About Section */
.about-section {
  padding: var(--spacing-20) 0;
  background-color: var(--light);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-8);
  margin-bottom: var(--spacing-12);
}

.about-image {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-heading {
  font-size: var(--font-size-2xl);
  font-weight: 600;
  color: var(--secondary-dark);
  margin-bottom: var(--spacing-4);
}

.about-text p {
  color: var(--secondary-light);
  margin-bottom: var(--spacing-4);
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-4);
  margin-top: var(--spacing-6);
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.stat-number {
  font-size: var(--font-size-3xl);
  font-weight: 700;
  color: var(--primary);
}

.stat-label {
  font-size: var(--font-size-sm);
  color: var(--secondary-light);
}

.mission-vision {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-6);
  margin-bottom: var(--spacing-12);
}

.mission-card,
.vision-card {
  padding: var(--spacing-6);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
}

.mission-card {
  background-color: var(--white);
}

.vision-card {
  background-color: var(--primary-light);
  color: var(--white);
}

.mission-title,
.vision-title {
  font-size: var(--font-size-xl);
  font-weight: 600;
  margin-bottom: var(--spacing-4);
}

.mission-text,
.vision-text {
  line-height: 1.7;
}
/* 
.values-title {
  font-size: var(--font-size-2xl);
  font-weight: 600;
  color: var(--secondary-dark);
  text-align: center;
  margin-bottom: var(--spacing-8);
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-6);
}

.value-card {
  background-color: var(--white);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-6);
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.value-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--border-radius-full);
  background-color: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--spacing-4);
  font-size: var(--font-size-2xl);
}

.value-name {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--secondary-dark);
  margin-bottom: var(--spacing-2);
}

.value-description {
  color: var(--secondary-light);
} *//* Core Values Section - Advanced Styling */

.values-section {
  position: relative;
  padding: 6rem 1rem;
  background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 100%);
  overflow: hidden;
  width: 100vw;              /* Full viewport width */
  margin-left: calc(-50vw + 50%); 
}

/* Decorative background elements */
.values-section::before,
.values-section::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  z-index: 0;
}

.values-section::before {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.05) 0%, rgba(0, 102, 255, 0.01) 70%);
  top: -200px;
  right: -100px;
  animation: float 15s infinite ease-in-out;
}

.values-section::after {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.03) 0%, rgba(0, 102, 255, 0.01) 70%);
  bottom: -150px;
  left: -50px;
  animation: float 20s infinite ease-in-out reverse;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(10px, -15px) rotate(2deg); }
  50% { transform: translate(0, -25px) rotate(0deg); }
  75% { transform: translate(-10px, -15px) rotate(-2deg); }
}

.values-title {
  position: relative;
  font-size: 2.5rem;
  font-weight: 700;
  color: #1a202c;
  text-align: center;
  margin-bottom: 3.5rem;
  z-index: 1;
}

.values-title::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, #0066ff, #66a3ff);
  border-radius: 2px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2.5rem;
  position: relative;
  z-index: 1;
  perspective: 1000px;
}

.value-card {
  position: relative;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05), 
              0 1px 3px rgba(0, 0, 0, 0.03);
  transition: all 0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
  transform-style: preserve-3d;
  overflow: hidden;
  isolation: isolate;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s forwards;
}

/* Staggered animation delay for each card */
.value-card:nth-child(1) { animation-delay: 0.1s; }
.value-card:nth-child(2) { animation-delay: 0.2s; }
.value-card:nth-child(3) { animation-delay: 0.3s; }
.value-card:nth-child(4) { animation-delay: 0.4s; }
.value-card:nth-child(5) { animation-delay: 0.5s; }
.value-card:nth-child(6) { animation-delay: 0.6s; }

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

/* Card border effect */
.value-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 2px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.4) 0%,
    rgba(0, 102, 255, 0.4) 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* Card hover effects */
.value-card:hover {
  transform: translateY(-15px) rotateX(5deg) rotateY(-5deg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1), 
              0 5px 10px rgba(0, 0, 0, 0.05);
}

.value-card:hover::before {
  background: linear-gradient(
    135deg,
    rgba(0, 102, 255, 0.6) 0%,
    rgba(0, 102, 255, 0.2) 100%
  );
}

/* Shine effect on hover */
.value-card::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.3) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(30deg);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.value-card:hover::after {
  animation: shine 1.5s ease;
}

@keyframes shine {
  0% {
    opacity: 0;
    transform: rotate(30deg) translateX(-300%);
  }
  30% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: rotate(30deg) translateX(300%);
  }
}

.value-icon {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  border-radius: 20px;
  background: linear-gradient(135deg, #f0f4ff 0%, #e6eeff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.5s ease;
  transform-style: preserve-3d;
  transform: translateZ(20px);
}

.value-icon::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 2px;
  background: linear-gradient(
    328deg,
    #0066ff 0%,
    rgba(0, 102, 255, 0.1) 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.value-card:hover .value-icon {
  transform: translateZ(30px) scale(1.1);
  background: linear-gradient(135deg, #e6eeff 0%, #d9e6ff 100%);
}

.value-icon i {
  font-size: 2rem;
  color: #0066ff;
  filter: drop-shadow(0 4px 6px rgba(0, 102, 255, 0.2));
  transition: all 0.5s ease;
  transform: translateZ(10px);
}

.value-card:hover .value-icon i {
  transform: translateZ(15px) scale(1.1);
  filter: drop-shadow(0 8px 12px rgba(0, 102, 255, 0.3));
}

.value-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 1rem;
  position: relative;
  transform: translateZ(15px);
  transition: all 0.5s ease;
  text-align: center;
}

.value-card:hover .value-name {
  color: #0066ff;
  transform: translateZ(25px);
}

.value-name::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: linear-gradient(to right, #0066ff, #66a3ff);
  border-radius: 3px;
  transition: width 0.5s ease;
}

.value-card:hover .value-name::after {
  width: 50px;
}

.value-description {
  color: #4a5568;
  line-height: 1.7;
  transform: translateZ(10px);
  transition: all 0.5s ease;
  text-align: center;
}

.value-card:hover .value-description {
  transform: translateZ(20px);
}

/* Responsive adjustments */
@media (max-width: 1200px) {
  .values-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .values-section {
    padding: 4rem 0;
  }
  
  .values-title {
    font-size: 2rem;
    margin-bottom: 2.5rem;
  }
  
  .values-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.5rem;
  }
  
  .value-card {
    padding: 2rem 1.5rem;
  }
  
  .value-icon {
    width: 70px;
    height: 70px;
  }
  
  .value-name {
    font-size: 1.3rem;
  }
}

@media (max-width: 576px) {
  .values-section {
    padding: 3rem 0;
  }
  
  .values-title {
    font-size: 1.75rem;
  }
  
  .values-grid {
    grid-template-columns: 1fr;
    max-width: 350px;
    margin: 0 auto;
  }
  
  .value-card:hover {
    transform: translateY(-10px) rotateX(3deg) rotateY(-3deg);
  }
}

/* Prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
  .values-section::before,
  .values-section::after {
    animation: none;
  }
  
  .value-card,
  .value-card:hover,
  .value-icon,
  .value-card:hover .value-icon,
  .value-name,
  .value-card:hover .value-name,
  .value-description,
  .value-card:hover .value-description {
    transition: none;
    transform: none;
    animation: none;
  }
  
  .value-card::after {
    display: none;
  }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  .values-section {
    background: linear-gradient(135deg, #1a202c 0%, #0052cc 100%);
  }
  
  .values-title {
    color: #f7fafc;
  }
  
  .value-card {
    background: rgba(252, 252, 253, 0.8);
  }
  
  .value-icon {
    background: white
  }
  
  .value-icon i {
    color: #0066ff;
  }
  
  .value-name {
    color: #1a202c;
  }
  
  .value-card:hover .value-name {
    color: #0066ff;
  }
  
  .value-description {
    color: var(--secondary-light);
  }
}

/* Services Section */
/* Enhanced Service Section Styles */

/* Service Section Container */
.services-section {
  position: relative;
  padding: 6rem 0;
  background: linear-gradient(179deg, #f8faff 0%, #4a5568 100%);
  overflow: hidden;
}

/* Background decorative elements */
.services-section::before,
.services-section::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  z-index: 0;
}

.services-section::before {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.05) 0%, rgba(0, 102, 255, 0.02) 70%);
  top: -100px;
  right: -100px;
}

.services-section::after {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.05) 0%, rgba(0, 102, 255, 0.02) 70%);
  bottom: -150px;
  left: -150px;
}

/* Section header with gradient underline */
.services-section .section-header {
  position: relative;
  z-index: 1;
}

.services-section .section-title {
  position: relative;
  display: inline-block;
  margin-bottom: 1rem;
}

.services-section .section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, #0066ff, #66a3ff);
  border-radius: 2px;
}

/* Enhanced service grid */
.services-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

/* Service card with glass morphism effect */
.service-card {
  position: relative;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Card hover effects */
.service-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 15px 35px rgba(0, 102, 255, 0.1);
}

/* Gradient border effect */
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 2px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, rgba(0, 102, 255, 0.4) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

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

/* Enhanced service icon */
.service-card .service-icon {
  position: relative;
  width: 70px;
  height: 70px;
  border-radius: 20px;
  background: linear-gradient(135deg, #f0f4ff 0%, #e6eeff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: all 0.4s ease;
  font-size: 1.75rem;
  color: #0066ff;
}

.service-card:hover .service-icon {
  transform: scale(1.1);
  background: linear-gradient(135deg, #0066ff 0%, #3385ff 100%);
  color: white;
  box-shadow: 0 10px 20px rgba(0, 102, 255, 0.2);
}

/* Service title with animated underline */
.service-card .service-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 0.75rem;
  transition: color 0.3s ease;
}

.service-card:hover .service-title {
  color: #0066ff;
}

.service-card .service-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: #0066ff;
  border-radius: 3px;
  transition: width 0.4s ease;
}

.service-card:hover .service-title::after {
  width: 60px;
}

/* Service description */
.service-card .service-description {
  color: #4a5568;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

/* Enhanced service link */
.service-card .service-link {
  display: inline-flex;
  align-items: center;
  color: #0066ff;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  padding-bottom: 3px;
}

.service-card .service-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #0066ff;
  transition: width 0.3s ease;
}

.service-card:hover .service-link::after {
  width: 100%;
}

.service-card .service-link i {
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}

.service-card:hover .service-link i {
  transform: translateX(5px);
}

/* Staggered animation on page load */
.service-card {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s forwards;
}

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

/* Staggered delay for each card */
.service-card:nth-child(1) {
  animation-delay: 0.1s;
}
.service-card:nth-child(2) {
  animation-delay: 0.2s;
}
.service-card:nth-child(3) {
  animation-delay: 0.3s;
}
.service-card:nth-child(4) {
  animation-delay: 0.4s;
}
.service-card:nth-child(5) {
  animation-delay: 0.5s;
}
.service-card:nth-child(6) {
  animation-delay: 0.6s;
}
.service-card:nth-child(7) {
  animation-delay: 0.7s;
}
.service-card:nth-child(8) {
  animation-delay: 0.8s;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .services-section {
    padding: 4rem 0;
  }

  .service-card {
    padding: 1.5rem;
  }

  .service-card .service-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }

  .service-card .service-title {
    font-size: 1.3rem;
  }
}

@media (max-width: 375px) {
  .services-section {
    padding: 3rem 0;
  }

  .services-grid {
    gap: 1.5rem;
  }

  .service-card {
    padding: 1.25rem;
  }

  .service-card .service-icon {
    width: 50px;
    height: 50px;
    border-radius: 15px;
    font-size: 1.25rem;
    margin-bottom: 1rem;
  }

  .service-card .service-title {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
  }

  .service-card:hover {
    transform: translateY(-10px);
  }
}


/* Technology Showcase Section */
.tech-section {
  padding: var(--spacing-20) 0;
  /* background-color: var(--secondary-dark); */
  background: linear-gradient(55deg, black, #003077);
  color: var(--white);
}

.tech-section .section-title,
.tech-section .section-subtitle {
  color: var(--white);
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-6);
  margin-bottom: var(--spacing-12);
}

.tech-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-6);
  text-align: center;
  transition: all var(--transition-normal);
}

.tech-card:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-5px);
}

.tech-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--border-radius-full);
  background-color: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--spacing-4);
  font-size: var(--font-size-2xl);
}

.tech-title {
  font-size: var(--font-size-lg);
  font-weight: 600;
}

.innovation-process {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-8);
}

.process-title {
  font-size: var(--font-size-2xl);
  font-weight: 600;
  text-align: center;
  margin-bottom: var(--spacing-8);
}

.process-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-8);
}

.process-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-6);
}

.process-step {
  display: flex;
  gap: var(--spacing-4);
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: var(--border-radius-full);
  background-color: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  flex-shrink: 0;
}

.step-content {
  flex-grow: 1;
}

.step-title {
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin-bottom: var(--spacing-2);
}

.step-description {
  color: var(--gray);
}

.process-image {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
}

.process-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}



/* team */
/* Team Section Styling */
.team-section {
  padding: 5rem 0;
  background-color: #f8f9fa;
  position: relative;
  overflow: hidden;
}

/* Decorative elements */
.team-section::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(0, 102, 255, 0.1);
  z-index: 0;
}

.team-section::after {
  content: "";
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(0, 102, 255, 0.05);
  z-index: 0;
}

/* Header styling */
.team-header {
  max-width: 800px;
  margin: 0 auto 4rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.team-header h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: #2d3748;
  position: relative;
  display: inline-block;
}

.team-header h1::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: #0066ff;
  border-radius: 2px;
}

.team-header p {
  color: #4a5568;
  font-size: 1.1rem;
  line-height: 1.7;
}



/* Team container */
.team-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

/* Team member 1 - Featured card */
.team-member1 {
  background: linear-gradient(135deg, #0066ff, #1a365d);
  color: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 3rem 2rem;
  text-align: center;
  position: relative;
  height: 100%;
}

.team-member1::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
  opacity: 0.3;
}

.team-member1 h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
  position: relative;
}

.team-member1 h1::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: white;
  border-radius: 2px;
}

.team-member1 p {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 80%;
  margin: 1.5rem auto 0;
}

/* Team member cards */
.team-member {
  background-color: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

.team-member img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: all 0.5s ease;
}

.team-member:hover img {
  transform: scale(1.05);
}

.member-info {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.member-info h3 {
  font-size: 1.4rem;
  color: #2d3748;
  margin-bottom: 0.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.member-info h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: #0066ff;
  border-radius: 2px;
  transition: width 0.3s ease;
}

.team-member:hover .member-info h3::after {
  width: 60px;
}

.member-info .role {
  color: #0066ff;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.member-info p {
  color: #4a5568;
  font-size: 0.95rem;
  line-height: 1.6;
  flex-grow: 1;
} 

/* Testimonials Section */
.testimonials-section {
  padding: var(--spacing-20) 0;
  background-color: var(--light);
}

.testimonials-carousel {
  position: relative;
  margin-bottom: var(--spacing-12);
}

.testimonials-container {
  position: relative;
  overflow: hidden;
  padding: var(--spacing-4) 0;
}

.testimonial-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transition: opacity var(--transition-slow);
}

.testimonial-slide.active {
  opacity: 1;
  position: relative;
}

.testimonial-card {
  background-color: var(--white);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-8);
  box-shadow: var(--shadow-lg);
}

.testimonial-content {
  margin-bottom: var(--spacing-6);
}

.testimonial-text {
  font-size: var(--font-size-lg);
  color: var(--secondary);
  line-height: 1.7;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--spacing-4);
}

.author-image {
  width: 60px;
  height: 60px;
  border-radius: var(--border-radius-full);
  overflow: hidden;
  flex-shrink: 0;
}

.author-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-info {
  flex-grow: 1;
}

.author-name {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--secondary-dark);
}

.author-position {
  font-size: var(--font-size-sm);
  color: var(--secondary-light);
}

.company-logo {
  height: 40px;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all var(--transition-normal);
}

.company-logo:hover {
  filter: grayscale(0);
  opacity: 1;
}

.company-logo img {
  height: 100%;
  width: auto;
}

.testimonial-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--spacing-4);
  margin-top: var(--spacing-6);
}

.testimonial-control {
  width: 40px;
  height: 40px;
  border-radius: var(--border-radius-full);
  background-color: var(--white);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
}

.testimonial-control:hover {
  background-color: var(--primary);
  color: var(--white);
}

.testimonial-indicators {
  display: flex;
  gap: var(--spacing-2);
}

.testimonial-indicator {
  width: 12px;
  height: 12px;
  border-radius: var(--border-radius-full);
  background-color: var(--light-gray);
  transition: all var(--transition-normal);
}

.testimonial-indicator.active {
  background-color: var(--primary);
  width: 30px;
  border-radius: var(--border-radius-full);
}

.partners-section {
  margin-top: var(--spacing-12);
}

.partners-title {
  font-size: var(--font-size-xl);
  font-weight: 600;
  color: var(--secondary-dark);
  text-align: center;
  margin-bottom: var(--spacing-8);
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-6);
  align-items: center;
}

.partner-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 80px;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all var(--transition-normal);
}

.partner-logo:hover {
  filter: grayscale(0);
  opacity: 1;
}

.partner-logo img {
  max-height: 100%;
  max-width: 100%;
}

/* Contact Section */
.contact-section {
  padding: var(--spacing-20) 0;
  background-color: var(--white);
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-8);
  width: 100%;
}

.contact-form-container {
  background-color: var(--light);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-6);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 100%;
}

.contact-form {
  display: grid;
  gap: var(--spacing-6);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-2);
}

.form-group label {
  font-weight: 500;
  color: var(--secondary-dark);
}

.form-group input,
.form-group textarea {
  width: 100%;
  box-sizing: border-box;
  padding: var(--spacing-3);
  border: 1px solid var(--gray);
  border-radius: var(--border-radius-md);
  background-color: var(--white);
  transition: border-color var(--transition-normal);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
}

.btn-submit {
  justify-content: center;
  gap: var(--spacing-2);
}

.contact-info {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-6);
  display: flex;
  flex-wrap: wrap;
  overflow-x: hidden;
}

.info-card {
  display: flex;
  gap: var(--spacing-4);
  align-items: flex-start;
}

.info-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--border-radius-full);
  background-color: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-xl);
  flex-shrink: 0;
}

.info-content {
  flex-grow: 1;
}

.info-title {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--secondary-dark);
  margin-bottom: var(--spacing-1);
}

.info-text {
  color: var(--secondary-light);
}

.social-links {
  margin-top: var(--spacing-4);
}

.social-title {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--secondary-dark);
  margin-bottom: var(--spacing-4);
}

.social-icons {
  display: flex;
  gap: var(--spacing-4);
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--border-radius-full);
  background-color: var(--light-gray);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-normal);
}

.social-icon:hover {
  background-color: var(--primary);
  color: var(--white);
}

/* CTA Section */
.cta-section {
  padding: var(--spacing-16) 0;
  background-color: var(--primary);
  color: var(--white);
}

.cta-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.cta-title {
  font-size: var(--font-size-3xl);
  font-weight: 700;
  margin-bottom: var(--spacing-4);
}

.cta-text {
  font-size: var(--font-size-lg);
  margin-bottom: var(--spacing-8);
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-4);
  justify-content: center;
}

/* Footer */
.footer {
  background-color: var(--secondary-dark);
  color: var(--white);
  padding-top: var(--spacing-16);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-8);
  padding-bottom: var(--spacing-8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  overflow-x: hidden;
}

.footer-info {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-4);
  width: 100%;
  word-break: break-word;
}

.footer-description {
  color: var(--gray);
  max-width: 100%;
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-8);
  width: 100%;
}

.footer-links-title {
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin-bottom: var(--spacing-4);
  color: var(--white);
}

.footer-links-list li,
.footer-contact-list li {
  margin-bottom: var(--spacing-2);
}

.footer-links-list a {
  color: var(--gray);
  transition: color var(--transition-normal);
}

.footer-links-list a:hover {
  color: var(--primary);
}

.footer-contact-list li {
  display: flex;
  gap: var(--spacing-2);
  color: var(--gray);
}

.footer-contact-list i {
  color: var(--primary);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-4);
  padding: var(--spacing-6) 0;
  text-align: center;
}

.footer-social{
  display: flex;
  
}

.copyright {
  color: var(--gray);
  font-size: var(--font-size-sm);
}

.footer-bottom-links {
  display: flex;
  justify-content: center;
  gap: var(--spacing-6);
}

.footer-bottom-links a {
  color: var(--gray);
  font-size: var(--font-size-sm);
  transition: color var(--transition-normal);
}

.footer-bottom-links a:hover {
  color: var(--primary);
}

/* About Hero Section with Video Background */
.about-hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5));
}

/* Flip Cards for About Page */
.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--spacing-6);
  margin-top: var(--spacing-8);
}

.card {
  width: 250px;
  height: 150px;
  perspective: 1000px;
}

.card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.card:hover .card-inner {
  transform: rotateY(180deg);
}

.card-front,
.card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: var(--spacing-4);
  border-radius: var(--border-radius-lg);
}

.card-front {
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
}

.card-back {
  background-color: var(--primary);
  transform: rotateY(180deg);
}

/* Typewriter Effect */
#typewriter {
  overflow: hidden;
  border-right: 0.15em solid var(--primary);
  white-space: nowrap;
  margin: 0 auto;
  letter-spacing: 0.15em;
  animation: typing 3.5s steps(40, end), blink-caret 0.75s step-end infinite;
}

@keyframes typing {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

@keyframes blink-caret {
  from,
  to {
    border-color: transparent;
  }
  50% {
    border-color: var(--primary);
  }
}

/* Services Cards from raftservices.html */
.service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--spacing-6);
  margin-top: var(--spacing-8);
}

.below {
  padding: var(--spacing-12) var(--spacing-4);
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.below h1 {
  font-size: var(--font-size-3xl);
  margin-bottom: var(--spacing-4);
  color: var(--secondary-dark);
}

.below p {
  font-size: var(--font-size-lg);
  color: var(--secondary-light);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Help Page Styles */
.help-hero {
  height: 60vh;
  min-height: 400px;
  background-image: linear-gradient(to right, var(--primary-dark), var(--primary));
}

.search-bar {
  display: flex;
  max-width: 600px;
  width: 100%;
  margin: var(--spacing-6) auto;
}

.search-bar input {
  flex-grow: 1;
  padding: var(--spacing-4);
  border: none;
  border-radius: var(--border-radius-lg) 0 0 var(--border-radius-lg);
  font-size: var(--font-size-md);
}

.search-bar button {
  padding: var(--spacing-4) var(--spacing-6);
  background-color: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 0 var(--border-radius-lg) var(--border-radius-lg) 0;
  cursor: pointer;
  font-weight: 500;
  transition: background-color var(--transition-normal);
}

.search-bar button:hover {
  background-color: var(--primary-dark);
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--spacing-4);
  margin-top: var(--spacing-6);
}

.cta-button {
  padding: var(--spacing-3) var(--spacing-6);
  background-color: var(--white);
  color: var(--primary);
  border-radius: var(--border-radius-md);
  font-weight: 500;
  transition: all var(--transition-normal);
}

.cta-button:hover {
  background-color: var(--light);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* FAQ Accordion */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: var(--spacing-4);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: var(--spacing-4);
  background-color: var(--light);
  border: none;
  font-weight: 500;
  color: var(--secondary-dark);
  cursor: pointer;
  transition: background-color var(--transition-normal);
  position: relative;
}

.faq-question:hover {
  background-color: var(--light-gray);
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: var(--spacing-4);
  transition: transform var(--transition-normal);
}

.faq-question.active::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal), padding var(--transition-normal);
  background-color: var(--white);
}

.faq-answer.active {
  padding: var(--spacing-4);
  max-height: 200px;
}

/* Signup Form Styles */
.signup-container {
  max-width: 500px;
  margin: 100px auto;
  padding: var(--spacing-8);
  background-color: var(--white);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-xl);
}

.signup-container h2 {
  text-align: center;
  margin-bottom: var(--spacing-6);
  color: var(--secondary-dark);
  font-size: var(--font-size-2xl);
}

.signup-container .form-group {
  margin-bottom: var(--spacing-4);
}

.signup-container button {
  width: 100%;
  padding: var(--spacing-3) 0;
  background-color: var(--primary);
  color: var(--white);
  border: none;
  border-radius: var(--border-radius-md);
  font-weight: 500;
  cursor: pointer;
  transition: background-color var(--transition-normal);
}

.signup-container button:hover {
  background-color: var(--primary-dark);
}

.login-link {
  text-align: center;
  margin-top: var(--spacing-4);
  font-size: var(--font-size-sm);
  color: var(--secondary-light);
}

.login-link a {
  color: var(--primary);
  font-weight: 500;
  transition: color var(--transition-normal);
}

.login-link a:hover {
  color: var(--primary-dark);
}

/* Modal */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: var(--z-50);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background-color: var(--white);
  border-radius: var(--border-radius-lg);
  max-width: 500px;
  width: 90%;
  position: relative;
  transform: translateY(20px);
  transition: transform var(--transition-normal);
}

.modal.active .modal-content {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: var(--spacing-4);
  right: var(--spacing-4);
  font-size: var(--font-size-xl);
  color: var(--secondary);
  cursor: pointer;
  transition: color var(--transition-normal);
}

.modal-close:hover {
  color: var(--danger);
}

.modal-body {
  padding: var(--spacing-8);
  text-align: center;
}

.success-icon {
  font-size: var(--font-size-5xl);
  color: var(--success);
  margin-bottom: var(--spacing-4);
}

.modal-title {
  font-size: var(--font-size-2xl);
  font-weight: 600;
  color: var(--secondary-dark);
  margin-bottom: var(--spacing-2);
}

.modal-text {
  color: var(--secondary-light);
  margin-bottom: var(--spacing-6);
}

.modal-btn {
  min-width: 120px;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: var(--spacing-6);
  right: var(--spacing-6);
  width: 50px;
  height: 50px;
  border-radius: var(--border-radius-full);
  background-color: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  z-index: var(--z-30);
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: var(--primary-dark);
  transform: translateY(-5px);
}

/* Floating CTA Button */
.floating-cta {
  position: fixed;
  bottom: var(--spacing-6);
  left: var(--spacing-6);
  z-index: var(--z-30);
}

.floating-cta .btn {
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: var(--spacing-2);
}

.floating-cta .btn:hover {
  transform: translateY(-5px);
}

@media (min-width: 768px) {
  .footer-links {
    grid-template-columns: repeat(3, 1fr);
  }
}
