@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");


body {
  margin:0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Raleway";
  
}

.topbar {
  background-color: #f8f9fa; /* Light gray for header */
  padding: 10px;
  text-align: center;
  margin-left: 50px;
 
}

.title {
  margin:0;
  font-size: 45px;
  color:white;
  font-weight: bold;
  margin-left: 50px;
 
}

.container-fluid {
  padding: 20px;
  
}

/* Apply blue background with responsiveness */
.blue-bg {
  background-color:#242e73; /* Blue background */
  color: #fff; /* White text for contrast */
  padding: 30px; 
  font-family:"Raleway" ;
  text-align: left;
  font-family: 45px;

}

/* Responsive Design */
@media (max-width: 768px) {
  .blue-bg {
      padding: 15px; /* Adjust padding for smaller screens */
  }

  .navbar-title {
      font-size: 28px; /* Adjust title size */
  }
}

@media (max-width: 576px) {
  .blue-bg {
      padding: 10px; /* Further adjust padding for extra small screens */
  }

  .navbar-title {
    font-size: 32px; /* Even larger size for mobile */
}
}

.navbar {
  padding: 1rem 1.5rem;
  
}

/* Navbar Link Styles */
.navbar-nav .nav-link {
  font-size: 1rem;
  padding: 0.5rem 1rem;
  color: #333;
  font-weight: 700;
  text-transform: uppercase;
  position: relative; /* For the box effect */
  text-align: center;
  transition: color 0.3s, background-color 0.3s, box-shadow 0.3s;
}

/* Hover Effect for Navbar Links */
.navbar-nav .nav-link:hover {
  color: #fff; /* Change text color on hover */
  background-color: #fdbb2d; /* Background color */
  box-shadow: 0 4px 8px rgba(255, 165, 0, 0.3); /* Adjusted box shadow color*/
  border-radius: 20px; /* Smooth edges */
  transform: scale(1.05); /* Slightly enlarge on hover */
}

/* Active State for Navbar Links */
.navbar-nav .nav-link.active {
  color: #fff !important;
  background-color: #007bff; /* Highlight active link */
  box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
  border-radius: 20px;
}

/* Link Box Layout */
.navbar-nav {
  display: flex;
  justify-content: center; /* Center the links */
  align-items: center;
  flex-wrap: wrap; /* Allow wrapping for small screens */
  gap: 10px; /* Space between link boxes */
}

.navbar-nav .nav-item {
  display: inline-block;
}



/* Logo Adjustment for Smaller Screens */
.navbar-brand img {
  max-width: 400px;
  height: auto;
}

/* Responsive Design */

/* For screens below 992px (Tablets and Small Laptops) */
@media (max-width: 992px) {
  .navbar-nav .nav-link {
    font-size: 18px;
    padding: 0.4rem 0.8rem;
  }

  .navbar-brand img {
    max-width: 180px;
  }

  .dropdown-menu {
    font-size: 17px;
  }
}

/* For screens below 768px (Large Phones and Smaller Tablets) */
@media (max-width: 768px) {
  .navbar-nav {
    text-align: center;
  }

  .navbar-nav .nav-link {
    display: block;
    padding: 0.6rem;
  }

  .navbar-toggler {
    font-size: 18px;
  }

  .dropdown-menu {
    font-size: 17px;
  }
}

/* For screens below 576px (Small Phones) */
@media (max-width: 576px) {
  .navbar-brand img {
    max-width: 150px;
  }

  .navbar-nav .nav-link {
    font-size: 18px;
    padding: 0.5rem;
  }

  .dropdown-menu {
    text-align: left;
    font-size: 17px;
  }

  .navbar-toggler {
    font-size: 18px;
  }
}

/* For extra small screens below 400px */
@media (max-width: 480px) {
  .navbar-nav .nav-link {
    font-size: 18px;
    padding: 0.4rem;
  }

  .navbar-brand img {
    max-width: 120px;
  }
.title{
  font-size: 30px !important;
}
}
@media (max-width: 400px) {
  .mySlides{
    height: 400px;
  }
}

/* Services Start */

