
body {font-family: "Poppins", serif;}
.nav-item {padding: 0px 20px 0px 0px !important;}
.nav-item a {color:#000;}

.navbar-nav .nav-item {
    flex: 1 1 auto; /* Allow items to adjust their width */
    min-width: auto; /* Prevent fixed width */
    padding: 0 10px; /* Adjust padding for spacing */
    white-space: nowrap; /* Prevent wrapping */
}

.navbar-nav .nav-link {
    display: inline-block;
    padding: 8px 12px;
    font-size: 1rem; /* Adjust font size if needed */
}


.expertise-wrapper {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
  }

 .expertise-container {
  display: grid;
  grid-template-columns: repeat(6, 1fr); /* Ensures 6 items per row */
  gap: 20px; /* Space between items */
  padding: 10px; /* Optional: Adds padding to the container */
}

.expertise-item {
  width: 100%; /* Ensures items take full width available in each column */
  height: 140px;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 10px;
  box-sizing: border-box;
  text-align: center;
  background-color: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.expertise-item:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}


  .expertise-item img {
    max-width: 40px;
    margin-bottom: 6px;
  }

  .expertise-item p {
    font-size: 12px !important;
    margin: 0;
    line-height: 1.3;
  }

  #our-expertise h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 24px;
  }

  /* Responsive fallback */
  @media (max-width: 1200px) {
    .expertise-container {
      grid-template-columns: repeat(4, 1fr);
    }
  }

  @media (max-width: 768px) {
    .expertise-container {
      grid-template-columns: repeat(2, 1fr);
    }

    .expertise-item {
      width: 100%;
    }
  }




@media (max-width: 991.98px) {
    .navbar-collapse {
        position: absolute;
        top: 60px; /* Adjust according to your navbar height */
        left: 0;
        right: 0;
        background-color: #fff;
        z-index: 1000;
        transition: all 0.3s ease;
    }

    .navbar-collapse.show {
        display: block;
    }

    /* Ensuring logo visibility */
    .navbar-brand {
        display: inline-block;
    }

    /* Dropdown menus are always open when the navbar is toggled */
    .dropdown-menu {
        display: block !important;
        position: static;
        float: none;
        background-color: transparent;
        box-shadow: none;
        padding: 0;
    }

    /* Logo visibility fix when toggled */
    .navbar-toggler.collapsed + .navbar-collapse .navbar-brand {
        display: inline-block;
    }
}

/* Dropdown hover for desktop */
@media (min-width: 992px) {
    .dropdown:hover .dropdown-menu {
        display: block;
    }

    .dropdown-menu.show {
        display: block !important;
    }
}



