

:root {
  --blue-50: #eef3ff;
  --blue-100: #d9e3ff;
  --blue-200: #bcceff;
  --blue-300: #8eb0ff;
  --blue-400: #5985ff;
  --blue-500: #2d55ff;
  --blue-600: #1b36f5;
  --blue-700: #1423e1;
  --blue-800: #171eb6;
  --blue-900: #19218f;
  --blue-950: #141657;
}


body {
    font-family: 'DM Sans', sans-serif !important;
}




/* Navbar custom styles */
.custom-navbar1 {
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  font-family: 'DM Sans', sans-serif !important;
  font-size: smaller !important;
}

.custom-navbar1 .nav-link1 {
  color: #000 !important;
  font-weight: 500 !important;
  font-family: 'DM Sans', sans-serif !important;
  font-size: 14px !important;
  padding: .5rem 1rem !important;
  margin: 0 10px !important;
  /* transition: all .3s ease !important; */
}
.custom-navbar1 .nav-link1:hover {
  color: #171eb6 !important;
  font-weight: bold !important;
  text-decoration: none !important;
}

.custom-navbar1 .btn-signup {
  font-family: 'DM Sans', sans-serif !important;
  font-size: 14px !important;
  color: #F6F6F6 !important;
  padding: 16px 24px !important;
  border-radius: 8px !important;
  background-color: #1b36f5 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
}

/* ===================================== */
/* Mobile (≤991.98px): collapse behavior */
/* ===================================== */
@media (max-width: 991.98px) {
  .custom-navbar1 .navbar-collapse {
    text-align: center;
    margin-top: 10px;
  }
  .custom-navbar1 .nav-item {
    margin: .5rem 0;
  }
  .custom-navbar1 .nav-item:hover {
    padding: 10px;
    background-color: #e6e7e9;
  }
}

/* ================================== */
/* Desktop (≥992px): center nav items */
/* ================================== */
@media (min-width: 992px) {
  /* Make collapse a flex container that fills space */
  .custom-navbar1 .navbar-collapse {
    display: flex !important;
    justify-content: center;
    align-items: center;
  }

  /* Center the .navbar-nav within that flex */
  .custom-navbar1 .navbar-nav {
    margin: 0 auto;
  }
}

/* Hero Section Improvements */

 .afms-hero-container {
            height: 90vh;
            background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4)), url('/afms_website_design/static/src/img/heroback.jpg');
            background-size: cover;
            background-position: center;
            position: relative;
            display: flex;
            align-items: center;
            overflow: hidden;
        }
        
        .afms-hero-content {
            display: flex;
            width: 100%;
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 30px;
            position: relative;
            z-index: 10;
        }
        
        .afms-text-content {
            flex: 1;
            padding-right: 50px;
            margin-top: 10rem;
            position: relative;
            height: 600px;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }
        
        .text-slide {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            opacity: 0;
            transform: translateY(20px);
            transition: all 0.8s ease;
        }
        
        .text-slide.active {
            opacity: 1;
            transform: translateY(0);
        }
        
        .afms-hero-title {
            font-size: 3.5rem;
            font-weight: 900;
            color: #ffffff;
            line-height: 1.1;
            margin-bottom: 20px;
            text-shadow: 0 2px 10px rgba(0,0,0,0.3);
        }
        
        .afms-hero-subtitle {
            font-size: 1.4rem;
            font-weight: 500;
            color: #ffffff;
            margin-bottom: 35px;
            max-width: 600px;
            line-height: 1.3;
        }

   
        
        .afms-demo-btn {
            display: inline-block;
            font-family: 'DM Sans', sans-serif;
            font-weight: 600;
            font-size: 1.1rem;
            border:2px solid #fff;
            color: #F6F6F6;
            padding: 16px 32px;
            border-radius: 8px;
            background-color: #1b36f5;
            text-decoration: none;
            transition: all 0.3s ease;
            margin-bottom: 40px;
            box-shadow: 0 4px 15px rgba(27, 54, 245, 0.3);
        }
        
        .afms-demo-btn:hover {
            background-color: #0d29d9;
            transform: translateY(-3px);
            box-shadow: 0 6px 20px rgba(13, 41, 217, 0.4);
        }
        
        .afms-member-text {
            font-size: 1.1rem;
            font-weight: 500;
            background-color: white;
            /* color: rgba(255, 255, 255, 0.85); */
            color:#121212;
            padding-left: 15px;
            border-radius:15px;
            padding-top:15px;
            padding-bottom:15px
        }
        
        .afms-carousel-container {
            flex: 1;
            position: relative;
            display: flex;
            justify-content: flex-end;
            align-items: center;
            margin-top: 5rem;
            height: 600px;
        }
        
        .afms-carousel {
            position: relative;
            width: 100%;
            max-width: 600px;
            height: 600px;
            overflow: hidden;
            border-radius: 20px;
        }
        
        .afms-carousel-slide {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            opacity: 0;
            transition: opacity 0.8s ease-in-out;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 20px;
            overflow: hidden;
            background: transparent; /* Removed glassy background */
        }
        
        .afms-carousel-slide.active {
            opacity: 1;
        }
        
        .afms-slide-image {
            position: relative;
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        /* Hexagon shape (6 sides) */
        /* Hexagon container */
.afms-hexagon {
    position: relative; /* Changed to relative for better positioning context */
    width: 550px;
    height: 450px;
    clip-path: polygon(
        25% 0%,
        75% 0%,
        100% 50%,
        75% 100%,
        25% 100%,
        0% 50%
    );
    margin: 0 auto; /* Center the hexagon */
    display: flex;
    align-items: center;
    background: #fff;
    justify-content: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    z-index: 5;

    overflow: visible; /* Changed to visible to allow circles to extend beyond */
}
.afms-hexagon-border {
    position: relative;
    width: 552px; /* 600 + 2*5px padding to simulate border */
    height: 452px;
    clip-path: polygon(
        25% 0%,
        75% 0%,
        100% 50%,
        75% 100%,
        25% 100%,
        0% 50%
    );
    background: #fff; /* This acts as the border color */
    display: flex;
    align-items: center;
    justify-content: center;
}
        
        .afms-hexagon-inner {
            width: 100%;
            height: 100%;
            display: flex;

            align-items: center;
            justify-content: center;
        }
        
        .hexagon-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center;
        }
        
        .afms-circle {
            position: absolute;
            width: 180px;
            height: 180px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
            overflow: hidden;
            z-index: 6;
            border: 3px solid white;
        }
        
        /* Position circles in northeast direction */
      .afms-circle[data-position="ne"] {
    top: -30px;
    right: -30px;
}

