﻿@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap");


:root {
  --header-height: 3rem;
  --first-color: #069C54;
  --first-color-alt: #048654;
  --title-color: #393939;
  --text-color: #707070;
  --text-color-light: #A6A6A6;
  --body-color: #FBFEFD;
  --container-color: #FFFFFF;

  --body-font: 'Poppins', sans-serif;
  --biggest-font-size: 2.25rem;
  --h1-font-size: 1.5rem;
  --h2-font-size: 1.25rem;
  --h3-font-size: 1rem;
  --normal-font-size: .938rem;
  --small-font-size: .813rem;
  --smaller-font-size: .75rem;

  --font-medium: 500;
  --font-semi-bold: 600;

  --mb-1: .5rem;
  --mb-2: 1rem;
  --mb-3: 1.5rem;
  --mb-4: 2rem;
  --mb-5: 2.5rem;
  --mb-6: 3rem;

  --z-tooltip: 10;
  --z-fixed: 100;
}

@media screen and (min-width: 768px){
  :root{
    --biggest-font-size: 4rem;
    --semibiggest-font-size: 3.6rem;
    --h1-font-size: 2.25rem;
    --h2-font-size: 1.5rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 1rem;
    --small-font-size: .875rem;
    --smaller-font-size: .813rem;
  }
}

*,::before,::after{
  box-sizing: border-box;
}

html{
  scroll-behavior: smooth;
}



/*body{
  margin: var(--header-height) 0 0 0;
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background-color: var(--body-color);
  color: var(--text-color);*/
/*  line-height: 1.6;*/
/*}*/
body {
    margin: 0;
    padding-top: 20px;
    padding-top: 61px;
    font-family: "Times New Roman", Times, serif;
    background-color: #f4f6f8;
}

h1,h2,h3,p,ul{
  margin: 0;
}

ul{
  padding: 0;
  list-style: none;
}

a{
  text-decoration: none;
}

img{
  max-width: 100%;
  height: auto;
}

.section {
   /* padding: 7rem 0 2rem;*/
}

.section-title, .section-subtitle{
  text-align: center;
}

.section-title{
  font-size: var(--h1-font-size);
  color: var(--title-color);
  margin-bottom: var(--mb-3);
}

.section-subtitle{
  display: block;
  color: var(--first-color);
  font-weight: var(--font-medium);
  margin-bottom: var(--mb-1);
}

.bd-container {
    max-width: 1258px;
    width: calc(100% - 2rem);
    margin-left: var(--mb-2);
    margin-right: var(--mb-2);
}

.bd-grid {
    display: grid;
    gap: 1.5rem;
}
/*.bd-grid_about {
    display: grid !important;*/
    /*grid-template-columns: 2fr 2fr !important;*/ /* 2 parts text, 1 part image */
    /*align-items: center !important;
    gap: 2rem !important;
}*/



.l-header {
    width: 100%;
    position: fixed;
   /* height: 87px;*/
    top: 0;
    left: 0;
    z-index: var(--z-fixed);
    background-color: var(--body-color);
}

.nav{
  max-width: 1024px;
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
@media (max-width: 767.98px) {
    .hideimg {
        display: none !important;
    }
}
/*--762--*/
@media screen and (max-width: 992px) {
    .hideimg {
        display: block;
    }
    .nav__menu {
        position: fixed;
        top: -100%;
        left: 0;
        width: 100%;
        padding: 1.5rem 0 1rem;
        text-align: center;
        background-color: var(--body-color);
        transition: .4s;
        box-shadow: 0 4px 4px rgba(0,0,0,.1);
        border-radius: 0 0 1rem 1rem;
        z-index: var(--z-fixed);
    }
}

.nav__item{
  margin-bottom: var(--mb-2);
}

.nav__link, .nav__logo, .nav__toggle{
  color: var(--text-color);
  font-weight: var(--font-medium);
}

.nav__logo:hover{
  color: var(--first-color);
}

.nav__link{
  transition: .3s;
}

.nav__link:hover{
  color: var(--first-color);
}

.nav__toggle{
  font-size: 1.3rem;
  cursor: pointer;
}

.show-menu{
  top: var(--header-height);
}

.active-link{
  color: var(--first-color);
}

.scroll-header{
  box-shadow: 0 2px 4px rgba(0,0,0,.1);
}

.scrolltop {
    position: fixed;
    right: 1rem;
    bottom: -20%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: .3rem;
    background: #ffc107;
    border-radius: .4rem;
    z-index: var(--z-tooltip);
    transition: .4s;
    visibility: hidden;
}

.scrolltop:hover{
  background-color: var(--first-color-alt);
}

.scrolltop__icon{
  font-size: 1.8rem;
  color: var(--body-color);
}

.show-scroll {
    visibility: visible;
    bottom: 1.5rem;
    height: 40px;
    width: 40px;
}

/*========== HOME ==========*/
/* Updated container styles for better layout and larger images */
.home__container {
    display: grid;
    /*grid-template-columns: 1.2fr 1fr;*/ /* Give 60% to text, 40% to image */
    align-items: center;
    gap: 2rem;
    padding: 2rem;
}


/* Make image more responsive and fill space */
.home__img,
.about__img {
    width: 100%;
    max-width: 500px;
    height: auto;
    justify-self: center;
}


.home__title {
    font-size: 48px;
    color: var(--first-color);
    margin-bottom: var(--mb-1);
}

.home__subtitle {
    font-size: var(--h1-font-size);
    margin-bottom: var(--mb-4);
    display: flex;
    margin-right: 57%;
    background-color: #18829e;
    color: white;
    font-weight: bold;
    font-size: 18px;
    padding: 10px 25px;
    border-radius: 29px;
    text-align: center;
}




/* Toggle function */
.Appointment_all + .contact-options.show {
    display: flex;
    
}

/*========== ABOUT ==========*/

.about__container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    align-items: center;
    gap: 2rem;
    padding: 2rem;
}
.about__data{
  text-align: center;
}

