

body{
  background-color: rgb(255, 255, 255);
  font-family: 'DM+Sans','ital,opsz', sans-serif;
}

/* :root {
    --white-color:                  #ffffff;
    --primary-color:                #6d1212;
    --secondary-color:              #0063b5;
    --section-bg-color:             #f0f8ff;
    --site-footer-bg-color:         #44525d;
    --custom-btn-bg-color:          #597081;
    --custom-btn-bg-hover-color:    #5bc1ac;
    --dark-color:                   #4d0000;
    --p-color:                      #717275;
    --border-color:                 #9dceff;

    --body-font-family:             'Metropolis', sans-serif;

    --h1-font-size:                 52px;
    --h2-font-size:                 46px;
    --h3-font-size:                 32px;
    --h4-font-size:                 28px;
    --h5-font-size:                 24px;
    --h6-font-size:                 22px;
    --p-font-size:                  16px;
    --btn-font-size:                18px;
    --copyright-font-size:          14px;

    --border-radius-large:          100px;
    --border-radius-medium:         20px;
    --border-radius-small:          10px;

    --font-weight-light:            300;
    --font-weight-normal:           400;
    --font-weight-semibold:         600;
    --font-weight-bold:             700;
  }
   */

   .container{
    background-image: url('img\back1.jpg');
 /* Ensures the image covers the entire container */
 /* Centers the image within the container */
 /* Prevents the image from repeating */
 /* Optional: sets the height of the container */
  }

/* Navbar */

.navbar {
    background: white;
    z-index: 9;
    padding-top: 0;
    padding-bottom: 0;
  }

  .navbar-brand {
    color: rgb(131, 0, 0);
    font-size: var(--h6-font-size);
    font-weight: 600;
  }

  .navbar-brand span {
    display: inline-block;
    vertical-align: middle;
  }

.navbar-brand:hover{
  color: rgb(131, 0, 0);
}

  .navbar-brand small {
    color: black;
    display: block;
    font-size: 10px;
    line-height: normal;
    text-transform: uppercase;
  }

  .logo {
    width: 80px;
    height: auto;
  }

  .navbar-expand-lg .navbar-nav .nav-link {
    margin-right: 0;
    margin-left: 0;
    padding: 20px;
  }

  .navbar-nav .nav-link {
    display: inline-block;
    color: rgb(29, 29, 29);
    font-size: 17px;
    font-weight: 500;
    position: relative;
    padding-top: 15px;
    padding-bottom: 15px;
    transition: transform 0.3s ease; /* Smooth transition for scaling */
  }

  .navbar-nav .nav-link.active,
  .navbar-nav .nav-link:hover {
    background: transparent;
    color: rgb(131, 0, 0);
    transform: scale(1.1);
  }


  @media (max-width: 991px) { /* Target screens below 992px (Bootstrap lg) */
    .nav-link:hover {
        transform: scale(1.2);
    }
}

