* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
 font-family: Verdana, Geneva, Tahoma, sans-serif;;
}
:root {
  --primary-color: #d82918;  /* Blue */
  --secondary-color:  #008e64; /* Green */
  --background-color: #ffe6d9; /* Light Grey */
  --text-color: #333333; /* Dark Grey */
  --ternary-color: #000;
}
.mp-0 {
  margin: 0;
  padding: 0;
}

.dobtn a {
  width: 100%;
  color: #fff;
  font-weight: 600;
  font-size: small;
  text-align: center;
  font-style: italic;
  padding: 0.5rem 1rem;
  text-decoration: none;
  background-color: #dc2c1d;
  transform: translateX(0px);
  transition: all ease-in-out 0.5s;
}

.dobtn a:hover {
  color: #ffffff;
  transform: translateX(4px);
  background-color: rgb(249, 62, 62);
}
.card-contaner{
  background-color: #f1f1f1;
  padding: 3rem 0;
}
.shadow-l {
  /* box-shadow: 0px 0px 2px 2px gray; */
}

.shadow-b {
  /* box-shadow: 2px 4px 10px gray; */
}

.shadow-r {
  /* box-shadow: 8px 8px 4px gray; */
}

.br-f a {
  border-radius: 1rem;
}

/* Text-Hovering Start */
.marque-section {
  color: #fff;
  background-color:#53635f;
}
/* Text-Hovering End */

/* Modal Start */
.mmain{
  color: #fff;
  font-weight: 600;
  background-color: #2c2c2c;
}

.mheader h1{
  color: red;
  padding: 1rem;
  font-weight: bold;
  font-size: 1.5rem;
  text-align: center;
  text-shadow: 1px 1px 4px red;
}

.mclose{
  background-color: #fff;
}

.mleft img{
  width: 100%;
  height: 30vh;
  border-radius: 1rem;
}

.mright h4{
  text-align: center;
}
/* Modal End */

/* Header Start */
.nav-logo img{
  width: 35%;
}

.image-links-container{
  display: flex;
  align-items: center;
}

.nav-brands{
  margin-right: auto;
}

.navbs{
  display: flex;
  align-items: center;
}

.fstyle{
  font-weight: 500;
  /* font-style: italic; */
}

.hover-underline-animation {
  display: inline-block;
  position: relative; 
  font-size: 1.5rem;
}

.hover-underline-animation:after {
  content: "";
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: red;
  transform-origin: bottom right;
  transition: transform 0.25s ease-out;
}

.hover-underline-animation:hover:after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

.dropdown-menu li {
  position: relative;
  font-size: 1rem;
}

.dropdown a{
  font-size: 1rem;
}

.dropdown-menu .dropdown-submenu {
  display: none;
  position: absolute;
  left: 100%;
  top: -7px;
}

.dropdown-menu .dropdown-submenu-left {
  right: 100%;
  left: auto;
}

.dropdown-menu > li:hover > .dropdown-submenu {
  display: block;
}

.dropdown-hover:hover > .dropdown-menu {
  display: inline-block;
}

.dropdown-hover > .dropdown-toggle:active {
  pointer-events: none;
}

.animation-D {
  animation-name: pullDown;
  -webkit-animation-name: pullDown;
  animation-duration: 1.1s;
  -webkit-animation-duration: 1.1s;
  animation-timing-function: ease-out;
  -webkit-animation-timing-function: ease-out;
  transform-origin: 50% 0%;
  -ms-transform-origin: 50% 0%;
  -webkit-transform-origin: 50% 0%;
}

@keyframes pullDown {
  0% {
    transform: scaleY(0.1);
  }

  40% {
    transform: scaleY(1.02);
  }

  60% {
    transform: scaleY(0.98);
  }

  80% {
    transform: scaleY(1.01);
  }

  100% {
    transform: scaleY(0.98);
  }

  80% {
    transform: scaleY(1.01);
  }

  100% {
    transform: scaleY(1);
  }
}
/* Header End */

/* After Carausel Start */
.afcBox {
  padding: 2rem;
  border: 5px solid #2c2c2c;
  background-color: #f8e266;
  color: red;
}

.afcBox h2,p{
  color: #fff;
  font-size: 2rem;
  text-decoration: none;
}

.bg-black {
  background-color: #2c2c2c;
}
/* After Carausel End */

/* Card section start */
.card-1 {
  background-color: #ffff;
  color: #1d0f0f;
}

.card-1 img {
  width: 100%;
  height: auto;
  border-radius: 0.5rem;
}

.card-1 a {
  border-radius: 8px;
  padding: 0.5rem;
  background-color: #dc2c1d;
  color: #fff;
  font-weight: bold;
  font-size: large;
  text-decoration: none;
  text-align: center;
  transition: 0.5s all ease-in-out;
}
.card-1 a:hover {
  background-color: #ce1d10;
  color: #fff;
}


@media screen and (max-width: 992px) {
  .card-1{
    box-shadow: 2px 4px 10px gray;
  }
}
/* Card section end */

/* Medical Help Start */
.medical-header h1 {
  color: #fff;
  font-weight: bold;
  text-align: center;
  background-color:#53635f;
  /* text-decoration: underline #f8e266; */
}