p {color:#929292;}
.text-primary {color:#234E70 !important;}
.bg-primary {background-color:#234E70 !important;}
.text-blue {color:#2293D9;}
.bg-blue {background-color:#2293D9;}

.service-card {
    border-radius: 32px;
    box-shadow: 5px 15px 50px #CBD8E1;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    margin: 10px;
    position: relative;
    z-index: 1;
    height: 400px; /* Set your desired fixed height */
    overflow: hidden; /* Prevent content overflow */
}

.service-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 10px 20px 60px #B0C4D9;
    z-index: 10; /* Ensures hovered card is on top */
}

/* Service Card Styling */
.service-card1 {
    border-radius: 32px;
    box-shadow: 5px 15px 50px #CBD8E1;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    margin: 10px;
    position: relative;
    z-index: 1;
    height: 450px;
    overflow: hidden;
    width: 100%; /* Full width within the column */
}

/* Hover Effect */
.service-card1:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 10px 20px 60px #B0C4D9;
    z-index: 5;
}

 .card-hover {
        transition: transform 0.4s ease, box-shadow 0.4s ease;
        will-change: transform;
    }

    .card-hover:hover {
        transform: translateY(-10px) scale(1.04);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    }

    .card-hover i {
        transition: transform 0.4s ease, color 0.4s ease;
        will-change: transform, color;
    }

    .card-hover:hover i {
        transform: scale(1.25) rotate(6deg);
        color: #0d6efd;
    }

    .card-hover h5 {
        transition: color 0.4s ease;
    }

    .card-hover:hover h5 {
        color: #0d6efd;
    }
    


/* Card Container to Maintain Alignment */
.service-card-container {
    margin: 0 auto;
    width: 100%;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .col-md-4, .col-lg-4 {
        width: 100%; /* Full width on smaller screens */
    }
}


    .rectangle {
      width: 100%;
      min-height: 70vh;
      position: relative;
      background: url(../img/banner.jpg);
      background-position: center;
      background-repeat: no-repeat;
      background-size: cover;
    }

    #triangle-bottomright {
      width: 0;
      height: 0;
      border-bottom: 90px solid #fff;
      border-left: 90px solid transparent;
      position: absolute;
      bottom: 0;
      right: 0;
    }


    #triangle-topleft {
      width: 0;
      height: 0;
      border-top: 90px solid #EAF7FF;
      border-right: 90px solid transparent;
      position: absolute;
      top: 0;
      left: 0;
    }

    .content {
      padding: 50px;
      width: 50%;
    }

   .head-register-btn {
    padding: 8px 16px; /* Increased padding for better text fit */
    background: #000 !important;
    position: relative;
    border-radius: 0;
    border: none;
    color: #fff !important;
    height: auto; /* Set height to auto to adjust as per content */
    line-height: 1.5; /* Adjust line height for better spacing */
    white-space: nowrap; /* Prevent text from wrapping */
}

    .head-register-btn:before {
      content: '';
      position: absolute;
      bottom: 0;
      right: 0;
      border-bottom: 15px solid #EAF7FF;
      border-left: 15px solid #000;
      width: 0;
    }

    .head-register-btn:after {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      border-top: 15px solid #EAF7FF;
      border-right: 15px solid #000;
      width: 0;
    }

    .navs {
      display: flex;
      align-items: center;
      justify-content: center;

    }
    
 /* nav */
        
/* nav close */
    
    /* fadeup */

.fade-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1s ease forwards;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
    /* fadeup cls */
    /* case study */
 .case-study-section {
          background-color: #f4f9fc;
            text-align: center;
            padding: 50px 0;
        }
        .case-title {
            font-size: 32px;
            font-weight: bold;
            color: #1f2d3d;
            margin-bottom: 10px;
        }
        .case-subtitle {
            font-size: 18px;
            color: #6c757d;
            margin-bottom: 40px;
        }
        .case-grid {
            display: grid;
            grid-template-columns: repeat(12, 1fr);
            grid-gap: 20px;
            max-width: 1100px;
            margin: auto;
        }
        .case-item {
            position: relative;
            border-radius: 15px;
            overflow: hidden;
            transition: 0.3s;
            height: 400px;
        }
        .case-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease-in-out;
        }
        .case-item:hover img {
            transform: scale(1.1);
        }
        .case-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.4);
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .case-overlay h3 {
            color: #fff;
            font-size: 28px;
            font-weight: bold;
        }
      

        .faq-section {
            background-color: #1f4a66;
            color: #fff;
            padding: 60px 0;
        }
        .accordion-item {
            border-radius: 8px;
            overflow: hidden;
            margin-bottom: 10px;
        }
        .accordion-button {
            font-weight: bold;
        }
        .accordion-button:not(.collapsed) {
            background-color: #ffffff;
            color: #1f4a66;
        }

        .footer {
            background-color: #1f466f;
            color: white;
            padding: 40px 0;
            font-size: 16px;
        }
        .footer .footer-logo {
            font-size: 24px;
            font-weight: bold;
        }
        .footer .social-icons a {
            color: white;
            font-size: 18px;
            margin-right: 10px;
            transition: 0.3s;
        }
        .footer .social-icons a:hover {
            color: #ddd;
        }
        .footer h6 {
            font-weight: bold;
            margin-bottom: 15px;
        }
        .footer ul {
            list-style: none;
            padding: 0;
        }
        .footer ul li a {
            text-decoration: none;
            color: white;
            transition: 0.3s;
        }
        .footer ul li a:hover {
            color: #ddd;
        }
        .footer .contact-info p {
            margin-bottom: 5px;
        }
        .footer-bottom {
            border-top: 1px solid rgba(255, 255, 255, 0.2);
            padding-top: 15px;
            text-align: center;
            font-size: 12px;
        }

        .testimonial-div {    box-shadow: 5px 5px 20px #f2f2f2;
            border-radius: 16px;}

        .testimonials-body p {font-size:14px;}

        .why-choose-section {
            position: relative;
            background-color: white;
            padding: 60px 0;
            overflow: hidden;
        }
        /* .why-choose-section::before {
            content: "";
            position: absolute;
            left: 0;
            top: 50%;
            transform: translateY(-50%);
            width: 100%;
            height: 50%;
            background-color: #8dc5eb;
            border-radius: 50px;
            z-index: 0;
        } */
        .why-choose-container {
            position: relative;
            z-index: 1;
        }
        .why-choose-title {
            font-size: 24px;
            font-weight: bold;
            text-align: center;
            margin-bottom: 30px;
        }
        .feature-box {
            min-height: 226px;
            background-color: white;
            padding: 20px;
            border-radius: 15px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            text-align: center;
        }
        .feature-box i {
            font-size: 40px;
            color: #ff9900;
            margin-bottom: 10px;
        }
        .feature-box h6 {
          
            font-weight: bold;
            margin-bottom: 10px;
        }
        .feature-box p {
         
            color: #555;
        }
    .accordion-item {
    min-height: 65px !important;
    border-radius: 0px !important;
    }
    
 
   /* expertise */

