@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Boldonse&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Source+Code+Pro:ital,wght@0,200..900;1,200..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Arvo:ital,wght@0,400;0,700;1,400;1,700&display=swap');

:root {
  --Primary1: #4f64b5;
  --Primary2: #c3693b;
  --Primary3: #8da0da;
  --Primary4: #2b5546;
  --bgcolor_snow: #FFFAFA;
  --bgcolor_milk: #F6F0E6;
  --text1: #000000;
  --text2: #1f1f1f;
  --text3: #ffffff;
}

/* Style for visited links */
a:visited {
  color: var(--text3);
}

body {
  margin-top: -20px;
  font-family: "Poppins", sans-serif;
  color: #0c0c0c;
  background-color: var(--bgcolor_snow);
  overflow-x: hidden;
  animation: fadeInPage 0.8s ease-in forwards;
}

@keyframes fadeInPage {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  50% {
    opacity: 0.5;
    transform: translateY(-10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Add this to initialize page state */
.page-transition {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bgcolor_snow);
  z-index: 9999;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.75s ease-out, visibility 0.75s ease-out;
}

/* Add class to hide transition overlay */
.page-transition.loaded {
  opacity: 0;
  visibility: hidden;
}


  


.layout_padding {
  padding: 90px 0;
}

.layout_margin {
  margin: 90px 0;
}

.layout_padding2 {
  padding: 75px 0;
}

.layout_padding2-top {
  padding-top: 75px;
}

.layout_padding2-bottom {
  padding-bottom: 75px;
}

.layout_padding-top {
  padding-top: 90px;
}

.layout_padding-bottom {
  padding-bottom: 90px;
}

.heading_container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: end;  /* Changed from start to end */
      -ms-flex-align: end;  /* Changed from start to end */
          align-items: flex-end;  /* Changed from flex-start to flex-end */
  text-align: right;  /* Added text alignment */
}

/* Adjust any child elements if needed */
.heading_container h2 {
  text-align: right;  /* Ensure heading text aligns right */
}

.heading_container p {
  text-align: right;  /* Ensure paragraph text aligns right */
}

.heading_container h2 span {
  color: var(--Primary1);
}

.heading_container.heading_center {
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  text-align: center;
}

a,
a:hover,
a:focus {
  text-decoration: none;
}

a:hover,
a:focus {
  color: initial;
}

.btn,
.btn:focus {
  outline: none !important;
  -webkit-box-shadow: none;
          box-shadow: none;
}



/* ****HEADER SECTION**** */

.hero_area {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  border-radius: 0 0 350px 0;
}

/* Background image layer */
.hero_area::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/slider-img_8.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  z-index: 1;
}



/* Gradient overlay layer */
.hero_area::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(141, 160, 218, 0.8),
    rgba(79, 100, 181, 0.8)
  );
  z-index: 2;
}

/* Content wrapper */
.hero_area > * {
  position: relative;
  z-index: 3;
}


.sub_page .hero_area {
  min-height: auto;
  border-radius: 0 0 45px 0;
}

.header_section {
  padding: 15px 0;
}

.header_section .container-fluid {
  padding-right: 25px;
  padding-left: 25px;
}

/* Logo styling */
.navbar-brand {
  display: flex;
  align-items: center;
  padding: 0;
  margin: 0;
}

.navbar-brand img {
  height: 250px;
  width: 250px;
  vertical-align: middle;
  transition: all 0.4s ease;
  object-fit: contain;
  margin-top: -20px;
}

/* Add margin-top to navbar-nav */
ul.navbar-nav {
  margin-top: 20px;
}

/* End of Logo styling */




.custom_nav-container {
  margin-top: 5px;
  padding: 0;
  padding-right: 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.custom_nav-container .navbar-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 1rem;  /* Modern spacing between nav items */
}

.custom_nav-container .navbar-nav .nav-item {
  margin: 0 5px; /* Added spacing between menu items */
}

