/*
Theme Name: Custom Apex Rehab
Description: Custom WordPress theme for Apex Rehab physiotherapy clinic
Version: 1.0
Author: Your Name
*/

/* CSS Variables */
:root {
  --primary: #1a73e8;
  --secondary: #34a853;
  --accent: #fbbc05;
  --dark: #202124;
  --light: #f8f9fa;
  --gray: #5f6368;
  --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background-color: var(--light);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Stencil", sans-serif;
  font-weight: normal;
  margin-bottom: 1rem;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styles */
#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

#header.scrolled {
  padding: 10px 0;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  transition: var(--transition);
}

.logo {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo img {
  width: auto;
}

.logo-text {
  font-family: "Stencil", sans-serif;
  font-size: 1.8rem;
  color: var(--primary);
}

nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

nav a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 500;
  position: relative;
  padding: 5px 0;
  transition: var(--transition);
}

nav a:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

nav a:hover {
  color: var(--primary);
}

nav a:hover:after {
  width: 100%;
}

.cta-button {
  background: var(--primary);
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(26, 115, 232, 0.3);
}

.cta-button:hover {
  background: #0d5bb9;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(26, 115, 232, 0.4);
}

.mobile-menu {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section with Slider */
.hero {
  height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: scroll;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(26, 115, 232, 0.85) 0%,
    rgba(13, 71, 161, 0.75) 100%
  );
  z-index: 1;
}

.slide-1 {
  background-image: url("https://images.unsplash.com/photo-1571019613454-1cb2f99b2d8b?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80");
}

.slide-2 {
  background-image: url("https://images.unsplash.com/photo-1571019613454-1cb2f99b2d8b?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80");
}

.slide-3 {
  background-image: url("https://images.unsplash.com/photo-1571019613454-1cb2f99b2d8b?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80");
}

/* Higher resolution images for larger screens */
@media (min-width: 768px) {
  .slide-1 {
    background-image: url("https://images.unsplash.com/photo-1571019613454-1cb2f99b2d8b?ixlib=rb-4.0.3&auto=format&fit=crop&w=1500&q=80");
  }

  .slide-2 {
    background-image: url("https://images.unsplash.com/photo-1571019613454-1cb2f99b2d8b?ixlib=rb-4.0.3&auto=format&fit=crop&w=1500&q=80");
  }

  .slide-3 {
    background-image: url("https://images.unsplash.com/photo-1571019613454-1cb2f99b2d8b?ixlib=rb-4.0.3&auto=format&fit=crop&w=1500&q=80");
  }
}

@media (min-width: 1200px) {
  .slide-1 {
    background-image: url("https://images.unsplash.com/photo-1571019613454-1cb2f99b2d8b?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80");
  }

  .slide-2 {
    background-image: url("https://images.unsplash.com/photo-1571019613454-1cb2f99b2d8b?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80");
  }

  .slide-3 {
    background-image: url("https://images.unsplash.com/photo-1571019613454-1cb2f99b2d8b?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80");
  }
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 700px;
  padding: 0 20px;
  text-align: center;
  opacity: 0;
  transform: translateX(-50px);
  animation: slideInLeft 1.2s forwards 0.8s;
}

.hero h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
  line-height: 1.2;
  color: white;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero p {
  font-size: 1rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
  line-height: 1.5;
  max-width: 100%;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  align-items: center;
}

.hero-buttons .cta-button {
  padding: 18px 35px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.hero-buttons .primary-button {
  background: white;
  color: var(--primary);
  border: 3px solid white;
}

.hero-buttons .primary-button:hover {
  background: transparent;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.hero-buttons .secondary-button {
  background: transparent;
  color: white;
  border: 3px solid rgba(255, 255, 255, 0.8);
}

.hero-buttons .secondary-button:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: white;
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

/* Slider Controls */
.slider-controls {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 15px;
  z-index: 10;
}

.slider-dot {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.slider-dot.active {
  background: white;
  transform: scale(1.2);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.slider-dot:hover {
  background: rgba(255, 255, 255, 0.7);
  transform: scale(1.1);
}

/* Navigation Arrows */
.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: white;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
  backdrop-filter: blur(10px);
}

.slider-nav:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-50%) scale(1.1);
}

.slider-prev {
  left: 30px;
}

.slider-next {
  right: 30px;
}

/* Floating Elements for Enhanced Visual Appeal */
.floating-elements {
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  z-index: 5;
  pointer-events: none;
}

.floating-shape {
  position: absolute;
  opacity: 0.15;
  animation: float 8s infinite ease-in-out;
  border-radius: 50%;
}

.floating-shape-1 {
  width: 120px;
  height: 120px;
  background: rgba(255, 255, 255, 0.2);
  top: 15%;
  right: 10%;
  animation-delay: 0s;
}

.floating-shape-2 {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.15);
  top: 60%;
  right: 25%;
  animation-delay: 2s;
}