.about__description {
    margin-bottom: var(--mb-3);
    font-size: var(--h2-font-size);
}

.about__img{
  border-radius: .5rem;
  justify-self: center;
}

/*========== SERVICES ==========*/
.services__container{
  row-gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}



.services__img{
  width: 64px;
  height: 64px;
  fill: var(--first-color);
  margin-bottom: var(--mb-2);
}

.services__title{
  font-size: var(--h3-font-size);
  color: var(--title-color);
  margin-bottom: var(--mb-1);
}

.services__description{
  padding: 0 1.5rem;
}


/*========== CONTACT ==========*/
.contact__container{
  text-align: center;
}

.contact__description {
    margin-bottom: var(--mb-3);
    font-size: large;
}

/*========== FOOTER ==========*/
.footer__container{
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  row-gap: 2rem;
}

.footer__logo{
  font-size: var(--h3-font-size);
  color: var(--first-color);
  font-weight: var(--font-semi-bold);
}

.footer__description{
  display: block;
  font-size: var(--small-font-size);
  margin: .25rem 0 var(--mb-3);
}

.footer__social{
  font-size: 1.5rem;
  color: var(--title-color);
  margin-right: var(--mb-2);
}

.footer__title{
  font-size: var(--h2-font-size);
  color: var(--title-color);
  margin-bottom: var(--mb-2);
}

.footer__link{
  display: inline-block;
  color: var(--text-color);
  margin-bottom: var(--mb-1);
}

.footer__link:hover{
  color: var(--first-color);
}

.footer__copy{
  text-align: center;
  font-size: var(--small-font-size);
  color: var(--text-color-light);
  margin-top: 3.5rem;
}
.footer__content a.fa {
    font-size: 32px; /* Increase icon size */
    margin-right: 15px; /* Optional spacing between icons */
    transition: transform 0.3s ease;
}

    .footer__content a.fa:hover {
        transform: scale(1.2); /* Optional hover zoom effect */
        cursor: pointer;
    }

.footer__content i.bx {
    font-size: 32px;
    margin-left: 8px;
    vertical-align: middle;
}

/*========== MEDIA QUERIES ==========*/
@media screen and (min-width: 700px){
    .home__container,
    .about__container,
    .app__container {
        grid-template-columns: auto auto !important;
        align-items: center !important;
    }

    .about__data, .about__initial,
    .app__data, .app__initial,
    .contact__container, .contact__initial {
        text-align: justify;
    }

    .about__img {
        width: 600px;
        order: -1;
    }

  .contact__container{
    grid-template-columns: 1.75fr 1fr;
    align-items: center;
  }
  .contact__button{
    justify-self: center;
  }
}

@media screen and (min-width: 768px){
  body{
    margin: 0;
  }

    .section {
       /* padding-top: 5rem;*/
        scroll-margin-top: 80px;

    }

  .nav{
    height: calc(var(--header-height) + 1.5rem);
  }
  .nav__list{
    display: flex;

  }
    .nav__item {
        margin-left: var(--mb-5);
        margin-bottom: 0;
        font-weight: bold;
        font-size: x-large;
    }
  .nav__toggle{
    display: none;
  }

  .change-theme{
    position: initial;
    margin-left: var(--mb-2);
  }

    .home__container {
        height: 130vh;
        justify-items: center;
    }

  

}