.afms-circle[data-position="sw"] {
    bottom: -30px;
    left: -30px;
}

        
        .afms-circle img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .afms-image-content {
            color: white;
            text-align: center;
            padding: 20px;
            font-weight: 600;
            object-fit: cover;
            font-size: 1.2rem;
        }
        
        .afms-carousel-indicators {
            position: absolute;
            bottom: 30px;
            right: 30px;
            display: flex;
            gap: 12px;
            z-index: 20;
            /* background: rgba(0, 0, 0, 0.5); */
            padding: 10px 15px;
            border-radius: 30px;
        }
        
        .afms-indicator {
            width: 14px;
            height: 14px;
            border-radius: 50%;
            background-color: #1b36f5;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .afms-indicator.active {
            background-color: #fff;
            transform: scale(1.3);
        }
        
        /* Animation for elements */
        @keyframes float {
            0% { transform: translateY(0px); }
            50% { transform: translateY(-15px); }
            100% { transform: translateY(0px); }
        }
        
        .afms-hexagon {
            animation: float 6s ease-in-out infinite;
        }
        
        .afms-circle {
            animation: float 4s ease-in-out infinite;
        }
        
        .afms-circle:nth-child(2) {
            animation-delay: 1s;
        }
        
        /* Responsive adjustments */
        @media (max-width: 1200px) {
            .afms-hero-title {
                font-size: 3rem;
                margin-top: 20px;
            }
            
            .afms-hero-subtitle {
                font-size: 1.2rem;
            }
             .afms-circle[data-position="ne"] {
        top: -20px;
        right: -20px;
    }
    .afms-circle[data-position="sw"] {
        bottom: -20px;
        left: -20px;
    }
            
            .afms-carousel,
            .afms-hexagon {
                height: 500px;
                width: 500px;
            }
            
            .afms-text-content,
            .afms-carousel-container {
                height: 500px;
            }
            
        }
        
  

        @media (max-width: 992px) {
  /* 1. Stack text over (now-hidden) carousel */
                    .afms-hero-content {
                      flex-direction: column;
                      padding-top: 80px;
                    }

                    /* 2. Hide the image carousel entirely */
                    .afms-carousel-container {
                      display: none !important;
                    }

                    /* 3. Text container: full width, centered text */
                    .afms-text-content {
                      width: 100%;
                      padding: 20px;
                      text-align: center;
                      margin-bottom: 40px;
                      height: auto;
                      justify-content: flex-start;
                    }

                    /* 4. Position and style your indicators below the text */
                    .afms-carousel-indicators {
                      position: static;
                      display: flex;
                      justify-content: center;
                      margin: 0 auto 30px;
                      transform: none;
                      padding: 0;
                      gap: 12px;
                      background: transparent;
                    }

                    .afms-indicator {
                      width: 14px;
                      height: 14px;
                      background-color: #1b36f5;
                    }
                    .afms-indicator.active {
                      background-color: #fff;
                      transform: scale(1.3);
                    }

                    /* 5. Only show the active text slide */
                    .text-slide {
                      display: none !important;
                      position: static !important;
                      opacity: 1 !important;
                      transform: none !important;
                      margin-bottom: 30px;
                    }
                    .text-slide.active {
                      display: block !important;
                    }

                    /* 6. Center your headings inside that slide */
                    .afms-hero-title,
                    .afms-hero-subtitle {
                      margin: 0 auto 20px;
                      max-width: 100%;
                    }

                    /* 7. Member text under subtitle */
                    .afms-member-text {
                      margin: 0 auto;
                      max-width: 50%;
                    }

                    /* 8. Adjust circle positions (if still visible) */
                    .afms-circle[data-position="ne"] {
                      top: 10px;
                      right: 10px;
                    }
                    .afms-circle[data-position="sw"] {
                      bottom: 10px;
                      left: 10px;
                    }
                  }
        
       

