@import url("https://fonts.googleapis.com/css2?family=Quicksand:wght@400;500;600;700&display=swap");

:root {
  --color-blue: #1e5fa9;
  --color-green: #39a949;
  --color-purple: #722d86;
  --color-orange: #f39221;
  --color-red: #ec1c24;
  --color-text: #333333;
  --color-bg: #ffffff;
  --color-bg-light: #f9fbfd;
  --font-main: "Quicksand", sans-serif;
  --transition: all 0.3s ease;
  --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  --border-radius: 20px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.6;
  overflow-x: hidden;
}


/*SOCIAL ICONS*/
/* Social Media Icons */
.social-btn {
  display: flex;
  width: auto;
  align-items: center;
  justify-content: space-between;
  /* padding-left: 10px;
  padding-right: 10px;
  padding-top: 5px;
  padding-bottom: 5px; */
  padding: 5px;
  border: 1px;
  border-radius: 50%;
  margin-bottom: 5px;
  position: relative;
  /* right: -100px; */
  transition: right 0.4s ease;
}

.social-btn:hover {
  right: -0px;
  transition: right 0.4s ease;
}

.social {
  position: fixed;
  bottom: 5px;
  right: 10px;
  z-index: 2;
}

.social a {
  text-decoration: none;
}

.color-facebook {
  background-color: #1877F2;
  transition: box-shadow .4s ease;
}

.color-instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.color-whatsapp {
  background-color: #25D366;
}

.color-whatsapp i {
  font-size: 2rem;
  padding-left: 3px;
  padding-bottom: 2px;
}

.color-linkedin {
  background-color: #0A66C2;
}

.google-font {
  font-family: "Lato", sans-serif;
  font-size: 1.25rem;
}

.social-btn img {
  width: 40px;
}

.social-btn p {
  color: white;

  margin-top: 0px;
  margin-bottom: 0px;
}

.icons8-facebook-app {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-size: 100%;
}

.color-facebook:hover {
  box-shadow: 0 0 10px #1877F2;
}

.color-linkedin:hover {
  box-shadow: 0 0 10px #0A66C2;
}

.icons8-instagram {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-size: 100%;
}

.color-instagram:hover {
  box-shadow: 0 0 10px rgba(220, 39, 67, 0.7);
}

.icons8-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background-size: 100%;
}

.color-whatsapp:hover {
  box-shadow: 0 0 10px #25D366;
}

.icons8-facebook-app,
.icons8-whatsapp,
.icons8-instagram {
  color: white;
  font-size: 1.5rem;
}





.active {
  border-bottom: 3px solid #1e5fa9;
}


a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navigation Bar */
header {
  background: var(--color-bg);
  box-shadow: var(--shadow);
  /* padding: 10px 0; */
  position: sticky;
  top: 0;
  z-index: 999;
  transition: var(--transition);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 100px;
  width: auto;
  transition: var(--transition);
}



nav ul {
  display: flex;
  gap: 30px;
}

nav ul li a {
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--color-text);
}

nav ul li a:hover {
  color: var(--color-blue);
}

nav ul li a.btn-join {
  background-color: var(--color-blue);
  color: white;
  padding: 10px 25px;
  border-radius: 50px;
}

nav ul li a.btn-join:hover {
  background-color: var(--color-purple);
  transform: translateY(-2px);
}

/* Mobile Menu Button */
.hamburger {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--color-blue);
  z-index: 1001;
}

/*--------- End of Navbar --------------*/

/* ----------------- Home Page-------------- */

/* Hero Section */
.home-hero {
  background-image: url("../assets/images/hero_new.jpg");
  position: relative;
  min-height: 80vh;
  padding: 100px 0;
  background-size: cover;
  background-position: center;
  /* background-attachment: fixed; */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.home-hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
}

.home-hero-content {
  position: relative;
  z-index: 1;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(8px);
  padding: 50px;
  border-radius: var(--border-radius);
  border: 1px solid rgba(255, 255, 255, 0.2);
  max-width: 900px;
  margin: 0 20px;
}

.home-hero p {
  font-size: 1.2rem;
  margin-bottom: 20px;
  line-height: 1.8;
  text-align: justify;
}

.home-hero p:last-child {
  margin-bottom: 0;
}