.custom_nav-container .navbar-nav .nav-item .nav-link {
  padding: 5px 25px;
  color: #ffffff;
  text-align: center;
  text-transform: uppercase;
  font-weight: lighter;
  font-size: 16px;
  border-radius: 10px;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

.custom_nav-container .navbar-nav .nav-item:hover .nav-link, .custom_nav-container .navbar-nav .nav-item.active .nav-link {
  color: #000000;
  background-color: var(--Primary2);
}

.custom_nav-container .navbar-toggler {
  position: absolute;
  right: 15px;
  top: 15px;
  padding: 0;
  width: 37px;
  height: 42px;
  border: none;
  z-index: 999;
}

.custom_nav-container .navbar-toggler {
  padding: 0;
  width: 37px;
  height: 42px;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

.custom_nav-container .navbar-toggler span {
  display: block;
  width: 35px;
  height: 4px;
  background-color: var(--bgcolor_snow);
  margin: 7px 0;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  position: relative;
  border-radius: 5px;
  transition: all 0.3s;
}

.custom_nav-container .navbar-toggler span::before, .custom_nav-container .navbar-toggler span::after {
  content: "";
  position: absolute;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: var(--bgcolor_milk);
  top: -10px;
  border-radius: 5px;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

.custom_nav-container .navbar-toggler span::after {
  top: 10px;
}

.custom_nav-container .navbar-toggler[aria-expanded="true"] {
  -webkit-transform: rotate(360deg);
          transform: rotate(360deg);
}

.custom_nav-container .navbar-toggler[aria-expanded="true"] span {
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
}

.custom_nav-container .navbar-toggler[aria-expanded="true"] span::before, .custom_nav-container .navbar-toggler[aria-expanded="true"] span::after {
  -webkit-transform: rotate(90deg);
          transform: rotate(90deg);
  top: 0;
}

.custom_nav-container .navbar-toggler[aria-expanded="true"] .s-1 {
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
  margin: 0;
  margin-bottom: -4px;
}

.custom_nav-container .navbar-toggler[aria-expanded="true"] .s-2 {
  display: none;
}

.custom_nav-container .navbar-toggler[aria-expanded="true"] .s-3 {
  -webkit-transform: rotate(-45deg);
          transform: rotate(-45deg);
  margin: 0;
  margin-top: -4px;
}

.custom_nav-container .navbar-toggler[aria-expanded="false"] .s-1,
.custom_nav-container .navbar-toggler[aria-expanded="false"] .s-2,
.custom_nav-container .navbar-toggler[aria-expanded="false"] .s-3 {
  -webkit-transform: none;
          transform: none;
}


/* ****END OF HEADER SECTION**** */


  /*-------------------------------*/
 /*    START OF SLIDER SECTION    */
/*-------------------------------*/

.slider_section {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 45px 0;
}

.slider_section .row {
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.slider_section #customCarousel1 {
  width: 100%;
  position: unset;
}

.slider_section .detail-box {
  text-align: left;
  color: #ffffff;
}

.slider_section .detail-box h1 {
  margin-bottom: 20px;
  font-family: "Oswald", system-ui;
  text-shadow: 3px 3px 0px rgba(0, 0, 0, 0.67);
  font-size: 45px;
  letter-spacing: 1.5px;
  color: var(--Primary2);
}




.slider_section .detail-box p {
  margin-top: 10px;
  font-family: 'Arvo', sans-serif;
  color: var(--text3);
  line-height: 1.8;
}

.slider_section .detail-box .btn-box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin: 0 -5px;
  margin-top: 45px;
}

.slider_section .detail-box .btn-box a {
  margin: 5px;
  text-align: center;
  width: 185px;
}

.slider_section .detail-box .btn-box .btn1 {
  display: inline-block;
  padding: 12px 15px;
  background-color: var(--Primary2);
  color: #ffffff;
  border-radius: 5px;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  border: 1px solid var(--Primary2);
}

.slider_section .detail-box .btn-box .btn1:hover {
  color: #ffffff;
  -webkit-transform: translateY(-3px);
          transform: translateY(-3px);
}

.slider_section .img-box img {
  width: 100%;
  border-radius: 44% 56% 56% 44% / 30% 32% 68% 70% ;
}

.slider_section .carousel-indicators {
  position: unset;
  margin: 0;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-top: 45px;
}

.slider_section .carousel-indicators li {
  background-color: var(--bgcolor_snow);
  width: 15px;
  height: 15px;
  border-radius: 100%;
  opacity: 1;
}

.slider_section .carousel-indicators li.active {
  width: 23px;
  height: 23px;
  background-color: var(--Primary4);
}

  /*-----------------------------*/
 /*    END OF SLIDER SECTION    */
/*-----------------------------*/


/*-----------------------------*/
/*    START OF INSURANCE       */
/*-----------------------------*/

.partners_section h2 {
  margin-top: 30px;
  font-size: clamp(20px, 5vw, 40px);
  text-transform: uppercase;
  text-align: center;
  font-weight: 700;
  margin-bottom: clamp(15px, 2vw, 15px);
  color: var(--Primary2);
  font-family: "Oswald", system-ui;
  text-shadow: 2px 4px 6px rgba(0,0,0,0.1);
  line-height: 1.2;
  width: 120%;
  max-width: 120vw;
  margin: 0 auto;
  transform: translateX(-8%); /* Center the row visually (half of 20%) */
}

/* Partners Row: Center logos and wrap to next line if needed */
.partners-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px 48px;
  margin: 0 auto;
  padding: 32px 0;
  max-width: 1200px;
}

/* Make logos larger and always centered */
.partner-logo,
.partner-logo-large {
  width: 190px;
  max-width: 100%;
  min-width: 160px;
  height: auto;
  object-fit: contain;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive: Tablet */
@media (max-width: 991px) {
  .partner-logo,
  .partner-logo-large {
    width: 140px;
    min-width: 90px;
  }
  .partners-row {
    gap: 28px 16px;
    max-width: 800px;
  }
}

/* Responsive: Mobile */
@media (max-width: 576px) {
  .partner-logo,
  .partner-logo-large {
    width: 90px;
    min-width: 60px;
  }
  .partners-row {
    gap: 16px 8px;
    max-width: 98vw;
  }
}

@media (max-width: 991px) {
  .partners-row {
    display: block;
    text-align: center;
    padding: 24px 0;
    margin-bottom: -40px;
  }
  .partner-logo,
  .partner-logo-large {
    display: block;
    margin: 24px auto;
    width: 180px;
    min-width: 100px;
    max-width: 90vw;
  }
}

@media (max-width: 576px) {
  .partners-row {
    display: block;
    text-align: center;
    padding: 16px 0;
    margin-bottom: -30px;
  }
  .partner-logo,
  .partner-logo-large {
    display: block;
    margin: 16px auto;
    width: 120px;
    min-width: 60px;
    max-width: 98vw;
  }
}

@media (max-width: 991px) {
  .partners_section h2 {
    font-size: 2.8rem;
  }
}

@media (max-width: 576px) {
  .partners_section h2 {
    font-size: 2.2rem;
  }
}



/*-----------------------------*/
/*     END  OF INSURANCE       */
/*-----------------------------*/

  /*--------------------------------*/
 /*    START OF SERVICE SECTION    */
/*--------------------------------*/

.section-header {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}


.section-header h2 {
  font-size: 40px;
  text-transform: uppercase;
  text-align: center;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--Primary2);
  font-family: "Oswald", system-ui;
  text-shadow: 0px 3px 3px rgba(0,0,0,0.17);
  background-color: var(--bgcolor_snow);
  width: 100%;
  display: block;
}

.section-header p {
  text-align: center;
  padding: 0;
  margin: 0 auto;
  max-width: 800px;
  font-size: clamp(16px, 2.5vw, 18px);
  font-weight: 500;
  color: #9195a2;
  line-height: 1.6;
  font-family: 'poppins', sans-serif;
  width: 100%;
  display: block;
}


@media screen and (min-width: 992px) and (max-width: 1199px) {
  .section-header{ 
  width:60%;
}
.section-header h2{
  color:var(--Primary2);
}
}
@media screen and (min-width: 767.51px) and (max-width: 991px) {
  .section-header{ 
  width:70%;
}



}
@media (max-width: 767.5px) {
  .section-header{ 
  width:100%;
    margin-bottom:0px;
}
.section-header h2{
  font-size:30px;
  color:var(--Primary2);
}

.section-header p {
  font-size: 15px;

}

}

/* Responsive adjustments */
@media (max-width: 768px) {
  .section-header {
      padding: 30px 15px;
  }
}

@media (max-width: 480px) {
  .section-header {
      padding: 25px 10px;
  }
  
  .section-header h2 {
      margin-bottom: 15px;
  }
}


/*copy everything below*/
#our-team{
  padding-top: 10px; /* Reduce top padding */
  padding-bottom: 80px;
  background-color: var(--bgcolor_snow);
}
#our-team-header{
  margin-bottom:50px;
}
#our-team-header h3{
  color:#6d747a;
}
#our-team-content{
  text-align: center;
}
#our-team-content div div{
  background-color:var(--bgcolor_snow);
  transition: all 0.3s ease;
  overflow: hidden;
}
#our-team-content div div:hover{
  box-shadow:0px 5px 20px 2px rgba(167, 165, 165, 0.059);
  transform: scale(1.05);
}


