/* ============================
   RESET & BASE STYLING
============================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: #FEFBF6; /* Warm, clean off-white */
  overflow-x: hidden;
  color: #131D4F; /* Deep Navy for text */
  line-height: 1.6;
}

/* ============================
   NAVBAR
============================ */
.navbar {
  display: flex;
  justify-content: space-around;
  align-items: center;
  background-color: #131D4F; /* Deep Navy */
  height: 15vh;
  padding: 0 1rem;
  flex-wrap: wrap;
}

.logo {
  height: 10vh;
  width: 10vh;
  border-radius: 50%;
  background-image: url("logo.jpg");
  background-size: cover;
  background-position: center;
}

.navbar h1 {
  font-size: 2rem;
  color: white;
  margin: 0 1rem;
}

a {
  text-decoration: none;
  font-weight: bold;
  margin: 0 0.5rem;
  padding: 0.5rem;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.navbar a {
  color: #FFFFFF;
}

.navbar a:hover {
  background-color: #FFC947; /* Sunny Yellow */
  color: #131D4F; /* Navy text on hover */
}

/* ============================
   FIXED CONTACT BUTTON
============================ */
.chat-button {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #FFC947; /* Sunny Yellow */
  color: #131D4F; /* Navy Text */
  padding: 12px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 4px 15px rgba(255, 201, 71, 0.5);
  transition: all 0.3s ease;
  z-index: 999;
}

.chat-button:hover {
  transform: translateX(-50%) scale(1.05);
  box-shadow: 0 6px 20px rgba(255, 201, 71, 0.7);
}

/* ============================
   HOME / HERO SECTION
============================ */
section {
  min-height: 85vh;
  background-color: #FEFBF6;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  padding: 1rem;
}

.tagline {
  max-width: 600px;
  padding: 1rem;
  color: #131D4F;
}

.tagline p {
  font-size: 1rem;
  margin-top: 0.5rem;
}

.tagline a {
  background-color: #FFC947; /* Sunny Yellow */
  color: #131D4F; /* Navy Text */
  padding: 0.6rem 1.2rem;
  text-decoration: none;
  border-radius: 25px;
  display: inline-block;
  margin-top: 1rem;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
}

.tagline a:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(255, 201, 71, 0.5);
}

.tagline img {
  height: 1rem;
  width: 1rem;
  margin-right: 0.8rem;
}

.tagline .img {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
}

.hero-img {
  margin: 1rem;
  height: 45vh;
  width: 80vh;
  background-image: url("https://media.istockphoto.com/id/1460882116/photo/physiotherapy-range-of-motion-assessment.jpg?s=1024x1024&w=is&k=20&c=p4rU-bex7zQMeAVD3QeaOk80XjrVV7JaQnI3749LrW8=");
  background-size: cover;
  background-position: center;
  border-radius: 1rem;
}

h1 {
  font-size: 6rem;
  margin: 0.5rem;
  flex: 1 1 300px;
}

p {
  margin-left: 5vh;
  font-size: 1.2rem;
}

/* ============================
   SERVICE SECTION
============================ */
#service {
  padding: 40px 20px;
  background-color: #FFFFFF;
  text-align: center;
}

h2 {
  font-size: 2.5rem;
  color: #131D4F;
  margin-bottom: 30px;
}

.services {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.services div {
  background-color: #FFFFFF;
  border: 2px solid #EAEAEA;
  border-radius: 12px;
  padding: 20px;
  width: 280px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.services div:hover {
  transform: translateY(-10px);
  border-color: #FFC947; /* Yellow border on hover */
}

.services h3 {
  color: #131D4F;
  margin-bottom: 10px;
  font-size: 1.5rem;
}

.services p {
  color: #555;
  font-size: 1rem;
  line-height: 1.5;
}

/* ============================
   OUR PARTNERS
============================ */
#ourpartners {
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, #FEFBF6, #FFF9E9); /* Subtle warm gradient */
  border-top: 3px solid #FFC947; /* Yellow border */
}

.partners-slider {
  overflow: hidden;
  position: relative;
  width: 100%;
  margin-bottom: 40px;
}

.partners-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: scroll 20s linear infinite;
}

.partners-track img {
  height: 80px;
  margin: 0 50px;
  object-fit: contain;
  transition: transform 0.3s ease, filter 0.3s ease;
  cursor: pointer;
}

.partners-track img:hover {
  transform: scale(1.2);
  filter: drop-shadow(0 5px 10px rgba(255, 201, 71, 0.4)); /* Yellow glow */
}

@keyframes scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.partner-details {
  margin-top: 20px;
  background: #ffffff;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  padding: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  min-height: 250px;
  transition: transform 0.3s ease;
}

.partner-details:hover {
  transform: scale(1.02);
}

.partner-details h3 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #131D4F;
  text-align: center;
  border-bottom: 2px solid #FFC947; /* Yellow border */
  display: inline-block;
  padding-bottom: 5px;
}