.center-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.image-gallery {
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
  justify-content: center;
}

.image-gallery img {
  width: 300px; /* Default size */
  height: 250px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  animation: zoomIn 1.2s ease-in;
  margin-top: 40px;
}


.image-gallery img:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* Mechanical Content Section */
.cad-content-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 15px;
    /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); */
   
}

.cad-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.cad-image img {
  width: 100%;
  max-width: 800px !important;
  height: 600px !important;
  border-radius: 20px;
  /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); */
  animation: zoomIn 1.2s ease-in-out;
  margin-left: 100px;
  border: 5px solid  orange;
}


/* Right Content */
.content-container {
    padding: 10px;
}

.cad_subtitle{
    font-size: 24px;
    color: #14206a;
    text-transform: uppercase;
    font-weight: bold;
    margin-top: 30px;
    position: relative;
    font-family: "Raleway" !important;
    text-align: center;
}

.cad_subtitle:after {
    content: '';
    width: 80px;
    height: 4px;
    /* background: #ff6d00; */
    display: block;
    margin: 10px auto;
}
.subtitle{
  font-size: 22px;
    color: #14206a;
    text-transform: uppercase;
    font-weight: bold;
    margin-bottom: 25px;
    position: relative;
    font-family: "Raleway" !important;
    text-align: center;
 
}

.cad_content {
    line-height: 1.6;
    color: #555;
    margin-bottom: 15px;
    font-family: 'Poppins', 'Montserrat', Arial, sans-serif;
    font-size: 20px;
    margin-left: 20px;
}

.points {
    list-style: none;
    padding-left: 70px;
    font-family: "Raleway"!important;
}

.content-container ul li {
    margin-bottom: 10px;
    font-size: 20px;
    color: #333;
    margin-right: 20px;

}

.sub_points{
    
    font-family: 'Poppins', 'Montserrat', Arial, sans-serif;
    margin-bottom: 10px;
    font-size: 20px;
    color: #333;
    
}

