/* ===== Variables & Base Styles ===== */
:root {
  --primary: #2962ff;
  --primary-dark: #0039cb;
  --primary-light: #768fff;
  --secondary: #00c853;
  --dark: #121212;
  --dark-gray: #2d2d2d;
  --medium-gray: #5a5a5a;
  --light-gray: #e0e0e0;
  --light: #f5f5f7;
  --white: #ffffff;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--dark-gray);
  line-height: 1.6;
  background-color: var(--light);
  transition: var(--transition);
  max-width: 100%;
  overflow-x: hidden;
}


html {
  scroll-behavior: smooth;
}

/* Loading animation */
#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--white);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

.loader-content {
  text-align: center;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 5px solid var(--light-gray);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 1rem;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* DESKTOP NAV */
nav, .nav-links {
  display: flex;
}

nav {
  justify-content: space-around;
  align-items: center;
  height: 13vh;
  background: var(--white);
  box-shadow: var(--shadow);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  padding: 0 5%;
}

.nav-links {
  gap: 2.5rem;
  list-style: none;
  font-size: 1.5rem;
}

.nav-links a {
  color: var(--dark-gray);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0;
  transition: var(--transition);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a:hover {
  color: var(--primary);
  text-decoration: none;
}

.logo-container {
  display: flex;
  flex-direction: column;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
}

.logo:hover {
  cursor: default;
}

.logo-subtitle {
  font-size: 0.8rem;
  color: var(--medium-gray);
  margin-top: 0.2rem;
}

/* SECTIONS */
section {
  padding-top: 10vh;
  min-height: 100vh;
  margin: 0 auto;
  max-width: 1200px;
  padding: 10vh 2rem;
}

.section-container {
  display: flex;
  flex-direction: column;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

/* PROFILE SECTION */
#profile {
  padding:15px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5rem;
  height: auto;
  min-height: 100vh;
  background: linear-gradient(135deg, var(--light) 0%, var(--white) 100%);
}

.section__pic-container {
  display: flex;
  height: 400px;
  width: 400px;
  margin: auto 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 8px solid var(--white);
}

.section__text {
  align-self: center;
  text-align: center;
}

.section__text p {
  font-weight: 600;
}

.section__text__subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: var(--medium-gray);
}

.section__text__p2 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: var(--dark-gray);
}

.title {
  font-size: 3.5rem;
  text-align: center;
  margin: 1rem 0;
}

#socials-container {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
  gap: 1.5rem;
}

.social-link {
  transition: var(--transition);
}

.social-link:hover {
  transform: translateY(-5px);
}

/* ICONS */
.icon {
  cursor: pointer;
  height: 2rem;
  transition: var(--transition);
}

.icon:hover {
  transform: scale(1.1);
}

/* BUTTONS */
.btn-container {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.btn {
  font-weight: 600;
  transition: var(--transition);
  padding: 1rem 1.5rem;
  width: 10rem;
  border-radius: 50px;
  font-size: 1rem;
  letter-spacing: 0.5px;
  box-shadow: var(--shadow);
}

.btn-color-1 {
  background: var(--primary);
  color: var(--white);
  border: 2px solid var(--primary);
}

.btn-color-1:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(41, 98, 255, 0.2);
}

.btn-color-2 {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-color-2:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(41, 98, 255, 0.2);
}

/* ABOUT SECTION */
#about {
  position: relative;
  background: var(--white);
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  align-items: flex-start;
}

.about-image {
  flex: 1;
  min-width: 300px;
  max-width: 400px;
}

.about-details {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
}

.about-containers {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
}

.details-container {
  flex: 1;
  padding: 1.5rem;
  background: var(--light);
  border-radius: 2rem;
  border: 1px solid var(--light-gray);
  text-align: center;
  transition: var(--transition);
  min-width: 200px;
}

.text-container {
  padding: 1rem;
}

.about-pic {
  border-radius: 2rem;
  width: 100%;
  height: auto;
  box-shadow: var(--shadow);
}

