/* PawfectFriendsEssex Custom Styles */
:root {
  --primary-blue: #87CEEB;
  --dark-blue: #4A90A4;
  --light-blue: #B0E0E6;
  --white: #FFFFFF;
  --black: #212529;
  --gray-light: #F8F9FA;
}

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--black);
  line-height: 1.6;
}

/* Navigation */
.navbar {
  background-color: var(--white) !important;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  padding: 1rem 0;
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--dark-blue) !important;
  padding: 0;
}

.navbar-logo {
  height: 78px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  margin-right: 10px;
}

.navbar-brand-text {
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--dark-blue);
  vertical-align: middle;
}

@media (max-width: 576px) {
  .navbar-brand-text {
    display: none;
  }

  .navbar-logo {
    height: 65px;
  }
}

.nav-link {
  color: var(--black) !important;
  font-weight: 500;
  margin: 0 0.5rem;
  transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--dark-blue) !important;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
  color: var(--white);
  padding: 120px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-with-bg {
  background: linear-gradient(135deg, rgba(74, 144, 164, 0.88) 0%, rgba(135, 206, 235, 0.88) 100%),
              url('../images/IMG_1570.jpeg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 140px 0 100px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 0 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.hero-quote {
  font-size: 1.4rem;
  font-style: italic;
  opacity: 0.9;
  margin-bottom: 1.5rem;
}

/* Buttons */
.btn-primary {
  background-color: var(--white);
  color: var(--dark-blue);
  border: none;
  padding: 12px 40px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn-primary:hover {
  background-color: var(--black);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.btn-outline-primary {
  color: var(--dark-blue);
  border: 2px solid var(--dark-blue);
  padding: 12px 40px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.btn-outline-primary:hover {
  background-color: var(--dark-blue);
  color: var(--white);
  transform: translateY(-2px);
}

/* Feature Cards */
.features {
  padding: 80px 0;
  background-color: var(--white);
}

.feature-card {
  text-align: center;
  padding: 2rem;
  height: 100%;
  border-radius: 15px;
  background-color: var(--gray-light);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(74, 144, 164, 0.2);
  border-color: var(--primary-blue);
}

.feature-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  color: var(--dark-blue);
  font-weight: 600;
  margin-bottom: 1rem;
}

/* Sections */
.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  color: var(--dark-blue);
  font-weight: 700;
  font-size: 2.5rem;
}

.section-subtitle {
  text-align: center;
  color: var(--black);
  font-size: 1.2rem;
  margin-bottom: 3rem;
  opacity: 0.8;
}

.bg-light-blue {
  background-color: var(--light-blue);
  background: linear-gradient(135deg, #E3F2FD 0%, var(--light-blue) 100%);
}

/* Testimonial Cards */
.testimonial-card {
  background: var(--white);
  border-radius: 15px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  border-left: 4px solid var(--primary-blue);
  height: 100%;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  line-height: 1.7;
}

.testimonial-author {
  font-weight: 600;
  color: var(--dark-blue);
  margin-bottom: 0.3rem;
}

.testimonial-location {
  color: var(--black);
  opacity: 0.7;
  font-size: 0.9rem;
}

.stars {
  color: #FFD700;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

/* Contact Form */
.contact-form {
  background: var(--white);
  padding: 3rem;
  border-radius: 15px;
  box-shadow: 0 5px 30px rgba(0,0,0,0.1);
}

.form-control {
  border: 2px solid var(--light-blue);
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: var(--dark-blue);
  box-shadow: 0 0 0 0.2rem rgba(74, 144, 164, 0.25);
}

.contact-info {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
  color: var(--white);
  padding: 3rem;
  border-radius: 15px;
  height: 100%;
}

.contact-info h3 {
  margin-bottom: 1.5rem;
}

.contact-detail {
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
}

.contact-detail i {
  font-size: 1.5rem;
  margin-right: 1rem;
  width: 30px;
}

/* About Page */
.about-content {
  font-size: 1.1rem;
  line-height: 1.8;
}

.value-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 15px;
  margin-bottom: 2rem;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  border-top: 4px solid var(--primary-blue);
  height: 100%;
}

.value-card h3 {
  color: var(--dark-blue);
  margin-bottom: 1rem;
  font-weight: 600;
}

/* Footer */
footer {
  background-color: var(--black);
  color: var(--white);
  padding: 2rem 0;
  text-align: center;
}

footer a {
  color: var(--primary-blue);
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover {
  color: var(--light-blue);
}

/* Image styling */
.img-fluid {
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .navbar-brand {
    font-size: 1.2rem;
  }
}

/* Smooth scroll */
html {
  scroll-behavior: smooth;
}

/* Loading animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.6s ease-out;
}

/* Team Cards */
.team-card {
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.team-image {
  aspect-ratio: 1;
  overflow: hidden;
}

.team-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.team-card:hover .team-image img {
  transform: scale(1.05);
}

/* Team Member Cards (detailed version for team page) */
.team-member-card {
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  height: 100%;
}

.team-member-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.team-member-photo {
  overflow: hidden;
  background-color: #f8f9fa;
}

.team-member-photo img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.team-member-card:hover .team-member-photo img {
  transform: scale(1.05);
}

.team-member-info {
  padding: 1.5rem;
}

.team-member-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark-blue);
  margin-bottom: 0.25rem;
}

.team-member-role {
  font-size: 0.95rem;
  color: var(--black);
  opacity: 0.7;
  margin-bottom: 0.5rem;
}

.team-member-dog {
  font-size: 1rem;
  color: var(--primary-blue);
  font-weight: 600;
  margin-bottom: 1rem;
}

.team-member-bio {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--black);
  margin-bottom: 0;
}

/* Senior Handler Cards (larger version) */
.team-member-card-senior {
  border: 3px solid var(--primary-blue);
}


.team-member-card-senior .team-member-info {
  padding: 2rem;
}

.team-member-card-senior .team-member-name {
  font-size: 1.6rem;
}

.team-member-card-senior .team-member-role {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark-blue);
}

.team-member-card-senior .team-member-dog {
  font-size: 1.1rem;
}

.team-member-card-senior .team-member-bio {
  font-size: 1rem;
}

/* Quote Blockquote */
.blockquote-custom {
  margin: 0;
  padding: 2rem;
}

.quote-text {
  font-size: 1.8rem;
  font-style: italic;
  color: var(--dark-blue);
  font-weight: 500;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 768px) {
  .quote-text {
    font-size: 1.4rem;
  }
}

/* Gallery Styles */
.gallery-section {
  padding: 60px 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.gallery-item {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  cursor: pointer;
  transition: all 0.3s ease;
  aspect-ratio: 4/3;
}

.gallery-item:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}

.gallery-item-overlay i {
  color: white;
  font-size: 1.5rem;
}

/* Video Gallery */
.video-item {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  background: var(--black);
  aspect-ratio: 16/9;
}

.video-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-card {
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.video-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.video-wrapper video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.95);
  justify-content: center;
  align-items: center;
}