.medical-card {
  border-radius: 0.5rem;
  box-shadow: 0px 0px 6px -2px gray;
}
.bg-color{
  background-color: #f1f1f1;
}

.medical-card img {
  width: 100%;
  height: 39vh;
  border-radius: 0.5rem;
}

.medical-card p{
  color: gray;
  padding: none;
  font-size: 1rem;
}

.medical-card h1,
h2 {
  text-align: center;
  color: #2c2c2c;
  text-decoration: underline red;
}

.medical-card span {
  color: rgb(249, 62, 62);
}

.medical-dtn a {
  border-radius: 1.5rem;
  padding: 0.5rem 1rem;
  background-color:#dc2c1d;
  color: #fff;
  font-weight: bold;
  font-size: small;
  text-decoration: none;
  text-align: center;
  transition: 0.5s all ease-in-out;
}

.medical-dtn a:hover {
  background-color: rgb(249, 62, 62);
  color: #fff;
}
/* Medical Help End */

/* Education Card Start */
.Education-header {
  color: #fff;
  background-color:#53635f;
}

.Education-header h1 {
  font-weight: 700;
  /* font-style: italic; */
  text-align: center;
  /* text-decoration: underline red;/// */
}

.Education-header p {
  /* width: 40%; */
  font-size: 1.2rem;
  text-align: center;
  font-weight: 500;
}

.Education-card {
  border-radius: 1rem;
  box-shadow: 2px 2px 4px rgb(62, 34, 34);
}

.Education-card-img {
  padding: 0.5rem;
  overflow: hidden;
  background-color: #f1f1f1;
  border-radius: 1rem 1rem 0rem 0rem;
}

.Education-card img {
  width: 100%;
  height: 40vh;
  mix-blend-mode: multiply;
  border-radius: 0 0 1rem 1rem;
  transition: all 0.5s ease-in-out;
}

.Education-card:hover img {
  transform: scale(1.1);
}

.Education-card-desc {
  padding: 0.5rem;
  /* font-style: italic; */
  border-radius: 1rem;
  background-color: #fff;
}

.Education-card-desc h3 {
  font-weight: 700;
  text-decoration: none;
  text-align: center;
}

.Education-dtn a {
  width: 100%;
  color: #fff;
  padding: 0.5rem;
  font-weight: 700;
  margin: 0rem 1rem;
  text-align: center;
  border-radius: 8px;
  text-decoration: none;
  background-color: var(--primary-color);
  transition: all 0.4s ease-in-out;
}

.Education-dtn a:hover {
  color: #fff;
  background-color: rgb(249, 62, 62);
}
/* Education Card End */

/* Recent-Project Start */
.recent-header h1 {
  color: #fff;
  font-weight: 700;
  /* font-style: italic; */
  text-align: center;
  position: relative;
  padding: 1.5rem 0rem;
  background-color:#53635f ;
  /* text-shadow: 1px 1px 4px #f8e266; */
}

.recent-header h1::after {
  width: 18%;
  content: "";
  margin-top: 3.5%;
  margin-left: -18%;
  position: absolute;
  transform: scaleX(0);
  border: 4px solid yellow;
  transform-origin: bottom right;
  transition: transform 0.5s ease-out;
}

.recent-header h1:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

.rp-bg {
  background-color: #f1f1f1;
  padding: 20px 0px;
}

.hei {
  height: 100%;
}

.rp-img {
  /* height: 35vh; */
  overflow: hidden;
  border-radius: 1rem;
  /* box-shadow: 0px 0px 7px -2px ; */
}

.rp-img img {
  /* width: 100%; */
  border-radius: 1rem;
  transition: all ease-in-out 0.5s;
}

.rp-img:hover img {
  transform: scale(1.1);
}
/* Recent-Project End */

/* Box Start */
.box1 h1 {
  /* font-style: italic; */
  font-weight: 700;
}

.box-1-img img {
  width: 100%;
  height: 35vh;
  border-radius: 1rem;
}

.box-1-desc {
  color: #fff;
  border-radius: 1rem;
  font-size: 1rem;
  background-color:#53635f;
}

.box1-text h2 {
  color: #fff;
  font-weight: 700;
  /* font-style: italic; */
}

.box1-text p{
  font-size: 1rem;
}

.box1-icon h2 {
  color: #fff;
  font-size: 5rem;
}
/* Box End */

/* After Box Start */
.af-box-l h3 {
  font-size: 3.5rem;
  font-weight: bold;
  text-align: center;
}

.af-l img {
  width: 100%;
  border-radius: 1rem;
}

.af-r p{
  color: gray;
  font-weight: 700;
  font-size: 1.2rem;
}

.af-box-r img {
  width: 100%;
  height: 100%;
  border-radius: 1rem;
}
/* After Box End */

/* Hero Section Start */
.heroSection {
  width: 100%;
  padding: 2rem;
  background-color: #53635f;
}

.hero-icon h3 {
  color: #f8e266;
  font-size: 5rem;
}

