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

 :root {
     --primary-color: #3498db;
     --secondary-color: #2ecc71;
     --accent-color: #e74c3c;
     --light-color: #f4f4f4;
     --dark-color: #2c3e50;
 }

 body {
     font-family: 'Arial', sans-serif;
     line-height: 1.6;
     color: #333;
 }

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

 /* Header Styles */
 header {
     background: var(--primary-color);
     color: white;
     padding: 1rem 0;
     position: sticky;
     top: 0;
     z-index: 1000;
     box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
 }

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

 .menu-toggle {
     display: none;
     cursor: pointer;
 }

 .logo {
     display: flex;
     align-items: center;
     gap: 10px;
     flex: 1;
     flex: 1;
 }

 .logo-icon {
     width: 50px;
     height: 50px;
     border-radius: 50%;
     display: flex;
     align-items: center;
     justify-content: center;
     font-size: 24px;
 }

 nav {
     display: flex;
     justify-content: flex-end;
 }

 nav ul {
     list-style: none;
     display: flex;
     gap: 2rem;
     flex-wrap: wrap;
 }

 nav a {
     color: white;
     text-decoration: none;
     font-weight: 500;
     transition: color 0.3s ease;
 }

 nav a:hover,
 nav a.active {
     color: var(--accent-color);
     font-weight: 500;
 }

 /* Page Content */
 .page {
     display: none;
     min-height: calc(100vh - 200px);
     overflow: hidden;
 }

 .page.active {
     display: block;
 }

 /* Hero Section */
 .hero {
     background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://images.pexels.com/photos/1906153/pexels-photo-1906153.jpeg');
     background-size: cover;
     background-position: center;
     color: white;
     padding: 120px 0;
     text-align: center;
 }

 .hero h2 {
     font-size: 3rem;
     margin-bottom: 1rem;
     text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
 }

 .hero p {
     font-size: 1.2rem;
     margin-bottom: 2rem;
     max-width: 600px;
     margin-left: auto;
     margin-right: auto;
 }

 .btn {
     display: inline-block;
     background: #e74c3c;
     color: white;
     padding: 15px 30px;
     text-decoration: none;
     border-radius: 50px;
     font-weight: bold;
     transition: all 0.3s ease;
     border: none;
     cursor: pointer;
     font-size: 1rem;
 }

 .btn:hover {
     background: var(--primary-color);
     transform: translateY(-2px);
     box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
 }

 .btn-secondary {
     background: var(--accent-color);
 }

 .btn-secondary:hover {
     background: var(--primary-color);
 }

 /* Section Styles */
 .section {
     padding: 80px 0;
     opacity: 0;
     transform: translate(20px);
     transition: opacity 0.3s ease-in-out, transform 1s ease-in-out;
 }

 .section.visible {
     opacity: 1;
     transform: translateY(0);
 }

 .section:nth-child(even) {
     background: #f8f9fa;
 }

 .section h2 {
     text-align: center;
     font-size: 2.5rem;
     margin-bottom: 3rem;
     color: #2c3e50;
 }

 .grid {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
     gap: 2rem;
     margin-top: 2rem;
 }

 .card {
     background: whitesmoke;
     padding: 2rem;
     border-radius: 15px;
     box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
     text-align: center;
     animation: fadeInUp 0.3s ease forwards;
     opacity: 0;
     transform: translateY(20px);
     transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
 }

 .card.visible {
     opacity: 1;
     transform: translateY(0);
 }

 .card:hover {
     transform: translateY(-10px);
 }

 .card-icon {
     width: 100px;
     height: 100px;
     background: var(--primary-color);
     border-radius: 50%;
     display: flex;
     align-items: center;
     justify-content: center;
     margin: 0 auto 1rem;
     font-size: 2rem;
     color: white;
 }

 .card.visible {
     opacity: 1;
     transform: translateY(0);
 }

 /* Show first two cards by default */
 .grid .card:nth-child(1),
 .grid .card:nth-child(2) {
     opacity: 1;
     transform: translateY(0);
 }

 .card:nth-child(1) {
    transition-delay: 0.05s;
}

.card:nth-child(2) {
    transition-delay: 0.1s;
}

.card:nth-child(3) {
    transition-delay: 0.15s;
}

.card:nth-child(4) {
    transition-delay: 0.2s;
}