/*  Fleet Cost */
 .fleet-calculator-section {
            background-color: #fff;
            padding: 30px 0;
            color: #000;
        }
        
        .fleet-calc-container {
            background-color: #001a4d;
            color:#fff;
            max-width: 1200px;
            margin: 0 auto;
        }
        
        .fleet-calc-header {
            text-align: center;
            margin-bottom: 40px;
        }
        
        .fleet-calc-header h2 {
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 20px;
        }
        
        .fleet-calc-header p {
            font-size: 1.1rem;
            max-width: 600px;
            margin: 0 auto;
            opacity: 0.9;
        }
        
        .fleet-calc-card {
             color: #fff;
            border-radius: 12px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
            overflow: hidden;
        }
        
        .fleet-calc-card-body {
            padding: 30px;
        }
        
        .fleet-calc-title {
            font-size: 1.5rem;
            font-weight: 600;
            color: #001a4d;
            margin-bottom: 25px;
            margin-top: 25px;
            padding-bottom: 15px;
            border-bottom: 2px solid #eaeaea;
        }
        
        .fleet-calc-label {
            margin-bottom: 8px;
            display: block;
            font-family: DM Sans, sans-serif !important;
            color: #fff;
            font-weight: lighter;
            font-size: 0.95rem;
        }
        
        .fleet-calc-input {
            border-radius: 6px;
            border: 1px solid #ddd;
            padding: 10px 15px;
            height: 46px;
            background-color: white;
            color: #333;
        }
        
        .fleet-calc-input:focus {
            border-color: #3d7bff;
            box-shadow: 0 0 0 0.2rem rgba(61, 123, 255, 0.15);
        }
        
        .fleet-calc-unit {
            background-color: #f8f9fa;
            color: #6c757d;
            border: 1px solid #ddd;
            border-left: none;
            border-radius: 0 6px 6px 0;
            min-width: 80px;
        }
        
        .fleet-calc-counter {
            display: flex;
            align-items: center;
            margin-top: 8px;
        }
        .cal-sec{
  background-color: #141657;
  border-radius: 20px;

  color: #fff;
  margin:30px 20px ;
  padding:50px;
}
        
        .fleet-calc-counter-btn {
            background-color: #f1f5f9;
            border: 1px solid #ddd;
            width: 32px;
            height: 32px;
            padding: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 6px;
            font-weight: 600;
            color: #333;
        }
        
        .fleet-calc-counter-btn:hover {
            background-color: #e2e8f0;
        }
        
        .fleet-calc-counter-value {
            min-width: 40px;
            text-align: center;
            font-weight: 500;
            font-size: 1.1rem;
        }
        
        .fleet-calc-submit {
            background-color: #1759DE;
            color: white;
            border: none;
            padding: 12px 24px;
            border-radius: 8px;
            font-weight: 600;
            font-size: 1.1rem;
            transition: all 0.3s ease;
            width: 100%;
            margin-top: 10px;
        }
        
        .fleet-calc-submit:hover {
            background-color: #2c6af5;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(61, 123, 255, 0.3);
        }
        
        .fleet-calc-output {
            padding-top: 25px;
            margin-top: 30px;
        }
        
        .fleet-calc-output-title {
            font-size: 1.25rem;
            font-weight: 600;
            font-family: DM Sans, sans-serif !important;
            color: #fff;
            margin-bottom: 20px;
        }
        
        .fleet-calc-output-list {
  color: #eaeaea;
  font-family: 'DM Sans', sans-serif !important;
  list-style-type: disc;       /* show bullets */
  list-style-position: outside;
  padding-left: 1.5rem;        /* add space for bullets */
  margin: 0;
  text-align: left;
}

.fleet-calc-output-list li {
  margin-bottom: 15px;
  font-size: smaller;
}
        
        .fleet-calc-output-list li:before {
            position: absolute;
            left: 10px;
            top: 0;
            font-weight: bold;
            color: #fff;
        }
        
        @media (max-width: 768px) {
            .fleet-calc-section {
                padding: 50px 0;
            }
            
            .fleet-calc-header h2 {
                font-size: 2rem;
            }
            
            .fleet-calc-card-body {
                padding: 20px;
            }
            .input-group {
                display: flex !important;
                flex-wrap: nowrap;
                width: 100%;
              }
              .input-group .form-control {
                flex: 1 1 auto;
                width: auto;
              }
              .input-group-text,
              .fleet-calc-unit {
                flex: 0 0 auto;
              }
        }

/* Feature Section Improvements */
.features-section {
  padding: 10px 0;
  margin-top:10px;
  font-family: 'DM Sans', sans-serif !important;
}


.features-section .feature-header {
  padding: 0 10px;
}

.features-section .feature-header h2.heading {
  font-weight: 700 !important;
  font-size: 36px !important;
  font-family: 'DM Sans', sans-serif ;
  margin-bottom: 1rem;
  color: #000;
}