#our-team-content div div p{
  padding-right:15%;
  padding-left:15%;
  padding-bottom:20px;
  color:#6d747a;
  font-size:12px;
}
#our-team-content div div {
  text-decoration:none;
  
}

#our-team-content div figure {
  overflow: hidden;
  margin: 0;
  border-radius: 20px;
  position: relative;
  align-self: center;
  max-width: 300px; /* Added max-width */
  width: 100%;
  margin: 0 auto;
  background-color: var(--bgcolor_snow);
}

#our-team-content div figure::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 20px;
  z-index: 1;
  margin-bottom: 20px;
}

#our-team-content div figure img {
  width: 100%;
  height: auto;
  max-height: 350px; /* Added max-height */
  object-fit: cover;
  transition: transform 0.5s ease;
  border-radius: 20px;
  margin-bottom: 20px;
}

#our-team-content div div:hover figure::before {
  opacity: 1;
  
}

#our-team-content div div:hover figure img {
  transform: scale(1.03);
  border-radius: 20px;
  filter: brightness(1.05);
  transition: all 0.3s ease;
  background-color: var(--bgcolor_snow);
}

#our-team-content div div h4{
  margin: bottom 20px;
  margin: top 10px;
  color:var(--Primary2);
  font-weight:600;
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
}


/* Smooth transition for content */
#our-team-content div div h4,
#our-team-content div div p {
    transition: all 0.3s ease;
    align-items: center;
    text-align: center;
    justify-content: center;
}