.floating-shape-3 {
  width: 150px;
  height: 150px;
  background: rgba(255, 255, 255, 0.1);
  top: 35%;
  right: 5%;
  animation-delay: 4s;
}

.floating-shape-4 {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.2);
  top: 80%;
  right: 15%;
  animation-delay: 6s;
}

/* Particle Background */
.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background-image:
    radial-gradient(
      circle at 25% 25%,
      rgba(255, 255, 255, 0.1) 2px,
      transparent 2px
    ),
    radial-gradient(
      circle at 75% 75%,
      rgba(255, 255, 255, 0.08) 3px,
      transparent 3px
    ),
    radial-gradient(
      circle at 50% 50%,
      rgba(255, 255, 255, 0.05) 1px,
      transparent 1px
    );
  background-size:
    100px 100px,
    150px 150px,
    80px 80px;
  animation: particleMove 30s linear infinite;
  pointer-events: none;
}

@keyframes particleMove {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }

  100% {
    transform: translate(-30px, -30px) rotate(360deg);
  }
}

@keyframes slideInLeft {
  0% {
    opacity: 0;
    transform: translateX(-80px);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
    opacity: 0.15;
  }

  50% {
    transform: translateY(-30px) rotate(180deg);
    opacity: 0.3;
  }
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

/* Enhanced Visual Effects */
.hero-content h1,
.hero-content p {
  transition: opacity 0.5s ease-in-out;
}

.hero-slide {
  background-attachment: fixed;
}

.cta-button {
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.cta-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s;
}

.cta-button:hover::before {
  left: 100%;
}

/* Slide Animation Effects */
@keyframes slideInFromRight {
  0% {
    opacity: 0;
    transform: translateX(50px);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInScale {
  0% {
    opacity: 0;
    transform: scale(0.9);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.team-member {
  animation: fadeInScale 0.5s ease-out;
}

/* Modern Card Hover Effects */
.service-card:hover .service-icon {
  animation: pulse 2s infinite;
}

.team-member:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

/* Sections */
section {
  padding: 100px 0;
  opacity: 0;
  transform: translateY(50px);
  transition:
    opacity 1s,
    transform 1s;
}

section.visible {
  opacity: 1;
  transform: translateY(0);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-header h2:after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--primary);
  border-radius: 2px;
}

.section-header p {
  max-width: 600px;
  margin: 0 auto;
  color: var(--gray);
  font-size: 1.1rem;
}

/* Services Section */
.services {
  background:
    linear-gradient(
      135deg,
      rgba(245, 247, 250, 0.9) 0%,
      rgba(228, 232, 240, 0.9) 100%
    ),
    radial-gradient(
      circle at 20% 30%,
      rgba(26, 115, 232, 0.03) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 70%,
      rgba(52, 168, 83, 0.03) 0%,
      transparent 50%
    );
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background: white;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.service-card:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transition: var(--transition);
  z-index: -1;
}

.service-card:hover:before {
  transform: scaleX(1);
}

.service-card:nth-child(1) .service-icon {
  background: linear-gradient(
    135deg,
    rgba(26, 115, 232, 0.1),
    rgba(52, 168, 83, 0.1)
  );
}

.service-card:nth-child(2) .service-icon {
  background: linear-gradient(
    135deg,
    rgba(52, 168, 83, 0.1),
    rgba(251, 188, 5, 0.1)
  );
}

.service-card:nth-child(3) .service-icon {
  background: linear-gradient(
    135deg,
    rgba(251, 188, 5, 0.1),
    rgba(234, 67, 53, 0.1)
  );
}

.service-card:nth-child(4) .service-icon {
  background: linear-gradient(
    135deg,
    rgba(234, 67, 53, 0.1),
    rgba(26, 115, 232, 0.1)
  );
}

.service-card:nth-child(5) .service-icon {
  background: linear-gradient(
    135deg,
    rgba(26, 115, 232, 0.1),
    rgba(251, 188, 5, 0.1)
  );
}

.service-card:nth-child(6) .service-icon {
  background: linear-gradient(
    135deg,
    rgba(52, 168, 83, 0.1),
    rgba(234, 67, 53, 0.1)
  );
}

.service-icon {
  width: 70px;
  height: 70px;
  background: rgba(26, 115, 232, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.8rem;
  color: var(--primary);
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

/* About Section */
.about {
  background: linear-gradient(135deg, #1a73e8 0%, #0d47a1 100%);
  color: white;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-text h2 {
  color: white;
}

.about-text h2:after {
  background: white;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.stat {
  text-align: center;
  padding: 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  backdrop-filter: blur(10px);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 5px;
}

.about-visual {
  position: relative;
  height: 400px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.about-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Team Section */
.team {
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.95) 0%,
      rgba(248, 249, 250, 0.95) 100%
    ),
    url("https://images.unsplash.com/photo-1576091160399-112ba8d25d1f?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80")
      center/cover;
  background-attachment: fixed;
  position: relative;
  overflow: hidden;
}

.team-slider-container {
  position: relative;
  padding: 40px 0;
}

.team-slider-wrapper {
  position: relative;
}

.team-slider {
  padding: 20px 0;
}

.team-member {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  margin: 0 10px;
}

.team-member::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.team-member:hover::before {
  transform: scaleX(1);
}

.team-member:hover {
  transform: translateY(-15px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.member-image {
  height: 300px;
  overflow: hidden;
  position: relative;
}

.team-member {
  height: 620px !important;
  margin-top: 10px;
  margin-bottom: 10px;
}
.member-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s ease;
}

.team-member:hover .member-image img {
  transform: scale(1.15);
  filter: brightness(1.1);
}

.member-image::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.3), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.team-member:hover .member-image::after {
  opacity: 1;
}

.member-info {
  padding: 30px;
}

.member-info h3 {
  margin-bottom: 8px;
  font-size: 1.4rem;
  color: var(--dark);
}

.member-role {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 15px;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.member-info p {
  color: var(--gray);
  line-height: 1.6;
}

/* Testimonials Section */
.testimonials {
  background:
    linear-gradient(
      135deg,
      rgba(26, 115, 232, 0.85) 0%,
      rgba(13, 71, 161, 0.75) 100%
    ),
    url("https://images.unsplash.com/photo-1576091160399-112ba8d25d1f?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80")
      center/cover;
  background-attachment: fixed;
  position: relative;
  overflow: hidden;
}

.testimonials::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(
      circle at 25% 25%,
      rgba(255, 255, 255, 0.1) 2px,
      transparent 2px
    ),
    radial-gradient(
      circle at 75% 75%,
      rgba(255, 255, 255, 0.08) 3px,
      transparent 3px
    ),
    radial-gradient(
      circle at 50% 50%,
      rgba(255, 255, 255, 0.05) 1px,
      transparent 1px
    );
  background-size:
    100px 100px,
    150px 150px,
    80px 80px;
  animation: particleMove 30s linear infinite;
  pointer-events: none;
  z-index: 1;
}

.testimonials .section-header h2,
.testimonials .section-header p {
  color: white;
  position: relative;
  z-index: 2;
}

.testimonials .container {
  position: relative;
  z-index: 2;
}

.testimonial-slider-container {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 60px;
}

.testimonial-slider-wrapper {
  position: relative;
}

.testimonial-card {
  padding: 50px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 25px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  text-align: center;
  position: relative;
  backdrop-filter: blur(10px);
}

.testimonial-quote-icon {
  font-size: 4rem;
  color: var(--primary);
  opacity: 0.2;
  position: absolute;
  top: 20px;
  left: 30px;
}

.testimonial-content {
  position: relative;
  z-index: 2;
}

.testimonial-text {
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--dark);
  margin-bottom: 30px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.testimonial-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--primary);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-info {
  text-align: left;
}

.testimonial-name {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--dark);
  margin-bottom: 5px;
}

.testimonial-position {
  color: var(--gray);
  font-size: 0.95rem;
}

.testimonial-rating {
  display: flex;
  gap: 5px;
  justify-content: center;
  margin-bottom: 20px;
}

.star {
  color: #ffc107;
  font-size: 1.2rem;
}

/* Booking Section */
.booking {
  background:
    linear-gradient(
      135deg,
      rgba(26, 115, 232, 0.05) 0%,
      rgba(52, 168, 83, 0.05) 100%
    ),
    radial-gradient(
      circle at 25% 25%,
      rgba(251, 188, 5, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 75% 75%,
      rgba(234, 67, 53, 0.1) 0%,
      transparent 50%
    );
}

.booking-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.booking-form {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.2);
}

.booking-image {
  position: relative;
  height: 400px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.booking-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Footer */
footer {
  background:
    linear-gradient(
      135deg,
      rgba(32, 33, 36, 0.95) 0%,
      rgba(32, 33, 36, 1) 100%
    ),
    url("https://images.unsplash.com/photo-1559757175-0eb30cd8c063?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80")
      center/cover;
  color: white;
  padding: 80px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 50px;
}

.footer-column h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: white;
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column a {
  color: #bdc1c6;
  text-decoration: none;
  transition: var(--transition);
}

.footer-column a:hover {
  color: white;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #bdc1c6;
}

/* Responsive Styles */
@media (min-width: 1200px) {
  .hero h1 {
    font-size: 4rem;
  }

  .hero p {
    font-size: 1.3rem;
    max-width: 600px;
  }

  .hero-content {
    padding-left: 50px;
  }

  .floating-elements {
    width: 40%;
  }
}

@media (max-width: 1200px) {
  .floating-elements {
    width: 35%;
  }
}

@media (min-width: 992px) {
  .hero h1 {
    font-size: 3.5rem;
  }

  .hero p {
    font-size: 1.25rem;
  }

  .hero-content {
    padding-left: 30px;
  }
}

@media (max-width: 992px) {
  .floating-elements {
    display: none;
  }

  .slider-nav {
    display: none;
  }

  .about-content,
  .booking-container {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .hero h1 {
    font-size: 3rem;
  }

  .hero p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
  }

  .hero-content {
    text-align: left;
    padding-left: 0;
  }

  .hero-buttons {
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  .mobile-menu {
    display: block;
  }

  nav ul {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: white;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
  }

  nav ul.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .hero {
    min-height: 650px;
  }

  .hero-slide {
    background-position: center center;
  }

  .slider-controls {
    bottom: 20px;
  }

  .testimonial-slider-container {
    padding: 40px 50px;
  }

  .testimonial-card {
    padding: 40px;
  }

  .testimonial-text {
    font-size: 1.1rem;
  }
}

@media (min-width: 576px) {
  .hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1.2rem;
  }

  .hero p {
    font-size: 1.1rem;
  }
}

@media (max-width: 576px) {
  .footer-content {
    grid-template-columns: 1fr;
  }

  .hero {
    height: 100vh;
    min-height: 600px;
  }

  .hero-slide {
    background-position: center center;
    background-size: cover;
  }

  .hero-content {
    padding: 0 15px;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons .cta-button {
    padding: 14px 30px;
    font-size: 0.95rem;
    width: 100%;
    max-width: 280px;
  }

  .slider-controls {
    gap: 8px;
    bottom: 15px;
  }

  .slider-dot {
    width: 10px;
    height: 10px;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .member-image {
    height: 250px;
  }

  .member-info {
    padding: 20px;
  }

  .team-slider-container {
    padding: 20px 0;
  }

  .testimonial-slider-container {
    padding: 20px;
  }

  .testimonial-card {
    padding: 30px 20px;
  }

  .testimonial-text {
    font-size: 1rem;
  }

  .testimonial-quote-icon {
    font-size: 3rem;
    top: 10px;
    left: 15px;
  }

  .testimonial-author {
    flex-direction: column;
    gap: 15px;
  }

  .testimonial-info {
    text-align: center;
  }

  .testimonial-avatar {
    width: 60px;
    height: 60px;
  }
}

/* Services Page Styles */
.page-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  padding: 150px 0 80px;
  text-align: center;
  margin-bottom: 60px;
}

.page-header h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: white;
}

.page-header p {
  font-size: 1.3rem;
  max-width: 800px;
  margin: 0 auto 1rem;
  line-height: 1.8;
}

.services-content {
  padding: 60px 0;
}

.intro-section {
  text-align: center;
  margin-bottom: 80px;
  padding: 0 20px;
}

.intro-section.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.intro-section.fade-in {
  opacity: 1;
  transform: translateY(0);
}

.intro-section h2 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.intro-section p {
  font-size: 1.2rem;
  color: var(--gray);
  max-width: 900px;
  margin: 0 auto 1rem;
  line-height: 1.8;
}

.service-detail {
  background: white;
  border-radius: 15px;
  padding: 50px;
  margin-bottom: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
}

.service-detail.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.service-content li {
  gap: 10px;
}

.service-detail.fade-in {
  opacity: 1;
  transform: translateY(0);
}

.service-detail:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.service-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.05),
    0 10px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid rgba(226, 232, 240, 0.8);
  position: relative;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  padding: 0;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #1e40af, #3b82f6, #10b981);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.service-card:hover::before {
  opacity: 1;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow:
    0 12px 24px rgba(0, 0, 0, 0.1),
    0 20px 40px rgba(30, 64, 175, 0.15);
  border-color: rgba(59, 130, 246, 0.3);
}

.card-header {
  padding: 0;
  background: none;
  color: white;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.card-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1e40af;
  margin: 0 0 0.75rem 0;
  padding: 0;
  text-align: left;
  letter-spacing: -0.02em;
}

.card-header img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 2px 8px rgba(30, 64, 175, 0.1);
  display: block;
}

.card-header::after {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.card-header h2 {
  font-size: 1.4rem;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  position: relative;
  z-index: 1;
}

.card-header h2 i {
  font-size: 2.5rem;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.card-body {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  background: linear-gradient(to bottom, #ffffff 0%, #f8fafc 100%);
  text-align: left;
}

.card-body p {
  color: #475569;
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

.view-details {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #1e40af;
  font-weight: 600;
  margin-top: 1rem;
  font-size: 0.95rem;
  transition: gap 0.3s ease;
}

.service-card:hover .view-details {
  gap: 0.75rem;
}

.flexibility-note {
  background: linear-gradient(
    135deg,
    rgba(26, 115, 232, 0.05),
    rgba(52, 168, 83, 0.05)
  );
  border-left: 5px solid var(--primary);
  padding: 40px;
  border-radius: 10px;
  margin: 60px 0;
}

.flexibility-note.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.flexibility-note.fade-in {
  opacity: 1;
  transform: translateY(0);
}

.flexibility-note h3 {
  color: var(--primary);
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.flexibility-note p {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--dark);
}

/* Services Page Responsive */
@media (max-width: 768px) {
  .page-header h1 {
    font-size: 2rem;
  }

  .page-header p {
    font-size: 1.1rem;
  }

  .service-detail {
    padding: 30px 20px;
  }

  .service-detail h2 {
    font-size: 1.8rem;
    flex-direction: column;
    align-items: flex-start;
  }

  .intro-section h2 {
    font-size: 2rem;
  }

  .service-button {
    width: 100%;
    text-align: center;
  }
}

/* Post Content Styles */
.post-content {
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  padding: 40px;
  margin: 40px 0;
  position: relative;
  overflow: hidden;
}

.post-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--primary),
    var(--secondary),
    var(--accent)
  );
}

.single-post {
  margin-bottom: 40px;
}

.post-thumbnail {
  margin-bottom: 30px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.post-thumbnail:hover {
  transform: scale(1.02);
}

.post-thumbnail img {
  width: 100%;
  height: auto;
  display: block;
}

.entry-content {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--dark);
  margin-bottom: 30px;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
  color: var(--primary);
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.entry-content p {
  margin-bottom: 1.5rem;
}

.entry-content ul,
.entry-content ol {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

.entry-content li {
  margin-bottom: 0.5rem;
}

.entry-content blockquote {
  border-left: 4px solid var(--primary);
  padding-left: 20px;
  margin: 30px 0;
  font-style: italic;
  color: var(--gray);
  background: rgba(26, 115, 232, 0.05);
  padding: 20px;
  border-radius: 0 8px 8px 0;
}

.entry-content a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

.entry-content a:hover {
  color: var(--secondary);
  text-decoration: underline;
}

.entry-footer {
  border-top: 1px solid #e0e0e0;
  padding-top: 20px;
  margin-top: 40px;
}

.tags {
  font-size: 0.9rem;
  color: var(--gray);
}

.tags a {
  background: rgba(26, 115, 232, 0.1);
  color: var(--primary);
  padding: 5px 10px;
  border-radius: 20px;
  margin-right: 10px;
  text-decoration: none;
  transition: var(--transition);
}

.tags a:hover {
  background: var(--primary);
  color: white;
}

/* Post Content Responsive */
@media (max-width: 768px) {
  .post-content {
    padding: 20px;
    margin: 20px 0;
  }

  .entry-content {
    font-size: 1rem;
  }

  .post-thumbnail {
    margin-bottom: 20px;
  }
}

/* Single Post Page Header Styles */
.page-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  padding: 80px 0;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  display: flex;
  align-items: center;
  min-height: 400px;
}

.page-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.1;
  z-index: 1;
}

.page-header .container {
  position: relative;
  z-index: 2;
}

.page-header h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.post-meta {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-top: 1rem;
}

.post-meta span {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  padding: 8px 16px;
  border-radius: 25px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Single Post Page Header Responsive */
@media (max-width: 768px) {
  .page-header {
    padding: 60px 0;
    min-height: 300px;
  }

  .page-header h1 {
    font-size: 2rem;
  }

  .post-meta {
    font-size: 1rem;
  }

  .post-meta span {
    padding: 6px 12px;
    font-size: 0.9rem;
  }
}
