/*****************************************************
 * 1. RESET & GLOBAL STYLES
 *****************************************************/
 * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Arial", sans-serif;
  }
  
  body {
    background-color: #020d26;
    color: white;
    min-height: 100vh;
    overflow-x: hidden;
  }

  .error-message {
    color: red;              
    font-size: 12px;         
    margin-top: 5px;         
    font-family: Arial, sans-serif;  
    display: block;        
  }
  
  /*****************************************************
   * 2. ANIMATION KEYFRAMES
   *****************************************************/
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  @keyframes fadeIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
  
  @keyframes highlightExpand {
    from {
      transform: scaleX(0);
    }
    to {
      transform: scaleX(1);
    }
  }
  
  /* Apply fade-in-up to all main sections */
  .hero,
  .services-section,
  .why-choose-us-section,
  .testimonials-slider-section,
  .stats-discuss-section,
  .team-section,
  .footer-section {
    animation: fadeInUp 0.8s ease-in-out forwards;
    opacity: 0;
    /* Start invisible; keyframe ends at opacity:1 */
  }
  
  /*****************************************************
   * 3. HEADER / NAVIGATION
   *****************************************************/
  /* (Optional header styles) */
  header {
    /* Add background or padding if needed */
  }
  
  /* Top Navigation Bar (Desktop) */
  /*****************************************************
   * 1. FIXED NAVIGATION (ALWAYS VISIBLE)
   *****************************************************/
   nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #020d26;
    z-index: 1000;
    border: 2px solid #ff5722;
    border-radius: 10px;
    padding: 0.5rem 1rem;
}

  .popup-form-overlay {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0,0,0,0.6);
    z-index: 9999;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s, opacity 0.3s ease;
  }

  .popup-form-overlay.show {
    visibility: visible;
    opacity: 1;
  }

  .popup-form-content {
    background: #0d1b3d;
    padding: 30px;
    border-radius: 8px;
    width: 100%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  }

  .close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
    color: #333;
  }


header {
    padding-top: 100px;
}

.logo {
    position: relative;
    display: inline-block;
    overflow: hidden;
}

.logo img {
    display: block;
    height: 60px;
    width: auto;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.logo:hover img {
    transform: scale(1.1);
}

.logo::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent 0%, rgba(255, 165, 0, 0.4) 50%, transparent 100%);
    transform: skewX(-25deg);
    transition: left 0.75s ease;
}

.logo:hover::before {
    left: 100%;
}

.main-nav {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.main-nav li a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.main-nav li a:hover {
    color: #eb6e0d;
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #1a1040;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.5rem 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu li a {
    display: block;
    padding: 0.5rem 1rem;
    color: white;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.dropdown-menu li a:hover {
    background-color: rgba(255, 215, 0, 0.1);
    color: #eb6e0d;
}

.Contact {
    background-color: transparent;
    border: 1px solid #eb6e0d;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.Contact:hover {
    background-color: #eb6e0d;
    color: #1a1040;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1001;
}

.mobile-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 250px;
    height: 100vh;
    background-color: #020d26;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 9999 !important;
    padding: 0.9rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    overflow-y: auto;
}

.mobile-sidebar.active {
    transform: translateX(0);
}

.sidebar-nav {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-sidebar .dropdown {
    position: relative;
}

.mobile-sidebar .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background-color: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    min-width: auto;
}

.mobile-sidebar .dropdown-menu li a {
    padding-left: 1rem;
}

.sidebar-header .close-btn {
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s ease, transform 0.3s ease;
}

.sidebar-header .close-btn:hover {
    color: orange;
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    .main-nav {
        display: none;
    }
}

.contact-btn {
    display: inline-block;
    background-color: #ff5722;
    color: #1b1528;
    padding: 12px 30px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}
.close-btn{
    position: absolute;
    top: 15px;
    right: 20px;
}
option {
    background-color: #27203B;
}

  /*****************************************************
   * 6. HERO SECTION
   *****************************************************/
  /* Hero container for flex layout */
  .hero-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  .hero {
    max-width: 60%;
    text-align: left;
    padding: 2rem 0;
  }
  
  h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: white;
  }
  
  .highlight {
    color: #ff5722;
    display: block;
    margin-top: 10px;
  }
  
  p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #cccccc;
    margin-bottom: 2rem;
    max-width: 600px;
  }
  
  .cta-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
  }
  
  .nav-button,
  .cta-button {
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
  }
  
  .nav-button {
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
  }
  
  .cta-button {
    color: white;
    border: 1px solid #eb6e0d;
  }
  
  .nav-button:hover,
  .cta-button:hover {
    background-color: #eb6e0d;
    border-color: #eb6e0d;
    color: #1a1040;
  }
  
  .social-links {
    display: flex;
    gap: 1.5rem;
  }
  
  .social-links a {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.3s ease;
  }
  
  .social-links a:hover {
    color: #eb6e0d;
  }
  
  /* Inquiry Form Container */