/* Optional: Adjust the scale for mobile if you want a smaller zoom effect */
@media (max-width: 576px) { /* Bootstrap sm */
    .nav-link:hover {
        transform: scale(1.1); /* Slight zoom for smaller screens */
    }
}


  .dropdown-menu {
    background-color: rgb(242, 242, 242);
    border: 1px solid rgb(215, 215, 215);
    max-width: 50px;
    padding: 0;
    margin-top: 20px;
  }

  .dropdown-item {
    display: inline-block;
    color: var(--p-bg-color);
    font-size: var(--menu-font-size);
    font-weight: 500;
    position: relative;
    padding-top: 10px;
    padding-bottom: 10px;
    transition: transform 0.3s ease;
    background-color: rgb(242, 242, 242);
    background: rgb(255, 255, 255);
  }

  .dropdown-menu li:last-child .dropdown-item {
    padding-top: 0;
  }

  .dropdown-item.active,
  .dropdown-item:active,
  .dropdown-item:focus,
  .dropdown-item:hover {
    background: transparent;
    color: rgb(131, 0, 0);
    transform: scale(1.05);
  }

  .dropdown-toggle::after {
    content: "\f282";
    display: inline-block;
    font-family: bootstrap-icons !important;
    font-size: var(--copyright-font-size);
    font-style: normal;
    font-weight: normal !important;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    vertical-align: -.125em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    left: 2px;
    border: 0;
  }

  @media screen and (min-width: 992px) {
    .dropdown:hover .dropdown-menu {
      display: block;
      margin-top: 0;
    }
  }

  .navbar-toggler {
    border: 0;
    padding: 0;
    cursor: pointer;
    margin: 0;
    width: 30px;
    height: 35px;
    outline: none;
  }

  .navbar-toggler:focus {
    outline: none;
    box-shadow: none;
  }

  .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    background: transparent;
  }

  .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before,
  .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
    transition: top 300ms 50ms ease, -webkit-transform 300ms 350ms ease;
    transition: top 300ms 50ms ease, transform 300ms 350ms ease;
    transition: top 300ms 50ms ease, transform 300ms 350ms ease, -webkit-transform 300ms 350ms ease;
    top: 0;
  }

  .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before {
    transform: rotate(45deg);
  }

  .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
    transform: rotate(-45deg);
  }

  .navbar-toggler .navbar-toggler-icon {
    background: black;
    transition: background 10ms 300ms ease;
    display: block;
    width: 30px;
    height: 2px;
    position: relative;
  }

  .navbar-toggler .navbar-toggler-icon:before,
  .navbar-toggler .navbar-toggler-icon:after {
    transition: top 300ms 350ms ease, -webkit-transform 300ms 50ms ease;
    transition: top 300ms 350ms ease, transform 300ms 50ms ease;
    transition: top 300ms 350ms ease, transform 300ms 50ms ease, -webkit-transform 300ms 50ms ease;
    position: absolute;
    right: 0;
    left: 0;
    background: black;
    width: 30px;
    height: 2px;
    content: '';
  }

  .navbar-toggler .navbar-toggler-icon::before {
    top: -8px;
  }

  .navbar-toggler .navbar-toggler-icon::after {
    top: 8px;
  }



/*---------------------------------------
  CUSTOM BUTTON
-----------------------------------------*/
.custom-btn {
    background: var(--secondary-color);
    border: 2px solid transparent;
    border-radius: var(--border-radius-large);
    color: var(--white-color);
    font-size: var(--btn-font-size);
    font-weight: var(--font-weight-normal);
    line-height: normal;
    padding: 15px 25px;
  }

  .navbar-expand-lg .navbar-nav .nav-link.custom-btn {
    margin-top: 8px;
    padding: 12px 25px;
  }

  .custom-btn:hover {
    background: var(--primary-color);
    color: var(--white-color);
  }

  .custom-border-btn {
    background: transparent;
    border: 2px solid var(--custom-btn-bg-color);
    color: var(--primary-color);
  }

  .navbar-expand-lg .navbar-nav .nav-link.custom-btn:hover,
  .custom-border-btn:hover {
    background: var(--custom-btn-bg-hover-color);
    border-color: transparent;
    color: var(--white-color);
  }





/* Title Styling with fade-in animation */
h2.fade-in-up {
    font-size: 36px;
    font-weight: 600;
    color: #333;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1.5s forwards;
}


.about-bg{
  box-shadow: 0px 0px 10px rgb(206, 206, 206);
}


/* Image Styling */
.about-img {
    width: 100%;
    max-width: 500px;
    transform: translateX(-100px);
    opacity: 0;
    animation: slideInLeft 1s forwards;
}

/* Text Box Styling */
.bg-light {
    background-color: #f7f7f7;
    padding: 30px;

}

.about-head{
  font-weight: 600;
}

.about-us-text {
    font-size: 17px;
    color: #555;
    line-height: 1.6;
    text-align: justify;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards 0.5s;
}

.about-us-text.my-4 {
    font-weight: 600;
    font-size: 22px;
    margin-bottom: 20px;
    position: relative;
    font-family: 'Times New Roman', Times, serif;
}

/* Wavy Effect for Title */
@keyframes wave {
    0%, 100% {
        transform: rotate(0deg);
    }
    50% {
        transform: rotate(-10deg);
    }
}

.about-us-text.my-4 {
    animation: wave 2s ease-in-out infinite;
}