.features-section .feature-header p.text-muted {
  max-width: 100%;
  font-weight: 400;
  font-size: 18px;
  font-family: 'DM Sans', sans-serif ;

  color: #000;
  margin: 0 auto 1rem;  
}

.feature-card1 {
  padding: 2rem 1.5rem;
  height: 100%;
  /* transition: transform 0.3s ease; */
  /* border-top: #1b36f5 2px solid; */
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
  border-radius: 8px;
}

/* .feature-card1:hover {
   transform: translateY(-10px); 
} */
.bordered-image {
    width: 100%;
    height: 200px;
    border: 20px solid white; /* You can change the color here */
    box-sizing: border-box;   /* Ensures border doesn't break layout */
    object-fit: cover;        /* Keeps the image nicely cropped */
    border-radius: 8px;       /* Optional: rounded corners */
}
.feature-card1 h6 {
  margin: 1.5rem 0 1rem;
  color: #000;
  
  font-weight: 700;
  font-size: 1rem;
}
.feature-card1 .img-div {
  width: 100% !important;
  
}
.feature-card1 .custom-img {
  height: 200px;
  max-width: 100% !important;
  border-radius: 20px;
  object-fit: cover; /* Optional: maintains aspect ratio and fills container */
  display: block; /* Removes extra bottom space in some layouts */
}

.feature-card1 p {
  margin: 0;             
  color: #000;
  font-weight: 400;
  font-size: 0.9rem;
  line-height: 1.4;
}

.features-section2 {
  padding: 10px 0;
  font-family: 'DM Sans', sans-serif !important;
}

@media (max-width: 767.98px) {
  .features-section2 {
    padding: 30px 0;
  }
}

.features-section2 .feature-header {
  padding: 0 10px;
}


.features-section2 h2 {
  font-weight: 700;
  font-size: 28px;
  margin-bottom: 1rem;
  color: #000;
}

@media (max-width: 767.98px) {
  .features-section2 h2 {
    font-size: 28px;
  }
}
.features-section2 p.text-muted {
  max-width: 600px;
  font-weight: 400;
  font-size: 14px;
  color: #000;
  margin: 0 auto 1rem;
}

.features-section2 .feature-card2 {
  padding: 2rem 1.5rem;
  height: 100%;
   /* border-left: #1b36f5 2px solid; */
  transition: transform 0.3s ease;
}

@media (max-width: 767.98px) {
  .features-section2 .feature-card2 {
    padding: 1rem;
  }
}

.features-section2 .feature-card2:hover {
  transform: translateY(-10px);
}

.features-section2 .feature-card2 img {
  max-width: 100%;
  height: auto;
}
.features-section2 .feature-card2 h6 {
  margin: 1.5rem 0 1rem;
  color: #000;
  font-weight: 700;
  font-size: 1rem;
}

.features-section2 .feature-card2 p {
  margin: 0;
  color: #000;
  font-weight: 400;
  font-size: 0.9rem;
  line-height: 1.4;
}