.home-hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Home Our Values Section */
.values {
  padding: 80px 0;
  background-color: var(--color-bg-light);
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2.5rem;
  color: var(--color-blue);
  margin-bottom: 15px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.value-card {
  background: white;
  padding: 40px;
  border-radius: var(--border-radius);
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.value-card:hover {
  transform: translateY(-10px);
}

.value-card i {
  font-size: 3rem;
  margin-bottom: 20px;
  display: block;
}

.value-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.v-blue h3 {
  color: var(--color-blue);
}

.v-green h3 {
  color: var(--color-green);
}

.v-orange h3 {
  color: var(--color-orange);
}

.v-purple h3 {
  color: var(--color-purple);
}

/* ------------------ End of Home Page ---------------- */

/* -------------------Start of Programs page --------------- */

.program-home-hero {
  background-image: url("../assets/images/hero_new.jpg");
  position: relative;
  height: 80vh;
  padding: 100px 0;
  background-size: cover;
  background-position: center;
  /* background-attachment: fixed; */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.program-home-hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
}

.program-hero-content {
  position: relative;
  z-index: 1;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(8px);
  padding: 50px;
  border-radius: var(--border-radius);
  border: 1px solid rgba(255, 255, 255, 0.2);
  max-width: 900px;
  margin: 0 20px;
}

.program-home-hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  /* margin-bottom: 20px; */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.programs-vibrant {
  padding: 60px 0;
  background: #fff;
}

.programs-vibrant .container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 15px;
}

.programs-stack {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  color: #fff;
}

.program-box {
  padding: 50px;
}

.program-orange {
  background: var(--color-orange);
}

.program-blue {
  background: var(--color-blue);
}

.program-green {
  background: var(--color-green);
}

.program-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.program-box h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.program-duration {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.program-text {
  font-size: 1.2rem;
  line-height: 1.7;
}

.program-text.intro {
  margin-bottom: 25px;
}

.services-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.services-list li {
  font-size: 1.2rem;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 15px;
}

.services-list i {
  font-size: 1rem;
  margin-top: 5px;
}

/* ----------------- End of Programs Page -------------- */

/* ------------- Start of About Page ---------------- */
/* About Section New Layout */

.about-hero-section {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("../assets/images/about-hero.jpeg");
  min-height: 100vh;
  background-size: cover;
  background-position: center;
  /* background-attachment: fixed; */
  display: flex;
  align-items: center;
  padding: 100px 0;
  color: white;
}

.about-hero-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px;
}

.about-hero-inner h2 {
  font-size: 3.5rem;
  margin-bottom: 30px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.about-text-content {
  /* text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3); */
  background: rgba(0, 0, 0, 0.4);

  /* background: rgba(114, 45, 134, 0.85); */
  /* Purple from logo with transparency */
  padding: 50px;
  border-radius: var(--border-radius);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.about-text-content p {
  font-size: 1.25rem;
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: justify;
}

.about-text-content p:last-child {
  margin-bottom: 0;
}

.about-text-content ul {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
}

.about-text-content ul li {
  margin-bottom: 10px;
}

/* ----------------- End Of About Page ---------------- */

/* ---------------- Start of Therapist Page -------------- */
/* Therapists Section */

.therapist-hero {
  background-image: url("../assets/images/1-01.jpg");
  position: relative;
  height: 86vh;
  padding: 100px 0;
  background-size: cover;
  background-position: center;
  /* background-attachment: fixed; */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.therapist-hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
}

.therapist-hero-content {
  position: relative;
  z-index: 1;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(8px);
  padding: 50px;
  border-radius: var(--border-radius);
  border: 1px solid rgba(255, 255, 255, 0.2);
  max-width: 900px;
  margin: 0 20px;
}

.therapist-hero-content p {
  font-size: 1.2rem;
  margin-bottom: 20px;
  line-height: 1.8;
}

.therapist-hero-content p:last-child {
  margin-bottom: 0;
}

.therapist-hero-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.therapists-section {
  padding: 100px 0;
  background-color: var(--color-bg-light);
}

.therapists-grid {
  display: flex;
  flex-direction: column;
  /* grid-template-columns: repeat(4, 1fr); */
  gap: 30px;
}

.therapist-card {
  background: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  transition: all 0.4s ease;
  padding: 30px 20px;
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.therapist-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: var(--color-blue);
}

.therapist-img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 25px;
  border: 5px solid var(--color-bg-light);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
  flex-shrink: 0;
}

.therapist-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.therapist-card:hover .therapist-img {
  border-color: var(--color-blue);
  transform: scale(1.05);
}

.therapist-card:hover .therapist-img img {
  transform: scale(1.1);
}

.therapist-info {
  width: 100%;
}

.therapist-info h3 {
  font-size: 1.4rem;
  color: var(--color-blue);
  margin-bottom: 8px;
  font-weight: 700;
}

.therapist-info .role {
  font-weight: 600;
  color: var(--color-purple);
  margin-bottom: 20px;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-block;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-bg-light);
}

.therapist-info .description {
  font-size: 0.95rem;
  color: #333;
  font-weight: 500;
  line-height: 1.6;
  text-align: justify;
}

/* ------------------ End of Therapist Page ------------- */

/* ------------------ Start of COntact Us Page ------------ */

/*.contact-section{*/
/*  padding:40px 20px;*/
/*}*/

/*.section-title{*/
/*  text-align:center;*/
/*  margin-bottom:30px;*/
/*}*/

/* Layout */
/*.media-section{*/
/*  display:flex;*/
/*  gap:40px;*/
/*  flex-wrap:wrap; */
/*  justify-content:center;*/
/*}*/

/* Video */
/*.video-box{*/
/*  width:320px;*/
/*}*/

/*.video-box video{*/
/*  width:100%;*/
/*  height:560px;*/
/*  object-fit:cover;*/
/*  border-radius:10px;*/
/*}*/

/* Images area */
/*.images-area{*/
/*  flex:1;*/
/*  display:grid;*/
/*  grid-template-columns:repeat(3,1fr);*/
/*  gap:20px;*/
/*}*/

/* Flip card */
/*.flip-card{*/
/*  width:100%;*/
/*  height:220px; */
/*  perspective:1000px;*/
/*}*/

/*.flip-inner{*/
/*  width:100%;*/
/*  height:100%;*/
/*  position:relative;*/
/*  transition:0.6s;*/
/*  transform-style:preserve-3d;*/
/*}*/

/*.flip-card:hover .flip-inner{*/
/*  transform:rotateY(180deg);*/
/*}*/

/*.flip-inner img{*/
/*  position:absolute;*/
/*  width:100%;*/
/*  height:100%;*/
/*  object-fit:cover;*/
/*  border-radius:10px;*/
/*  backface-visibility:hidden;*/
/*}*/

/*.back{*/
/*  transform:rotateY(180deg);*/
/*}*/

/* staircase look */
/*.card2{ margin-top:80px; }*/
/*.card3{ margin-top:160px; }*/

/* Tablet */
/* Tablet - IMPROVED */
/*@media(max-width:992px){*/
/*  .media-section{*/
/*    flex-direction:column;*/
/*    align-items:center;*/
/*    gap:30px;*/
/*  }*/

/*  .video-box{*/
/*    width:100%;*/
/*    max-width:360px;*/
/*    order:2; */
/*  }*/

/*  .images-area{*/
/*    grid-template-columns:repeat(2,1fr);*/
/*    width:100%;*/
/*    max-width:800px; */
/*    order:1;*/
/*  }*/

/*  .card2,*/
/*  .card3{*/
/*    margin-top:0;*/
/*  }*/
/*}*/

/* Mobile - IMPROVED */
/*@media(max-width:600px){*/
/*  .images-area{*/
/*    grid-template-columns:1fr;*/
/*    max-width:100%;*/
/*  }*/

/*  .video-box video{*/
/*    height:280px;*/
/*  }*/

/*  .contact-section{*/
/*    padding:20px 10px; */
/*  }*/
/*}*/



.contact-hero-section {
            padding: 40px 5%;
        }

        .contact-hero-container {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 40px;
        }

        /* Left Image */
        .contact-hero-container img {
            width: 100%;
            max-width: 650px;
            height: auto;
            border-radius: 10px;
            object-fit: cover;
        }

        /* Right Video */
        .contact-hero-container .video {
            width: 100%;
            max-width: 300px;
            /* yahan se video ka size control hoga */
        }

        .contact-hero-container .video video {
            width: 100%;
            height: auto;
            border-radius: 10px;
        }

        @media (max-width: 768px) {

            .contact-hero-container {
                flex-direction: column;
                text-align: center;
            }

            .contact-hero-container img {
                max-width: 100%;
            }

            .contact-hero-container .video {
                max-width: 100%;
            }
        }





.contact-hero {
  background-image: url("../assets/images/contact.jpg");
  position: relative;
  min-height: 86vh;
  padding: 100px 0;
  background-size: cover;
  background-position: center;
  /* background-attachment: fixed; */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.contact-hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
}

.contact-hero-content {
  position: relative;
  z-index: 1;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(8px);
  padding: 50px;
  border-radius: var(--border-radius);
  border: 1px solid rgba(255, 255, 255, 0.2);
  max-width: 900px;
  margin: 0 20px;
}

.contact-hero-content p {
  font-size: 1.2rem;
  margin-bottom: 20px;
  line-height: 1.8;
}

.contact-hero-content p:last-child {
  margin-bottom: 0;
}

.contact-hero-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.contact-info-wrapper {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.contact-info-card {
  padding: 35px 30px;
  border-radius: 14px;
  text-align: center;
  color: #fff;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.contact-info-card i {
  font-size: 2.2rem;
  margin-bottom: 15px;
}

.contact-info-card h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.contact-info-card p {
  font-size: 1rem;
  line-height: 1.6;
}

/* Individual card colors */
.card-phone {
  background: var(--color-blue);
}

.card-email {
  background: var(--color-green);
}

.card-location {
  background: var(--color-orange);
}

/* ----------- End Of contact Us Page-------------- */

/* ------------------ Start of News & Events Page ------------ */

.news-events-hero {
  background-image: url("../assets/images/event104.jpeg");
  /* Reusing about hero or generic one */
  position: relative;
  min-height: 86vh;
  padding: 100px 0;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.news-events-hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

.news-events-hero .container {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.news-events-hero h2 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.news-events-hero p {
  font-size: 1.2rem;
  line-height: 1.6;
  height: 100%;
}

.events-section {
  padding: 80px 0;
  background-color: var(--color-bg-light);
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.event-card {
  background: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.event-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.event-date {
  background: var(--color-blue);
  color: white;
  padding: 15px;
  text-align: center;
  width: 80px;
  position: absolute;
  margin: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 10;
}

/* Adjust card content padding to account for absolute date if needed, 
   but cleaner to have date relative or separate. 
   Let's make card relative so date sits on top if we had an image top, 
   but here we have text. Let's make it a Flex row or just block.
   Design choice: Simple Card. 
*/
.event-card {
  position: relative;
  padding-top: 0;
  /* Clear top padding */
}

.event-date {
  position: relative;
  width: auto;
  display: inline-block;
  margin: 0;
  background: transparent;
  color: var(--color-blue);
  box-shadow: none;
  padding: 25px 25px 5px 25px;
  /* Top Left Right Bottom */
  text-align: left;
}

.event-date .day {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
}

.event-date .month {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
}

/* New Styles for Event Card Image */
.event-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

/* Full Description in Modal */
.event-full-description {
  margin-bottom: 30px;
  text-align: left;
}

.event-full-description p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 15px;
  color: #444;
}

.event-content {
  padding: 0 25px 25px 25px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.event-content h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: var(--color-text);
  line-height: 1.3;
}

.event-content p {
  color: #666;
  margin-bottom: 20px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  /* Limit to ~3 lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.btn-view-more {
  background: var(--color-green);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 50px;
  cursor: pointer;
  align-self: flex-start;
  font-weight: 600;
  transition: var(--transition);
}

.btn-view-more:hover {
  background: var(--color-blue);
}


/* Gallery Modal */
.gallery-modal {
  display: none;
  /* Hidden by default */
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
  animation: fadeIn 0.3s;
}

@keyframes fadeIn {
  from {
    opacity: 0
  }

  to {
    opacity: 1
  }
}

.gallery-content {
  position: relative;
  margin: 5% auto;
  padding: 20px;
  width: 90%;
  max-width: 1200px;
  background: #fff;
  border-radius: 10px;
}

.close-gallery {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.close-gallery:hover,
.close-gallery:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.gallery-content h2 {
  margin-bottom: 20px;
  color: var(--color-blue);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 15px;
}

.gallery-grid img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.2s;
}

.gallery-grid img:hover {
  transform: scale(1.03);
  opacity: 0.9;
}


/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  z-index: 3000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  align-items: center;
  justify-content: center;
}

.lightbox img {
  max-width: 90%;
  max-height: 90vh;
  border-radius: 5px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.close-lightbox {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 3001;
}

.close-lightbox:hover {
  color: var(--color-red);
}

@media (max-width: 768px) {
  .news-events-hero h2 {
    font-size: 2.5rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
}

@media (max-width: 480px) {
  .news-events-hero h2 {
    font-size: 1.5rem;
  }

  .event-card .event-content h3 {
    font-size: 1.2rem;
  }
}

/* Forms */
.form-container {
  max-width: 800px;
  margin: 80px auto;
  padding: 40px;
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 5px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #eee;
  border-radius: 10px;
  font-family: var(--font-main);
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-blue);
}

button[type="submit"] {
  background: var(--color-blue);
  color: white;
  border: none;
  padding: 15px 40px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  width: 100%;
}

button[type="submit"]:hover {
  background: var(--color-purple);
  transform: scale(1.02);
}

/* Grid Layout for Join Form */
.form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.form-row .form-group {
  flex: 1;
}

/* ------------------ start of Join Page ------------ */

.join-hero {
  background-image: url("../assets/images/contact.jpg");
  position: relative;
  min-height: 86vh;
  padding: 100px 0;
  background-size: cover;
  background-position: center;
  /* background-attachment: fixed; */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.join-hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
}

.join-hero-content {
  position: relative;
  z-index: 1;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(8px);
  padding: 50px;
  border-radius: var(--border-radius);
  border: 1px solid rgba(255, 255, 255, 0.2);
  max-width: 900px;
  margin: 0 20px;
}

.join-hero-content p {
  font-size: 1.2rem;
  margin-bottom: 20px;
  line-height: 1.8;
}

.join-hero-content p:last-child {
  margin-bottom: 0;
}

.join-hero-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.admission-form h2 {
  background-color: #d1e1f1;
  padding: 10px 20px;
  font-size: 1.2rem;
  border-radius: 5px;
  margin-bottom: 25px;
  color: #333;
  border-bottom: 3px solid var(--color-blue);
}

.checkbox-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 20px;
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.checkbox-item input {
  width: auto;
}

.form-download a {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #1e5fa9;
  padding: 20px 40px;
  max-width: 200px;
  margin: 0 auto;
  text-align: center;
  color: white;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease-in;
}

.form-download a:hover {
  background-color: #083160;
  transition: all 0.3s ease-in;
}

/* .download-btn{
  text-align: center;
} */

/* ------------------- End of Join Page ---------------- */




/* Footer */
footer {
  background: #083160;
  color: white;
  padding: 20px 0 10px;
  text-align: left;
}

.footer-content {
  margin-bottom: 30px;
}

.footer-logo img {
  height: 60px;
  margin: 0;
  border-radius: 15px;
}

.footer-nav-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 20px;
}

/* Ensure social icons stick to the right even if wrapped, unless screen is small */
.social-icons {
  margin-left: auto;
  display: flex;
  gap: 15px;
}

.footer-links {
  display: flex;
  justify-content: flex-start;
  gap: 30px;
  flex-wrap: wrap;
}

.social-icons {
  display: flex;
  gap: 20px;
}

.social-icon {
  width: 40px;
  height: 40px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #083160;
  transition: var(--transition);
  font-size: 1.2rem;
}

.social-icon:hover {
  background: #083160;
  color: WHITE;
  transform: translateY(-3px);
}

.footer-links a {
  font-weight: 600;
}

.footer-links a:hover {
  text-decoration: underline;
}

.contact-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 30px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
  flex: 1;
  min-width: 250px;
  cursor: pointer;

}

.contact-item i {
  font-size: 1.5rem;
  background: white;
  color: #083160;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.appointment-note {
  margin-top: 30px;
  font-style: italic;
  font-weight: 600;
}

.footer-bottom {
  padding-top: 30px;
  font-size: 0.9rem;
  display: flex;
  justify-content: center;
  align-items: center;
}





/* Services Sections */

.services-hero {
  /* background-image: url("../assets/images/services.jpg"); */
  background-color: #1e5fa9;
  position: relative;
  min-height: 40vh;
  padding: 100px 0;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}


/* .services-hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
}

.services-hero-content-minimal {
  position: relative;
  z-index: 1;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(8px);
  padding: 50px;
  border-radius: var(--border-radius);
  border: 1px solid rgba(255, 255, 255, 0.2);
  max-width: 900px;
  margin: 0 20px;
} */

.services-hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Service Selector */
.services-selector {
  padding: 80px 0;
  background-color: white;
}

.selector-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.selector-card {
   background-color: #a1005d; 
  /*background: var(--color-green);*/
  padding: 40px;
  border-radius: var(--border-radius);
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}

.selector-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.selector-card.active {
  background: white;
  border-color: var(--color-blue);
  box-shadow: 0 10px 30px rgba(30, 95, 169, 0.15);
}

.selector-card i {
  font-size: 3rem;
  color: white;
  margin-bottom: 20px;
}

.selector-card h3 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: white;
  /* color: var(--color-text); */
}

.selector-card p {
  color: #ffffff;
}

/* Service Details Wrapper */
.service-details-wrapper {
  display: none;
}

.service-details-wrapper.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.services-intro {
  padding: 80px 0 0;
  background-color: var(--color-bg-light);
  text-align: center;
}

.intro-box h2 {
  font-size: 2.8rem;
  color: var(--color-blue);
  margin-bottom: 10px;
}

.intro-box .subheading {
  font-size: 1.5rem;
  color: var(--color-purple);
  font-weight: 600;
}

/* Physio Theme */
.physio-theme .intro-box h2 {
  color: #7a1b5c;
  /* Darker purple from image */
}

.physio-theme .intro-box .subheading {
  color: #d946ef;
}

.physio-highlight {
  background-color: #fce7f3;
  border-left-color: #7a1b5c;
}

.physio-highlight h3 {
  color: #7a1b5c;
}

.tagline {
  font-size: 1.4rem;
  color: #7a1b5c;
  font-weight: 700;
  margin: 20px 0 30px;
  font-style: italic;
}

.physio-btn:hover {
  background-color: #7a1b5c;
  box-shadow: 0 6px 15px rgba(122, 27, 92, 0.4);
}

/* Physio Image Stack */
.physio-image-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.secondary-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.small-physio {
  border-radius: 20px;
}

.services-content-section {
  padding: 60px 0 80px;
  background-color: var(--color-bg-light);
}

.services-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.services-text .main-desc {
  font-size: 1.25rem;
  line-height: 1.8;
  color: var(--color-text);
  margin-bottom: 40px;
}

.highlight-section {
  background-color: #fdf2f8;
  /* Very soft pink/magenta background */
  border-left: 5px solid #d946ef;
  /* Magenta accent */
  padding: 30px;
  border-radius: 15px;
  margin-bottom: 40px;
  box-shadow: 0 5px 15px rgba(217, 70, 239, 0.1);
}

.highlight-section h3 {
  color: #c026d3;
  /* Magenta title */
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.support-list {
  list-style: none;
  padding: 0;
}

.support-list li {
  font-size: 1.15rem;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 15px;
  color: #4b5563;
}

.support-list li i {
  color: #d946ef;
  font-size: 1.3rem;
}

.btn-appointment {
  display: inline-block;
  background-color: var(--color-blue);
  color: white;
  padding: 15px 40px;
  border-radius: 50px;
  font-size: 1.2rem;
  font-weight: 600;
  transition: var(--transition);
  box-shadow: 0 4px 10px rgba(30, 95, 169, 0.3);
}

.btn-appointment:hover {
  background-color: #164a85;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(30, 95, 169, 0.4);
  color: white;
}

.image-wrapper {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.image-wrapper:hover img {
  transform: scale(1.05);
}

/* --- Physiotherapy Urdu Section Styles --- */
.urdu-text {
  font-family: 'Noto Nastaliq Urdu', serif;
  direction: rtl;
  text-align: right;
}

.english-text {
  font-family: var(--font-main);
  direction: ltr;
  text-align: left;
}

.physio-divider {
  height: 80px;
  background-color: #f9fbfd;
  position: relative;
}

.physio-divider::after {
  content: "English Version Below";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #eee;
  padding: 5px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  color: #666;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.physio-header-section {
  background-color: #8B1E5F;
  /* Plum color from poster header */
  padding: 40px 0;
  margin-top: -20px;
}

.physio-title-banner h2 {
  color: #ffffff;
  font-size: 2.8rem;
  font-weight: 700;
  text-align: center;
  margin: 0;
}

.physio-blue-banner {
  background-color: #2151A1;
  /* Blue banner color */
  padding: 15px 0;
  text-align: center;
}

.blue-tagline p {
  color: #ffffff;
  font-size: 1.6rem;
  font-weight: 500;
  margin: 0;
}

.physio-intro-text {
  text-align: center;
  margin-bottom: 40px;
}

.physio-intro-text h3 {
  font-size: 1.8rem;
  color: #333;
  font-weight: 600;
  line-height: 1.8;
}

.physio-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 50px;
}

.physio-service-box {
  background-color: #006D3C;
  /* Green box color from poster */
  color: #ffffff;
  padding: 20px;
  text-align: center;
  font-size: 1.3rem;
  font-weight: 600;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  min-height: 80px;
}

.physio-service-box:hover {
  background-color: #008D4C;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 109, 60, 0.3);
}

.physio-footer-cta {
  text-align: center;
  margin-top: 40px;
  border-top: 2px solid #eee;
  padding-top: 40px;
}

.cta-main-text {
  font-size: 2rem;
  color: #333;
  font-weight: 700;
  margin-bottom: 30px;
}

.btn-appointment-urdu {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  background-color: #2151A1;
  color: #ffffff;
  padding: 15px 40px;
  border-radius: 5px;
  font-size: 1.5rem;
  font-weight: 700;
  transition: var(--transition);
  text-decoration: none;
}

.btn-appointment-urdu:hover {
  background-color: #1a4185;
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(33, 81, 161, 0.4);
  color: #ffffff;
}

.btn-appointment-urdu i {
  font-size: 1.8rem;
}

/* --- Physiotherapy List Alignment --- */
.physio-list-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 30px;
}

.urdu-text .physio-list-columns li {
  text-align: right;
  flex-direction: row-reverse;
  justify-content: flex-start;
}

.urdu-text .physio-list-columns li i {
  margin-left: 15px;
  margin-right: 0;
}

@media (max-width: 768px) {
  .physio-list-columns {
    grid-template-columns: 1fr;
  }
}

/* Responsive adjustments for Services Page */
@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .services-hero h1 {
    font-size: 2.8rem;
  }

  .services-image {
    order: 2;
  }

  .services-text {
    order: 1;
  }
}

@media (max-width: 576px) {
  .services-hero h1 {
    font-size: 2.2rem;
  }

  .intro-box h2 {
    font-size: 2rem;
  }

  .intro-box .subheading {
    font-size: 1.2rem;
  }

  .services-content-section {
    padding: 50px 0;
  }

  .highlight-section {
    padding: 20px;
  }

  .highlight-section h3 {
    font-size: 1.5rem;
  }
}

/* Service Details Modal */
.service-modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(5px);
  animation: modalFadeIn 0.3s;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.service-modal-content {
  position: relative;
  margin: 2% auto;
  padding: 0;
  width: 95%;
  max-width: 1100px;
  background: #fff;
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.close-modal {
  position: absolute;
  right: 25px;
  top: 20px;
  color: #666;
  font-size: 35px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
  z-index: 2010;
  width: 45px;
  height: 45px;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.close-modal:hover {
  color: var(--color-red);
  transform: rotate(90deg);
}

#modal-body-content .service-details-wrapper {
  display: block !important;
  animation: none !important;
}

#modal-body-content .services-intro {
  padding: 60px 0 40px;
}

#modal-body-content .services-content-section {
  padding: 0 0 60px;
}

#modal-body-content .container {
  padding: 0 40px;
}

@media (max-width: 768px) {
  .service-modal-content {
    margin: 5% auto;
  }

  #modal-body-content .container {
    padding: 20px;
  }

  #modal-body-content .services-intro {
    padding: 40px 0 20px;
  }

  .close-modal {
    right: 15px;
    top: 15px;
  }
}