@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_milk);
  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: #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: var(--bgcolor_milk);
  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_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 TEAM SECTION     */
/*-----------------------------*/

.team-heading {
  margin-top: 100px;
  margin-bottom: 80px;
  position: relative;
  padding-bottom: 20px;
}




.team-heading 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);
}

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




/* Responsive adjustments */
@media (max-width: 768px) {
  .team-heading {
      padding: 40px 0 0px;
      margin-top: 10px;
  }
  
  .team-heading h1 {
    font-size:30px;
  }

  .team-heading h2 {
    font-size:30px;
  color:var(--Primary2);
}

.team-heading p {
  font-size: 15px;
 
}  
}

.team{
  margin-top: 50px;
  margin-bottom: 100px;
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  align-items:center;

}
.person{
  padding-left: 10px;
  padding-right: 10px;
  width:310px;
  height:450px; 
  margin:5px;
  margin-top: 10px
}
.image{
  width:100%;
  height:300px;
  object-fit:cover;
  vertical-align: middle;
 border-top-right-radius:5px;
  border-top-left-radius:5px;
}
.desc{  
  height:100px;
  overflow:hidden;
  position:relative;
   border-bottom-right-radius:5px;
  border-bottom-left-radius:5px;
  
}
.head{
  position:absolute;
  top:0px;
  left:0%;
  width:100%;
  height:100%;
  display:flex;
  justify-content:center;
  align-items:center;
  flex-direction:column;   
  background:var(--Primary1);
   transition:.2s ease;   
   font-size: 5px;
}
.head h2{
 
  font-size: 23px;
  font-family: 'poppins', sans-serif;
  font-weight: 600;
  color: var(--Primary2);
  text-shadow: 2px 1px 0px rgba(0, 0, 0, 0.784);
}

.head span {
  font-size: 15px;
  font-family: 'poppins', sans-serif;
  font-weight: 400;
  color:var(--text3);
}
.shead{
  position:absolute;
  top:110px;
  left:0%;
  width:100%;
  height:100%;
  display:flex;
  opacity:0;  
  justify-content:center;
  align-items:center;
  background:var(--Primary1); 
 transition:.2s ease;  
 font-weight: 600;
}


.shead a {
  color: var(--bgcolor_snow);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  display: inline-block;
  transform-origin: center;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.shead a:hover {
  color: var(--bgcolor_snow);
  transform: scale(1.2);
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Optional: Add animation keyframes for more dynamic effect */
@keyframes zoomPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

.shead a:active {
  animation: zoomPulse 0.5s ease;
}


.shead a:visited {
  color: var(--bgcolor_snow);
}

i{
   font-size: 15px !important;
   font-family: 'Poppins', sans-serif;
}
.person:hover .shead{
  opacity:1;
  top:0;
  transition:.5s ease;  
}
.person:hover .head{   
 top:-100px;
  transition:.5s ease;   
}


  /*-----------------------------*/
 /*    END OF TEAM 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 {
  background: var(--Primary2);
  border: 0;
  padding: 10px 40px;
  color: #000000;
  transition: 0.4s;
  border-radius: 5px;
  cursor: pointer;
}

.btn-box_2 .btn1:hover {
  color: #ffffff;
  background: var(--Primary3);
}

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




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

.service_section .img-box {
  width: 220px;
  height: 220px;
}

}

/* 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: 0.9rem;
  padding: 0.4rem 0.7rem;
}

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

.service_section .img-box {
  width: 200px;
  height: 200px;
}

.detail-box .read-more {
  padding: 8px 10px;
  margin-top: -10px;
  font-size: 11px;
}

}

/* 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: 0.85rem;
  padding: 0.3rem 0.6rem;
}

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

}


@media (max-width: 480px) {
  .service_section .img-box {
      width: 180px;
      height: 180px;
  }

  .detail-box .read-more {
    padding: 8px 10px;
    margin-top: -10px;
    font-size: 11px;
  }

}



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

  .detail-box .read-more {
    padding: 8px 10px;
    margin-top: -10px;
    font-size: 11px;
  }

}

/* 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);
}