/* Animation for Image Slide-In */
@keyframes slideInLeft {
    0% {
        transform: translateX(-100px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Fade In Up Effect */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Media Queries for responsiveness */
@media (max-width: 767px) {
    .about-img {
        max-width: 100%;

    }

    .about-us-text {
        font-size: 16px;
    }

    h2 {
        font-size: 28px;
    }
}




/* Full-width carousel */
.carousel-item {
  position: relative;
  height: 670px;
  background-color: #000;
  overflow: hidden;
}

.carousel-item img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  transition: transform 1s ease, opacity 1s ease; /* Smooth transitions for transform and opacity */
}

/* Text Animation (Fade In) */
@keyframes fadeIn {
  0% {
      opacity: 0;
  }
  100% {
      opacity: 1;
  }
}

/* Smooth Zoom-In and Zoom-Out on Image */
.carousel-item-next,
.carousel-item-prev,
.carousel-item.active {
  transform: scale(1);
}

.carousel-item-next,
.carousel-item-prev {
  transition: transform 0s; /* Smooth transition for zoom effect */
}

.carousel-item-next,
.carousel-item-prev,
.carousel-item.active img {
  transition: transform 0; /* Smooth image transitions */
}

/* Centered Text Overlay */
.carousel-caption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  text-align: center;
  font-size: 58px; /* Use vw for responsive font size */
  z-index: 10;
  opacity: 0;
  animation: fadeIn 2s forwards;
  text-shadow: 0px 0px 10px black;
}


/* Ensuring the carousel is responsive */
@media (max-width: 1200px) {
  .carousel-caption {
    font-size: 50px; /* Slightly larger on medium screens */
  }
}

@media (max-width: 768px) {
  .carousel-caption {
    font-size: 40px; /* Larger on small screens */
  }
}

@media (max-width: 576px) {
  .carousel-caption {
    font-size: 34px; /* Larger on small screens */
  }
}

@media (max-width: 480px) {
  .carousel-caption {
    font-size: 28px; /* Even larger on extra small screens */
  }
}

.carousel-caption-a {
  position: absolute;
  top: 47%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  text-align: center;
  font-size: 58px; /* Use vw for responsive font size */
  z-index: 10;
  opacity: 0;
  animation: fadeIn 2s forwards;
  text-shadow: 0px 0px 10px black;
}

@media (max-width: 1200px) {
  .carousel-caption-a {
    font-size: 50px; /* Slightly larger on medium screens */
  }
}

@media (max-width: 768px) {
  .carousel-caption-a {
    font-size: 40px; /* Larger on small screens */
  }
}

@media (max-width: 576px) {
  .carousel-caption-a {
    font-size: 34px; /* Larger on small screens */
  }
}

@media (max-width: 480px) {
  .carousel-caption-a {
    font-size: 28px; /* Even larger on extra small screens */
  }
}


.carousel-caption-b {
  position: absolute;
  top: 49%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  text-align: center;
  font-size: 58px;
  z-index: 10;
  opacity: 0;
  animation: fadeIn 2s forwards;
  text-shadow: 0px 0px 10px black;
}

@media (max-width: 1200px) {
  .carousel-caption-b {
    font-size: 50px; /* Slightly larger on medium screens */
  }
}

@media (max-width: 768px) {
  .carousel-caption-b {
    font-size: 40px; /* Larger on small screens */
  }
}

@media (max-width: 576px) {
  .carousel-caption-b {
    font-size: 34px; /* Larger on small screens */
  }
}

@media (max-width: 480px) {
  .carousel-caption-b {
    font-size: 28px; /* Even larger on extra small screens */
  }
}

/* footer */


.f-text-head{
  font-weight: 600;
  color: rgb(77, 0, 0);
}

.f-text-head:hover{
  scale: 1.01;
  transition:  0.2s;

}

.f-text-head::after{
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: red;
  transition: width 0.6s ease;
  width: 18%;
}

.f-text-head:hover::after{
  width: 50%;
}


.f-text-link{
  color: rgb(39, 39, 39);
  text-decoration: none;
}
.f-text-link:hover{
  color: #000538;
  font-weight: 600;
}


.fab{
  width: 30px;
  height: 30px;
  scale: 1.2;
  padding-top: 7px;
  border: 0.5px ;
  box-shadow: 0px 0px 3px ;
}

.fab:hover{
  background-color: #e60303;
  color: white;
  scale: 1.4;
}



.btn1 {
  display: inline-block;
  padding: 0.7rem 1.8rem;
  font-size: 16px;
  font-weight: 600;
  color: rgb(39, 140, 255);
  border: 3px solid rgb(126, 186, 255);
  cursor: pointer;
  position: relative;
  background-color: transparent;
  text-decoration: none;
  overflow: hidden;
  z-index: 1;
  font-family: inherit;
  scale: 0.9;
 }

 .btn1::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(77, 0, 0);
  transform: translateX(-100%);
  transition: all .3s;
  z-index: -1;
 }

 .btn1:hover::before {
  transform: translateX(0);
 }

 .btn1:hover{
  color: white;
  border-color: white
 }



 .cr-image{
  box-shadow: 0px 0px 20px rgb(173, 173, 173);

 }

 .slider-a{
  position: relative;
  height: 100%;
  background-color: #000;
  overflow: hidden;
 }


 .car-image{
  opacity: 60%;
 }




 /* Ensure the cards have sharp edges */
 .card {
  border-radius: 0 !important;
  border: 1px solid rgb(152, 25, 25);
  box-shadow: 0px 0px 10px rgb(194, 224, 255);
  height: 530px;

}