/* Medium screen size devices ========== 1199>*/

@media screen and (min-width: 991.6px) and (max-width: 1199px) {
  #our-team{
  padding-top:40px;
  padding-bottom:60px;
}
#our-team-header{
  margin-bottom:40px;
}
#our-team-content div div p{
  padding-right:10%;
  padding-left:10%;
  font-size:12px;
}
#our-team-content div div h4{
 font-size:20px;
}  
}/* End Media Query*/

/* Small screen size devices =========== 767.6> <991.5*/

@media screen and (min-width: 767.6px) and (max-width: 991.5px) {
  #our-team{
  padding-top:30px;
  padding-bottom:50px;
}
#our-team-header{
  margin-bottom:30px;
}
#our-team-content div div p{
  padding-right:5%;
  padding-left:5%;
  font-size:10px;
}
#our-team-content div div h4{
  font-size: 18px;
}


}/* End Media Query*/

/* XSmall screen size devices ========= <767.5*/
@media (max-width: 767.5px) {
  #our-team{
  padding-top:20px;
  padding-bottom:20px;
}
#our-team-header{
  margin-bottom:25px;
}
#our-team-content{
  text-align: left;
}
#our-team-content div div{
 position:relative;
  margin:10px;
}
#our-team-content div div p{
  position:absolute;
  top:35px;
  left:45%;
  padding-right:5%;
  padding-left:0%;
  font-size:11px;
}
  #our-team-content div div figure{
    width:80%;
    margin-top: 20px;
    justify-self: center;
  }
  #our-team-content div div h4{
    font-size: 20px;
  }


}