.lightbox.active {
  display: flex;
}

.lightbox-content {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 40px;
  cursor: pointer;
  transition: color 0.3s ease;
  z-index: 10000;
}

.lightbox-close:hover {
  color: var(--primary-blue);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  font-size: 50px;
  cursor: pointer;
  padding: 20px;
  transition: color 0.3s ease;
  user-select: none;
}

.lightbox-nav:hover {
  color: var(--primary-blue);
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

/* Social Media Links */
.social-links {
  display: flex;
  gap: 15px;
  margin-top: 1.5rem;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: rgba(255,255,255,0.15);
  border-radius: 50px;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: rgba(255,255,255,0.25);
  color: white;
  transform: translateY(-2px);
}

.social-link img {
  width: 24px;
  height: 24px;
}

/* Class Schedule Card */
.schedule-card {
  background: var(--white);
  border-radius: 15px;
  padding: 2.5rem;
  box-shadow: 0 5px 30px rgba(0,0,0,0.1);
  text-align: center;
  transition: all 0.3s ease;
  border-top: 4px solid var(--primary-blue);
}

.schedule-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.schedule-day {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark-blue);
  margin-bottom: 0.5rem;
}

.schedule-time {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 0;
}

.schedule-icon {
  font-size: 3rem;
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

.schedule-location {
  font-size: 1rem;
  color: var(--dark-blue);
  margin-bottom: 0;
}

.schedule-location-link {
  display: block;
  font-size: 1rem;
  color: var(--dark-blue);
  text-decoration: none;
  transition: all 0.3s ease;
}

.schedule-location-link:hover {
  color: var(--primary-blue);
  text-decoration: underline;
}

/* Map Container */
.map-container {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 30px rgba(0,0,0,0.1);
  height: 400px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.location-card {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
  color: white;
  padding: 2.5rem;
  border-radius: 15px;
  height: 100%;
}

.location-card h3 {
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.location-card address {
  font-style: normal;
  font-size: 1.1rem;
  line-height: 1.8;
}

/* Gallery Tab Navigation */
.gallery-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.gallery-tab {
  padding: 12px 30px;
  border: 2px solid var(--dark-blue);
  background: transparent;
  color: var(--dark-blue);
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.gallery-tab:hover,
.gallery-tab.active {
  background: var(--dark-blue);
  color: white;
}

.gallery-content {
  display: none;
}

.gallery-content.active {
  display: block;
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }

  .social-links {
    flex-direction: column;
  }

  .lightbox-nav {
    font-size: 30px;
    padding: 10px;
  }

  .lightbox-prev {
    left: 10px;
  }

  .lightbox-next {
    right: 10px;
  }
}

/* Trust & Credibility Section */
.trust-section {
  padding: 60px 0;
  background: var(--gray-light);
}

.trust-stats {
  display: flex;
  justify-content: center;
  gap: 4rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.trust-stat {
  text-align: center;
}

.trust-stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--dark-blue);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.trust-stat-label {
  font-size: 1rem;
  color: var(--black);
  opacity: 0.8;
}

.partner-section {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(0,0,0,0.1);
}

.partner-section h3 {
  font-size: 1.1rem;
  color: var(--black);
  opacity: 0.7;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.partner-logo {
  max-width: 280px;
  height: auto;
  filter: grayscale(0%);
  opacity: 0.9;
  transition: all 0.3s ease;
}

.partner-logo:hover {
  opacity: 1;
  transform: scale(1.05);
}

.partner-info {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: var(--black);
  opacity: 0.8;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 768px) {
  .trust-stats {
    gap: 2rem;
  }

  .trust-stat-number {
    font-size: 2.5rem;
  }
}
