/* Reset & Fonts */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  scroll-behavior: smooth;
}

body {
  line-height: 1.6;
  color: #333;
  background-color: #f8f9fa;
}

/* Header & Navigation */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 50px;
  background-color: #ffffff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  font-size: 24px;
}

.logo-text {
  font-size: 24px;
  font-weight: bold;
  color: #2c3e50;
}

.logo-text span {
  color: #e67e22;
}

nav a {
  margin: 0 15px;
  text-decoration: none;
  color: #555;
  font-weight: 600;
  transition: color 0.3s;
}

nav a:hover {
  color: #e67e22;
}

.btn-donate {
  background-color: #e67e22;
  color: #fff;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 25px;
  font-weight: bold;
  transition: background 0.3s;
}

.btn-donate:hover {
  background-color: #d35400;
}

/* Hero Section */
.hero {
  position: relative;
  height: 75vh;
  background-size: cover;
  background-position: center;
  transition: background-image 1s ease-in-out;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  padding: 0 20px;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero-content h1 {
  font-size: 48px;
  margin-bottom: 15px;
}

.hero-content p {
  font-size: 20px;
  margin-bottom: 25px;
}

.hero-btns a {
  display: inline-block;
  padding: 12px 30px;
  margin: 5px;
  text-decoration: none;
  border-radius: 25px;
  font-weight: bold;
}

.btn-primary {
  background-color: #e67e22;
  color: white;
  border: none;
  cursor: pointer;
  transition: background 0.3s;
}

.btn-primary:hover {
  background-color: #d35400;
}

.btn-secondary {
  background-color: transparent;
  border: 2px solid white;
  color: white;
}

/* About Section & Stats */
.about-section {
  padding: 60px 20px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.about-section h2 {
  font-size: 32px;
  margin-bottom: 15px;
  color: #2c3e50;
}

.stats-grid {
  display: flex;
  justify-content: space-around;
  margin-top: 40px;
  gap: 20px;
  flex-wrap: wrap;
}

.stat-card {
  background: white;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  min-width: 200px;
}

.stat-number {
  display: block;
  font-size: 32px;
  font-weight: bold;
  color: #e67e22;
}

.stat-label {
  color: #666;
  font-weight: 600;
}

/* Cats Section Controls & Grid */
.cats-section {
  padding: 60px 50px;
  background-color: #fff;
  text-align: center;
}

.cats-section h2 {
  font-size: 32px;
  margin-bottom: 25px;
  color: #2c3e50;
}

.controls-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  margin-bottom: 40px;
}

.search-bar {
  padding: 10px 20px;
  width: 100%;
  max-width: 400px;
  border: 1px solid #ccc;
  border-radius: 20px;
  outline: none;
}

.filter-btns .filter-btn {
  padding: 8px 20px;
  margin: 0 5px;
  border: 1px solid #e67e22;
  background: white;
  color: #e67e22;
  border-radius: 20px;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s;
}

.filter-btn.active, .filter-btn:hover {
  background: #e67e22;
  color: white;
}

.cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.cat-card {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  background: #fff;
  transition: transform 0.3s;
}

.cat-card:hover {
  transform: translateY(-5px);
}

.cat-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.cat-info {
  padding: 20px;
}

.cat-info h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

.cat-info p {
  color: #777;
  margin-bottom: 15px;
}

.btn-card {
  width: 100%;
  padding: 10px;
  border: none;
  background-color: #2c3e50;
  color: white;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
}

.btn-card:hover {
  background-color: #34495e;
}

/* Donate Section */
.donate-section {
  padding: 70px 20px;
  background-color: #e67e22;
  color: white;
  text-align: center;
}

.donate-section h2 {
  font-size: 36px;
  margin-bottom: 15px;
}

.donation-options {
  margin-top: 25px;
}

.btn-donate-amount {
  padding: 12px 30px;
  margin: 0 10px;
  font-size: 18px;
  background-color: white;
  color: #e67e22;
  border: none;
  border-radius: 30px;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.2s;
}

.btn-donate-amount:hover {
  transform: scale(1.05);
}

/* Contact Section */
.contact-section {
  padding: 60px 20px;
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.contact-section h2 {
  font-size: 32px;
  margin-bottom: 10px;
  color: #2c3e50;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 25px;
}

.contact-form input, .contact-form textarea {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 15px;
}

/* Modal Styling */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal-content {
  background: white;
  padding: 30px;
  border-radius: 12px;
  width: 90%;
  max-width: 450px;
  position: relative;
}

.close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 24px;
  cursor: pointer;
}

.modal form input, .modal form textarea {
  width: 100%;
  padding: 10px;
  margin: 8px 0;
  border: 1px solid #ccc;
  border-radius: 6px;
}

/* Toast Notification */
.toast {
  visibility: hidden;
  min-width: 250px;
  background-color: #2c3e50;
  color: #fff;
  text-align: center;
  border-radius: 8px;
  padding: 16px;
  position: fixed;
  z-index: 2000;
  bottom: 30px;
  right: 30px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.toast.show {
  visibility: visible;
  animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

@keyframes fadein {
  from {bottom: 0; opacity: 0;}
  to {bottom: 30px; opacity: 1;}
}

@keyframes fadeout {
  from {bottom: 30px; opacity: 1;}
  to {bottom: 0; opacity: 0;}
}

/* Footer */
footer {
  text-align: center;
  padding: 20px;
  background-color: #1a252f;
  color: #aaa;
}