.inquiry-form-container {
  width: 35%;
  padding-top: 2rem;
  animation: fadeInUp 0.8s ease-in-out forwards;
  opacity: 0;
}
/* Add these styles to your existing CSS */
.modal-header {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 8px;
}

.enquiry-close-btn {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #ff5722;
  font-size: 1.4rem;
  cursor: pointer;
  transition: color 0.3s ease;
  padding: 0 5px;
  line-height: 1;
}

.enquiry-close-btn:hover {
  color: #fff;
}

/* Modal */
.modal {
  background-color: #020d26;
  width: 100%;
  max-width: 280px;
  border-radius: 5px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
  padding: 10px;
  /* margin-left: 100px; */
  border: 2px solid #ff5722;
}

/* Modal Header */
.modal-header {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 8px;
}

.modal-header h2 {
  font-size: 0.95rem;
  color: #ff5722;
}

/* Close Button */
.close-form-btn {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #ff5722;
  font-size: 1.4rem;
  cursor: pointer;
  transition: color 0.3s ease;
  padding: 0 5px;
}

.close-form-btn:hover {
  color: #fff;
}

/* Rest of Form Styles */
.enquiry-form {
  display: flex;
  flex-direction: column;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 6px;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 8px;
  width: 100%;
}

.form-group label {
  margin-bottom: 2px;
  font-weight: bold;
  font-size: 0.75rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 4px 6px;
  /* border: 1px solid #ccc; */
  border-radius: 3px;
  font-size: 0.75rem;
  color: white;
  width: 100%;
  background-color: #0d1b3d;
}

.form-group textarea {
  resize: vertical;
  min-height: 40px;
  max-height: 120px;
}

.submit-btn {
  background-color: #ff5722;
  border: none;
  border-radius: 3px;
  padding: 5px 10px;
  font-size: 0.8rem;
  cursor: pointer;
  color: #fff;
  align-self: flex-end;
  transition: background-color 0.3s ease;
  width: auto;
  min-width: 70px;
}

.submit-btn:hover {
  background-color: #ff5722;
}

/* Responsive Adjustments */
@media (min-width: 480px) {
  .modal {
      max-width: 300px;
      /* margin-left: 0; */
  }
}

@media (min-width: 600px) {
  .form-row {
      flex-direction: row;
      gap: 6px;
  }
  .form-row .form-group {
      flex: 1;
  }
  .modal {
      max-width: 320px;
  }
}

