/* ===== MARQUEE/TICKER STYLES ===== */
/* Scrolling announcement bar with gradient background */
.marquee-container {
  width: 100%;
  overflow: hidden;
  background: linear-gradient(90deg, #ff9cee 0%, #c77dff 50%, #5d6dff 100%);
  color: white;
  padding: 14px 0;
  font-size: 18px;
  font-weight: bold;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
  box-shadow: 0 3px 10px rgba(93, 109, 255, 0.3);
}

/* Container for scrolling content (double width for seamless looping) */
.marquee-content {
  display: flex;
  width: 200%;
  animation: scroll 25s linear infinite;
}

/* Individual items in the marquee */
.marquee-item {
  white-space: nowrap;
  padding: 0 40px;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

/* Alternate hover effects for odd/even items */
.marquee-item:nth-child(odd):hover {
  color: #ffd6f7; /* light pink */
  transform: scale(1.05);
}

.marquee-item:nth-child(even):hover {
  color: #d9b8ff; /* light purple */
  transform: scale(1.05);
}

/* Pause animation on hover */
.marquee-container:hover .marquee-content {
  animation-play-state: paused;
}

/* Animation for scrolling effect */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ===== RESPONSIVE ADJUSTMENTS FOR MARQUEE ===== */
@media (max-width: 768px) {
  .marquee-container {
    font-size: 16px;
    padding: 10px 0;
    background: linear-gradient(90deg, #ff9cee 0%, #c77dff 100%);
  }
  .marquee-item {
    padding: 0 25px;
  }
}

/* ===== ROOT VARIABLES ===== */
/* CSS custom properties for consistent theming */
:root {
  --primary: #FF6B8B; /* Warm pet pink - main brand color */
  --primary-dark: #E04F6F; /* Darker shade of primary */
  --secondary: #5D6DFF; /* Trust blue - secondary accent */
  --accent: #FFB347; /* Happy orange - for highlights */
  --dark: #2D3748; /* Main text color */
  --light: #FFFFFF; /* White background */
  --light-gray: #F7FAFC; /* Light background color */
  --medium-gray: #E2E8F0; /* Borders and subtle elements */
}

/* ===== HEADER STYLES ===== */
/* Main header container */
.header {
  background-color: var(--light);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  z-index: 997;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* Scrolled state for header */
.header.scrolled {
  padding: 8px 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Main container for header content */
.container-fluid.container-xl {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ===== LOGO STYLES ===== */
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  margin-right: auto; /* Pushes nav to the right */
}

/* Icon in logo */
.logo i {
  font-size: 34px;
  margin-right: 12px;
  color: var(--primary);
}

/* Site name text */
.sitename {
  margin: 0;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.5px;
}

/* ===== NAVIGATION MENU ===== */
.navmenu {
  margin-left: auto; /* Aligns nav to the right */
}

/* Main nav list */
.navmenu ul {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
  align-items: center;
  gap: 4px;
}

/* Nav items */
.navmenu li {
  position: relative;
}

/* Nav links */
.navmenu > ul > li > a {
  padding: 16px 20px;
  font-size: 18px;
  font-weight: 600;
  color: var(--dark);
  transition: all 0.3s ease;
  border-radius: 6px;
}

/* Active state for nav links */
.navmenu > ul > li > a.active {
  color: var(--primary);
  background: rgba(255, 107, 139, 0.08);
}

/* Icons in nav links */
.navmenu a i:not(.toggle-dropdown) {
  margin-right: 8px;
  font-size: 18px;
}

/* Hover state for nav links */
.navmenu a:hover:not(.active) {
  color: var(--primary);
  background: rgba(255, 107, 139, 0.08);
}

/* Dropdown toggle icon */
.navmenu .dropdown .toggle-dropdown {
  transition: transform 5s ease;
}

/* Dropdown toggle icon rotation on hover */
.navmenu .dropdown:hover .toggle-dropdown {
  transform: rotate(180deg);
}

/* ===== DROPDOWN MENUS ===== */
.navmenu .dropdown ul {
  display: block;
  position: absolute;
  left: 0;
  top: 100%;
  margin: 4px 0 0 0;
  padding: 12px 0;
  z-index: 99;
  opacity: 0;
  /* visibility: hidden; */
  background: var(--light);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  min-width: 240px;
  transition: all 0.3s ease;
  transform: translateY(10px);
}

/* Dropdown menu items */
.navmenu .dropdown ul li {
  padding: 0;
}

/* Dropdown menu links */
.navmenu .dropdown ul a {
  padding: 12px 24px;
  font-size: 16px;
  color: var(--dark);
  display: flex;
  align-items: center;
}

/* Dropdown menu link hover */
.navmenu .dropdown ul a:hover {
  background: rgba(255, 107, 139, 0.1);
  color: var(--primary);
  padding-left: 26px;
}

/* Show dropdown on hover */
.navmenu .dropdown:hover > ul {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ===== CTA BUTTON ===== */
.adopt-now-btn {
  background: var(--primary);
  color: white !important;
  padding: 12px 24px;
  border-radius: 8px;
  margin-left: 16px;
  font-weight: 700;
  font-size: 18px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(255, 107, 139, 0.25);
}

/* CTA button hover state */
.adopt-now-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 107, 139, 0.3);
}

/* ===== MOBILE NAVIGATION ===== */
.mobile-nav-toggle {
  color: var(--dark);
  font-size: 28px;
  cursor: pointer;
  transition: 0.3s;
  display: none;
}

/* Mobile toggle hover */
.mobile-nav-toggle:hover {
  color: var(--primary);
}
/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 1200px) {
  /* Slightly smaller nav items */
  .navmenu > ul > li > a {
    padding: 16px 18px;
    font-size: 16px;
  }
  
  /* Smaller CTA button */
  .adopt-now-btn {
    padding: 12px 20px;
    margin-left: 12px;
  }
}

/* Tablet breakpoint */
@media (max-width: 992px) {
  /* Show mobile toggle */
  .mobile-nav-toggle {
    display: none;
  }
  
  /* Mobile menu styles */
  .navmenu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    padding: 80px 20px 30px;
    background: var(--light);
    transition: 0.4s;
    overflow-y: auto;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
  }
  
  /* Active mobile menu */
  .navmenu.active {
    right: 0;
  }
  
  /* Stack nav items vertically */
  .navmenu ul {
    display: block;
    padding: 0;
  }
  
  /* Add borders between items */
  .navmenu li {
    padding: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }
  
  /* Adjust link padding */
  .navmenu > ul > li > a {
    padding: 18px 0;
    font-size: 18px;
    border-radius: 0;
  }
  
  /* Nested dropdown styles */
  .navmenu .dropdown ul {
    position: static;
    display: none;
    padding: 0;
    margin: 0;
    box-shadow: none;
    border-radius: 0;
  }
  
  /* Nested dropdown links */
  .navmenu .dropdown ul a {
    padding: 14px 0 14px 30px;
    font-size: 16px;
  }
  
  /* Nested dropdown hover */
  .navmenu .dropdown ul a:hover {
    padding-left: 32px;
  }
  
  /* Mobile CTA button */
  .adopt-now-btn {
    margin: 20px 0 0;
    display: block;
    text-align: center;
    width: 100%;
    font-size: 18px;
    padding: 14px 0;
  }
  
  /* Position mobile toggle */
  .mobile-nav-toggle {
    position: absolute;
    right: 15px;
    top: 15px;
  }
}

/* ===== PAW ICON ANIMATION ===== */
.paw-icon {
  margin-right: 12px;
  transition: transform 0.3s ease;
}

/* Rotate paw icon on logo hover */
.logo:hover .paw-icon {
  transform: rotate(-15deg);
}

/* ===== HERO SECTION ===== */
/* Full-width hero with background image */
.hero-section {
  background-color: #f8f9fa;
  padding: 80px 0;
  text-align: center;
  background-image: url('https://img.freepik.com/free-photo/adorable-portrait-pet-surrounded-by-flowers_23-2151850012.jpg');
  background-size: cover;
  background-position: center;
}

/* Hero content container */
.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Main hero heading */
.hero-content h1 {
  font-size: 2.8rem;
  color: dark rgb(8, 8, 8);
  margin-bottom: 20px;
  font-weight: 700;
}

/* Hero subtitle */
.hero-subtitle {
  font-size: 1.2rem;
  color: dark rgb(8, 8, 8);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== SEARCH CONTAINER ===== */
.search-container {
  max-width: 800px;
  margin: 0 auto 40px;
}

/* Search input group */
.search-input-group {
  display: flex;
  background: white;
  border-radius: 50px;
  padding: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Search input fields */
.search-input-group input {
  flex: 1;
  padding: 15px 20px;
  border: none;
  font-size: 1rem;
  border-radius: 50px;
}

/* Remove focus outline */
.search-input-group input:focus {
  outline: none;
}

/* First input border radius */
.search-input-group input:first-child {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-right: 1px solid #eee;
}

/* Last input border radius */
.search-input-group input:last-child {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

/* Search button */
.search-button {
  background-color: var(--primary);
  color: white;
  border: none;
  padding: 0 30px;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* Search button hover */
.search-button:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
}

/* ===== CATEGORY CARDS ===== */
.category-cards {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  max-width: 800px;
  margin: 0 auto;
}

/* Individual category card */
.category-card {
  background: white;
  padding: 20px 30px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  flex: 1;
  min-width: 160px;
  max-width: 200px;
}

/* Category card hover */
.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  background-color: var(--primary);
  color: white;
}

/* Icon color change on hover */
.category-card:hover i {
  color: white;
}

/* Category icon */
.category-card i {
  font-size: 1.5rem;
  color: var(--primary);
  transition: all 0.3s ease;
}

/* Category text */
.category-card span {
  font-weight: 600;
  font-size: 1rem;
}

/* ===== RESPONSIVE ADJUSTMENTS FOR HERO ===== */
@media (max-width: 768px) {
  /* Smaller heading */
  .hero-content h1 {
    font-size: 2.2rem;
  }
  
  /* Smaller subtitle */
  .hero-subtitle {
    font-size: 1rem;
  }
  
  /* Stack search inputs vertically */
  .search-input-group {
    flex-direction: column;
    border-radius: 12px;
    padding: 15px;
    gap: 10px;
  }
  
  /* Adjust input borders */
  .search-input-group input {
    border-radius: 8px !important;
    border-right: none !important;
    padding: 12px 15px;
  }
  
  /* Full-width search button */
  .search-button {
    padding: 12px;
    width: 100%;
  }
  
  /* Smaller category card gap */
  .category-cards {
    gap: 10px;
  }
  
  /* Smaller category cards */
  .category-card {
    padding: 15px;
    min-width: 120px;
  }
}

/* ===== FEATURED PETS SECTION ===== */
.featured-pets {
  padding: 60px 0;
  background-color: var(--light-gray);
}

/* Section container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Section header */
.section-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 40px;
  text-align: center;
}

/* Section heading */
.section-header h2 {
  font-size: 2rem;
  color: var(--dark);
  margin: 0 0 15px 0;
}

/* View all link */
.view-all {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: all 0.3s ease;
}

/* View all hover */
.view-all:hover {
  color: var(--primary-dark);
  transform: translateX(3px);
}

/* View all icon */
.view-all i {
  font-size: 0.9rem;
}

/* Pet grid layout */
.pet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

/* Pet card */
.pet-card {
  display: block;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
}

/* Pet card hover */
.pet-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Pet image container */
.pet-image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

/* Pet image */
.pet-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

/* Image zoom on hover */
.pet-card:hover .pet-image img {
  transform: scale(1.05);
}

/* Pet type badge */
.pet-type {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background-color: var(--primary);
  color: white;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
}

/* Pet name */
.pet-card h3 {
  margin: 20px 20px 10px;
  color: var(--dark);
  font-size: 1.4rem;
}

/* Pet details */
.pet-details {
  display: flex;
  justify-content: space-between;
  padding: 0 20px 20px;
  font-size: 1rem;
  color: var(--dark);
}

/* Detail items */
.pet-details span {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Detail icons */
.pet-details i {
  color: var(--primary);
}

/* ===== RESPONSIVE ADJUSTMENTS FOR PET GRID ===== */
@media (max-width: 768px) {
  /* 2 columns on tablet */
  .pet-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  /* 1 column on mobile */
  .pet-grid {
    grid-template-columns: 1fr;
  }
  
  /* Slightly smaller images */
  .pet-image {
    height: 220px;
  }
}

/* ===== PET ADOPTION INFO SECTION ===== */
.pet-adoption-info {
  padding: 80px 0;
  font-family: 'Segoe UI', system-ui, sans-serif;
  background: linear-gradient(135deg, rgba(233, 125, 215, 0.05) 0%, rgba(193, 143, 231, 0.05) 50%, rgba(154, 160, 211, 0.05) 100%);
}

/* Main title */
.main-title {
  text-align: center;
  font-size: 2.5rem;
  color: #5b007f;
  margin-bottom: 60px;
  font-weight: 700;
  position: relative;
}

/* Title underline */
.main-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, #ff9cee 0%, #c77dff 50%, #5d6dff 100%);
  border-radius: 2px;
}

/* Info cards grid */
.info-sections {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

/* Individual info card */
.info-section {
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

/* Card hover */
.info-section:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

/* Card title */
.section-title {
  background: linear-gradient(90deg, #ff9cee 0%, #c77dff 50%, #5d6dff 100%);
  color: white;
  padding: 25px;
  margin: 0;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* Card content */
.section-content {
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Card text */
.section-content p {
  color: #555;
  line-height: 1.7;
  margin-bottom: 25px;
  font-size: 1.05rem;
  max-width: 300px;
}

/* Learn more link */
.learn-more-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #5d6dff;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  padding: 8px 16px;
  border-radius: 50px;
  background: rgba(93, 109, 255, 0.1);
}

/* Learn more hover */
.learn-more-link:hover {
  color: white;
  background: linear-gradient(90deg, #ff9cee 0%, #c77dff 50%, #5d6dff 100%);
  transform: translateX(5px);
}

/* Learn more icon */
.learn-more-link svg {
  transition: transform 0.3s ease;
}

/* Learn more icon animation */
.learn-more-link:hover svg {
  transform: translateX(3px);
}

/* ===== RESPONSIVE ADJUSTMENTS FOR INFO SECTION ===== */
@media (max-width: 768px) {
  /* Smaller title */
  .main-title {
    font-size: 2rem;
    margin-bottom: 50px;
  }
  
  /* Single column layout */
  .info-sections {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }
  
  /* Smaller title padding */
  .section-title {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  /* Smaller padding */
  .pet-adoption-info {
    padding: 60px 0;
  }
  
  /* Smaller title */
  .main-title {
    font-size: 1.8rem;
  }
  
  /* Smaller content padding */
  .section-content {
    padding: 25px 20px;
  }
}

/* ===== QUOTE ROTATOR SECTION ===== */
.quote-rotator {
  padding: 100px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  color: white;
}

/* Background images for quotes */
.quote-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: -1;
}

/* Color overlay for background */
.quote-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(255,156,238,0.7) 0%, rgba(199,125,255,0.7) 50%, rgba(93,109,255,0.7) 100%);
}

/* Active background */
.quote-bg.active {
  opacity: 1;
}

/* Section heading */
.quote-rotator h2 {
  font-size: 2.5rem;
  margin-bottom: 40px;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Quotes container */
.quotes-wrapper {
  position: relative;
  min-height: 200px;
  margin-bottom: 30px;
}

/* Individual quote */
.quote {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease-in-out;
}

/* Active quote */
.quote.active {
  opacity: 1;
  position: relative;
  transform: translateY(0);
}

/* Quote text */
.quote-text {
  font-size: 1.8rem;
  line-height: 1.4;
  margin-bottom: 20px;
  font-weight: 500;
  font-style: italic;
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Quote author */
.quote-author {
  font-weight: 600;
  font-size: 1.1rem;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

/* Navigation dots */
.quote-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}

/* Individual dot */
.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

/* Active dot */
.dot.active {
  background: white;
  transform: scale(1.2);
}

/* ===== RESPONSIVE ADJUSTMENTS FOR QUOTE ROTATOR ===== */
@media (max-width: 768px) {
  /* Smaller padding */
  .quote-rotator {
    padding: 80px 20px;
  }
  
  /* Smaller heading */
  .quote-rotator h2 {
    font-size: 2rem;
  }
  
  /* Smaller quote text */
  .quote-text {
    font-size: 1.4rem;
  }
}

@media (max-width: 480px) {
  /* Smaller padding */
  .quote-rotator {
    padding: 60px 20px;
  }
  
  /* Smaller heading */
  .quote-rotator h2 {
    font-size: 1.8rem;
  }
  
  /* Smaller quote text */
  .quote-text {
    font-size: 1.2rem;
  }
  
  /* Smaller author */
  .quote-author {
    font-size: 1rem;
  }
}
/* Section Styles */
.articles-section {
  max-width: 1400px;
  margin: 80px auto;
  padding: 0 30px;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 42px;
  font-weight: 800;
  color: #2c3e50;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-header h2:after {
  content: '';
  position: absolute;
  width: 80px;
  height: 4px;
  background-color: #FF6B6B;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

.section-subtitle {
  font-size: 20px;
  color: #7f8c8d;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Article Cards Container */
.article-cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 40px;
}

/* Base Card Styles */
.article-card {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  min-height: 400px;
  display: flex;
  align-items: flex-end;
  position: relative;
  background-size: cover;
  background-position: center;
}

/* Card Content */
.card-content {
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 100%);
  padding: 40px;
  width: 100%;
  color: white;
  z-index: 2;
}

/* Card Titles */
.article-card h3 {
  font-size: 36px;
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.2;
}

/* Card Descriptions */
.article-card p {
  font-size: 22px;
  margin-bottom: 35px;
  line-height: 1.5;
  max-width: 80%;
}

/* Read More Button */
.read-more-btn {
  display: inline-block;
  padding: 16px 40px;
  background-color: #FF6B6B;
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 18px;
  transition: all 0.3s ease;
  border: 2px solid #FF6B6B;
  letter-spacing: 0.5px;
}

.read-more-btn:hover {
  background-color: transparent;
  color: white;
  transform: translateY(-3px) scale(1.02);
}

/* Individual Card Backgrounds */
.dog-card {
  background-image: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), 
                  url('https://images.unsplash.com/photo-1586671267731-da2cf3ceeb80?ixlib=rb-1.2.1&auto=format&fit=crop&w=1600&q=80');
}

.cat-card {
  background-image: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), 
                  url('https://images.unsplash.com/photo-1514888286974-6c03e2ca1dba?ixlib=rb-1.2.1&auto=format&fit=crop&w=1600&q=80');
}

/* Hover Effects */
.article-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
  .section-header h2 {
    font-size: 38px;
  }
  
  .article-card h3 {
    font-size: 32px;
  }
  
  .article-card p {
    font-size: 20px;
  }
}

@media (max-width: 992px) {
  .articles-section {
    margin: 60px auto;
  }
  
  .article-cards-container {
    grid-template-columns: 1fr;
    max-width: 800px;
    margin: 0 auto;
  }
  
  .article-card {
    min-height: 350px;
  }
}

@media (max-width: 768px) {
  .section-header h2 {
    font-size: 32px;
  }
  
  .section-subtitle {
    font-size: 18px;
  }
  
  .article-card h3 {
    font-size: 28px;
  }
  
  .article-card p {
    font-size: 18px;
    max-width: 100%;
  }
  
  .read-more-btn {
    padding: 14px 35px;
    font-size: 16px;
  }
}

@media (max-width: 576px) {
  .articles-section {
    padding: 0 20px;
    margin: 50px auto;
  }
  
  .section-header {
    margin-bottom: 40px;
  }
  
  .section-header h2 {
    font-size: 28px;
  }
  
  .section-header h2:after {
    width: 60px;
    height: 3px;
    bottom: -10px;
  }
  
  .card-content {
    padding: 30px;
  }
  
  .article-card {
    min-height: 300px;
  }
}
/* Modern Comparison Table Design */
.compare-tool {
  background: linear-gradient(to bottom, #f8f9fa 0%, #e9ecef 100%);
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.compare-tool h2 {
  text-align: center;
  font-size: 42px;
  color: #2c3e50;
  margin-bottom: 60px;
  position: relative;
}

.compare-tool h2:after {
  content: '';
  position: absolute;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #ff9cee 0%, #c77dff 50%, #5d6dff 100%);
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

.comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 20px;
  margin-bottom: 50px;
}

.comparison-header {
  background: linear-gradient(90deg, #ff9cee 0%, #c77dff 50%, #5d6dff 100%);
  color: white;
  border-radius: 12px 12px 0 0;
  overflow: hidden;
}

.comparison-header th {
  padding: 25px;
  font-size: 24px;
  font-weight: 600;
  text-align: center;
  position: relative;
}

.comparison-header th:not(:last-child):after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 60%;
  width: 1px;
  background:linear-gradient(90deg, #ff9cee 0%, #c77dff 50%, #5d6dff 100%);
}

.comparison-header th:first-child {
  border-radius: 12px 0 0 0;
}

.comparison-header th:last-child {
  border-radius: 0 12px 0 0;
}

.comparison-row {
  background: white;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.comparison-row:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.comparison-row td {
  padding: 20px;
  text-align: center;
  vertical-align: middle;
  border-bottom: 1px solid #f0f2f5;
}

.comparison-row td:first-child {
  border-radius: 12px 0 0 12px;
  text-align: left;
  font-weight: 600;
  color: #3a5169;
  background: rgba(255,107,107,0.05);
}

.comparison-row td:last-child {
  border-radius: 0 12px 12px 0;
}

.trait-icon {
  font-size: 28px;
  margin-bottom: 10px;
  display: block;
}

.trait-label {
  font-size: 18px;
  color: #3a5169;
}

.highlight-cell {
  background: rgba(255,107,107,0.08);
  position: relative;
}

.highlight-cell:after {
  content: '★';
  position: absolute;
  top: 5px;
  right: 5px;
  color:linear-gradient(90deg, #ff9cee 0%, #c77dff 50%, #5d6dff 100%);
  font-size: 14px;
}

.species-selector {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.species-selector button {
  background: linear-gradient(135deg, #3a5169, #2c3e50);
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 50px;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.species-selector button:hover {
  background: linear-gradient(90deg, #ff9cee 0%, #c77dff 50%, #5d6dff 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255,107,107,0.3);
}

/* Responsive */
@media (max-width: 992px) {
  .comparison-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
  
  .comparison-header th {
    min-width: 200px;
  }
  
  .comparison-row td {
    min-width: 200px;
  }
}

@media (max-width: 768px) {
  .compare-tool h2 {
    font-size: 36px;
  }
  
  .comparison-header th {
    padding: 15px;
    font-size: 20px;
  }
  
  .trait-icon {
    font-size: 24px;
  }
  
  .trait-label {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .compare-tool {
    padding: 60px 15px;
  }
  
  .compare-tool h2 {
    font-size: 30px;
    margin-bottom: 40px;
  }
  
  .species-selector button {
    padding: 10px 20px;
    font-size: 14px;
  }
}
/* Live Feed Styles */
.live-feed {
  background: white;
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
  font-family: 'Arial', sans-serif;
}

.live-feed h2 {
  text-align: center;
  font-size: 32px;
  color: #3a5169;
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.live-pulse {
  background: linear-gradient(90deg, #ff9cee 0%, #c77dff 50%, #5d6dff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 16px;
  margin-left: 15px;
  display: flex;
  align-items: center;
}

.live-pulse:before {
  content: '';
  display: inline-block;
  width: 12px;
  height: 12px;
  background: linear-gradient(90deg, #ff9cee 0%, #c77dff 50%, #5d6dff 100%);
  border-radius: 50%;
  margin-right: 8px;
  animation: pulse 1.5s infinite;
}

.feed-container {
  max-width: 700px;
  margin: 0 auto 40px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 25px rgba(0,0,0,0.05);
}

.feed-item {
  padding: 20px;
  display: flex;
  align-items: center;
  background: white;
  border-bottom: 1px solid #f0f2f5;
  transition: all 0.3s ease;
}

.feed-item:hover {
  background: #f9fafc;
  transform: translateX(5px);
}

.feed-item img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 20px;
  flex-shrink: 0;
}

.feed-item p {
  margin: 0;
  font-size: 16px;
  color: #3a5169;
  flex-grow: 1;
}

.feed-item strong {
  color: #ff6b6b;
  font-weight: 600;
}

.feed-time {
  color: #aab4c3;
  font-size: 14px;
  margin-left: 15px;
  white-space: nowrap;
}

.new-adoption {
  border-left: 4px solid #4CAF50;
}

.new-pet {
  border-left: 4px solid #2196F3;
}

.shelter-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
  min-width: 150px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.stat:hover {
  transform: scale(1.05);
}

.stat-number {
  font-size: 48px;
  font-weight: bold;
  color: #ff6b6b;
  margin-bottom: 10px;
  line-height: 1;
  transition: all 0.5s ease;
}

.stat-label {
  color: #6b7c93;
  font-size: 16px;
  transition: color 0.3s ease;
}

.stat:hover .stat-label {
  color: #3a5169;
}

@keyframes pulse {
  0% { opacity: 1; }
  50% { opacity: 0.5; }
  100% { opacity: 1; }
}

@keyframes countUp {
  from { 
    opacity: 0;
    transform: translateY(10px);
  }
  to { 
    opacity: 1;
    transform: translateY(0);
  }
}

.counting {
  animation: countUp 0.5s ease-out forwards;
}

/* Responsive */
@media (max-width: 768px) {
  .feed-item {
    flex-direction: column;
    text-align: center;
    padding: 15px;
  }
  
  .feed-item img {
    margin-right: 0;
    margin-bottom: 10px;
  }
  
  .feed-time {
    margin-left: 0;
    margin-top: 5px;
  }
  
  .stat {
    min-width: 120px;
  }
  
  .stat-number {
    font-size: 36px;
  }
}
/* Heartbeat Connection Experience */
.heartbeat-experience {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, #fff5f5 0%, #fff 100%);
  border-radius: 30px;
  padding: 40px;
  max-width: 1200px;
  margin: 80px auto;
  box-shadow: 0 30px 60px rgba(255,107,107,0.15);
  position: relative;
  overflow: hidden;
}

.pulse-container {
  width: 45%;
  position: relative;
  perspective: 1000px;
}

.pulse-circle {
  position: absolute;
  border: 2px solid rgba(255,107,107,0.3);
  border-radius: 50%;
  animation: pulse 3s infinite;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.pulse-circle:nth-child(1) {
  width: 300px;
  height: 300px;
  animation-delay: 0s;
}

.pulse-circle:nth-child(2) {
  width: 400px;
  height: 400px;
  animation-delay: 0.5s;
}

.pulse-circle:nth-child(3) {
  width: 500px;
  height: 500px;
  animation-delay: 1s;
}

.pet-heartbeat-image {
  width: 100%;
  border-radius: 20px;
  transform: rotateY(15deg);
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
  transition: transform 0.5s ease;
}

.pulse-container:hover .pet-heartbeat-image {
  transform: rotateY(5deg) scale(1.03);
}

.heart-rate {
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  padding: 15px 25px;
  border-radius: 50px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  z-index: 2;
}

.bpm {
  font-size: 18px;
  color: linear-gradient(90deg, #ff9cee 0%, #c77dff 50%, #5d6dff 100%);
  font-weight: bold;
  margin-right: 15px;
}

.heartbeat-line {
  width: 100px;
  height: 30px;
}

.heartbeat-line path {
  animation: heartbeat 1.5s linear infinite;
}

.connection-panel {
  width: 50%;
  padding-left: 40px;
}

.connection-panel h2 {
  font-size: 42px;
  color: #2c3e50;
  line-height: 1.3;
  margin-bottom: 30px;
}

.highlight {
  background: linear-gradient(90deg, #ff9cee 0%, #c77dff 50%, #5d6dff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 800;
}

.bio {
  font-size: 20px;
  color: #5a4a3a;
  margin-bottom: 40px;
  font-style: italic;
  position: relative;
  padding-left: 30px;
}

.bio:before {
  content: '"';
  position: absolute;
  left: 0;
  top: -10px;
  font-size: 60px;
  color: rgba(255,107,107,0.2);
  line-height: 1;
}

.compatibility-meter {
  height: 30px;
  background: #f0f2f5;
  border-radius: 15px;
  margin: 30px 0;
  overflow: hidden;
  position: relative;
}

.compatibility-bar {
  height: 100%;
  background: linear-gradient(90deg, #ff9cee 0%, #c77dff 50%, #5d6dff 100%);
  border-radius: 15px;
  position: relative;
  transition: width 1.5s ease;
}

.compatibility-bar span {
  position: absolute;
  right: 15px;
  color: white;
  line-height: 30px;
  font-weight: bold;
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.neurochemistry-factors {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 40px 0;
}

.factor {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.7);
  padding: 15px;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.factor:hover {
  transform: translateY(-5px);
  background: white;
}

.chemical-icon {
  font-size: 30px;
  margin-right: 15px;
  width: 50px;
  height: 50px;
  background: rgba(255,107,107,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.factor-name {
  display: block;
  color: #3a5169;
  font-size: 14px;
  margin-bottom: 5px;
}

.factor-value {
  font-size: 18px;
  font-weight: bold;
  color: linear-gradient(90deg, #ff9cee 0%, #c77dff 50%, #5d6dff 100%);
}

.heartbeat-cta {
  background: linear-gradient(90deg, #ff9cee 0%, #c77dff 50%, #5d6dff 100%);
  color: white;
  border: none;
  padding: 20px 40px;
  border-radius: 50px;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  margin-top: 30px;
  box-shadow: 0 10px 30px rgba(255,107,107,0.3);
  transition: all 0.3s ease;
}

.pulse-emoji {
  display: inline-block;
  animation: pulse 1.5s infinite;
  margin-right: 15px;
}

.heartbeat-cta:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 15px 40px rgba(255,107,107,0.4);
}

@keyframes pulse {
  0% { transform: translate(-50%, -50%) scale(1); opacity: 0.7; }
  50% { transform: translate(-50%, -50%) scale(1.05); opacity: 0.4; }
  100% { transform: translate(-50%, -50%) scale(1.1); opacity: 0; }
}

@keyframes heartbeat {
  0% { transform: scaleX(1); }
  14% { transform: scaleX(1.3); }
  28% { transform: scaleX(1); }
  42% { transform: scaleX(1.3); }
  70% { transform: scaleX(1); }
}

/* Responsive Design */
@media (max-width: 992px) {
  .heartbeat-experience {
    flex-direction: column;
    padding: 40px 30px;
  }
  
  .pulse-container, .connection-panel {
    width: 100%;
  }
  
  .connection-panel {
    padding-left: 0;
    margin-top: 60px;
  }
}

@media (max-width: 768px) {
  .connection-panel h2 {
    font-size: 32px;
  }
  
  .neurochemistry-factors {
    grid-template-columns: 1fr;
  }
}
/* Ultimate Footer Styles */
.paws-footer {
  position: relative;
  background: linear-gradient(90deg, #ff9cee 0%, #c77dff 50%, #5d6dff 100%);
  color: white;
  padding-top: 80px;
  overflow: hidden;
  font-family: 'Poppins', sans-serif;
}

.footer-wave {
  position: absolute;
  top: -5px;
  left: 0;
  width: 100%;
  height: 100px;
  background: url('https://i.imgur.com/9YQwZbP.png') center/cover no-repeat;
  z-index: 1;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 60px;
}

.footer-column {
  padding: 20px;
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.footer-logo h3 {
  font-size: 28px;
  margin-left: 15px;
  background: linear-gradient(90deg, #0c0c0c 0%, #0a0a0a 50%, #080808 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.footer-about {
  line-height: 1.6;
  margin-bottom: 25px;
  opacity: 0.9;
}

.footer-social {
  display: flex;
  gap: 15px;
}

.social-icons {
            display: flex;
            gap: 20px;
            justify-content: center;
            padding: 20px;
        }
        
        .social-icon {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 24px;
            text-decoration: none;
            transition: transform 0.3s ease;
        }
        
        .social-icon:hover {
            transform: scale(1.1);
        }
        
        .facebook {
            background-color: #3b5998;
        }
        
        .twitter {
            background-color: #1DA1F2;
        }
        
        .instagram {
            background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D, #F56040, #F77737, #FCAF45, #FFDC80);
        }
        
        .youtube {
            background-color: #FF0000;
        }

.footer-heading {
  font-size: 20px;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

.footer-heading:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, #ff9cee 0%, #c77dff 50%, #5d6dff 100%);
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  padding-left: 20px;
}

.footer-links a:before {
  content: '→';
  position: absolute;
  left: 0;
  opacity: 0;
  transition: all 0.3s ease;
  color: #ff6b6b;
}

.footer-links a:hover {
  color: white;
  padding-left: 25px;
}

.footer-links a:hover:before {
  opacity: 1;
  left: 5px;
}

.newsletter-form {
  display: flex;
  margin-top: 20px;
}

.newsletter-form input {
  flex: 1;
  padding: 12px 15px;
  border: none;
  border-radius: 30px 0 0 30px;
  font-size: 14px;
}

.paw-button {
  background: linear-gradient(90deg, #ff9cee 0%, #c77dff 50%, #5d6dff 100%);
  color: white;
  border: none;
  padding: 0 20px;
  border-radius: 0 30px 30px 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

.paw-button:hover {
  background: linear-gradient(90deg, #ff9cee 0%, #c77dff 50%, #5d6dff 100%);
  padding-right: 25px;
}

.paw-button svg {
  margin-left: 10px;
  transition: all 0.3s ease;
}

.paw-button:hover svg {
  transform: translateX(5px);
}

.footer-contact p {
  display: flex;
  align-items: center;
  margin: 15px 0;
  opacity: 0.9;
}

.footer-contact i {
  margin-right: 10px;
  color: #ff6b6b;
  width: 20px;
  text-align: center;
}

.footer-cta {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 40px 0;
}

.cta-bubble {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.cta-bubble:before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #ff9cee 0%, #c77dff 50%, #5d6dff 100%);
  border-radius: 50%;
  transform: scale(0);
  transition: all 0.4s ease;
}

.cta-bubble:hover:before {
  transform: scale(1);
}

.cta-bubble span {
  font-weight: bold;
  margin-top: 10px;
  position: relative;
  z-index: 2;
}

.adopt {
  background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
  box-shadow: 0 10px 30px rgba(106, 17, 203, 0.3);
}

.donate {
  background: linear-gradient(135deg, #f83600 0%, #f9d423 100%);
  box-shadow: 0 10px 30px rgba(248, 54, 0, 0.3);
}

.foster {
  background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
  box-shadow: 0 10px 30px rgba(17, 153, 142, 0.3);
}

.cta-bubble:hover {
  transform: translateY(-10px) scale(1.05);
}

.bubble-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: drop-shadow(0 2px 5px rgba(0,0,0,0.2));
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.cta-bubble:hover .bubble-icon {
  transform: rotate(15deg) scale(1.1);
}

.footer-bottom {
  background: rgba(0,0,0,0.2);
  padding: 30px 0;
  text-align: center;
  position: relative;
}

.footer-bottom p {
  margin: 0;
  opacity: 0.8;
  font-size: 14px;
}

.footer-bottom a {
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-bottom a:hover {
  color: #ff6b6b;
}

.footer-paws {
  position: absolute;
  top: -30px;
  left: 0;
  width: 100%;
  height: 60px;
  background: url('https://i.imgur.com/XWQzE5p.png') center repeat-x;
  opacity: 0.2;
}

/* Animations */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.cta-bubble {
  animation: float 6s ease-in-out infinite;
}

.donate {
  animation-delay: 0.5s;
}

.foster {
  animation-delay: 1s;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .footer-cta {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-bubble {
    width: 100px;
    height: 100px;
  }
}

@media (max-width: 480px) {
  .footer-logo h3 {
    font-size: 24px;
  }
  
  .footer-heading {
    font-size: 18px;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .newsletter-form input {
    border-radius: 30px;
    margin-bottom: 10px;
  }
  
  .paw-button {
    border-radius: 30px;
    justify-content: center;
    padding: 12px;
  }
}