@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;
}

* {
  box-sizing: border-box;
}

/* 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: #fff;
  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: center;  /* Ensure heading text aligns right */

}

.heading_container p {
  text-align: center;  /* 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;
}



  /*---------------------------------*/
 /*     START OF HEADER SECTION     */
/*---------------------------------*/

.hero_area {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

/* Background image layer */
.hero_area::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/slider-img_4.png');
  background-size: cover;
  background-position: center bottom;
  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;
  margin-right: 2rem;
}

.navbar-brand img {
  height: 100px;
  width: auto;
  vertical-align: middle;
  transition: transform 0.1s ease;
}

.navbar-brand img:hover {
  transform: scale(1.05);
}

.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;
  border-radius: 10px;
  transition: all 0.3s;
  /* Default font size */
  font-size: 16px;
}

.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: 25px; /* Adjusted from 15px to move more right */
  top: 50%; /* Center vertically */
  transform: translateY(-50%); /* Perfect vertical centering */
  padding: 0;
  width: 37px;
  height: 42px;
  border: none;
  z-index: 999;
  transition: all 0.3s ease;
}

.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: 25px;
  height: 3px;
  background-color: #ffffff;
  margin: 4px 0;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  position: relative;
  border-radius: 5px;
  transition: all 0.3s;
  align-items: center;
}

.custom_nav-container .navbar-toggler span::before, .custom_nav-container .navbar-toggler span::after {
  content: "";
  position: absolute;
  left: 0;
  height: 80%;
  width: 100%;
  background-color: #ffffff;
  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 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: 30px;
  margin-bottom: 60px;
  position: relative;
  padding-bottom: 20px;
}

.section-header::before {
  content: '';
  position: absolute;
  display: block;
  width: 60px;
  height: 5px;
  background: var(--Primary2);
  bottom: 0;
  left: calc(50% - 25px);
}

.section-header h2 {
  margin-top: 20px;
  font-size: 36px;
  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);
}

@media (max-width: 576px) {
  .section-header h2 {
    margin-top: 10px;
    margin-bottom: 6px;
    font-size: clamp(1.8rem, 7vw, 2rem);
  }
}

.section-header p {
  text-align: center;
  padding: 0;
  margin: 0;
  font-size: clamp(1rem, 2.5vw, 1.125rem); /* Responsive font size: 16px–18px */
  font-weight: 500;
  color: #9195a2;
}

.section-with-bg {
  background-color: #f6f7fd;
}

/*-----------------------------*/
/*    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;
  }
  .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;
  }
  .partner-logo,
  .partner-logo-large {
    display: block;
    margin: 16px auto;
    width: 120px;
    min-width: 60px;
    max-width: 98vw;
  }
}



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



 /*---------------------------------*/
 /*     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    */
/*----------------------------*/




  /*---------------------------------*/
 /*     START OF MEDIA QUERIES      */
/*---------------------------------*/

/* Extra Large Screens (1400px and up) */
@media (min-width: 1400px) {
  html {
    font-size: 16px;
  }

  .img-box img {
    max-width: 100%;
    height: auto;
  }

  h1 { font-size: 3.5rem; }
  h2 { font-size: 2.8rem; }
  h3 { font-size: 2.2rem; }
  h4 { font-size: 1.8rem; }
  p { font-size: 1.1rem; }

  .navbar-brand img {
    max-width: 200px;
    height: auto;
  }

  .nav-link {
    font-size: 16px;
    padding: 0.5rem 1rem;
  }


}

/* Large Screens (1200px to 1399px) */
@media (max-width: 1200px) {
  html {
    font-size: 15px;
  }

  .img-box img {
    max-width: 95%;
    height: auto;
  }

  h1 { font-size: 3.2rem; }
  h2 { font-size: 2.5rem; }
  h3 { font-size: 2rem; }
  h4 { font-size: 1.6rem; }
  p { font-size: 1rem; }

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

  .nav-link {
    font-size: 14px;
    padding: 0.5rem 0.9rem;
  }

  .nav-link a {
    font-size: 1rem;
    padding: 0.5rem 0.9rem;
  }

  .info_section {
    display: none;
  }
  
  /* Hide all child elements for better performance */
  .info_section * {
    display: none;
  }

}