/* Unique namespace for Our Service to prevent conflicts */
        .service-carousel-section {
            --service-dark-bg: #121212;
            --service-card-bg: #1e1e1e;
            --service-text-light: #f0f0f0;
            --service-accent: #ffffff;
            --service-inactive: #6b7280;
            
            background: var(--service-dark-bg);
            border-radius: 8px;
            overflow: hidden;
            max-width: 100%;
            padding:30px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
        }
        
        .service-header {
            padding: 30px 40px 20px;
            display: flex;
            justify-content: center;
            align-items: center;
        }
        
        .service-title {
            color: var(--service-text-light);
            font-weight: 700;
            font-family: 'DM Sans', sans-serif ;
            font-size: 2.2rem;
            
            margin: 0;
            letter-spacing: 0px;
        }
        
        .service-carousel-container {
            /* padding: 0 40px 30px; */
            border: 3px solid var(--service-accent);
            border-radius: 20px;
        }
        
        .service-carousel .carousel-item {
            height: 500px;
            width:100%;
            border-radius: 20px;
            overflow: hidden;
            text-align: center;
            

        }
        
        .service-carousel-img {
             /* max-height: 100%;
            max-width: 100%;
            border-radius: 6px;
            object-fit: fill; */

            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            border-radius: 20px;
            border: 3px solid #fff; 
            height: 100%;
            object-fit: fill;      /* fills container without distortion */
            object-position: center;
            
             
            
        }
        
        /* .service-carousel .carousel-item:hover .service-carousel-img {
            transform: scale(1.03);
        } */
        
        .service-controls-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px 40px 30px;
        }
        
        .service-play-controls {
            display: flex;
            align-items: center;
            gap: 15px;
        }
        
        .service-play-btn {
            background: transparent;
            border: 1px solid var(--service-inactive);
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            color: var(--service-accent);
            font-size: 1rem;
            transition: all 0.3s ease;
            cursor: pointer;
        }
        
        .service-play-btn:hover {
            background: rgba(255, 255, 255, 0.1);
            border-color: var(--service-accent);
        }
        .service-progress{
          background-color: #2d2c2c;
          padding:8px;
          border-radius: 20px;
        }
        
        .service-progress-container {
            width: 200px;
            height: 10px; /* Reduced size as requested */
            background: rgba(255, 255, 255, 0.15);

            border-radius: 8px;
            overflow: hidden;
            position: relative;
        }
        
        .service-progress-bar {
            height: 100%;
            width: 60%;
            background: var(--service-accent);
            border-radius: 3px;
            transition: width 0.3s ease;
        }
        
        .service-indicators {
            display: flex;
            gap: 12px;
            border-radius: 16px;
            padding: 10px;
            background-color: rgb(101, 104, 101);
        }
        
        .service-indicator {
            width: 8px;
            height: 8px;
            background: var(--service-inactive);
            border-radius: 50%;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .service-indicator.active {
            background: var(--service-accent);
            transform: scale(1.3);
        }
        
        .carousel-control-prev, 
        .carousel-control-next {
            width: 40px;
            height: 40px;
            background: rgba(30, 30, 30, 0.7);
            border-radius: 50%;
            top: 50%;
            transform: translateY(-50%);
            opacity: 0.8;
            transition: all 0.3s ease;
        }
        
        .carousel-control-prev:hover, 
        .carousel-control-next:hover {
            opacity: 1;
            background: rgba(255, 255, 255, 0.1);
        }
        
        /* Responsive design */
        @media (max-width: 992px) {
            .service-header, 
            .service-carousel-container, 
            .service-controls-container {
                padding-left: 30px;
                padding-right: 30px;
            }
            
            .service-title {
                font-size: 2rem;
            }
            
            .service-carousel .carousel-item {
                height: 350px;
                width:100%;
            }
        }
        
        @media (max-width: 768px) {
            .service-title {
                font-size: 1.8rem;
            }
            
            .service-carousel .carousel-item {
                height: 300px;
                width:100%;
            }
            
            .service-controls-container {
                flex-direction: column;
                gap: 20px;
                align-items: flex-start;
            }
            
            .service-indicators {
                margin-top: 10px;
                align-self: flex-end;
            }
        }
        
        @media (max-width: 576px) {
            .service-header {
                padding: 25px 25px 15px;
            }
            
            .service-carousel-container {
                padding: 0 25px 20px;
            }
            
            .service-controls-container {
                padding: 15px 25px 25px;
            }
            
            .service-title {
                font-size: 1.6rem;
            }
            
            .service-carousel .carousel-item {
                height: 250px;
            }
            
            .service-play-btn {
                width: 36px;
                height: 36px;
                font-size: 0.9rem;
            }
            
            .service-progress-container {
                width: 160px;
            }
        }
/* Image Showcase Section */
.image-showcase-section {
    position: relative;
    padding: 0;

    margin-top:-5px ;
}

.showcase-img {
    width: 100%;
    height: 90vh;
    display: block;
    object-fit: cover;
    max-height: 1200px;
}
.dots-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;            /* allow clicks through */
    background-image: 
      radial-gradient(circle, rgba(83, 84, 90, 0.3) 1px, transparent 1px);
    background-size: 20px 20px;      /* spacing between dots */
    animation: shiftDots 5s linear infinite;
  }
  
  /* Animation: slowly shift the dot grid */
  @keyframes shiftDots {
    from {
      background-position:   0 0;
    }
    to {
      background-position: 100px 100px;
    }
  }
/*Carousel Section*/
.carousel-section {
  position: relative;
  width: 100%;
  font-family: 'DM Sans', sans-serif !important;
  overflow: hidden;
  margin-top: 2rem;
}

.carousel-img {
  height: 90vh;
  object-fit: cover;
  width: 100%;
}

/* Darken the images with an overlay */
.carousel-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* 50% opacity black overlay */
  z-index: 1;
}

/* Center the captions vertically and horizontally */
.carousel-caption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 2; /* Ensure captions are above the overlay */
}

/* Style the caption text for readability */
.carousel-caption h5,
.carousel-caption p {
  color: white;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  margin: 0 auto;              /* center within caption */
  text-align: center;          /* or left/right */
}