@media (max-width: 991px) {
  .section-header {
    display: block !important;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 24px 10px;
    text-align: center;
  }
  .section-header h2,
  .section-header p {
    display: block !important;
    text-align: center;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Tablet: block layout, full width, adjust font size */
@media (max-width: 991px) {
  .section-header {
    display: block !important;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 30px 12px;
    text-align: center;
  }
  .section-header h2,
  .section-header p {
    display: block !important;
    width: 100%;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  .section-header h2 {
    font-size: 32px;
  }
  .section-header p {
    font-size: 16px;
  }
}

/* Mobile: block layout, full width, smaller font size */
@media (max-width: 576px) {
  .section-header {
    display: block !important;
    width: 100%;
    max-width: 100%;
    padding: 20px 6px;
  }
  .section-header h2 {
    font-size: 24px;
    margin-bottom: 12px;
  }
  .section-header p {
    font-size: 14px;
  }
}

/* End Media Query*/


  /*------------------------------*/
 /*    END OF SERVICE SECTION    */
/*------------------------------*/



  /*--------------------------------*/
 /*     START OF ABOUT SECTION     */
/*--------------------------------*/

.about_section {
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  border-radius: 0 0 300px 0;
}

/* Background image layer */
.about_section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/slider-img_6.png');
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  background-attachment: fixed;
  z-index: 1;
}

/* Gradient overlay layer */
.about_section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(141, 160, 218, 0.8),
    rgba(79, 100, 181, 0.8)
  );
  z-index: 2;
}

/* Content wrapper */
.about_section > * {
  position: relative;
  z-index: 3;
}

.detail-box .heading_container h1 {
  margin-bottom: 20px;
  font-family: "Oswald", system-ui;
  text-shadow: 3px 3px 0px rgba(0, 0, 0, 0.67);
  font-size: 43px;
  letter-spacing: 1.5px;
  color: var(--Primary2);
  align-self: center;
  text-align: center;
}