@media screen and (min-width: 960px){
  .bd-container{
    margin-left: auto;
    margin-right: auto;
  }

    .home__img {
        width: 600px;
    }

  .about__container,
  .app__container{
    column-gap: 0rem;
  }
}

@media screen and (min-height: 721px) {
    .home__container {
        height: 640px;
    }
}

/*.container.home {
    position: relative;
    width: auto;
    height: auto;
    background-image: url(assets/photobg.png);
    background-size: cover;
    background-position: center 25px;
}*/



.photo {
    position: absolute;
    top: 0;
    left: 0;
    width: auto;
    height: auto;
    object-fit: cover;
}
/*<------------Button hover effect button start------->*/

.button {
    position: relative;
    display: inline-block;
    padding: 12px 24px;
    font-size: 16px;
    color: black;
    background-color: transparent;
    border: 3px solid green;
    text-decoration: none;
    overflow: hidden;
    z-index: 1;
    transition: color 0.9s ease;
    border-radius: 30px;
}

    .button::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 0;
        height: 100%;
        background-color: green;
        z-index: -1;
        transition: width 0.9s ease;
    }

    .button:hover::before {
        width: 100%;
    }

    .button:hover {
        color: white;
        transform: scale(1.05);
    }
/*<---Contact button ------>*/
.contact-button:hover {
    background-color: var(--first-color-alt);
}
/*<========================Button end================>*/

.contact-options {
    display: none;
    position: absolute;
    top: 105%;
    left: 0;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
    min-width: 160px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    z-index: 1;
}

    .contact-options a {
        display: block;
        padding: 12px 16px;
        text-decoration: none;
        color: #333;
    }

        .contact-options a:hover {
            background-color: #f1f1f1;
        }
    /*  ------< Presntation image >--------*/
.container presentation {
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

.presentaion__img {
    width: 100%;
    height: auto;
    max-height: 751px;
    object-fit: cover; /* crop to fit height while filling width */
    display: block;
    border-radius: 6%;
}

/*--------------COLOUR TEXT-------------------*/
.gradient-text {
   
    font-weight: bold;
    font-family: "Times New Roman", Times, serif;
    background: linear-gradient(to right, #2CB36B, #188C9D, #006DA7);
    -webkit-background-clip:text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}
/*<===================== About  flip=============================>*/
#more {
    display: none;
}


.gallery-container {
    width: 100%;
    margin: 0 auto; /* ✅ Center it */
    overflow: hidden;
    white-space: nowrap;
    /*  box-shadow: inset 0 0 10px rgba(0,0,0,0.1);*/
    /* background: #fff;*/
    padding: 25px 50px 21px 100px; /* Custom paddings */
}


.gallery-track {
    display: inline-flex;
    animation: scroll 30s linear infinite;
}

.gallery-item {
    flex: 0 0 auto;
    width: 300px;
    margin: 0 15px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    background: #fff;
    text-align: center;
}

    .gallery-item img {
        width: 100%;
        height: auto;
        display: block;
        object-fit: cover;
        aspect-ratio: 4 / 3; /* Maintains ratio */
    }

.caption {
    bottom: 20px;
    left: 20px;
    font-size: 20px;
    color: white;
    background: linear-gradient(45deg, #6ee7b7, #3b82f6);
    padding: 5px 15px;
    border-radius: 10px;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* Pause on hover */
.gallery-container:hover .gallery-track {
    animation-play-state: paused;
}
/* Responsive tweaks */ /*768*/
@media (max-width: 992px) {
    .gallery-item {
        width: 180px;
        margin: 0 6px;
    }

    .caption {
        font-size: 14px;
    }
}
/*--480px--*/
@media (max-width: 992px) {
    .gallery-item {
        width: 150px;
    }
}

/*    <-----------About------------->*/
.flip-card-wrapper {
    perspective: 1000px;
}

.flip-card {
    background-color: transparent;
    width: 100%;
    height: 200px;
    perspective: 1000px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 10px;
    padding: 15px;
    color: #fff; /* White text for both sides */
    background: linear-gradient(to right, #2CB36B, #188C9D, #006DA7); /* Gradient on both sides */
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    text-align: center;
}

.flip-card-back {
    transform: rotateY(180deg);
}

#downloadBtn {
    margin-left: 4%;
    margin-top:15%
}

/*<=============Pulse whatsapp=========>*/

.contwhatsapp {
    color: #25D366;
    animation: whatsapp-pulse 1s infinite;
    margin-left: var(--mb-5);
    font-size: 4rem !important;
    cursor: pointer;
}

.fullpage {
    position: fixed;
    visibility: visible;
    bottom: 1.5rem;
    height: 40px;
    width: 40px;
    /*right: 39px;*/
    bottom: 44px;
}

@keyframes whatsapp-pulse {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.25); /* Larger pulse */
    }
}