@media (max-width: 300px) {
  .modal {
      padding: 8px 6px;
  }
  .form-group input,
  .form-group select,
  .form-group textarea {
      padding: 3px 5px;
  }
  .submit-btn {
      padding: 4px 8px;
      font-size: 0.75rem;
  }
}
  /* Hero Responsive */
  @media (max-width: 768px) {
    .logo img {
      height: 60px;
    }
  
    h1 {
      font-size: 2.5rem;
    }
  
    .hero-container {
      flex-direction: column;
    }
  
    .hero {
      text-align: center;
      padding: 1rem;
      max-width: 100%;
    }
  
    .inquiry-form-container {
      width: 100%;
      display: flex;
      justify-content: center;
      margin-top: 2rem;
    }
  
    p {
      font-size: 1rem;
      margin: 0 auto 2rem auto;
    }
  
    .cta-buttons {
      justify-content: center;
      flex-wrap: wrap;
    }
  
    .social-links {
      justify-content: center;
    }
  }
  
  @media (max-width: 480px) {
    .logo img {
      height: 60px;
    }
  
    h1 {
      font-size: 2rem;
    }
  
    .cta-buttons {
      flex-direction: column;
      width: 100%;
      max-width: 300px;
      margin: 0 auto 2rem auto;
    }
  
    .cta-button {
      text-align: center;
    }
  }
  /* hero section animatio  */
  .hero {
    position: relative; /* For the pseudo-element positioning */
    overflow: hidden; /* Hide any overflow from the shine effect */
    animation: heroTech 10s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite;
    transform-origin: center;
    z-index: 1;
  }
  
  /* Keyframes for the subtle scaling/translation/rotation effect */
  @keyframes heroTech {
    0% {
      transform: scale(1) translateY(0) rotate(0deg);
      opacity: 1;
    }
    25% {
      transform: scale(1.02) translateY(-10px) rotate(0.5deg);
      opacity: 0.98;
    }
    50% {
      transform: scale(1.04) translateY(-20px) rotate(0deg);
      opacity: 0.96;
    }
    75% {
      transform: scale(1.02) translateY(-10px) rotate(-0.5deg);
      opacity: 0.98;
    }
    100% {
      transform: scale(1) translateY(0) rotate(0deg);
      opacity: 1;
    }
  }
  
  /* Pseudo-element for a gentle, moving shine effect */
  .hero::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(120deg, transparent 0%, rgba(209, 116, 28, 0.182) 50%, transparent 100%);
    transform: translateX(-100%) rotate(30deg);
    animation: shine 4s ease-in-out infinite;
    pointer-events: none;
    z-index: -1;
  }
  
  /* Keyframes for the shine overlay */
  @keyframes shine {
    0% {
      transform: translateX(-100%) rotate(30deg);
    }
    100% {
      transform: translateX(100%) rotate(30deg);
    }
  }
  /* navbar mobile view sidebar  */
  .sidebar-header .close-btn {
    background: transparent;
    border: none;
    color: #ffffff; /* default white color */
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s ease, transform 0.3s ease;
  }
  
  .sidebar-header .close-btn:hover {
    color: orange; /* changes to orange on hover */
    transform: scale(1.1);
  }
  /* 
  logo animation navarbar  */
  /* Logo container for proper positioning */
  .logo {
    position: relative;
    display: inline-block;
    overflow: hidden;
  }
  
  /* Smooth scale transition for the image */
  .logo img {
    display: block;
    transition: transform 0.5s ease;
  }
  
  /* Scale up the logo slightly on hover */
  .logo:hover img {
    transform: scale(1.1);
  }
  
  /* Create a pseudo-element overlay for the shine effect */
  .logo::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent 0%, rgba(255, 165, 0, 0.4) 50%, transparent 100%);
    transform: skewX(-25deg);
    transition: left 0.75s ease;
  }
  
  /* Animate the shine overlay across the logo on hover */
  .logo:hover::before {
    left: 100%;
  }
  
  /*****************************************************
   * 7. SERVICES SECTION
   *****************************************************/
   .services-section {
    background-color: #020d26;
    padding: 60px 20px;
    text-align: center;
    color: #fff;
}

.services-section h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    text-align: center;
    color: #ff5722;
}

.services-section > p {
    font-size: 1rem;
    max-width: 600px;
    margin: 0.5rem auto 2rem;
    line-height: 1.6;
    color: #ccc;
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background-color: #251b34;
    border-radius: 8px;
    padding: 20px;
    text-align: left;
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
    height: 280px; /* Fixed height for all cards */
    display: flex;
    flex-direction: column;
    position: relative;
}

.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:hover {
    transform: translateY(-5px);
    background-color: #2a1c3a;
    box-shadow: 0 5px 15px rgba(235, 110, 13, 0.3);
}

.service-card:hover::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 8px;
    border: 2px solid #ff5722;
    animation: pulseBorder 1.5s infinite;
    pointer-events: none;
}

.service-card i {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #ff5722;
    display: inline-block;
    transition: transform 0.3s ease;
}

/* New smooth, subtle icon animation */
.service-card:hover i {
    animation: iconSmooth 1s ease;
}

@keyframes iconSmooth {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(5deg) scale(1.05); }
    100% { transform: rotate(0deg) scale(1); }
}

.service-card .content-wrapper {
    transition: transform 0.3s ease;
}

.service-card:hover .content-wrapper {
    transform: translateY(-5px);
}

.service-card h3,
.service-card p {
    transition: color 0.3s ease;
}

.service-card:hover h3 {
    color: #ff5722;
}

.service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #fff;
    position: relative;
    height: 40px; /* Fixed height for all titles */
    display: flex;
    align-items: center;
}

.service-card h3::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #ff5722;
    transition: width 0.3s ease;
}

.service-card:hover h3::after {
    width: 40px;
}

.service-card p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #ccc;
    flex-grow: 1;
    overflow: hidden;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulseBorder {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

html { scroll-behavior: smooth; }

.service-card.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.service-card.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    padding-top: 60px;
    color: #ff5722;
}

.section-header h2 {
    font-size: 42px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #ff5722;
}