/* Responsive Design */
@media (max-width: 1024px) {
    .mechanical-content-container {
        grid-template-columns: 1fr;
    }

    .grid-container {
        grid-template-columns: 1fr;
    }

    .mechanical-image img {
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    .content-container h2 {
        font-size: 20px;
    }

    .content-container p,
    .content-container ul li {
        font-size: 16px;
        margin-left: 20px;
    }

    .menu a {
        font-size: 14px;
    }

    .image-gallery img {
        width: 150px;
        height: 200px;
    }
}

@media (max-width: 480px) {
 .cad-content-container {
    padding: 15px;
  }

  .cad-title{
    font-size: 22px;
  }

  .cad-para {
    font-size: 18px;
    text-align: left;
    text-align: justify;
  }

 .cad-list_title {
    font-size: 20px;
  }
  .sub_points{
    font-size: 18px;
  }
  .subtitle{
    font-size: 20px;
  }

  .cad-ul.list-unstyled.list-unstyled li {
    font-size: 18px;
  }

  .image-gallery img {
    width: 100%;
    max-width: 280px;
  }
}

/* Keyframes for Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}


/* servies end */

/* footer Reset */
/* Footer Container */

/* Footer Container */
.footer-container {
  display: flex; /* Enabled flex for layout */
  flex-wrap: wrap; /* Allows wrapping of content on smaller screens */
  justify-content: space-around;
  background-color: #000c66;
  color: #fff;
  padding: 20px 0;
  position: relative;
  overflow: hidden;
}

/* Footer Content */
.footer-content {
  flex: 1;
  margin: 15px;
  min-width: 250px; /* Ensures proper spacing for smaller screens */
  text-align: left;
}

.footer-content h3 {
  color: #f4c04e;
  font-size: 20px;
  margin-bottom: 10px;
  animation: fadeInUp 2s ease-in-out infinite alternate;
}

.address{
color: #ddd;
font-size: 18px;
}

.footer-content h4,
.footer-content ul {
  margin: 5px 0;
  color: #ddd;
  font-size: 18px;
}

.footer-content ul {
  list-style: none;
  padding: 0;
}

.footer-content ul li {
  margin: 8px 0;
}

.footer-content ul li a {
  color: #ddd;
  text-decoration: none;
}

.footer-content ul li a:hover {
  color: #f4c04e;
}

/* Social Icons */
/* Social Icons Container */
/* Contact Info Styling */
.contact-info {
  text-align: center; /* Center all content */
  color: white;
  background-color: #00124d; /* Dark blue background */
  padding: 20px;
  border-radius: 10px;
}

/* WhatsApp Button Container (Centers the Icon) */
.whatsapp-container {
  display: flex;
  justify-content: left;
  margin-top: 15px;
}

/* WhatsApp Floating Button */
.whatsapp-float {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #25D366; /* WhatsApp Green */
  color: white;
  text-decoration: none;
  font-size: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* WhatsApp Icon */
.whatsapp-icon {
  font-size: 32px;
}

/* Hover Effect */
.whatsapp-float:hover {
  background-color: green; /* Darker Green */
  transform: scale(1.1);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Responsive Design */
@media (max-width: 768px) {
  .whatsapp-float {
      width: 50px;
      height: 50px;
  }
  .whatsapp-icon {
      font-size: 28px;
  }
}

@media (max-width: 480px) {
  .whatsapp-float {
      width: 45px;
      height: 45px;
  }
  .whatsapp-icon {
      font-size: 25px;
  }
}

/* Responsive Styles */
@media (max-width: 768px) {
.footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-content {
    margin: 15px 0;
}

.social-icons {
    justify-content: left;
}
h5 {
  color: #f4c04e !important;
  text-align: center !important;
  font-size: 20px !important;  /* Reduced font size for responsiveness */
}

}

@media (max-width: 480px) {
.footer-content h3 {
  font-size: 22px !important; /* Smaller headings for smaller screens */
}

.address{
  font-size: 20px !important;
}
.footer-content h4,
.footer-content ul {
    font-size: 20px !important; /* Reduced font size for better readability */
}

.social-icons a {
    width: 35px;
    height: 35px; /* Smaller icons */
}
}


/* Bubble Animation */
.bubble-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.bubble {
  position: absolute;
  bottom: -10px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  animation: float 4s ease-in-out infinite;
}

@keyframes fadeInUp {
  0% {
      transform: translateY(10px);
      opacity: 0.7;
  }
  100% {
      transform: translateY(0);
      opacity: 1;
  }
}

@keyframes float {
  0% {
      transform: translateY(0);
      opacity: 1;
  }
  100% {
      transform: translateY(-200px);
      opacity: 0;
  }
}


/* Customize the Scrollbar */
::-webkit-scrollbar {
  width: 8px; /* Width of the scrollbar */
  height: 8px; /* Height of the scrollbar (for horizontal scrolling) */
}

::-webkit-scrollbar-track {
  background: #f1f1f1; /* Background of the scrollbar track */
  border-radius: 50px; /* Optional: make it rounded */
}

::-webkit-scrollbar-thumb {
  background: orange; /* Color of the scrollbar thumb */
  border-radius: 50px; /* Rounded corners for the thumb */
}

::-webkit-scrollbar-thumb:hover {
  background: #e67e22; /* Darker shade on hover for interactivity */
}
.back-to-top{
  height: 2000px; /* Just to create scrollable content */
  padding: 20px;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: orange !important;
  color: white;
  border: none !important;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  transition: opacity 0.3s ease;
  opacity: 0;
  visibility: hidden;
}

.back-to-top:hover {
  background-color: orange;
  cursor: pointer;
}

/* Show button when scrolled down */
.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

/* Icons */
.fa-arrow-up {
  font-size: 22px;
  color: #fff;
  margin-bottom: 10px;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .back-to-top {
      width: 50px;
      height: 50px;
  }

  .fa-arrow-up {
      font-size: 20px;
      color: #fff;
      margin-bottom: 0;
  }
}

@media (max-width: 480px) {
  .back-to-top {
      width: 45px;
      height: 45px;
  }

  .fa-arrow-up {
      font-size: 18px;
      color: #fff;
      margin-bottom:0;
  }
}


 