/* Hover effect for cards */
.card:hover {
  transform: scale(1.01);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Card hover transition */
.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Add some padding to the paragraph text */
.card-body p {
  margin-top: 10px;
  font-size: 16px;
  color: #555;
  text-align: justify;
}



.form-control{
  background-color: #f3f3f3;
  border: none;
}



 /* Custom styles for hover effect */
 .card1 {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 300px;
  height: 420px;
}

.card1:hover {
  transform: translateY(-10px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.card1-img-top {
  object-fit: cover;
  height: 300px;
  width: 300px;
  margin: 0 auto;
}

.card1-body {
  text-align: center;
}

.card1-title {
  margin-top: 10px;
  font-size: 1.25rem;
  font-weight: 600;
  color: #333;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .card1 {
    margin-bottom: 20px;
  }
}





.card2{
  height: auto;
  width: auto;
}

@media (min-width: 768px) {
  .card2 {
    height: 750px; /* Fixed height for medium screens */
  }
}

/* For large screens (lg) */
@media (min-width: 1024px) {
  .card2 {
    height: 630px; /* Fixed height for large screens */
  }
}



.card-img-top1{
  border-radius: 50%;
  box-shadow: 0px 0px 20px rgb(112, 148, 255);
  border: 0.5px solid;
}

.car-img{
  width: 160px;
  height: 160px;
  border-radius: 50%;
}

.car-item{
  height: max-content;
  background-color: white;
  border-radius: 20px;
}


.responsive-text {
  font-size: 16px; /* Default font size for larger screens */
  line-height: 1.6;  /* Adjust line height for better readability */
  color: white;
  margin-top: 1rem;  /* For spacing at the top */
}



.carousel-control-next-icon,
.carousel-control-prev-icon {
  background-color: rgb(42, 89, 137);
  border-radius: 50%;
  background-size: 50% 50%;
  width: 40px;
  height: 40px;
  opacity: 40%;
  transition: all 0.5s;
}


.carousel-control-next-icon:hover,
.carousel-control-prev-icon:hover {
  opacity: 100%;;
}




 /* Center the content both vertically and horizontally */
 .container-404 {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh; /* Full height of the viewport */
  text-align: center; /* Center the text horizontally */
  background-color: #4f0f0f;
}

/* Shaking effect */
@keyframes shake {
  0% { transform: translateX(0); }
  25% { transform: translateX(-10px); }
  50% { transform: translateX(10px); }
  75% { transform: translateX(-10px); }
  100% { transform: translateX(0); }
}

h1:hover {
  animation: shake 0.5s ease-in-out; /* Apply shaking effect on hover */
}




/* Position the button at the bottom right */
#scrollToTopBtn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: none;
  z-index: 1000;
}

.button-scroll{
  border-radius: 50%;
  background-color: #4f0f0f;
  color: white;
  opacity: 50%;
}

.button-scroll:hover{
  opacity: 90%;
  background-color: #4f0f0f;
  color: white;
}


.underline-effect {
  position: relative;
  display: inline-block;
  font-size: 24px; /* Adjust size as needed */
}

.underline-effect::after {
  content: "";
  position: absolute;
  width: 23%; /* Start the underline at 23% width */
  height: 2px;
  background-color: #0f82cf; /* Underline color */
  bottom: 0;
  left: 0%; /* Start the line at 23% from the left */
  transform: scaleX(1);
  transform-origin: bottom right;
  transition: width 0.3s ease-out, left 0.3s ease-out;
}

.underline-effect:hover::after {
  width: 100%; /* Full width on hover */
  left: 0%; /* Align it with the left edge on hover */
  background-color: #f30000;
}