.section-header p {
    font-size: 18px;
    color: #ccc;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    padding-bottom: 60px;
}

.benefit {
    position: relative;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.benefit:nth-child(1) { animation-delay: 0.2s; }
.benefit:nth-child(2) { animation-delay: 0.4s; }
.benefit:nth-child(3) { animation-delay: 0.6s; }
.benefit:nth-child(4) { animation-delay: 0.8s; }

.benefit-content {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 20px;
}

.benefit-text {
    flex: 1;
    text-align: right;
    padding-right: 20px;
}

.benefit-text h3 {
    font-size: 28px;
    margin-bottom: 10px;
    font-weight: 500;
}

.benefit-text h3 span { color: #ff5722; }
.benefit-text p {
    color: #ccc;
    font-size: 16px;
}

.benefit-icon {
    position: relative;
    width: 70px;
    height: 70px;
    border: 2px solid #ff5722;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease-in-out;
}

.benefit-icon:hover { transform: scale(1.1); }
.benefit-icon i {
    font-size: 28px;
    color: #fff;
}

.number {
    position: absolute;
    bottom: -10px;
    right: -10px;
    background-color: #ff5722;
    color: #1a0933;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
}

.benefit:nth-child(even) .benefit-content {
    flex-direction: row-reverse;
}

.benefit:nth-child(even) .benefit-text {
    text-align: left;
    padding-right: 0;
    padding-left: 20px;
}

.benefit:nth-child(1) .benefit-icon i { transform: rotate(45deg); }
.benefit:nth-child(4) .benefit-icon i { color: #eb6e0d; }

/* Responsive fixes for consistent card sizing */
@media (max-width: 992px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .service-card { height: 300px; }
    .benefits-grid { grid-template-columns: 1fr; }
    .section-header h2 { font-size: 36px; }
    .benefit-text h3 { font-size: 24px; }
}

@media (max-width: 768px) {
    .services-grid { grid-template-columns: 1fr; }
    .service-card { height: auto; min-height: 230px; }
}

@media (max-width: 576px) {
    .benefit-content {
        flex-direction: column !important;
    }
    .benefit-text {
        text-align: center !important;
        padding: 0 0 20px 0 !important;
    }
    .section-header h2 { font-size: 30px; }
}
  /*****************************************************
   * 8. WHY CHOOSE US SECTION
   *****************************************************/
/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 60px;
  padding-top: 60px;
}

.section-header h2 {
  font-size: 42px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #ff5722; /* Adjust if you prefer #eb6e0d */
}

/* Benefits Grid Layout */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  padding-bottom: 60px;
}

/* Each Benefit */
.benefit {
  position: relative;
  opacity: 0; /* Start hidden for animation */
  animation: fadeInUp 0.8s ease-out forwards;
}

/* Stagger animations for each benefit */
.benefit:nth-child(1) {
  animation-delay: 0.2s;
}
.benefit:nth-child(2) {
  animation-delay: 0.4s;
}
.benefit:nth-child(3) {
  animation-delay: 0.6s;
}
.benefit:nth-child(4) {
  animation-delay: 0.8s;
}
.benefit:nth-child(5) {
  animation-delay: 1s;
}
.benefit:nth-child(6) {
  animation-delay: 1.2s;
}

/* Benefit Content Layout: text on left, icon on right */
/* Fix alignment in Why Choose Us section while preserving design */

/* Ensure consistent vertical alignment in all benefit items */
.benefit-content {
  display: flex;
  align-items: center;
  padding: 20px;
}

/* Fix text alignment for left-side text (odd items) */
.benefit:nth-child(odd) .benefit-text {
  text-align: right;
  padding-right: 20px;
}

/* Fix text alignment for right-side text (even items) */
.benefit:nth-child(even) .benefit-text {
  text-align: left;
  padding-left: 20px;
  padding-right: 0;
}

/* Ensure proper spacing between text and icon */
.benefit-icon {
  width: 70px;
  height: 70px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Fix responsive issues */
@media (max-width: 576px) {
  .benefit-content {
    flex-direction: column !important;
  }

  /* Center all text on mobile */
  .benefit:nth-child(odd) .benefit-text,
  .benefit:nth-child(even) .benefit-text {
    text-align: center !important;
    padding: 0 0 20px 0 !important;
  }
}



/* Responsive: Single column on smaller screens */
@media (max-width: 992px) {
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  .section-header h2 {
    font-size: 36px;
  }
  .benefit-text h3 {
    font-size: 24px;
  }
}

@media (max-width: 576px) {
  .benefit-content {
    flex-direction: column !important;
  }
  .benefit-text {
    text-align: center !important;
    padding: 0 0 20px 0 !important;
  }
  .section-header h2 {
    font-size: 30px;
  }
}

  
  /*****************************************************
   * 9. TESTIMONIALS SECTION
   *****************************************************/
   /* Base Section & Typography */
/* TESTIMONIALS SECTION */

.testimonials-slider-section {
  background-color: #020d26;
  color: #fff;
  padding: 50px 20px;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}

.testimonials-slider-section h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #ff5722;
}

.testimonials-subtitle {
  margin: 0 auto 40px;
  max-width: 600px;
  color: #cfcfcf;
  font-size: 1rem;
  line-height: 1.6;
}

/* SLIDER CONTAINER */
.slider-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  margin: 0 auto;
  max-width: 900px;
}