.about_section .row {
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.about_section .img-box {
  position: relative;
}

.about_section .img-box img {
  width: 100%;
}

.about_section .detail-box p {
  margin-top: 10px;
  text-align: justify;
  color: var(--text3);
  font-family: 'popins', sans-serif;
  font-size: 15px;
  letter-spacing: normal;

}

.about_section .detail-box h2 {
  margin-top: 20px;
  font-family: "Boldonse", system-ui;
  font-size: 35px;
  letter-spacing: 1.5px;
  color: var(--text3);
}


.about_section .detail-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.about_section .detail-box a {
  display: inline-block;
  padding: 10px 45px;
  background-color: var(--Primary2);
  color: #ffffff;
  border-radius: 5px;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  border: 1px solid var(--Primary2);
  margin-top: 15px;
}

.about_section .detail-box a:hover {
  color: #ffffff;
  -webkit-transform: translateY(-3px);
          transform: translateY(-3px);
}

 /*----------------------------------*/
 /*     END OF ABOUT SECTION     */
/*----------------------------------*/


  /*----------------------------------*/
 /*     START OF CONTACT SECTION     */
/*----------------------------------*/

.row.contact-info {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 30px;
  margin: 40px 0;
}

.col-md-4 {
  flex: 0 0 auto;
  width: auto;
  max-width: 300px;
}

.section-header {
  margin-top: 15px;
  margin-bottom: 60px;
  position: relative;
  padding-bottom: 20px;
  align-items: center;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.section-header::before {
  background: var(--bgcolor_snow);
}


.section-header h2 {
  font-size: 40px;
  text-transform: uppercase;
  text-align: center;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--Primary2);
  font-family: "Oswald", system-ui;
  text-shadow: 0px 3px 3px rgba(0,0,0,0.17);
}


.section-header p {
  text-align: center;
  padding: 0;
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  color: #9195a2;
}

.section-with-bg {
  background-color: var(--bgcolor_snow);
}


/* Responsive adjustments */
@media (max-width: 768px) {
 
  .section-header h2 {
    font-size: 30px;
  }

  .section-header p {
    font-size: 15px;
  }

}


#contact {
  padding: 60px 0;
  margin-top: 40px; 
}

#contact .contact-info {
  margin-bottom: 20px;
  text-align: center;
}

#contact .contact-info i {
  font-size: 48px;
  display: inline-block;
  margin-bottom: 10px;
  color: var(--Primary1);
}

#contact .contact-info address,
#contact .contact-info p {
  margin-bottom: 0;
  color: var(--text1);
}

#contact .contact-info h3 {
  font-size: 18px;
  margin-bottom: 15px;
  font-weight: bold;
  text-transform: uppercase;
  color: var(--Primary2);
}

#contact .contact-info a {
  color: var(--Primary1);
  text-decoration: none;
  transition: all 0.3s ease;
}

#contact .contact-info a:hover {
  color: var(--Primary2);
}

#contact .contact-info a:visited {
  color: var(--Primary3);
}

#contact .contact-info a:active {
  color: var(--Primary4);
}

#contact .contact-address,
#contact .contact-phone,
#contact .contact-email {
  margin-bottom: 20px;
}

#contact .form #sendmessage {
  color: var(--Primary1);
  border: 1px solid var(--Primary4);
  display: none;
  text-align: center;
  padding: 15px;
  font-weight: 600;
  margin-bottom: 15px;
}

#contact .form #errormessage {
  color: var(--Primary2);
  display: none;
  border: 1px solid var(--Primary4);
  text-align: center;
  padding: 15px;
  font-weight: 600;
  margin-bottom: 15px;
}

#contact .form #sendmessage.show,
#contact .form #errormessage.show,
#contact .form .show {
  display: block;
}

#contact .form .validation {
  color: var(--Primary2);
  display: none;
  margin: 0 0 20px;
  font-weight: 400;
  font-size: 13px;
}

#contact .form input,
#contact .form textarea {
  padding: 10px 14px;
  border-radius: 0;
  box-shadow: none;
  font-size: 15px;
}

#contact .form button[type="submit"] {
  background: var(--Primary2);
  border: 0;
  padding: 10px 40px;
  color: #fff;
  transition: 0.4s;
  border-radius: 5px;
  cursor: pointer;
}

#contact .form button[type="submit"]:hover {
  background: var(--Primary2);
  color: black;
  -webkit-transform: translateY(-3px);
          transform: translateY(-3px);
}


/* Responsive adjustments */
@media (max-width: 991px) {
  .row.contact-info {
      flex-wrap: wrap;
      gap: 20px;
  }
  
  .col-md-4 {
      flex: 0 0 calc(50% - 20px);
  }
}

@media (max-width: 768px) {
  .row.contact-info {
      flex-direction: column;
      align-items: center;
  }
  
  .col-md-4 {
      width: 100%;
      max-width: 280px;
  }
}

 /*---------------------------------*/
 /*     END OF CONTACT SECTION     */
