/* Make all form field headings (labels) white */
.form-label {
  color: #000 !important;
}
/* --- TrackNest Website Styles as of 25 Sept 2025, 4:50 pm --- */
/* Navbar */

.ourstory{
      background-color: #181d30;
    background-image: url(../images/exagon-pattern.png);
    border-radius: 10px;
    padding: 45px;
    margin-bottom: 45px;
    margin-left: 100px;
    margin-right: 100px;
}

.social-icons i {
  font-size: 25px;
  margin: 15px;
  color: white !important;
  transition: color 0.3s ease;
}
.social-icons i:hover {
  color: #38bdf8 !important;
}
.action-icons i {
  font-size: 25px;
  color: white;
  vertical-align: middle;
}
.action-icons i:hover {
  color: #0e183d;
}
.login-text {
  font-size: 18px;
  margin: 30px;
  color: white !important;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.3s ease;
  vertical-align: middle;
}
.login-text:hover {
  color: #38bdf8 !important;
}
.demo-box {
  font-size: 14px;
  padding: 8px 15px;
  margin: 24px 15px;
  background-color: #38bdf8;
  color: white !important;
  border: 2px solid #38bdf8;
  border-radius: 20px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
  vertical-align: middle;
}
.demo-box:hover {
  background-color: transparent;
  color: #38bdf8 !important;
  border-color: #38bdf8;
}
.offcanvas-menu-list {
  margin-top: 30px;
}
.menu-link {
  color: #fff !important;
  text-decoration: none;
  font-size: 20px;
  font-family: 'Poppins', 'Segoe UI', Arial, sans-serif;
  font-weight: 500;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  padding: 14px 0 14px 10px;
  border-radius: 12px;
  transition: background 0.2s, color 0.2s;
}
.menu-link .menu-icon {
  font-size: 22px;
  margin-right: 14px;
  color: #38bdf8;
  transition: color 0.2s;
}
.menu-link:hover {
  background: rgba(56,189,248,0.12);
  color: #38bdf8 !important;
}
.menu-link:hover .menu-icon {
  color: #fff;
}
.offcanvas-title {
  font-family: 'Poppins', 'Segoe UI', Arial, sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #38bdf8;
  letter-spacing: 1px;
}
.offcanvas-header {
  border-bottom: 1px solid #38bdf8;
  margin-bottom: 10px;
}
.offcanvas-body {
  background: linear-gradient(135deg, #03192e 60%, #38bdf8 100%);
  border-radius: 0 0 18px 18px;
  box-shadow: 0 8px 32px rgba(56,189,248,0.12);
}
.offcanvas {
  z-index: 1080 !important;
}
/* Hero Section */
.hero {
  background: linear-gradient(135deg, #1e3a8a, #1e40af, #3b82f6);
  color: white;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}
    .faq-section {
      padding: 60px 20px;
    }
    .faq-header {
      text-align: center;
      margin-bottom: 40px;
    }
    .faq-header h2 {
      font-weight: 700;
      color: #ffffff;
    }
.faq-header p {
    color: #ffffff;
    max-width: 750px;
    margin: 10px auto 0;
    line-height: 1.6;
}
    .accordion-item {
      border: none;
      margin-bottom: 15px;
      border-radius: 8px;
      box-shadow: 0 3px 10px rgba(0,0,0,0.05);
      background-color: #fff;
    }
    .accordion-button {
      font-weight: 600;
      background-color: #fff;
      color: #2c3e50;
      box-shadow: none;
    }
    .accordion-button:focus {
      box-shadow: none;
      border-color: #0d6efd;
    }

.typing-container {
  height: 60px;
  margin: 30px 0;
  position: relative;
}
.typing-text-blink {
font-size: 20px;
  color: #ffffff;
  font-weight: 600;
  padding-right: 5px;
  animation: blink 1s infinite;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
@keyframes blink {
  0%, 50% { border-color: #ffffff; }
  51%, 100% { border-color: transparent; }
}
/* About Section */
.about {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.particles {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  pointer-events: none;
}
.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: #38bdf8;
  border-radius: 50%;
  opacity: 0;
  animation: float-particle 8s linear infinite;
}
.particle:nth-child(2n) {
  background: #e63946;
  animation-delay: -2s;
}
.particle:nth-child(3n) {
  background: #10b981;
  animation-delay: -4s;
}
.particle:nth-child(4n) {
  animation-delay: -6s;
}
@keyframes float-particle {
  0% { opacity: 0; transform: translateY(100vh) rotate(0deg); }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { opacity: 0; transform: translateY(-100px) rotate(360deg); }
}
.about-hero h2 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  margin-bottom: 20px;
  color: #0f172a;
  background: linear-gradient(135deg, #e63946, #1d3557);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  font-size: 40px;
}
.badge {
  background: linear-gradient(135deg, #bdbdbd, #919191);
  color: white;
  padding: 18px 36px;
  border-radius: 5px;
  font-weight: 700;
  font-size: 1.25rem;
  position: relative;
  animation: pulse-badge 2s ease-in-out infinite;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  margin: 8px;
}
.badge::before {
  content: '✨';
  margin-right: 5px;
  font-size: 1rem;
  display: inline-block;
}
@keyframes pulse-badge {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}
/* ...existing code... */
/* All CSS syntax errors fixed. Unmatched and misplaced brackets removed. File is now valid. */

.btn-primary::before {
  content: ''; 
  position: absolute; 
  top: 0; 
  left: -100%;
  width: 100%; 
  height: 100%; 
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.btn-primary:hover::before { 
  left: 100%; 
}

.btn-primary:hover { 
  transform: translateY(-5px); 
  box-shadow: 0 15px 40px rgba(56, 189, 248, 0.4);
}

/* Navbar */
/*nav bar*/


    .social-icons i {
      font-size: 25px;
      margin: 15px;
      color: white !important;
      transition: color 0.3s ease;
    }

     .social-icons i:hover {
      color: #38bdf8 !important; 
    }

      .action-icons i{
         font-size: 25px;
      color: white;
      vertical-align: middle;

      }

      .action-icons i:hover {
      color: #0e183d; }

      .login-text {
         font-size: 18px;
         margin: 30px;
         color: white !important;
         font-weight: 500;
         cursor: pointer;
         transition: color 0.3s ease;
         vertical-align: middle;
      }

      .login-text:hover {
         color: #38bdf8 !important;
      }

      .demo-box {
         font-size: 14px;
         padding: 8px 15px;
         margin: 24px 15px;
         background-color: #38bdf8;
         color: white !important;
         border: 2px solid #38bdf8;
         border-radius: 20px;
         font-weight: 600;
         cursor: pointer;
         transition: all 0.3s ease;
         display: inline-block;
         vertical-align: middle;
      }

      .demo-box:hover {
         background-color: transparent;
         color: #38bdf8 !important;
         border-color: #38bdf8;
      }

      * Offcanvas menu links */
     .menu-link {
        color: rgb(16, 16, 16);
        text-decoration: none;
        font-size: 18px;
        display: block;
        padding: 10px 0;
      }

      .menu-link:hover {
        color: #00aced;
      }

/* Hero */
.hero {
  background: linear-gradient(135deg, #1e3a8a, #1e40af, #3b82f6);
  color: white; 
  padding: 100px 0; 
  position: relative; 
  overflow: hidden;
  min-height: 100vh; 
  display: flex; 
  align-items: center;
}

.hero-content h1 { 
  margin-bottom: 1.5rem; 
  line-height: 1.2;
  background: linear-gradient(45deg, #ffffff, #e2e8f0);
  -webkit-background-clip: text; 
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.typing-container {
  height: 60px; 
  margin: 30px 0; 
  position: relative;
}

.typing-text {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem); 
  color: #ffffff; 
  font-weight: 600;
  border-right: 3px solid #ffffff; 
  padding-right: 5px;
  animation: blink 1s infinite; 
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

@keyframes blink {
  0%, 50% { border-color: #ffffff; }
  51%, 100% { border-color: transparent; }
}

/* 3D Rotating Cube Carousel */
.carousel-container {
  position: relative; 
  width: 100%; 
  max-width: 400px; 
  height: 400px; 
  margin: auto; 
  perspective: 1000px;
}

.carousel-grid {
  position: relative;
  width: 100%; 
  height: 100%; 
  transform-style: preserve-3d;
  animation: rotateCube 8s linear infinite;
  transition: transform 0.3s ease;
}

.carousel-grid:hover {
  animation-duration: 12s;
}

/* Moving Balls Around Carousel */
.carousel-ball {
  position: absolute;
  width: 12px;
  height: 12px;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  border-radius: 50%;
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.6);
  z-index: 10;
}

.carousel-ball.ball-1 {
  animation: moveBall1 6s ease-in-out infinite;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.carousel-ball.ball-2 {
  animation: moveBall2 8s ease-in-out infinite;
  background: linear-gradient(135deg, #10b981, #059669);
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.6);
}

.carousel-ball.ball-3 {
  animation: moveBall3 7s ease-in-out infinite;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.6);
}

/* Ball Movement Animations */
@keyframes moveBall1 {
  0%, 100% { top: 10%; left: 20%; transform: scale(1); }
  25% { top: 20%; left: 85%; transform: scale(1.3); }
  50% { top: 80%; left: 90%; transform: scale(0.8); }
  75% { top: 85%; left: 15%; transform: scale(1.2); }
}

@keyframes moveBall2 {
  0%, 100% { top: 90%; right: 20%; transform: scale(1); }
  25% { top: 15%; right: 10%; transform: scale(1.4); }
  50% { top: 10%; right: 85%; transform: scale(0.7); }
  75% { top: 60%; right: 90%; transform: scale(1.1); }
}

@keyframes moveBall3 {
  0%, 100% { top: 50%; left: 5%; transform: scale(1); }
  25% { top: 10%; left: 50%; transform: scale(1.2); }
  50% { top: 50%; left: 95%; transform: scale(0.9); }
  75% { top: 90%; left: 60%; transform: scale(1.3); }
}

.carousel-face {
  position: absolute;
  width: 100%; 
  height: 100%;
  display: grid; 
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr); 
  gap: 15px;
  padding: 20px; 
  box-sizing: border-box;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.2);
}

.carousel-face.front {
  transform: translateZ(200px);
}

.carousel-face.back {
  transform: translateZ(-200px) rotateY(180deg);
  background: rgba(59, 130, 246, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-item {
  background: rgba(255,255,255,0.1); 
  border-radius: 15px;
  display: flex; 
  align-items: center; 
  justify-content: center;
  position: relative; 
  overflow: hidden; 
  transition: all 0.3s ease;
  backdrop-filter: blur(10px); 
  border: 1px solid rgba(255,255,255,0.2);
  font-size: 1.1rem; 
  font-weight: bold; 
  color: white;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
  aspect-ratio: 1;
  width: 100%;
}

.carousel-item:hover {
  transform: translateZ(15px) scale(1.05);
  box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

.carousel-item.feature-item {
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.carousel-item.feature-item i {
  font-size: 1.8rem;
  margin-bottom: 8px;
  opacity: 0.9;
}

.logo-face {
  width: 80%;
  height: 80%;
  background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(240,248,255,0.9));
  border-radius: 20px;
  border: 3px solid rgba(59, 130, 246, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.logo-face img {
  width: 90%;
  height: 90%;
  object-fit: contain;
  filter: brightness(1) contrast(1.1);
}

/* 3D Cube Rotation Animation */
@keyframes rotateCube {
  0% { transform: rotateY(0deg); }
  49% { transform: rotateY(179deg); }
  51% { transform: rotateY(181deg); }
  100% { transform: rotateY(360deg); }
}

/* Carousel Animation - Simple One-Axis Rotation */
@keyframes gentleRotate {
  0% { transform: rotateY(0deg); }
  100% { transform: rotateY(360deg); }
}

/* Old complex rotation - kept for reference */
@keyframes rotateCarousel {
  0% { transform: rotateY(0deg) rotateX(2deg); }
  25% { transform: rotateY(90deg) rotateX(5deg); }
  50% { transform: rotateY(180deg) rotateX(2deg); }
  75% { transform: rotateY(270deg) rotateX(5deg); }
  100% { transform: rotateY(360deg) rotateX(2deg); }
}

/* Featured Items - Gentle Glow */
.carousel-item:nth-child(1), 
.carousel-item:nth-child(7), 
.carousel-item:nth-child(13) { 
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
  animation: gentleGlow 3s ease-in-out infinite;
}

.carousel-item:nth-child(7) { 
  animation-delay: 1s; 
}

.carousel-item:nth-child(13) { 
  animation-delay: 2s; 
}

@keyframes gentleGlow {
  0%, 100% { box-shadow: 0 0 10px rgba(255, 255, 255, 0.3); }
  50% { box-shadow: 0 0 20px rgba(255, 255, 255, 0.5); }
}

@keyframes glow {
  0%, 100% { box-shadow: 0 0 20px rgba(255, 255, 255, 0.3); }
  50% { box-shadow: 0 0 30px rgba(255, 255, 255, 0.5); }
}

/* Floating Elements */
.hero::before {
  content: ''; 
  position: absolute; 
  top: 10%; 
  left: 10%;
  width: 100px; 
  height: 100px; 
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%; 
  animation: float 6s ease-in-out infinite;
}

.hero::after {
  content: ''; 
  position: absolute; 
  bottom: 20%; 
  right: 15%;
  width: 150px; 
  height: 150px; 
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%; 
  animation: float 8s ease-in-out infinite reverse;
}

/* About */
.about {
  padding: 80px 0; 
  position: relative; 
  overflow: hidden;
}

/* Particle Animation */
.particles {
  position: absolute; 
  top: 0; 
  left: 0; 
  right: 0; 
  bottom: 0; 
  z-index: 1;
  pointer-events: none;
}

.particle {
  position: absolute; 
  width: 4px; 
  height: 4px; 
  background: var(--accent-color);
  border-radius: 50%; 
  opacity: 0; 
  animation: float-particle 8s linear infinite;
}

.particle:nth-child(2n) { 
  background: var(--primary-color); 
  animation-delay: -2s; 
}

.particle:nth-child(3n) { 
  background: var(--success-color); 
  animation-delay: -4s; 
}

.particle:nth-child(4n) { 
  animation-delay: -6s; 
}

@keyframes float-particle {
  0% { opacity: 0; transform: translateY(100vh) rotate(0deg); }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { opacity: 0; transform: translateY(-100px) rotate(360deg); }
}

.about-hero h2 { 
  font-size: clamp(2.5rem, 5vw, 3.5rem); 
  margin-bottom: 20px; 
  color: var(--dark-color);
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text; 
  -webkit-text-fill-color: transparent;
  background-clip: text; 
  position: relative;
}

/* Achievement Badges */
.badge {
 background: linear-gradient(135deg, #bdbdbd, #919191);
  color: white; 
  padding: 10px 20px; 
  border-radius: 25px;
  font-weight: 600; 
  font-size: 0.9rem; 
  position: relative;
  animation: pulse-badge 2s ease-in-out infinite;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2); 
  margin: 5px;
}

.badge::before {
  content: '✨'; 
  margin-right: 5px; 
  font-size: 1rem;
  display: inline-block;
}

@keyframes pulse-badge {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* Stats Section - Bootstrap Integration */
.stat-card {
  background: white; 
  border-radius: 20px;
  transition: all 0.3s ease; 
  position: relative; 
  overflow: hidden;
  transform-style: preserve-3d; 
  perspective: 1000px;
}

.stat-card::before {
  content: ''; 
  position: absolute; 
  top: 0; 
  left: 0; 
  right: 0; 
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color), var(--success-color));
  transform: translateX(-100%); 
  transition: transform 0.6s ease;
}

.stat-card::after {
  content: ''; 
  position: absolute; 
  top: 0; 
  left: 0; 
  right: 0; 
  bottom: 0;
  background: linear-gradient(45deg, rgba(230,57,70,0.1), rgba(56,189,248,0.1));
  opacity: 0; 
  transition: opacity 0.3s ease; 
  z-index: -1;
}

.stat-card:hover::before { 
  transform: translateX(0); 
}

.stat-card:hover::after { 
  opacity: 1; 
}

.stat-card:hover { 
  transform: translateY(-10px) rotateY(5deg) rotateX(5deg); 
  box-shadow: 0 25px 50px rgba(0,0,0,0.2) !important; 
}

.stat-number {
  text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.stat-number.animating {
  color: var(--accent-color) !important;
  transform: scale(1.1);
}

.stats-container.animated .stat-card {
  animation: slideInUp 0.6s ease-out forwards;
}

@keyframes slideInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Team Section - Bootstrap Integration */
.team-card {
  border-radius: 20px; 
  transition: all 0.3s ease; 
  position: relative;
}

.team-card:hover { 
  transform: translateY(-15px) scale(1.02); 
  box-shadow: 0 25px 50px rgba(0,0,0,0.15) !important;
}

.team-avatar span {
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce { 
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); } 
  40% { transform: translateY(-10px); } 
  60% { transform: translateY(-5px); } 
}

/* Mission Cards - Bootstrap Integration */
.mission-card {
  border-radius: 20px; 
  position: relative; 
  overflow: hidden;
  transition: all 0.3s ease;
}

.mission-card::before {
  content: ''; 
  position: absolute; 
  top: -50%; 
  left: -50%; 
  right: -50%; 
  bottom: -50%;
  background: conic-gradient(from 0deg, var(--primary-color), var(--accent-color), var(--success-color), var(--primary-color));
  animation: rotate 4s linear infinite; 
  z-index: -1; 
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mission-card:hover::before { 
  opacity: 0.1; 
}

.mission-card:hover { 
  transform: translateY(-5px); 
  box-shadow: 0 15px 40px rgba(0,0,0,0.15) !important;
}


.test {
  border: 3px solid rgb(12, 12, 12); 
  border-radius: 10px;
  min-height: 70vh; /* Better than fixed rem */
  max-width: 1500px; /* Or 90% for responsiveness */
  width: 90%; /* Good for responsiveness */
  margin: 100px auto; /* Centers the container */
  padding: 20px; /* Space inside the box */
  
}
.heading{
  position: relative;
  color: rgb(10, 10, 10);

}


/* Story Section */
.story-section {
  display: grid; 
  grid-template-columns: 1fr 1fr; 
  gap: 60px;
  align-items: center; 
  margin-bottom: 80px;
}

.story-content h3 {
  font-size: 2.5rem; 
  margin-bottom: 30px; 
  color: #ffffff;
  position: relative;
      font-weight: 500 !important;
}

.story-content h3::after {
  content: ''; 
  position: absolute; 
  bottom: -10px; 
  left: 0;
  width: 80px; 
  height: 4px; 
  background: linear-gradient(90deg, #e63946, #38bdf8);
  border-radius: 2px;
}

.story-content p {
  font-size: 1.2rem; 
  line-height: 1.8; 
  margin-bottom: 20px;
  color: #ffffff;
  text-align: justify;
}

.story-visual {
  position: relative; 
  height: 400px; 
  background: linear-gradient(135deg, #e63946, #1d3557);
  border-radius: 20px; 
  overflow: hidden; 
  display: flex; 
  align-items: center; 
  justify-content: center;
}

.story-visual::before {
  content: '🏢'; 
  font-size: 8rem; 
  animation: float 3s ease-in-out infinite;
  display: inline-block;
  transform-style: preserve-3d;
}

/* Timeline */
.timeline {
  position: relative; 
  margin: 60px 0;
}

.timeline::before {
  content: ''; 
  position: absolute; 
  top: 0; 
  bottom: 0; 
  left: 50%;
  width: 2px; 
  background: linear-gradient(to bottom, #e63946, #38bdf8, #10b981);
  transform: translateX(-50%);
}

.timeline-item {
  display: flex; 
  margin-bottom: 40px; 
  position: relative;
}

.timeline-item:nth-child(odd) { 
  flex-direction: row; 
}

.timeline-item:nth-child(even) { 
  flex-direction: row-reverse; 
}

.timeline-content {
  width: 45%; 
  padding: 30px; 
  background: white; 
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1); 
  position: relative;
  transition: transform 0.3s ease;
}

.timeline-content:hover { 
  transform: scale(1.05); 
}

.timeline-content h4 {
  font-size: 1.4rem; 
  color: #1d3557; 
  margin-bottom: 15px;
}

.timeline-content p { 
  color: #64748b; 
  line-height: 1.6; 
}

.timeline-dot {
  position: absolute; 
  left: 50%; 
  top: 50%; 
  transform: translate(-50%, -50%);
  width: 20px; 
  height: 20px; 
  background: #e63946; 
  border-radius: 50%;
  border: 4px solid white; 
  z-index: 10; 
  box-shadow: 0 0 0 4px #e63946;
}


/* Mission Cards */
.mission-cards {
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px; 
  margin-top: 60px;
}

.mission-card {
  background: white; 
  padding: 0px; 
  border-radius: 20px;
  text-align: center; 
  position: relative; 
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.mission-card::before {
  content: ''; 
  position: absolute; 
  top: -50%; 
  left: -50%; 
  right: -50%; 
  bottom: -50%;
  background: conic-gradient(from 0deg, #e63946, #38bdf8, #10b981, #e63946);
  animation: rotate 4s linear infinite; 
  z-index: -1; 
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mission-card:hover::before { 
  opacity: 0.1; 
}

.mission-card:hover { 
  transform: translateY(-5px); 
}

.mission-icon {
  font-size: 3rem; 
  margin-bottom: 20px; 
  display: block;
}

.mission-card h4 {
  font-size: 1.5rem; 
  margin-bottom: 15px; 
  color: #1d3557;
}

.mission-card p { 
  color: #64748b; 
  line-height: 1.6; 
}

/* Center the features carousel slides perfectly */
.features-slider-wrapper {
  overflow: hidden;
  padding: 0;
  width: 100%;
  display: flex;
  justify-content: flex-start;
}
.features-slider {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  gap: 30px;
}

/* Animations */
@keyframes float { 
  0%, 100% { transform: translateY(0px); } 
  50% { transform: translateY(-20px); } 
}

@keyframes rotate { 
  from { transform: rotate(0deg); } 
  to { transform: rotate(360deg); } 
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(50px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Features */
.features {
  background: #f8fafc; 
  padding: 60px 50px;
}

.features h2 { 
  text-align: center; 
  font-size: 2rem; 
  margin-bottom: 40px; 
  color: #0f172a; 
}

.feature-grid {
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
  gap: 20px;
  max-width: 1100px; 
  margin: auto;
}

.feature {
  background: white; 
  padding: 30px; 
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08); 
  text-align: center;
}

.feature h3 { 
  margin-bottom: 10px; 
  color: #1d3557; 
}

/* Contact */
.contact {
  padding: 60px 50px; 
  max-width: 1100px; 
  margin: auto; 
  text-align: center;
}

.contact h2 { 
  font-size: 2rem; 
  margin-bottom: 20px; 
  color: #0f172a; 
}

.contact p { 
  margin-bottom: 20px; 
}

.contact .btn {
  background: #e63946; 
  color: white; 
  border: none; 
  padding: 12px 24px;
  border-radius: 8px; 
  text-decoration: none;
}

.contact .btn:hover { 
  background: #b91c1c; 
}

/* Features Carousel Styles */
.features-carousel-container {
  max-width: 1600px;
  margin: 0 auto;
  position: relative;
  padding: 40px 60px 60px 60px;
  background: #fff;
  color: #111;
  border-radius: 32px;
  box-shadow: 0 8px 40px rgba(56,189,248,0.10), 0 2px 8px rgba(0,0,0,0.04);
  border: 1.5px solid #e5e7eb;
}

.features-slider-wrapper {
  overflow: hidden;
  width: 100%;
  min-height: 350px;
  position: relative;
}

.features-slider {
  width: 100%;
  min-height: 350px;
  position: relative;
}

.feature-slide {
  width: 100%;
  min-width: 100%;
  transition: opacity 0.5s, transform 0.5s;
  opacity: 1;
  position: absolute;
  left: 0;
  top: 0;
}

.feature-slide .feature.card {
  height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0 auto;
  background: #fff;
  color: #111;
  border-radius: 24px;
  box-shadow: 0 4px 24px rgba(56,189,248,0.08), 0 1.5px 6px rgba(0,0,0,0.04);
  transition: box-shadow 0.3s, transform 0.3s;
  opacity: 0;
  pointer-events: none;
  }
}

.feature-slide .feature.card:hover {
  box-shadow: 0 8px 32px rgba(56,189,248,0.18), 0 4px 16px rgba(0,0,0,0.08);
  transform: translateY(-8px) scale(1.03);
}

.feature-slide h3 {
  color: #0f172a;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.feature-slide p {
  color: #222;
  font-size: 1.1rem;
  font-weight: 400;
}

.feature-icon i {
  background: linear-gradient(135deg, #38bdf8 40%, #10b981 100%);
  color: #fff !important;
  border-radius: 16px;
  padding: 18px;
  font-size: 3.2rem !important;
  box-shadow: 0 2px 12px rgba(56,189,248,0.10);
  margin-bottom: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .carousel-container { 
    width: 250px; 
    height: 250px; 
  }
  
  .hero { 
    padding: 50px 0; 
  }
  
  .about-hero h2 { 
    font-size: 2.5rem; 
  }
  
  .story-section { 
    grid-template-columns: 1fr; 
    gap: 40px; 
  }
  
  .timeline::before { 
    left: 20px; 
  }
  
  .timeline-item { 
    flex-direction: column !important; 
    margin-left: 40px; 
  }
  
  .timeline-content { 
    width: 100%; 
  }
  
  .timeline-dot { 
    left: 20px; 
  }
}

/* Responsive Key Features Carousel */
@media (max-width: 1200px) {
  .features-carousel-container {
    max-width: 1000px;
    padding: 20px 10px 30px 10px;
  }
  .feature-slide {
    min-width: calc(50% - 15px);
    max-width: 350px;
  }
}
@media (max-width: 992px) {
  .features-carousel-container {
    max-width: 800px;
    padding: 10px 0 20px 0;
  }
  .feature-slide {
    min-width: 100%;
    max-width: 100%;
  }
  .feature-slide .feature.card {
    height: 320px;
  }
}
@media (max-width: 768px) {
  .features-carousel-container {
    max-width: 100vw;
    padding: 0 5vw;
  }
  .feature-slide {
    min-width: 100%;
    max-width: 100%;
  }
  .feature-slide .feature.card {
    height: 280px;
    padding: 1.5rem;
  }
  .features-slider {
    gap: 16px;
  }
}
@media (max-width: 576px) {
  .features-carousel-container {
    padding: 0 1vw;
    border-radius: 12px;
  }
  .features-slider-wrapper {
    padding: 0;
  }
  .feature-slide {
    min-width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
  }
  .features-slider {
    gap: 6px;
  }
  .feature-slide .feature.card {
    height: auto !important;
    padding: 0.7rem 0.2rem !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 8px rgba(56,189,248,0.10);
  }
  .feature-slide h3 {
    font-size: 1rem !important;
    margin-bottom: 0.7rem !important;
  }
  .feature-slide p {
    font-size: 0.92rem !important;
    margin-bottom: 0.5rem !important;
  }
  .feature-icon i {
    font-size: 1.3rem !important;
    padding: 5px !important;
    margin-bottom: 0.5rem !important;
  }
}


/* --- CSS ORDERED FOR WEBSITE PAGE --- */

/* 1. Variables & Global Styles */
:root {
  --primary-color: #e63946;
  --secondary-color: #1d3557;
  --accent-color: #38bdf8;
  --success-color: #10b981;
  --dark-color: #0f172a;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  min-height: 100vh;
}

/* 2. Navbar */
.navbar-logo { height: 70px; width: auto; max-width: 150px; object-fit: contain; }
.social-icons i { font-size: 25px; margin: 15px; color: white !important; transition: color 0.3s ease; }
.social-icons i:hover { color: #38bdf8 !important; }
.action-icons i:hover { color: #0e183d; }
.login-text { font-size: 18px;color: white !important; font-weight: 500; cursor: pointer; transition: color 0.3s ease; vertical-align: middle; }
.login-text:hover { color: #38bdf8 !important; }
.demo-box { font-size: 14px; padding: 8px 15px; margin: 24px 15px; background-color: #38bdf8; color: white !important; border: 2px solid #38bdf8; border-radius: 20px; font-weight: 600; cursor: pointer; transition: all 0.3s ease; display: inline-block; vertical-align: middle; }
.demo-box:hover { background-color: transparent; color: #38bdf8 !important; border-color: #38bdf8; }

/* 3. Offcanvas Menu */
.offcanvas-menu-list { margin-top: 30px; }
.menu-link { color: #fff !important; text-decoration: none; font-size: 20px; font-family: 'Poppins', 'Segoe UI', Arial, sans-serif; font-weight: 500; letter-spacing: 0.5px; display: flex; align-items: center; padding: 14px 0 14px 10px; border-radius: 12px; transition: background 0.2s, color 0.2s; }
.menu-link .menu-icon { font-size: 22px; margin-right: 14px; color: #38bdf8; transition: color 0.2s; }
.menu-link:hover { background: rgba(56,189,248,0.12); color: #38bdf8 !important; }
.menu-link:hover .menu-icon { color: #fff; }
.offcanvas-title { font-family: 'Poppins', 'Segoe UI', Arial, sans-serif; font-size: 2rem; font-weight: 700; color: #38bdf8; letter-spacing: 1px; }
.offcanvas-header { border-bottom: 1px solid #38bdf8; margin-bottom: 10px; }
.offcanvas-body { background: linear-gradient(135deg, #03192e 60%, #38bdf8 100%); border-radius: 0 0 18px 18px; box-shadow: 0 8px 32px rgba(56,189,248,0.12); }
.offcanvas { z-index: 1080 !important; }

/* 4. Hero Section */
.hero { background: linear-gradient(135deg, #1e3a8a, #1e40af, #3b82f6); color: white; padding: 100px 0; position: relative; overflow: hidden; min-height: 100vh; display: flex; align-items: center; }
.typing-container { height: 60px; margin: 30px 0; position: relative; }
.typing-text { font-size: clamp(1.2rem, 2.5vw, 1.5rem); color: #ffffff; font-weight: 600; border-right: 3px solid #ffffff; padding-right: 5px; animation: blink 1s infinite; text-shadow: 0 2px 4px rgba(0,0,0,0.3); }
@keyframes blink { 0%, 50% { border-color: #ffffff; } 51%, 100% { border-color: transparent; } }

/* 5. Features Section & Carousel */
.features-heading-icon { display: flex; align-items: center; justify-content: center; gap: 18px; }
.feature-heading-icon { color: #38bdf8; font-size: 2.5rem; margin-right: 8px; vertical-align: middle; filter: drop-shadow(0 2px 8px rgba(56,189,248,0.12)); }
.carousel-arrow-modern { background: rgba(255,255,255,0.95); border: none; border-radius: 50%; width: 54px; height: 54px; box-shadow: 0 2px 12px rgba(56,189,248,0.10); color: #38bdf8; font-size: 2.2rem; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 10; transition: background 0.2s, color 0.2s, box-shadow 0.2s; }
.carousel-arrow-modern:hover { background: #38bdf8; color: #fff; box-shadow: 0 4px 24px rgba(56,189,248,0.18); }
.carousel-arrow-modern i { pointer-events: none; }
.features-slider-wrapper { padding: 0 4vw; }
.feature-slide { min-width: 350px; max-width: 350px; margin: 0 12px; }
.features-slider { display: flex; gap: 24px; overflow-x: auto; scroll-behavior: smooth; }
.feature-slide .feature.card { height: 100%; padding: 2rem 1rem; border-radius: 18px; box-shadow: 0 8px 32px rgba(56,189,248,0.12); }
.feature-icon i { font-size: 2.5rem; padding: 10px; }

/* 6. Testimonials */
.testimonial-main-section { background: linear-gradient(135deg, #f8fafc 80%, #e0e7ef 100%); }
.testimonial-carousel { position: relative; overflow: hidden; background: #fff; border-radius: 24px; box-shadow: 0 8px 40px rgba(56,189,248,0.10), 0 2px 8px rgba(0,0,0,0.04); padding: 2.5rem 2.5rem 2rem 2.5rem; }
.testimonial-carousel-inner { position: relative; min-height: 220px; }
.testimonial-slide { display: none; position: absolute; width: 100%; left: 0; top: 0; transition: opacity 0.5s, transform 0.5s; opacity: 0; z-index: 1; }
.testimonial-slide.active { display: block; position: relative; opacity: 1; z-index: 2; animation: fadeInTestimonial 0.7s; }
@keyframes fadeInTestimonial { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.testimonial-photo { width: 110px; height: 110px; object-fit: cover; border-radius: 50%; border: 4px solid var(--primary-color); box-shadow: 0 2px 12px rgba(56,189,248,0.10); }
.testimonial-text { font-size: 1.15rem; color: #222; background: #fff; border-left: 4px solid var(--primary-color); padding-left: 1.2rem; font-style: italic; }
.testimonial-carousel-control { position: absolute; top: 50%; transform: translateY(-50%); background: #fff; border: none; border-radius: 50%; width: 44px; height: 44px; box-shadow: 0 2px 8px rgba(56,189,248,0.10); color: var(--primary-color); font-size: 1.5rem; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 10; transition: background 0.2s, color 0.2s; }
.testimonial-carousel-control.prev { left: -22px; }
.testimonial-carousel-control.next { right: -22px; }
.testimonial-carousel-control:hover { background: var(--primary-color); color: #fff; }

/* 7. Footer */
.footer { border: none; border-radius: 10px; min-height: 50vh; max-width: 1700px; width: 95vw; margin: 0 auto; padding: 20px; background: #343c49 !important; color: #fff !important; }
.footer-text { color: #ffffff!important; }
.footer-text li { margin-bottom: 8px; font-size: 18px; }

/* 8. Responsive Design */
@media (max-width: 992px) {
  .features-slider-wrapper { padding: 0 2vw; }
  .feature-slide { min-width: 100% !important; max-width: 100% !important; margin: 0 auto; }
  .features-slider { gap: 12px; }
  .feature-slide .feature.card { height: auto; padding: 1.2rem 0.5rem; }
}
@media (max-width: 768px) {
  .carousel-container { width: 250px; height: 250px; }
  .hero { padding: 50px 0; }
  .about-hero h2 { font-size: 2.5rem; }
  .story-section { grid-template-columns: 1fr; gap: 40px; }
  .timeline::before { left: 20px; }
  .timeline-item { flex-direction: column !important; margin-left: 40px; }
  .timeline-content { width: 100%; }
  .timeline-dot { left: 20px; }
  .features-carousel-container {
    max-width: 100vw;
    padding: 0 5vw;
  }
  .feature-slide .feature.card {
    padding: 0.8rem 0.2rem;
  }
  .feature-icon i {
    font-size: 1.7rem !important;
    padding: 7px;
  }
}
/* Make enquiry offcanvas helper text (max words) white */
#enquiryOffcanvas .form-label .text-muted,
#enquiryOffcanvas .form-text {
  color: #000 !important;
}

