:root {
  --primary: #0c8b8d;
  --secondary: #f4f9f9;
  --dark: #222;
  --light: #fff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--secondary);
  color: var(--dark);
  line-height: 1.6;
}

header {
  background: var(--primary);
  padding: 1.2rem 0;
  color: var(--light);
}

.container {
  padding: auto;
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav .logo {
  font-size: 1.5rem;
  font-weight: 600;
}

.nav-links a {
  color: var(--light);
  margin-left: 2rem;
  text-decoration: none;
  font-weight: 500;
}

.hero {
  text-align: center;
  padding: 5rem 1rem;
  background: url('../images/physio-hero.jpg') no-repeat center center/cover;
  color: var(--light);
  position: relative;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #000000;
  text-shadow: #ccc 2px 2px 4px;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
    color: #000000;
  text-shadow: #ccc 2px 2px 4px;
}

.btn {
  background: var(--primary);
  color: var(--light);
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  border: none;
  cursor: pointer;
}

.section {
  padding: 4rem 0;
  background: var(--secondary);
}

.section h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.section p1{
  font-size: 1.1rem;
  color: #1c07dc;
}


.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

.card {
  background: var(--light);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  text-align: center;
  font-weight: 600;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 500px;
  margin: auto;
}

form input, form textarea {
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 5px;
}

footer {
  background: #eee;
  padding: 2rem;
  text-align: center;
}


.carousel-container {
    position: relative;
    width: 100%;
    padding: 20px 0;
}

.carousel-track-container {
    overflow: hidden;
    margin: 0 40px;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 20px;
}

.carousel-card {
    min-width: calc(25% - 15px);
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.carousel-card:hover {
    transform: translateY(-10px);
}

.carousel-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.carousel-card h3 {
    padding: 15px 15px 5px;
    margin: 0;
    font-size: 1.2rem;
}

.carousel-card p {
    padding: 0 15px 15px;
    margin: 0;
    color: #666;
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #0c8b8d;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    transition: background-color 0.3s;
}

.carousel-button:hover {
    background: #0a7476;
}

.carousel-button.prev {
    left: 0;
}

.carousel-button.next {
    right: 0;
}

@media (max-width: 1024px) {
    .carousel-card {
        min-width: calc(33.333% - 13.333px);
    }
}

@media (max-width: 768px) {
    .carousel-card {
        min-width: calc(50% - 10px);
    }
}

@media (max-width: 480px) {
    .carousel-card {
        min-width: calc(100% - 0px);
    }
}
.testimonial-slider {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
    text-align: center;
}

.testimonial-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.5s ease;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.testimonial-card.active {
    opacity: 1;
    transform: translateX(0);
    position: relative;
}

.testimonial-card p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: #c0c0c0;
}

.testimonial-card strong {
    color: #fff;
    font-size: 1rem;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 2rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #444;
    cursor: pointer;
    transition: background 0.3s ease;
}

.dot.active {
    background: #c0c0c0;
}


.review-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
}

.review-wrapper {
    position: relative;
    min-height: 200px;
}

.review-slide {
    position: absolute;
    width: 100%;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.review-slide.active {
    opacity: 1;
    transform: translateY(0);
    position: relative;
}

.review-slide p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: #1a5930;
}

.review-slide strong {
    color: #044e15;
    font-size: 1rem;
}

.review-navigation {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 2rem;
}

.review-nav-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #444;
    cursor: pointer;
    transition: background 0.3s ease;
}

.review-nav-dot.active {
    background: #c0c0c0;
}