.card:nth-child(5) {
    transition-delay: 0.25s;
}

.card:nth-child(6) {
    transition-delay: 0.3s;
}

 .stats {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
     gap: 2rem;
     margin-top: 2rem;
 }

 .stat {
     text-align: center;
     padding: 2rem;
     background: white;
     border-radius: 15px;
     box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
 }

 .stat-number {
     font-size: 3rem;
     font-weight: bold;
     color: var(--primary-color);
     display: block;
 }

 /* Success Stories */
 .story {
     background: var(--light-color);
     border-radius: 15px;
     overflow: hidden;
     box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
     margin-bottom: 2rem;
 }

 .story-content {
     padding: 2rem;
 }

 .story-header {
     display: flex;
     align-items: center;
     gap: 1rem;
     margin-bottom: 1rem;
 }

 .dog-avatar img {
     object-fit: cover;
     width: 200px;
     height: 200px;
     border-radius: 50%;
     object-fit: cover;
     display: block;
     margin-top: 2px;
     margin-bottom: 2px;
 }

 /* Contact Form */
 .form-group {
     margin-bottom: 1.5rem;
 }

 .form-group label {
     display: block;
     margin-bottom: 0.5rem;
     font-weight: bold;
     color: #2c3e50;
 }

 .form-group input,
 .form-group textarea {
     width: 100%;
     padding: 12px;
     border: 2px solid #ddd;
     border-radius: 8px;
     font-size: 1rem;
     transition: border-color 0.3s ease;
 }

 .form-group input:focus,
 .form-group textarea:focus {
     outline: none;
     border-color: #3498db;
 }

 .form-group textarea {
     height: 120px;
     resize: vertical;
 }

 .contact-info {
     background: var(--dark-color);
     color: white;
     padding: 3rem;
     border-radius: 15px;
     margin-bottom: 3rem;
 }

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

 .contact-icon {
     width: 40px;
     height: 40px;
     background: var(--primary-color);
     border-radius: 50%;
     display: flex;
     align-items: center;
     justify-content: center;
     font-size: 1.2rem;
 }

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

 footer .grid {
     grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
     gap: 2rem;
 }

 .social-links {
     margin: 1rem 0;
 }

 .social-links a i:hover {
     background: var(--primary-color);
     border-radius: 100%;
 }

 .social-links a i {
     font-size: 1.5rem;
     align-items: center;
     justify-content: center;
     gap: 10px;
     margin: 0 10px;
     color: white;
     transition: background-color 0.3s ease;
     border-radius: 50%;
 }


 /* Responsive */
 @media (max-width: 768px) {
     .header-content {
         flex-direction: column;
         gap: 1rem;
     }

     header .container {
         flex-direction: column;
         align-items: flex-start;
     }

     .logo {
         justify-content: left;
         margin-bottom: 1rem;
     }

     .logo-icon {
         width: 40px;
         height: 40px;
         font-size: 20px;
         align-items: flex-start;
         border-radius: 50%;
         display: flex;
         justify-content: center;
     }

     nav {
         display: none;
         flex-direction: column;
         align-items: flex-start;
         margin-top: 1rem;
     }

     .logo img {
         width: 120px;
         height: 120px;
     }

     .menu-toggle {
         display: block;
         cursor: pointer;
         margin-left: auto;
         color: var(--light-color);
         font-size: 2rem;
     }

     .menu-toggle.open+nav {
         display: flex;
         flex-direction: column;
         align-items: flex-start;
         margin-top: 0.5rem;
         gap: 1rem;
         flex-wrap: wrap;
         margin-left: auto;
         margin-right: auto;
     }

     .hero h2 {
         font-size: 2rem;
     }

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

     .grid {
         grid-template-columns: 1fr;
     }

     footer .grid {
         grid-template-columns: 3fr;
         display: grid;
         grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
         gap: 1rem;
         margin-top: 1rem;
     }
 }

 /* Tablet styles (768px to 1024px) */
 @media (min-width: 768px) and (max-width: 1024px) {
     header .container {
         flex-direction: column;
     }

     nav ul {
         flex-direction: row;
         justify-content: center;
         margin-top: 1rem;
     }

     nav ul li {
         margin-left: 1.2rem;
     }

     .logo img {
         width: 140px;
         height: 140px;
     }
 }

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

     to {
         opacity: 1;
         transform: translateY(0);
     }
 }