@media screen and (max-width: 768px) {
  nav {
    justify-content: space-around;
    align-items: center;
    height: 10vh;
    background: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 0 5%;
  }
  .about-content {
      flex-direction: column;
      align-items: center;
  }
  
  .about-containers {
      flex-direction: column;
  }
  
  .about-image, 
  .about-details {
      min-width: 100%;
      max-width: 100%;
  }
}

.arrow {
  position: absolute;
  right: -5rem;
  bottom: 2.5rem;
  cursor: pointer;
  transition: var(--transition);
}

.arrow:hover {
  transform: translateX(5px);
}

.details-container {
  padding: 1.5rem;
  flex: 1;
  background: var(--light);
  border-radius: 2rem;
  border: 1px solid var(--light-gray);
  text-align: center;
  transition: var(--transition);
}

.details-container:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.section-container {
  gap: 4rem;
}

.section__pic-container {
  height: 400px;
  width: 400px;
  margin: auto 0;
}

/* EXPERIENCE SECTION */
#experience {
  position: relative;
  background: var(--light);
  padding: 6rem 0;
}

.experience-sub-title {
  color: var(--medium-gray);
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.experience-details-container {
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.article-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2rem;
}

article {
  display: flex;
  width: 100%;
  justify-content: flex-start;
  gap: 1rem;
  background: var(--white);
  padding: 1.5rem;
  border-radius: 1rem;
  transition: var(--transition);
  box-shadow: var(--shadow);
  align-items: center;
}

article:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

article .icon {
  cursor: default;
}

/* PROJECTS SECTION */
#projects {
  position: relative;
  background: var(--white);
}

.color-container {
  border-color: var(--light-gray);
  background: var(--light);
}

.project-img {
  border-radius: 2rem;
  width: 90%;
  height: 90%;
  transition: transform 0.5s ease;
}

.project-title {
  margin: 1rem;
  color: var(--dark);
}

.project-title:hover {
  text-decoration: none;
}

.project-btn {
  color: var(--dark);
  border-color: var(--light-gray);
}

.project-containers {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.project-link {
  text-decoration: none;
  color: inherit;
  min-width: 300px;
  max-width: 400px;
  flex: 1;
}

.project-link:hover {
  text-decoration: none;
}

.project-card {
  height: 100%;
  transition: var(--transition);
  cursor: pointer;
  border: 1px solid var(--light-gray);
  border-radius: 1rem;
  overflow: hidden;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.project-card:hover .project-img {
  transform: scale(1.05);
}

/* CONTACT */
#contact {
  display: flex;
  justify-content: center;
  flex-direction: column;
  height: 70vh;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-gray) 100%);
  color: var(--white);
  padding: 6rem 0;
}

.contact-info-upper-container {
  display: flex;
  justify-content: left;
  border-radius: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  margin: 2rem auto;
  padding: 1rem;
  flex-wrap: wrap;
}

.contact-info-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 1rem;
}

.contact-info-container p {
  font-size: 1.1rem;
}

.contact-info-container a {
  color: var(--white);
  text-decoration: none;
  transition: var(--transition);
}

.contact-info-container a:hover {
  color: var(--primary-light);
}

.contact-icon {
  cursor: default;
  filter: brightness(0) invert(1);
  height: 2.5rem;
}

.email-icon {
  height: 2.5rem;
}

.copy-tooltip {
  position: absolute;
  background: var(--primary);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-size: 0.8rem;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: var(--transition);
  pointer-events: none;
}

.copy-tooltip.show {
  opacity: 1;
  top: -50px;
}

.copy-tooltip.error {
  background: #f44336;
}

/* FOOTER SECTION */
footer {
  height: auto;
  padding: 2rem 0;
  background: var(--dark);
  color: var(--light-gray);
  text-align: center;
}

footer p {
  margin-top: 1rem;
}

.nav-links-container {
  display: flex;
  justify-content: center;
}

.nav-links {
  gap: 2rem;
}