/*--------------------------------*/



  /*-----------------------------*/
 /*   START OF FOOTER SECTION   */
/*-----------------------------*/

.footer_container {
  position: relative;
  overflow: hidden;
  border-radius: 0 0 120px 2px;
  color: #101010;
}

/* Background image layer */
.footer_container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/slider-img_6.png');
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  background-attachment: fixed;
  z-index: 1;
}

/* Gradient overlay layer */
.footer_container::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(141, 160, 218, 0.8),
    rgba(79, 100, 181, 0.8)
  );
  z-index: 2;
}

/* Content wrapper */
.footer_container > * {
  position: relative;
  z-index: 3;
}



/* info section */
.info_section h4 {
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 20px;
  font-family: 'poppins', sans-serif;
}

.contact_link_box span {
  font-size: 14px;
  color: var(--text1);
  font-family: 'poppins', sans-serif;
}


/* Links */
.info_section .info_links a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-bottom: 15px;
  color: var(--text1);
  font-family: 'poppins', sans-serif;
}

.info_section .info_links a:hover {
  color: #f8842b;
}

.info_section form input {
  border: none;
  border-bottom: 1px solid var(--text1);
  background-color: transparent;
  width: 100%;
  height: 45px;
  color: var(--text1);
  outline: none;
}


.info_section form button {
  width: 100%;
  text-align: center;
  display: inline-block;
  padding: 10px 55px;
  background-color: var(--Primary2);
  color: #ffffff;
  border-radius: 0;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  border: 1px solid var(--Primary2);
  margin-top: 15px;
}

.info_section form button:hover {
  color: #ffffff;
  -webkit-transform: translateY(-3px);
          transform: translateY(-3px);
}

.contact_info_details {
font-family:'Poppins', Courier, monospace ;
}


/* Book an Appointment*/
.footer_section {
  position: relative;
  text-align: center;
}

.footer_section p {
  padding: 25px 0;
  margin: 0;
  font-family: "Poppins", monospace;
  font-size: 12px;
}

.footer_section p a {
  color: inherit;
}

.btn-box_2 {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  text-align: center;
  margin: 0 auto;
  width: 100%;
  padding-right: 50px;
  flex-wrap: wrap;
  gap: 15px;
}


.btn-box_2 a {
  margin: 5px;
  text-align: center;
  width: 185px;
  display: inline-block;
}

.btn-box_2 .btn1 {
  display: inline-block;
  padding: 12px 15px;
  background-color: var(--Primary2);
  color: #000000;
  border-radius: 5px;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  border: 1px solid var(--Primary2);
}

.btn-box_2 .btn1:hover {
  color: #ffffff;
  -webkit-transform: translateY(-3px);
          transform: translateY(-3px);
}

  /*----------------------------*/
 /*    END OF FOOTER SECION    */
/*----------------------------*/


  /*------------------------------*/
 /*    SCROLL ANIMATIONS         */
/*------------------------------*/

.scroll-animate {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.6s ease-out;
}

.scroll-animate.fade-in {
  opacity: 1;
  transform: translateY(0);
}

.scroll-animate.slide-left {
  transform: translateX(-100px);
}

.scroll-animate.slide-right {
  transform: translateX(100px);
}

.scroll-animate.slide-in {
  opacity: 1;
  transform: translateX(0);
}

/* Apply animations to sections */
.about_section,
.insurance_section,
.service_section,
.team_section,
.contact_section,
.case_section {
  opacity: 0;
  transition: all 0.8s ease-out;
}

.about_section.active,
.service_section.active,
.team_section.active,
.contact_section.active,
.case_section.active {
  opacity: 1;
  transform: translateY(0);
}

 /*----------------------------------*/
 /*   END SCROLL ANIMATIONS         */
/*---------------------------------*/