.hero-text h3 {
  color: #fff;
  /* padding: 1rem; */
  font-size: 3rem;
  /* text-decoration-line: underline; */
}

.hero-btn a {
  color: red;
  padding: 0.5rem 1rem;
  font-size: 1.5rem;
  text-decoration: none;
  background-color: #f8e266;
  transform: translateY(0px);
  transition: all ease-in-out 0.5s;
}

.hero-btn a:hover {
  color: #f8e266;
  transform: translateY(-6px);
  background-color: rgb(249, 62, 62);
}
/* Hero Section End */

/* After Hero Section start */
.af-hero h4 {
  color: red;
  font-size: 2rem;
  font-weight: 700;
  font-style: italic;
}

.af-hero h4:after {
  content: "";
}

.af-hero h5 {
  font-size: 3rem;
  font-weight: bold;
}

.af-hero p {
  font-size: 1.2rem;
  color: gray;
}

.afsmallBox {
  width: 100%;
  color: #fff;
  padding: 1.5rem;
  background-color: red;
  border-bottom-right-radius: 4rem;
}

.afsmallBox h3 {
  font-size: 3rem;
}

.afsmallBox h4{
  font-size: 1.6rem;
  font-weight: bold;
  font-style: italic;
}

.afsmallBox p{
  font-size: 1rem;
}
/* After Hero Section end */

/* Form Start */
.form{
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.form-bg{
  background-color: #f1f1f1;
  /* color: var(--primary-color); */
}

.form-field h4{
  color: var(--primary-color);
  font-weight: 700;
  /* font-style: italic;
  text-decoration: underline; */
}

.form input[type="text"],
.form input[type="email"],
.form input[type="number"] {
  padding: 0.4rem;
  outline: none;
  border: none;
  color: #fff;
  /* background-color: #000; */
  /* border-bottom: 1px solid #fff; */
  /* box-shadow: 2px 2px 4px #fff; */
}

.form input[type="text"]:focus,
.form input[type="email"]:focus,
.form input[type="number"]:focus{
  /* background-color: ; */
  color: #000;
}

.form input:focus{
  outline: none;
}

.form input[type="text"]::placeholder,
.form input[type="email"]::placeholder,
.form input[type="number"]::placeholder {
  color: #000;
  opacity: 1; /* Firefox */
}

.textarea .text{
  border: none;
    background-color: #fff2ee;
    border-radius: 0%;
    border-bottom: 1px solid #fff;
    color: #000;
    box-shadow: 2px 2px 4px #fff;
}

.textarea .text::placeholder{
  color: #000;
}

.submit-btn{
  display: flex;
  justify-content: flex-start;
}

.submit-btn button{
  color: #fff;
  /* font-weight: 700; */
  /* font-style: italic; */
  padding: 5px 10px;
  border-radius: 0.5rem;
  text-decoration: none;
  font-size: 1.4rem;
  background-color: red;
  transition: all ease-in-out 0.5s;
  transform: translateY(0px);
  transition: transform 0.4s linear, background-color 0.4s ease-in-out;
}

.submit-btn button:hover{
  color: #fff;
  background-color: rgb(249, 62, 62);
  transform: translateY(-4px);
}

.form-img {
  position: relative;
  /* width: 100%;*/
  /* height: 100vh;  */
}

@media screen and (max-width:477px) {
  .form-img{
    height: 50vh;
  }
}

.form-img img {
  width: 100%;
  height: 100%;
}

.form-img-tran {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(32, 33, 32, 0.741);
}

.form-img-tran h1{
  color: #fff;
  font-weight: 700;
  text-align: center;
  font-style: italic;
}

.form-img-tran p{
  font-size: 1.5rem;
  color: #fff;
  text-align: center;
}

.form-img-tran a{
  /* width: 20%;   */
  color: #fff;
  /* font-weight: 700; */
  font-size: 1.1rem;
  text-align: center;
  padding: 7px 10px;
  transform: scaleY(1);
  border-radius: 0.5rem;
  text-decoration: none;
  background-color: red;
  transition: all ease-in-out 0.5s;
}

.form-img-tran a:hover{
  color: #fff;
  transform: scaleY(1.1);
  background-color: rgb(249, 62, 62);
}
/* Form End */

/* Footer Start */
footer a {
  color: #fff;
  text-decoration: none;
}

.f1 h5 {
  font-style: italic;
  font-size: 1.5rem;
}

.f1 li,a {
  transform: translateX(0px);
  font-size: 1.1rem;
  transition: transform linear 0.5s;
}

.f1 li:hover{
  transform: translateX(4px);
}

.f1 p{
  font-size: 1rem;
}

.f1 li:hover a{
  text-decoration: underline;
  font-weight: 600;
}

.f1 input{
  padding-left: 1rem;
}

.f1 button{
  color: #fff;
  font-weight: 700;
  background-color: #2c2c2c;
  transform: translateX(0px);
  box-shadow: 2px 4px 5px #000;
  transition: all ease-in-out 0.5s;
}

.f1 button:hover{
  transform: translateX(4px);
  box-shadow: -3px 4px 5px #000;
  background-color: #3a3939d5;
}
/* Footer End */