#our-expertise {
  text-align: center;
  padding: 50px 0;
}

#our-expertise h2 {
  font-size: 2.5rem;
  margin-bottom: 30px;
}

.expertise-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  justify-items: center;
}

.expertise-item img {
  width: 60px;
  height: 60px;
  margin-bottom: 10px;
}

.expertise-item p {
  font-size: 1.1rem;
  font-weight: bold;
  color: #333;
}


   /* expertise close */



    /* about us page */
    .about-container {
        text-align: center;
        padding: 50px 20px;
    }
    .about-container h2 {
        font-weight: bold;
    }
    .about-container span {
        color: #FFD700;
    }
    .feature-box {
        border: 1px solid #ddd;
        border-radius: 10px;
        padding: 30px;
        transition: all 0.3s ease-in-out;
        box-shadow: none;
        min-height: 290px;        
    }
    .feature-box:hover {
        transform: translateY(-10px);
        box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
        border-color: #008cff;
    }
    .feature-icon {
        font-size: 40px;
        margin-bottom: 15px;
        color: #000;
    }

    @keyframes gradientAnimation {
        0% { background-position: 0% 50%; }
        50% { background-position: 100% 50%; }
        100% { background-position: 0% 50%; }
    }

    .gradient-text {
        background: linear-gradient(90deg, #234E70, #33a7ff, #3575ff);
        background-size: 300% 300%;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        animation: gradientAnimation 3s ease infinite;
        font-weight: bold;
    }

    /* Box Styling */
    .info-box {
        min-height:200px;
        background: #fff;
        border-radius: 20px;
        box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.1);
        padding: 30px;
        text-align: center;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .info-box:hover {
        transform: translateY(-5px);
        box-shadow: 0px 15px 40px rgba(0, 0, 0, 0.15);
    }


    @keyframes float {
        0% { transform: translateY(0px); }
        50% { transform: translateY(-10px); }
        100% { transform: translateY(0px); }
    }

    .floating-img {
        animation: float 3s ease-in-out infinite;
    }

    /* Scale Up on Hover */
    .floating-img:hover {
        transform: scale(1.1);
        transition: transform 0.3s ease;
    }

    /* contact us */

    .hero { background: linear-gradient(to right, #0f2027, #203a43, #2c5364); color: white; padding: 80px 0; }
    .contact-card { box-shadow: 0 4px 6px rgba(0,0,0,0.1); border-radius: 8px; }
    .map-container { height: 300px; background: #f8f9fa; display: flex; align-items: center; justify-content: center; }
    .social-icons a { margin: 0 10px; color: #333; font-size: 24px; }

    .form-control, .submit-btn {    min-height: 50px !important;
        border-radius: 0px !important;padding:10px 20px !important;}

    @media (max-width: 768px) {
        .ab {margin-top:-30px !important;  }

        .rectangle {
            width: 100%;
            min-height: 47vh;
            position: relative;
            background: url(../img/banner.jpg);
            background-position: center;
            background-repeat: no-repeat;
            background-size: cover;
          }


      .content {
        padding: 50px;
        width: 100%;
      }
    }                                    