.details-container {
  position: relative;
  overflow: hidden;
}

.client {
  display: none;
  text-align: left;
  animation: fadeIn 0.3s ease-in-out;
}

.client.active {
  display: block;
}

.client h4 {
  font-size: 1.6rem;
  margin-bottom: 10px;
  color: #131D4F;
}

.client p {
  font-size: 1rem;
  color: #333;
  margin: 8px 0;
}

.client a {
  color: #131D4F;
  font-weight: bold;
  text-decoration: none;
}

.client a:hover {
  text-decoration: underline;
}

.details-nav {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}

.details-nav button {
  padding: 10px 18px;
  border: none;
  background: #131D4F; /* Navy Button */
  color: white;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.details-nav button:hover {
  background: #FFC947; /* Yellow on hover */
  color: #131D4F;
  transform: scale(1.08);
}

/* ============================
   OUR ACTIVITIES
============================ */
#OurActivites { 
  padding: 36px 16px; 
  background: #fff; 
  text-align:center; 
}

#OurActivites h2 { 
  color: #131D4F;
  margin-bottom: 18px; 
  font-size: 1.9rem; 
}

.activities-wrapper { 
  max-width: 1100px; 
  margin: 0 auto; 
}

.activities-slider { 
  position: relative; 
  display: block; 
}

.slide { 
  display: none; 
}

.slide.is-active { 
  display: flex; 
  justify-content: center; 
  align-items: center; 
  padding: 8px; 
  box-sizing: border-box; 
}

.media-wrap { 
  display: flex; 
  justify-content: center; 
  align-items: center; 
  width: 100%; 
}

.media-wrap img,
.media-wrap video {
  max-width: 100%;
  width: auto;
  height: auto;
  max-height: calc(80vh - 120px);
  display: block;
  border-radius: 10px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.12);
  background: #111;
  object-fit: contain;
}

.activities-slider .btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px; height: 48px;
  border-radius: 50%;
  border: none;
  background: rgba(19,29,79,0.55); /* Navy transparent background */
  color: #fff;
  font-size: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 9999;
  transition: background .15s, transform .08s;
}

.activities-slider .btn:hover { 
  background: rgba(19,29,79,0.8); 
}

.activities-slider .btn:active { 
  transform: translateY(-50%) scale(.98); 
}

.activities-slider .btn.prev { 
  left: 10px; 
}

.activities-slider .btn.next { 
  right: 10px; 
}

.dots { 
  display:flex; 
  gap:8px; 
  justify-content:center; 
  margin-top:12px; 
}

.dots .dot {
  width:10px; 
  height:10px; 
  border-radius:999px; 
  background:#cfd3da; 
  border:0; 
  cursor:pointer;
}

.dots .dot.active { 
  background:#131D4F; /* Active dot is Navy */
}

/* ============================
   FOOTER
============================ */
.footer {
  background: #131D4F; /* Navy Footer */
  color: #FFFFFF;
  padding: 40px 20px 20px;
  margin-top: 50px;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: auto;
}

.footer h3, .footer h4 {
  margin-bottom: 15px;
  color: #FFC947; /* Yellow accent */
}

.footer-about p {
  font-size: 14px;
  line-height: 1.6;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  margin-bottom: 8px;
}

.footer-links ul li a {
  text-decoration: none;
  color: #ccc;
  transition: color 0.3s;
}

.footer-links ul li a:hover {
  color: #FFC947;
}

.footer-contact p {
  font-size: 14px;
  margin: 6px 0;
}

.footer-social a {
  margin-right: 10px;
  display: inline-block;
  transition: transform 0.3s;
}

.footer-social a:hover {
  transform: scale(1.2);
}

.footer-social img {
  filter: brightness(0) invert(1);
}

.footer-bottom {
  text-align: center;
  padding-top: 15px;
  border-top: 1px solid #444;
  margin-top: 20px;
  font-size: 14px;
  color: #aaa;
}

/* ============================
   RESPONSIVE
============================ */
@media (max-width: 1024px) {
  h1 {
    font-size: 3.5rem;
  }
  .hero-img {
    width: 70vw;
    height: 35vh;
  }
}

@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    height: auto;
    padding: 1rem 0;
    text-align: center;
  }

  .navbar h1 {
    font-size: 1.5rem;
    margin: 0.5rem 0;
  }

  .navbar a {
    display: inline-block;
    margin: 0.3rem 0.5rem;
  }

  section {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .hero-img {
    width: 90%;
    height: 30vh;
  }

  h1 {
    font-size: 2rem;
  }

  .chat-button {
    width: 90%;
    text-align: center;
    left: 5%;
    transform: translateX(0);
  }

  .partners-track img {
    height: 60px;
    margin: 0 25px;
  }

  .partner-details {
    width: 95%;
    padding: 20px;
  }

  .partner-details h3 {
    font-size: 1.5rem;
  }
  
  .media-wrap img,
  .media-wrap video { 
    max-height: calc(60vh - 100px); 
  }
}