/* Medium Screens (992px to 1199px) */
@media (max-width: 992px) {
  html {
    font-size: 14px;
  }

  .img-box img {
    max-width: 90%;
    height: auto;
  }

  h1 { font-size: 2.8rem; }
  h2 { font-size: 2.2rem; }
  h3 { font-size: 1.8rem; }
  h4 { font-size: 1.4rem; }
  p { font-size: 1rem; }

  .navbar-brand img {
    max-width: 160px;
    height: auto;
  }

  .nav-link {
    font-size: 13px;
    padding: 0.4rem 0.8rem;
  }
  
  .nav-link a {
    font-size: 0.80rem;
    padding: 0.5rem 0.9rem;
  }



  .info_section {
    display: none;
  }
  
  /* Hide all child elements for better performance */
  .info_section * {
    display: none;
  }
  
}

/* Tablets (768px to 991px) */
@media (max-width: 768px) {
  html {
    font-size: 13px;
  }

  .img-box img {
    max-width: 85%;
    height: auto;
  }

  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.6rem; }
  h4 { font-size: 1.3rem; }
  p { font-size: 0.95rem; }

  .info_section {
    display: none;
  }

  /* Hide all child elements for better performance */
  .info_section * {
    display: none;
  }

  /* Adjust footer spacing if needed */
  .footer_container {
    padding-bottom: 20px;
  }

  /* Slider */
  .slider_section .detail-box h1 {
    margin-top: 10px;
    font-size: 1.6rem;
    line-height: 1.3;
    margin-bottom: 15px;
  }

  .slider_section .detail-box p {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 20px;
  }

  .navbar-brand img {
    max-width: 140px;
    height: auto;
  }

  .nav-link {
    font-size: 12px;
    padding: 0.4rem 0.7rem;
  }

  .footer_container {
    background-attachment: scroll;
    border-radius: 0 0 60px 0;
  }

  .about_section {
    border-radius: 0 0 200px 0;
  }

  .hero_area {
    border-radius: 0 0 200px 0;
  }

}


/* Mobile Landscape (576px to 767px) */
@media (max-width: 576px) {
  html {
    font-size: 12px;
  }

  .img-box img {
    max-width: 80%;
    height: auto;
  }

  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.8rem; }
  h3 { font-size: 1.4rem; }
  h4 { font-size: 1.2rem; }
  p { font-size: 0.9rem; }

  .slide-content {
    margin: 0 10px;
  }

  .card {
    max-width: 260px;
  }

  .name {
    font-size: 10px;
    font-weight: 500;
    margin-bottom: 5px;
  }
  .description {
    font-size: 12px;
    line-height: 1.3;
  }

  .navbar-brand img {
    max-width: 120px;
    height: auto;
  }

  .nav-link {
    font-size: 11px;
    padding: 0.3rem 0.6rem;
  }

  .footer_container {
    background-attachment: scroll;
    border-radius: 0 0 60px 0;
  }

  .about_section {
    border-radius: 0 0 200px 0;
  }

  .hero_area {
    border-radius: 0 0 200px 0;
  }


}

/* Mobile Portrait (375px and below) */
@media (max-width: 375px) {
  html {
    font-size: 11px;
  }

  .img-box img {
    max-width: 75%;
    height: auto;
  }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  h3 { font-size: 1.3rem; }
  h4 { font-size: 1.1rem; }
  p { font-size: 0.85rem; }

  /* Adjust spacing */
  .section_padding {
    padding: 30px 15px;
  }

  .navbar-brand img {
    max-width: 100px;
    height: auto;
  }

  .nav-link {
    font-size: 10px;
    padding: 0.3rem 0.5rem;
  }

  .footer_container {
    background-attachment: scroll;
    border-radius: 0 0 60px 0;
  }

  .about_section {
    border-radius: 0 0 200px 0;
  }

  .hero_area {
    border-radius: 0 0 200px 0;
  }

}

/* Handle both width and height for landscape mode */
@media (max-width: 768px) and (max-height: 600px) {
  .img-box img {
    max-width: 60%;
    height: auto;
  }
  
}

/* Add hover effect and transition */
.nav-link {
  transition: all 0.3s ease;
  white-space: nowrap;
  font-weight: 200;
}

.nav-link:hover {
  transform: translateY(-1px);
}


/* Add hover effect and transition */
.nav-link {
  transition: all 0.3s ease;
  white-space: nowrap;
  font-weight: 200;
}

.nav-link:hover {
  transform: translateY(-1px);
}
