/* Global Styles */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.firstFrontDiv{
    margin-top:8rem;
}
/*
.aboutDiv {
  position: relative; 
  background-image: url('/assets/images/medabout.jpg');
  background-size: cover;
  background-position: center;
  background-color: rgb(72, 118, 174); 
  height: 100vh;
}

.aboutDiv::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(72, 118, 174, 0.5); 
  z-index: 1; 
}

.firstFrontDiv .container {
  position: relative;
  z-index: 2; 
  padding-top: 30px; 
}

.firstFrontDiv h1 {
  font-size: 3rem; 
}

.firstFrontDiv .lead {
  font-size: 1.125rem; 
  line-height: 1.6; 
}

.firstFrontDiv .btn {
  font-size: 1.125rem; 
  padding: 0.75rem 2rem;
  border-radius: 30px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

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

.firstFrontDiv p {
  text-align: justify;
}

.firstFrontDiv .text-warning {
  color: #ffc107 !important; 
}

@media (max-width: 768px) {
  .firstFrontDiv h1 {
    font-size: 2rem; 
  }

  .firstFrontDiv .lead {
    font-size: 1rem;
  }
}

*/
.aboutDiv {
  position: relative;
  background-image: url('/assets/images/medabout.jpg');
  background-size: cover;
  background-position: center;
  background-color: rgb(72, 118, 174);
  height: 100vh;
}

.aboutDiv::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(72, 118, 174, 0.3);
  z-index: 1;
}

.firstFrontDiv .container {
  position: relative;
  z-index: 2;
  padding-top: 30px; 
}

.firstFrontDiv h1 {
  font-size: 3rem;
}

.firstFrontDiv .lead {
  font-size: 1.125rem; 
  line-height: 1.6;
}

.firstFrontDiv .btn {
  font-size: 1.125rem;
  padding: 0.75rem 2rem;
  border-radius: 30px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

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

.firstFrontDiv p {
  text-align: justify; 
}

.firstFrontDiv .text-warning {
  color: #ffc107 !important; }

/* Mobile Responsive */
@media (max-width: 768px) {
  .firstFrontDiv h1 {
    font-size: 2rem; 
  }

  .firstFrontDiv .lead {
    font-size: 1rem; 
  }
}



/* Navbar Styles */
.navbar {
    background-color: #fff;
}

.navbar .navbar-brand {
    color: #020202;
    font-size: 32px;
}

.navbar .navbar-nav .nav-link {
    color: #333 !important;
    font-size: 22px;
}

.navbar .navbar-nav .nav-link:hover {
    color: #f8b400;
}

.navbar .navbar-nav .active .nav-link{
    color : #f8b400 !important;
}

.floating-icon{
    height: 4rem;
    width: auto;
}

/* Hero Section */
.hero-section {
    background: url('/frontend/images/div.jpeg') no-repeat center center;
    background-size: cover;
    color: white;
    text-align: left;
    position: relative;
    font-family: 'Arial', sans-serif;
    margin-top:90px;
    min-height: 500px;
}

.hero-section h1 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    color:#fff;
}

.hero-section p {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 30px;
}
.img-custom {
    margin-top:0px;
    margin-bottom: 20px;
}

.img-custom img {
    width: 140px;
    height: auto;
}
.btn-call {
    background-color: #ff5e5e;
    color: white;
    font-size: 20px;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    display: inline-block;
    margin-right: 10px;
}

.btn-icon {
    font-size: 24px;
    background: white;
    color: #ff5e5e;
    padding: 12px 18px;
    border-radius: 50%;
    text-decoration: none;
    vertical-align: middle;
}

.footer-banner {
    background-color: #ff5e5e;
    padding: 5px;
    text-align: left;
    color: white;
    font-size: 18px;
    font-weight: bold;
    position: absolute;
    bottom: 0;
    width: 100%;
}
.footer-banner p{
    margin-bottom: 5px;
}

.btn-custom {
    padding: 12px 30px;
    font-size: 18px;
    color:#fff;
    border-radius: 1.5rem;
    background-color: #ff5757;
}
.call-button-custom-2{
    text-decoration: none;
    color:#fff;
    font-size:4.25rem;
}
.review-class{
    width: 45px; height: 45px; object-fit: cover;
}
.custom-button-left{
    top: 45%; left: 0;
}
.custom-button-right{
    top: 45%; right: 0;
}
/* About Section */
.about-section {
    padding: 80px 0;
}

.about-section img {
    max-width: 100%;
}

/* Services Section */
.services-section {
    padding: 1em 0;
}

.services-section .service-box {
    height: 100%;
    padding: 30px;
    border: 1px solid #ddd;
    background-color: white;
    margin-bottom: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.services-section .service-box h3 {
    font-weight: bold;
}

/* Portfolio Section */
.portfolio-section {
    padding: 80px 0;
}

.portfolio-section img {
    max-width: 100%;
    height: auto;
    margin-bottom: 30px;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
}

.contact-section .btn {
    padding: 12px 30px;
    font-size: 18px;
}

/* Footer Styles */
.footer {
    padding: 30px 0;
    background-color: #333;
    color: white;
}

.footer ul {
    list-style: none;
}

.footer ul li {
    display: inline;
    margin: 0 10px;
}

.footer ul li a {
    color: white;
    text-decoration: none;
}

.footer ul li a:hover {
    color: #f8b400;
}

#testimonialSlider {
    transition: transform 0.5s ease-in-out;
    display: flex;
    gap: 16px;
}

#testimonialSlider > .col-md-4 {
    flex: 0 0 auto;
}
@media (max-width: 768px) {
    #testimonialSlider > .p-2 {
        width: 100% !important;
    }
}
@media (min-width: 769px) and (max-width: 992px) {
    #testimonialSlider > .p-2 {
        width: 50% !important;
    }
}


@media (max-width: 991px) {
    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-section p {
        font-size: 1rem;
    }

    .btn-call {
        font-size: 1rem;
        padding: 10px 20px;
    }

    .btn-icon {
        font-size: 1.2rem;
    }
    .img-custom{
        margin-top:70px;
    }
    .img-custom img {
        width: 100px;
    }
    .floating-icon{
        height: 2.5rem;
        width: auto;
    }
}
@media (max-width:363px){
    .hero-section{
        margin-top:120px;
        max-height: 420px;
        min-height: 420px;
    }
    .floating-icon{
        height: 2rem;
        width: auto;
    }
}