.slider-track {
  display: flex;
  transition: transform 1s ease; /* Slower transition */
  will-change: transform;
}

.slide {
  min-width: 100%;
  display: flex;
  justify-content: space-around;
  gap: 20px;
}

.testimonial-card {
  position: relative;
  background-color: transparent;
  border: 2px solid #ff5722;
  border-radius: 4px;
  padding: 30px;
  max-width: 45%;
  width: 100%;
  box-sizing: border-box;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.testimonial-img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 20px;
}

.testimonial-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.testimonial-card h3 {
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 5px;
}

.job-title {
  display: block;
  font-size: 0.95rem;
  color: #b3b3b3;
  margin-bottom: 10px;
}

.star-rating {
  color: #ff5722;
  margin-bottom: 15px;
  font-size: 1rem;
}

.testimonial-card p {
  font-size: 0.95rem;
  color: #b3b3b3;
  line-height: 1.5;
}

.quote-icon {
  position: absolute;
  bottom: 10px;
  left: 10px;
  font-size: 2rem;
  color: #ff5722;
  opacity: 0.2;
}

/* SLIDER INDICATORS */
.slider-indicators {
  margin-top: 20px;
}

.slider-indicators span {
  display: inline-block;
  width: 10px;
  height: 10px;
  background-color: #888;
  border-radius: 50%;
  margin: 0 5px;
  cursor: pointer;
}

.slider-indicators .active {
  background-color: #ff5722;
}

/* --- RESPONSIVE STYLES --- */
@media (max-width: 992px) {
  .stats-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* On mobile devices, stack cards vertically and enforce a consistent card height */
@media (max-width: 768px) {
  .slide {
    flex-direction: column;
    align-items: center;
  }
  
  .testimonial-card {
    max-width: 100%;
    width: 90%;
    /* Flex-grow ensures the cards stretch evenly if the parent has a defined height */
    flex: 1 1 auto;
    /* Adjust the min-height as needed to ensure consistency */
    min-height: 300px;
    margin-bottom: 20px;
  }
}

@media (max-width: 576px) {
  .stats-container {
    grid-template-columns: 1fr;
  }

  .stat-number {
    font-size: 1.8rem;
  }

  .discuss-section h2 {
    font-size: 1.8rem;
  }
}
  
  /*  Footer Section */
  .footer-section {
    background-color: #1b1528;
    color: #fff;
    padding: 60px 20px 20px;
    font-family: Arial, sans-serif;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
    
    margin: 0 auto;
    text-align: left;
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-column h4 {
    margin-bottom: 20px;
    font-size: 1.2rem;
    color: #eb6e0d;
    text-align: left;
    width: 100%;
}

.footer-column p {
    margin-bottom: 15px;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #cfcfcf;
    text-align: left;
    /* margin-top:20px; */
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
    width: 100%;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: #cfcfcf;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: #eb6e0d;
}

.footer-logo {
    max-width: 140px;
    margin-bottom: 20px;
}

.footer-socials {
    display: flex;
    gap: 15px;
    justify-content: flex-start;
    margin-top: 15px;
}

.footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    color: #cfcfcf;
    font-size: 1.1rem;
    text-decoration: none;
    border: 1px solid #cfcfcf;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.footer-socials a:hover {
    color: #eb6e0d;
    border-color: #eb6e0d;
    transform: translateY(-3px);
}

.footer-bottom {
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: -200px;
    
    /* padding-bottom: -200px; */
    max-width: 1200px;
    margin: 40px auto 0;
    font-size: 0.9rem;
    color: #cfcfcf;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-bottom p {
    text-align: center;
    width: 100%;
    margin-top: 30px;
}

.email-link {
    color: #ff5722;
    text-decoration: none;
    transition: color 0.3s ease;
}

.email-link:hover {
    color: #ff8f66;
}

/* Responsive Design */
@media (max-width: 992px) {
    .footer-top {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .footer-about {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-about {
        grid-column: span 1;
    }

    .footer-column {
        padding: 0 20px;
    }
}

@media (max-width: 576px) {
    .footer-section {
        padding: 40px 15px 15px;
    }
}

  
  /* New scroll-to-top button styles */
  #scrollToTop {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: #ff5722;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    transition: 0.3s;
    z-index: 1000;
    text-decoration: none; /* Prevent underline on some browsers */
  }
  
  #scrollToTop:hover {
    background: #eb6e0d;
    transform: scale(1.1);
  }
  
  /* Responsive adjustments */
  @media (max-width: 768px) {
    #scrollToTop {
      width: 40px;
      height: 40px;
      bottom: 15px;
      right: 15px;
      font-size: 18px;
    }
  }
  
  @media (min-width: 769px) and (max-width: 1024px) {
    #scrollToTop {
      width: 45px;
      height: 45px;
      font-size: 20px;
    }
  }
  
  @media (min-width: 1440px) {
    #scrollToTop {
      width: 60px;
      height: 60px;
      bottom: 30px;
      right: 30px;
      font-size: 28px;
    }
  }
