/* SmartVet Web Styles */
:root {
  --primary-color: #0175C2;
  --secondary-color: #670318;
  --text-color: #333333;
  --light-gray: #CACED6;
  --background-color: #FFFFFF;
  --easing: cubic-bezier(.46,0,.45,.99);
}

body {
  font-family: 'Poppins', 'Lato', 'Montserrat', sans-serif;
  margin: 0;
  padding: 0;
  color: var(--text-color);
  background-color: var(--background-color);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(5px);
  z-index: 1000; /* Keep nav on top of everything */
  padding: 15px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.nav__left {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav__logo {
  display: flex;
  align-items: center;
}

.nav__logo img {
  height: 40px;
}

.nav__links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__link {
  margin: 0 15px;
  position: relative;
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav__link:after {
  background-color: var(--primary-color);
  content: "";
  display: block;
  position: absolute;
  bottom: -5px;
  height: 2px;
  width: 100%;
  transition: transform .5s ease;
  transform: scale3d(0,1,1);
  transform-origin: right;
}

.nav__link:hover {
  color: var(--primary-color);
}

.nav__link:hover:after {
  transform: scale3d(1,1,1);
  transform-origin: left;
}

/* Navigation Buttons */
.nav__buttons {
  display: flex;
  gap: 10px;
  align-items: center;
}

/* Buttons */
.button {
  display: inline-block;
  padding: 10px 20px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.button:hover {
  background-color: #015f9e;
}

.button--secondary {
  background-color: transparent;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
}

.button--secondary:hover {
  background-color: rgba(1, 117, 194, 0.1);
}

/* Hero Section */
.hero {
  padding: 210px 0 150px;
  position: relative;
  overflow: visible; /* Changed from hidden to visible */
  z-index: 10;
  background-image: url('../images/paw-pattern.svg');
  background-repeat: repeat;
  background-size: 120px 120px;
  background-position: 0 0;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('../images/paw-pattern.svg');
  background-repeat: repeat;
  background-size: 80px 80px;
  background-position: 60px 60px;
  opacity: 0.3;
  z-index: 1;
  pointer-events: none;
}

.hero__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  height: 100%;
  z-index: 11;
}

.hero__content {
  max-width: 600px;
  z-index: 12;
  position: relative;
  flex: 1;
}

.hero__image {
  position: absolute; /* Changed from absolute to fixed */
  width: 330px;
  height: auto;
  right: 250px;
  top: 14%; 
  transform: translateY(-50%);
  z-index: 999; /* Very high z-index, just below navigation */
  max-width: 100%;
  object-fit: contain;
  pointer-events: none; /* Allows clicking through the image if needed */
}

.hero__image_cat {
  position: absolute; /* Changed from absolute to fixed */
  width: 300px;
  height: auto;
  right: 200px;
  top: 9%;
  transform: translateY(-50%);
  z-index: 999; /* Very high z-index, just below navigation */
  max-width: 100%;
  object-fit: contain;
  pointer-events: none; /* Allows clicking through the image if needed */
}

.hero__image_paw {
  position: absolute; /* Changed from absolute to fixed */
  width: 300px;
  height: auto;
  right: 170px;
  top: -16%;
  transform: translateY(-50%);
  z-index: 999; /* Very high z-index, just below navigation */
  max-width: 100%;
  object-fit: contain;
  pointer-events: none; /* Allows clicking through the image if needed */
}

.hero__dog {
  width: 230%;
  height: auto;

}

.hero__cat {
  width: 170%;
  height: auto;
}

.hero__cat {
  width: 170%;
  height: auto;
}

.hero__title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.hero__subtitle {
  font-size: 20px;
  margin-bottom: 30px;
  line-height: 1.5;
}

.hero__buttons {
  display: flex;
  gap: 15px;
}

.about__container {
    margin-top: 20px;
    top: 20%;
}

/* Features Section */
.features {
  padding-top: 50px;
  padding-bottom: 200px;
  background-color: #f9f9f9;
  position: relative;
  z-index: 1; /* Much lower z-index so dog appears in front */
}

.section__title {
  text-align: center;
  font-size: 36px;
  padding-top: 60px;
  margin-bottom: 50px;
  color: var(--primary-color);
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.feature__card {
  background-color: white;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.feature__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature__icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
}

.feature__title {
  font-size: 20px;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.feature__description {
  line-height: 1.6;
}

/* Footer */
.footer {
  background-color: #333;
  color: white;
  padding: 60px 0 30px;
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer__logo img {
  height: 60px;
  margin-bottom: 20px;
}

.footer__title {
  font-size: 18px;
  margin-bottom: 20px;
  font-weight: 600;
}

.footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__link {
  margin-bottom: 10px;
}

.footer__link a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer__link a:hover {
  color: white;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  text-align: center;
  font-size: 14px;
  color: #aaa;
}

/* Responsive */
@media (max-width: 768px) {
  .nav__links {
    display: flex;
    flex-direction: column;
  }
  
  /* Hide nav buttons on mobile - they're shown in sidebar instead */
  .nav__buttons {
    display: none;
  }
  
  .nav__link {
    margin: 10px 0;
  }
  
  .btn-signin, .btn-register {
    margin-top: 10px;
  }
  
  .nav__links {
    display: none;
  }
  
  /* Hide hero dog and yellow circle on mobile */
  .hero__dog {
    display: none;
  }
  
  .hero__cat {
    display: none;
  }
  
  /* Keep paw pattern background on mobile - removed display: none */
  
  .hero__container {
    flex-direction: column;
    text-align: center;
  }
  
  .hero__content {
    max-width: 100%;
  }
  
  .hero__title {
    font-size: 36px;
  }
  
  .hero__subtitle {
    font-size: 18px;
  }
  
  .hero__buttons {
    flex-direction: column;
    gap: 10px;
  }
  
  .button {
    width: 100%;
    text-align: center;
  }
}

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

.animate-fadeIn {
  animation: fadeIn 0.8s ease forwards;
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mb-1 {
  margin-bottom: 0.5rem;
}

.mb-2 {
  margin-bottom: 1rem;
}

.mb-3 {
  margin-bottom: 1.5rem;
}

.mb-4 {
  margin-bottom: 2rem;
}

.mt-1 {
  margin-top: 0.5rem;
}

.mt-2 {
  margin-top: 1rem;
}

.mt-3 {
  margin-top: 1.5rem;
}

.mt-4 {
  margin-top: 2rem;
}

.sidebar .nav__links {
  list-style: none;
  padding: 0;
}

.sidebar .nav__links li {
  margin: 10px 0;
}

.btn-signin, .btn-register {
  display: block;
  width: 100%;
  padding: 10px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 5px;
  text-align: center;
  cursor: pointer;
}

.btn-signin:hover, .btn-register:hover {
  background-color: #0056b3;
}

/* Mobile App Section */
.mobile-app {
  padding: 100px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  position: relative;
  overflow: hidden;
}

.mobile-app::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('../images/mobile-pattern.svg');
  background-repeat: repeat;
  background-size: 60px 60px;
  opacity: 0.05;
  z-index: 1;
}

.mobile-app__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  position: relative;
  z-index: 2;
}

.mobile-app__content {
  flex: 1;
  max-width: 600px;
}

.mobile-app__subtitle {
  font-size: 24px;
  font-weight: 600;
  color: var(--primary-color);
  margin: 10px 0 20px 0;
  line-height: 1.3;
}

.mobile-app__description {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-color);
  margin-bottom: 40px;
  opacity: 0.9;
}

.mobile-app__features {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-bottom: 40px;
}

.mobile-feature {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.mobile-feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.mobile-feature__icon {
  font-size: 24px;
  color: var(--primary-color);
  background: linear-gradient(135deg, rgba(1, 117, 194, 0.1), rgba(1, 117, 194, 0.05));
  padding: 15px;
  border-radius: 10px;
  min-width: 54px;
  text-align: center;
}

.mobile-feature__content h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-color);
  margin: 0 0 8px 0;
}

.mobile-feature__content p {
  font-size: 14px;
  color: var(--text-color);
  opacity: 0.8;
  margin: 0;
  line-height: 1.5;
}

.mobile-app__download {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.button--android {
  background: linear-gradient(135deg, #32d74b, #28a745);
  border: none;
  padding: 15px 30px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(50, 215, 75, 0.3);
}

.button--android:hover {
  background: linear-gradient(135deg, #28a745, #218838);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(50, 215, 75, 0.4);
}

.button--android:disabled {
  background: #6c757d;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.button--android i {
  font-size: 20px;
}

.download-note {
  font-size: 12px;
  color: var(--text-color);
  opacity: 0.6;
  margin: 0;
  font-style: italic;
}

.mobile-app__image {
  flex: 0 0 600px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mobile-mockup {
  position: relative;
  max-width: none;
  width: 500px;
}

.mobile-mockup__image {
  width: 700px;
  height: auto;
  border-radius: 20px;
  transition: transform 0.3s ease;
  max-width: none;
}

.mobile-mockup:hover .mobile-mockup__image {
  transform: scale(1.02);
}

/* Mobile App Section Responsive */
@media (max-width: 992px) {
  .mobile-app__container {
    flex-direction: column;
    gap: 40px;
    text-align: center;
  }
  
  .mobile-app__image {
    flex: none;
    order: -1;
  }
  
  .mobile-app__download {
    align-items: center;
  }
}

@media (max-width: 768px) {
  .mobile-app {
    padding: 60px 0;
  }
  
  .mobile-app__container {
    gap: 30px;
  }
  
  .mobile-app__subtitle {
    font-size: 20px;
  }
  
  .mobile-app__description {
    font-size: 15px;
    margin-bottom: 30px;
  }
  
  .mobile-feature {
    padding: 15px;
    gap: 15px;
  }
  
  .mobile-feature__icon {
    font-size: 20px;
    padding: 12px;
    min-width: 44px;
  }
  
  .mobile-feature__content h4 {
    font-size: 16px;
  }
  
  .mobile-feature__content p {
    font-size: 13px;
  }
  
  .button--android {
    padding: 12px 24px;
    font-size: 15px;
  }
  
  .mobile-app__image {
    flex: 0 0 400px;
  }
  
  .mobile-mockup {
    width: 350px;
  }
  
  .mobile-mockup__image {
    width: 350px;
  }
}

@media (max-width: 576px) {
  .mobile-app {
    padding: 40px 0;
  }
  
  .mobile-app__subtitle {
    font-size: 18px;
  }
  
  .mobile-app__description {
    font-size: 14px;
  }
  
  .mobile-feature {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
  
  .mobile-feature__icon {
    align-self: center;
  }
  
  .button--android {
    padding: 10px 20px;
    font-size: 14px;
    width: 100%;
    justify-content: center;
  }
  
  .mobile-app__image {
    flex: 0 0 300px;
  }
  
  .mobile-mockup {
    width: 280px;
  }
  
  .mobile-mockup__image {
    width: 280px;
  }
}