.nav-links a {
  color: var(--dark-gray);
}

.nav-links a:hover {
  color: var(--primary-light);
}


@media screen and (max-width: 1200px) {
  #profile {
      flex-direction: column;
      gap: 2rem;
      height: auto;
      padding: 4rem 2rem;
      margin-top: 0px;
  }

  .section__pic-container {
      width: 300px;
      height: 300px;
  }

  .section__text {
      width: 100%;
  }

  .about-containers {
      flex-direction: column;
  }

  .section-container {
      gap: 2rem;
  }
}

@media screen and (max-width: 768px) {

  .section__pic-container {
      width: 250px;
      height: 250px;
  }

  .title {
      font-size: 2.5rem;
  }

  .section__text__p2 {
      font-size: 1.5rem;
  }

  .btn-container {
      flex-direction: column;
      align-items: center;
  }

  .contact-info-upper-container {
      flex-direction: column;
      align-items: center;
  }

  .project-containers {
      flex-direction: column;
      align-items: center;
  }

  .project-card {
      width: 100%;
      max-width: 350px;
  }

  #contact {
      height: auto;
      padding: 4rem 2rem;
  }
  .contact-info-container {
    width: 100%;
    display: flex;
    align-items: left;
    justify-content: left;
    gap: 1rem;
    margin: 1rem;
  }
}

@media screen and (max-width: 480px) {
  .section__pic-container {
      width: 200px;
      height: 200px;
  }

  .title {
      font-size: 2rem;
  }

  .section__text__p2 {
      font-size: 1.2rem;
  }

  .nav-links {
      gap: 1rem;
      font-size: 1rem;
  }

  .logo {
      font-size: 1.5rem;
  }
}

/* Workout Tracker Project Page Styles */
.project-header {
  margin-top: 60px;
  text-align: center;
  padding: 6rem 2rem 3rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
}

.project-header h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.project-header p {
  font-size: 1.2rem;
  opacity: 0.9;
}

.project-overview {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 3rem auto;
  padding: 0 2rem;
  gap: 3rem;
}

.project-image {
  flex: 1;
  min-width: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-image img {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.project-details {
  flex: 1;
  min-width: 300px;
}

.project-details h2 {
  color: var(--primary);
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
}

.project-details p {
  line-height: 1.6;
  margin-bottom: 1.5rem;
  color: var(--dark-gray);
}

.key-features {
  margin-top: 2rem;
}

.key-features h3 {
  color: var(--primary);
  margin-bottom: 1rem;
}

.feature-list {
  list-style-type: none;
  padding: 0;
}

.feature-list li {
  margin-bottom: 0.8rem;
  position: relative;
  padding-left: 1.5rem;
  color: var(--dark-gray);
}

.feature-list li:before {
  content: "•";
  color: var(--primary);
  font-size: 1.5rem;
  position: absolute;
  left: 0;
  top: -0.3rem;
}

/* Carousel Styles */
.carousel-container {
  max-width: 1000px;
  margin: 4rem auto;
  padding: 0 2rem;
}

.carousel-title {
  text-align: center;
  margin-bottom: 2.5rem;
  color: var(--primary);
  font-size: 1.8rem;
  font-weight: 600;
}

.carousel {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.1);
  background: white;
  padding: 3rem 0;
  border: 1px solid rgba(0,0,0,0.05);
}

.carousel-inner {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.carousel-item {
  min-width: 100%;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  box-sizing: border-box;
}

.carousel-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 800px;
  margin: 0 auto;
}

.device-frame {
  position: relative;
  max-width: 300px;
  margin: 0 auto;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 30px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.2);
  border: 5px solid #2c3e50;
}

.device-frame::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 5px;
  background: #2c3e50;
  border-radius: 5px;
  z-index: 10;
}

.device-frame img {
  max-width: 100%;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.05);
  display: block;
  transition: transform 0.3s ease;
}

.device-frame img:hover {
  transform: scale(1.02);
}