/* Chat Icon */
#chatIcon {
  position: fixed;
  bottom: 90px;
  right: 20px;
  background: #ff5722;
  color: #fff;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  z-index: 9998 !important;
  transition: transform 0.3s, background 0.3s;
}

#chatIcon:hover {
  background: #e64a19;
  transform: scale(1.1);
}

/* Chatbot Container */
#chatBot {
  display: none;
  flex-direction: column;
  position: fixed;
  bottom: 150px;
  right: 20px;
  width: 350px;
  height: 450px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  z-index: 9500;
  overflow: hidden;
}

#chatBot header {
  background: #ff5722;
  color: #fff;
  padding: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#chatBot header h2 {
  margin: 0;
  font-size: 1.2rem;
  color: #fff;
}

#closeChat {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  transition: transform 0.3s;
}

#closeChat:hover {
  transform: scale(1.1);
}

.chatbox {
  flex: 1;
  padding: 10px;
  overflow-y: auto;
  background: #f9f9f9;
}

.chat {
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
}

.chat p {
  margin: 0;
  padding: 8px 12px;
  border-radius: 10px;
  max-width: 80%;
}

.chat-incoming p {
  background: #e0e0e0;
  color: #333;
  align-self: flex-start;
}

.chat-outgoing {
  align-items: flex-end;
}

.chat-outgoing p {
  background: #ff5722;
  color: #fff;
  align-self: flex-end;
}

.chat-input {
  display: flex;
  padding: 10px;
  background: #fff;
  border-top: 1px solid #ddd;
}

.chat-input textarea {
  flex: 1;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 5px;
  resize: none;
  height: 50px;
  font-size: 0.9rem;
  color: #333;
}

#sendBTN {
  background: #ff5722;
  color: #fff;
  border: none;
  padding: 8px 15px;
  margin-left: 10px;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
}

#sendBTN:hover {
  background: #e64a19;
}

/* Media Queries */
@media (max-width: 768px) {
  #chatIcon {
    width: 40px;
    height: 40px;
    font-size: 20px;
    bottom: 80px;
    right: 15px;
  }

  #chatBot {
    width: 300px;
    height: 400px;
    bottom: 130px;
    right: 15px;
  }

  #scrollToTop {
    width: 40px;
    height: 40px;
    bottom: 15px;
    right: 15px;
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  #chatIcon {
    width: 40px;
    height: 40px;
    bottom: 70px;
    right: 15px;
  }

  #chatBot {
    width: 300px;       /* Fixed width */
    height: 400px;      /* Fixed height */
    bottom: 130px;      /* Adjusted position */
    right: 15px;
    border-radius: 10px; /* Optional rounded corners */
  }

  #scrollToTop {
    width: 35px;
    height: 35px;
    bottom: 10px;
    right: 15px;
    font-size: 16px;
  }
}

@media (min-width: 1440px) {
  #chatIcon {
    bottom: 100px;
    right: 30px;
  }

  #chatBot {
    bottom: 160px;
    right: 30px;
    width: 400px;
    height: 500px;
  }

  #scrollToTop {
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    font-size: 28px;
  }
}
