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

* {
  box-sizing: border-box;
}

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

/* 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: var(--bgcolor_snow);
  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: var(--bgcolor_snow);
  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: var(--bgcolor_snow);
  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 SERVICE SECTION    */
/*--------------------------------*/

.section-header{ 
  width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
    text-align: 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);
}

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


@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:80px;
  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;
  }


}
/* End Media Query*/


  /*------------------------------*/
 /*    END OF SERVICE 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;
  font-weight: 500;
}


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



/***** RESPONSIVE STYLES *****/

/* 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: 1.1rem;
  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; }

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



}

/* 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: 10px;
  padding: 0.4rem 0.8rem;
}

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

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

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

.footer_container {
  background-attachment: scroll;
  border-radius: 0 0 60px 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; }

.nav-link {
  font-size: 0.85rem;
  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: 0.8rem;
  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;
  }
  
  .section_padding {
    padding: 20px 10px;
  }

  .navbar-brand img {
    max-height: 45px;
}
}

/* Hover effect */
.navbar-brand img:hover {
  transform: scale(1.05);
}


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

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