/* Responsive font‐sizes via clamp() */
.carousel-caption h5 {
  font-size: clamp(1.5rem, 4vw + 0.5rem, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.5em;
}

.carousel-caption p {
  font-size: clamp(1rem, 3vw + 0.25rem, 1.5rem);
  color: #e6e7e9;
  /* clamp to 2 lines with ellipsis */
  /* display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis; */
}

/* Tablets & small desktops */
@media (min-width: 768px) {
  .carousel-caption h5 {
    font-size: 1.75rem; /* ~28px */
  }
  .carousel-caption p {
    font-size: 1.125rem; /* ~18px */
  }
}
@media (max-width: 768px) {
  .carousel-caption p {
    visibility: hidden; /* ~28px */
  }}

/* Large desktops */
@media (min-width: 1200px) {
  .carousel-caption h5 {
    font-size: 2.5rem;  /* ~40px */
  }
  .carousel-caption p {
    font-size: 1.5rem;  /* ~24px */
  }
}

/* Make the navigation arrows bolder by increasing their size */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 2rem;
  font-weight: bold;
  height: 2rem;
}
  /*Information Grid*/
  /* .info-grid {
    display: grid;
    font-family: 'DM Sans', sans-serif !important;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
  }
  
  .grid-item {
    background: #fff;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    text-align: center;
    font-family: 'DM Sans', sans-serif;
    display: flex;
    border: 1px solid rgb(61, 62, 63);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 180px;
    transition: box-shadow 0.3s ease;
  }
  
  .grid-item:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  }
  
  .grid-item img {
    max-width: 100%;
    height: auto;
    margin-top: 10px;
    border-radius: 0px;
  }
  .grid-item h2 {
    font-size: 40px;
    font-weight: bold;
    margin-bottom: 10px;
  }
  
  .grid-item h4 {
    font-size: 12px;
    margin-bottom: 10px;
  }
  
  .item-2 img {
    max-width: 80%;

    margin: auto;
  }
  .item-4{
    background-color: #FBFBFB;
  }
  .item-5{
    background-color: #FBFBFB;
    background-image: url('/afms_website_design/static/src/img/frame11.png');
    border-radius: 10px;
    background-size: cover;
  }
  
  .item-1 {
    grid-column: span 2;
    grid-row: span 2;
    align-items: start;
    justify-content: left;
    display: flex;
  }
  
  .item-6 {
    grid-column: span 2;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('/afms_website_design/static/src/img/navi_dark.jpg');
    background-size: cover;
    color: #fff;
  }
  
  @media (max-width: 768px) {
    .info-grid {
      grid-template-columns: repeat(2, 1fr);
    }
    .item-1, .item-6 {
      grid-column: span 2;
    }
  
    .grid-item h2 {
      font-size: 24px;
    }
  
    .grid-item h4 {
      font-size: 12px;
    }
  } */
  /* Info gridGrid 2*/

  .modern-info-grid-section {
    font-family: 'DM Sans', sans-serif;
    color: #141657;
    margin-top: 20px !important;
    padding: 32px 0;
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
    background: linear-gradient(90deg, #1b36f5 0%, #2d55ff 100%);

    -webkit-background-clip: text;
    background-clip: text;
    /* color: #000; */
}

.section-subtitle {
    font-size: 14px;
    max-width: 600px;
    margin: 0 auto;
    color: #19218f;
    line-height: 1.6;
}

/* Grid Container */
.info-grid-container {
    margin: 0 auto;
    max-width: 1200px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* Grid Items */
.grid-item {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 8px 24px rgba(27, 54, 245, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    z-index: 1;
    min-height: 200px;
}

.grid-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(27, 54, 245, 0.2);
}

/* Typography */
.stat-value {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1;
}


.stat-label {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 12px;
}

.stat-description {
    font-size: 0.85rem;
    font-weight: 500;
    color: #ddd8d8;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 8px;
}

.stat-badge {
    display: inline-block;
    background: #2d55ff;
    color: white;
    font-size: 0.75rem;
    padding: 4px 12px;
    border-radius: 20px;
    margin-top: 12px;
    font-weight: 500;
}

/* Images */
.stat-image {
    max-width: 100%;
    height: 100%;
    margin-top: 16px;
    align-self: flex-end;
    transition: transform 0.3s ease;
}

.company-logo {
    max-width: 80%;
    height: auto;
    transition: transform 0.3s ease;
}

.nav-image, .stars-image {
    max-width: 80%;
    height: auto;
    margin-bottom: 12px;
    transition: transform 0.3s ease;
}

.grid-item:hover img {
    transform: scale(1.05);
}

/* Special Items */
.item-large {
    grid-column: span 1;
    grid-row: span 2;
    align-items: flex-start;
    text-align: left;
    justify-content: flex-start;
}

.item-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    background: white;
}

.item-driver {
    grid-column: span 2;
    background-color: #5985ff;
    font-family: DM Sans, sans-serif ;          
    background-size: cover;
    background-position: center;
    color: white;
}

.item-navigation {
    justify-content: space-between;
}

/* Background Gradients */
.bg-gradient-blue-light {
    background: linear-gradient(135deg, #eef3ff 0%, #d9e3ff 100%);
    color: #141657;
}

.bg-gradient-blue-medium {
    background: linear-gradient(135deg, #bcceff 0%, #8eb0ff 100%);
    color: white;
}

.bg-gradient-blue-dark {
    background: linear-gradient(135deg, #5985ff 0%, #2d55ff 100%);
    color: white;
}

.bg-gradient-blue-deep {
    background: linear-gradient(135deg, #171eb6 0%, #19218f 100%);
    color: white;
}

.bg-gradient-blue-rich {
    background: linear-gradient(135deg, #1b36f5 0%, #1423e1 100%);
    color: white;
}

/*Responsive utilities carousel*/
 .utilities-section {
  background: #000;
  min-height: 100vh;
  padding: 30px;
  display: flex;
  align-items: center;
}

#utilitiesCarousel {
  width: 100%;
  
}

.util-slide {
  position: relative;
  height: 70vh;
  min-height: 500px;
  overflow: hidden;
}

.util-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  border-radius: 20px;
  border: 3px solid #fff; 
  height: 100%;
  object-fit: fill;      /* fills container without distortion */
  object-position: center;
}

.carousel-caption h2 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.carousel-caption p {
  font-size: 1.25rem;
}

.util-indicators-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 20px;
  margin-top: 30px;
  padding-bottom: 20px;
  background: transparent;
}
.util-indicators-wrapper .carousel-indicators {
  position:static !important;
  display: flex;
   justify-content: center;
  align-items: center;
  width:200px;
  height:49px;
  background-color: #454545;
  padding: 10px 16px;                         /* space around dots */
  border-radius: 999px;                      /* full pill shape */
}


.util-indicators-wrapper .carousel-indicators button {
  width: 16px;
  height: 16px;
  
  border-radius: 50%;
  background-color: #1A1A1A;
  border: none;
  margin: 0 .25rem;
}
.util-indicators-wrapper .carousel-indicators .active {
  background-color: #fff;
  width: 26px;
  height: 26px;
}
@media (max-width: 768px) {
  .util-slide {
    height: 50vh;           /* shorter slides on smaller screens */
    min-height: 300px;
  }
  .carousel-caption h2 {
    font-size: 2rem;
  }
  .carousel-caption p {
    font-size: 1rem;
  }
  .util-indicators-wrapper {
    padding-top: 16px;
    padding-bottom: 16px;
  }
  .util-indicators-wrapper .carousel-indicators {
    padding: 6px 12px;      /* smaller pill */
  }
  .util-indicators-wrapper .carousel-indicators button {
    width: 12px;
    height: 12px;
    margin: 0 .2rem;
  }
}

/* Mobile phones */
@media (max-width: 576px) {
  .util-slide {
    height: 40vh;           /* even shorter slides */
    min-height: 200px;
  }
  .carousel-caption h2 {
    font-size: 1.5rem;
    margin-bottom: .5rem;
  }
  .carousel-caption p {
    font-size: .9rem;
  }
  .util-indicators-wrapper {
    padding-top: 12px;
    padding-bottom: 12px;
  }
  .util-indicators-wrapper .carousel-indicators {
    padding: 4px 8px;       /* tighter pill */
  }
  .util-indicators-wrapper .carousel-indicators button {
    width: 10px;
    height: 10px;
    margin: 0 .15rem;
  }
}
/* Utilities section ends */

/*signup*/
.afms-auth-wrapper {
  min-height: 100vh;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.afms-auth-container {
  display: grid;
  font-family: DM Sans, sans-serif !important;
  grid-template-columns: 2fr 1fr; /* 8:4 grid */
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0,0,0,0.1);
  width: 100%;
  overflow: hidden;
}

.afms-auth-left {
  background-color: #fff;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.afms-auth-image {
  width: 100%;
  max-width: 600px;
  height: auto;
}

.afms-auth-right {
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.afms-auth-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.afms-auth-subtitle {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: #333;
}

.afms-auth-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.afms-auth-input {
  height: 45px;
  font-size: 1rem;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
}

.afms-password-wrapper {
  position: relative;
}
.afms-password-wrapper input {
  padding-right: 40px;
}
.afms-eye-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #777;
  cursor: pointer;
}

.afms-auth-forgot {
  font-size: 0.9rem;
  color: #1B36F5;
  text-decoration: none;
  margin-bottom: 10px;
}

.afms-auth-btn {
  background-color: #1B36F5;
  color: white;
  font-size: 1rem;
  padding: 14px;
  border-radius: 8px;
  border: none;
  width: 100%;
}
.afms-auth-btn:hover {
  background-color: #1B36F5;
    color: white;

}

.afms-auth-register-text {
  margin-top: 20px;
  font-size: 0.95rem;
}

.afms-auth-register-link {
  color: #1B36F5;
  text-decoration: none;
  font-weight: 500;
}

.afms-auth-footer {
  margin-top: 30px;
  font-size: 0.8rem;
  color: #666;
}

/* footer hoover link for text */
  .footer-link {
    color: white !important;
    text-decoration: none;
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    transition: color 0.2s ease;
  }

  .footer-link:hover {
    color: #1B36F5 !important;
  }

/* Responsive */
@media (max-width: 992px) {
  .afms-auth-container {
    grid-template-columns: 1fr;
  }
  .afms-auth-left {
    display: none;
  }
}


/* Responsive Adjustments */
@media (max-width: 1024px) {
    .info-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .item-large {
        grid-column: span 3;
    }
    
    .item-driver {
        grid-column: span 3;
    }
}

@media (max-width: 768px) {
    .info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .item-large {
        grid-column: span 2;
    }
    
    .item-driver {
        grid-column: span 2;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .stat-value {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .item-large, .item-driver {
        grid-column: span 1;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .stat-value {
        font-size: 2rem;
    }
}

  
/* --- Fleet Use-Cases Section --- */
.fleet-use-cases h2 {
    font-family: 'DM Sans', sans-serif !important;
    
    font-weight: 700 !important;
    color: #000;
    font-size: 28px   !important;
  }
  
  .fleet-use-cases p.text-muted {
    font-family: 'DM Sans', sans-serif !important;
    font-weight: 400 !important;
    font-size: 16px !important;
    color: #555;
  }
  
  .fleet-use-cases .use-case {
    margin-bottom: 1.5rem;
  }
  
  .fleet-use-cases .use-case h5 {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }
  
  .fleet-use-cases .use-case p {
    font-size: 0.9rem;    /* Body copy, smaller than sub-heading */
    color: #666;
    margin: 0;
  }
  
  .fleet-use-cases .fleet-illustration {
    max-height: 400px;
    object-fit: contain;
  }
  
  /* Responsive adjustments */
  @media (max-width: 991px) {
    .fleet-use-cases h2 {
      font-size: 2rem;
    }
    .fleet-use-cases p.text-muted {
      font-size: 0.95rem;
    }
    .fleet-use-cases .use-case h5 {
      font-size: 1.1rem;
    }
    .fleet-use-cases .fleet-illustration {
      max-height: 300px;
    }
  }
  
  @media (max-width: 575px) {
    .fleet-use-cases h2 {
      font-size: 1.75rem;
    }
    .fleet-use-cases p.text-muted {
      font-size: 0.9rem;
    }
    .fleet-use-cases .use-case h5 {
      font-size: 1rem;
    }
    .fleet-use-cases .fleet-illustration {
      max-height: 200px;
    }
  }

  /* ——— Call-to-Action Section ——— */
.cta-section {
    background-color: #e6e7e9;   /* light gray stripe */
    padding: 4rem 1rem;
    font-family: 'DM Sans', sans-serif !important;

  }
  
  .cta-title {
    font-family: 'DM Sans', sans-serif !important;
    font-weight: 900;
    font-size: 2rem;
    color: #000;
    margin-bottom: 0.5rem;
  }
  
  .cta-subtitle {
    font-family: 'DM Sans', sans-serif  !important;
    font-weight: 400;
    font-size: 1rem;
    color: #555;
    margin-bottom: 1.5rem;
  }
  
  .cta-btn {
    font-family: 'DM Sans', sans-serif !important;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
    background-color: #1b36f5;
    border-radius: 8px;
    border: none;
  }
  .cta-btn:hover {
    background-color: #0d29d9;
  }

  /* Footer Customisation */
  
  .list-unstyled{
   color: #F6F6F6;
  }

  /* Newsletter Input Styling */
  .quick{
    width:200px;
  }
  .connect{
    width:400px
  }
  quick-links li,
  .connect-with-us li {
    margin-bottom: 10px;

  }
  .quick-links .text-light:hover {
    color: #1b36f5 !important;
    margin-bottom: 10px !important;
    

  }
  .newsletter-input {
    background-color: #333;
    color: white;
    border: 1px solid #555;
    border-radius: 5px 0 0 5px;
  }

  .newsletter-input::placeholder {
    color: #aaa;
  }

  /* Newsletter Button Styling */
  .newsletter-btn {
    background-color: #1b36f5;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 0 5px 5px 0;
    transition: background-color 0.3s;
  }

  .newsletter-btn:hover {
    background-color: #0056b3;
  }
  

  /* Responsive Adjustments */
  @media (max-width: 768px) {
    .input-group {
      flex-direction: column;
    }
    .newsletter-input {
      width: 100% !important;
      border-radius: 5px;
      height:50px !important;
      margin-bottom: 10px;
    }
    .newsletter-btn {
      width: 100%;
      padding: 15px;
      border-radius: 5px;
    }
  }
  
  
  /* ——— Responsive Adjustments ——— */
  @media (max-width: 991px) {
    .cta-title {
      font-size: 2.25rem;
    }
    .cta-subtitle {
      font-size: 0.95rem;
    }
    .cta-btn {
      font-size: 0.95rem;
      padding: 0.65rem 1.25rem;
    }
  }
  
  @media (max-width: 575px) {
    .cta-section {
      padding: 3rem 0.5rem;
    }
    .cta-title {
      font-size: 2rem;
    }
    .cta-subtitle {
      font-size: 0.9rem;
    }
    .cta-btn {
      font-size: 0.9rem;
      padding: 0.5rem 1rem;
    }
  }
  
  
  /* Responsive fallback for very small devices */
  @media (max-width: 576px) {
    .carousel-img {
      height: 40vh;
    }
  }
  

/* Optional: add some spacing above this section */
@media (min-width: 768px) {
    .image-showcase-section {
        margin-top: 5rem;
    }
}

@media (min-width: 992px) {
  .dropdown-menu {
    display: block;
    visibility: hidden;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.2s ease;
    top: 100% !important; /* appear exactly below the button */
    left: 0 !important;   /* align left edge with button */
    margin-top: 0;        /* remove default margin */
  }
  .dropdown:hover .dropdown-menu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }
  .dropdown-toggle::after {
    display: none;
  }
}


/* Responsive Adjustments */
/* @media (max-width: 767.98px) {
    .hero-section {
        height: 70vh;
    }
    
    .hero-content {
        padding: 2rem 1rem;
        margin-top: 1rem;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .feature-card1 {
        margin-bottom: 2rem;
    }
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.5rem;
    }

    .hero-content {
        padding: 4rem 2rem;
        margin-top: 3rem;
    }
}

@media (min-width: 1200px) {
    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.75rem;
    }

    .hero-content {
        padding: 5rem 3rem;
    }
} */