.carousel-caption {
  margin-top: 1.5rem;
  color: var(--medium-gray);
  font-size: 0.95rem;
  font-weight: 500;
  text-align: center;
  max-width: 80%;
}

.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  cursor: pointer;
  z-index: 10;
  border: none;
  opacity: 0.9;
  transition: all 0.3s ease;
}

.carousel-control:hover {
  opacity: 1;
  transform: translateY(-50%) scale(1.05);
}

.carousel-control.prev {
  left: 20px;
}

.carousel-control.next {
  right: 20px;
}

.carousel-control svg {
  width: 36px;
  height: 36px;
  fill: var(--primary);
}

.carousel-indicators {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
  gap: 8px;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #e0e0e0;
  margin: 0 5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator.active {
  background: var(--primary);
  transform: scale(1.2);
}

/* Demo Section Styles */
.demo-section {
  max-width: 1000px;
  margin: 4rem auto;
  padding: 0 2rem;
}

.demo-title {
  text-align: center;
  margin-bottom: 2.5rem;
  color: var(--primary);
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.demo-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  background: white;
  border-radius: 16px;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.1);
  padding: 2rem;
  border: 1px solid rgba(0,0,0,0.05);
}

.demo-info {
  flex: 1;
  min-width: 300px;
}

.demo-info h3 {
  color: var(--primary);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.demo-info p {
  margin-bottom: 1rem;
  line-height: 1.6;
  color: var(--dark-gray);
}

.login-details {
  background: #f8f9fa;
  padding: 1rem;
  border-radius: 8px;
  margin: 1.5rem 0;
}

.login-details p {
  margin: 0.5rem 0;
  font-family: monospace;
  font-size: 1rem;
}

.demo-qr {
  flex: 1;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.demo-qr img {
  max-width: 200px;
  margin-bottom: 1.5rem;
}

.demo-qr p {
  margin: 0.5rem 0;
  color: var(--medium-gray);
}

.demo-link {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.8rem 1.5rem;
  background: var(--primary);
  color: white;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.3s ease;
}

.demo-link:hover {
  background: var(--primary-dark);
  text-decoration: none;
}

.demo-link2 {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.8rem 1.5rem;
  background: var(--primary);
  color: white;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.3s ease;
}

.demo-link2:hover {
  background: var(--primary-dark);
  text-decoration: none;
}

/* Back Button */
.back-button {
  display: block;
  text-align: center;
  margin: 3rem auto;
  padding: 0.8rem 1.5rem;
  background: var(--primary);
  color: white;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.3s ease;
  max-width: 200px;
}

.back-button:hover {
  background: var(--primary-dark);
  text-decoration: none;
}

/* Footer */
footer {
  background: var(--dark);
  color: var(--light-gray);
  padding: 2rem 0;
  text-align: center;
}

footer p {
  margin-top: 1rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .project-header {
      padding: 4rem 1rem 2rem;
  }
  
  .project-overview, 
  .demo-container {
      flex-direction: column;
      padding: 1rem;
  }
  
  .carousel {
      border-radius: 12px;
      padding: 1.5rem 0;
  }
  
  .carousel-control {
      width: 40px;
      height: 40px;
  }
  
  .carousel-control.prev {
      left: 10px;
  }
  
  .carousel-control.next {
      right: 10px;
  }
  
  .device-frame {
      max-width: 250px;
      border-radius: 25px;
  }
  
  .demo-qr {
      order: -1;
      margin-bottom: 2rem;
  }
}

@media (max-width: 480px) {
  .project-header h1 {
      font-size: 2rem;
  }
  
  .project-header p {
      font-size: 1rem;
  }
  
  .carousel-title, 
  .demo-title {
      font-size: 1.5rem;
  }
}

@media (max-width: 768px) {

  .demo-container {
    flex-direction: column;
  }

  .demo-info {
    order: 1; /* Make instructions appear first */
  }

  .demo-qr {
    order: 2; /* Make QR code appear second */
    margin-top: 2rem;
    text-align: center;
  }
}
@media (min-width: 769px) {
  /* Hide mobile button on desktop */
  .demo-link.mobile-only {
    display: none;
  }
  .demo-link.desktop-only {
    display: inline-block;
  }
}

/* Kennels Carousel Styles */
.carousel-container-kennels {
  max-width: 1000px;
  margin: 4rem auto;
  padding: 0 2rem;
}

.carousel-title-kennels {
  text-align: center;
  margin-bottom: 2.5rem;
  color: var(--primary);
  font-size: 1.8rem;
  font-weight: 600;
}

.carousel-kennels {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.1);
  background: white;
  padding: 1.5rem 0;
  border: 1px solid rgba(0,0,0,0.05);
  width: 100%;
}

.carousel-inner-kennels {
  display: flex;
  transition: transform 0.5s ease;
  width: 100%;
  scroll-snap-type: x mandatory;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.carousel-item-kennels {
  min-width: 100%;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  scroll-snap-align: center;
}

.carousel-content-kennels {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.carousel-content-kennels img {
  width: auto;
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.05);
  display: block;
  margin: 0 auto;
}

.carousel-caption-kennels {
  margin-top: 1.5rem;
  color: var(--medium-gray);
  font-size: 0.95rem;
  font-weight: 500;
  text-align: center;
  max-width: 90%;
  padding: 0 1rem;
}

.carousel-control-kennels {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.9);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  cursor: pointer;
  z-index: 10;
  border: none;
  opacity: 0.9;
  transition: all 0.3s ease;
}

.carousel-control-kennels:hover {
  opacity: 1;
  transform: translateY(-50%) scale(1.05);
}

.carousel-control-kennels.prev {
  left: 15px;
}

.carousel-control-kennels.next {
  right: 15px;
}

.carousel-control-kennels svg {
  width: 24px;
  height: 24px;
  fill: var(--primary);
}

.carousel-indicators-kennels {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
  gap: 8px;
}

.indicator-kennels {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e0e0e0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator-kennels.active {
  background: var(--primary);
  transform: scale(1.2);
}

.carousel-inner-kennels::-webkit-scrollbar {
  display: none;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .carousel-kennels {
    padding: 0.5rem 0;
    border-radius: 8px;
    margin: 0 -1rem;
    width: calc(100% + 2rem);
  }

  .carousel-container-kennels {
    padding: 0 1rem;
  }

  .carousel-content-kennels {
    padding: 0 10px;
  }

  .carousel-content-kennels img {
    max-height: auto;
    width: 10px;
  }

  .carousel-control-kennels {
    width: 36px;
    height: 36px;
  }

  .carousel-control-kennels svg {
    width: 20px;
    height: 20px;
  }

  .carousel-caption-kennels {
    font-size: 0.85rem;
    max-width: 95%;
  }
}

/* Small mobile devices */
@media (max-width: 480px) {
  .carousel-content-kennels img {
    max-height: 50vh;
  }

  .carousel-title-kennels {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 768px) {
  .carousel-kennels {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: 0.5rem 0;
  }

  .carousel-container-kennels {
    padding: 0;
    overflow: hidden;
  }

  .carousel-inner-kennels {
    padding-left: 20px; /* Creates space for first item to center */
    padding-right: 20px; /* Creates space for last item to center */
    scroll-padding: 20px; /* Ensures snap happens within visible area */
  }

  .carousel-item-kennels {
    padding: 0 10px;
    min-width: calc(100% - 20px); /* Accounts for padding */
  }

  .carousel-content-kennels {
    width: 100%;
    max-width: 100%;
  }

  .carousel-content-kennels img {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 20vh;
    margin: 0 auto;
    display: block;
  }

  /* Improved scroll snapping */
  .carousel-inner-kennels {
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  
  .carousel-item-kennels {
    scroll-snap-align: center;
  }
  
  .carousel-inner-kennels::-webkit-scrollbar {
    display: none;
  }
}

