/* Global Styles */
:root {
    --primary-color: #00563f;
    --secondary-color: #2e8b57;
    --accent-color: #4caf50;
    --light-accent: #8fbc8f;
    --dark-color: #1a3a30;
    --light-color: #f8f9fa;
    --text-color: #333;
    --light-text: #666;
    --white: #ffffff;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
  --border-radius: 8px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
    overflow-x: hidden;
    padding-top: 80px; /* Add padding to account for fixed header */
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.2rem;
    position: relative;
    padding-bottom: 0.5rem;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background-color: var(--accent-color);
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--accent-color);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    font-weight: 600;
    text-align: center;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--dark-color);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow);
    padding: 15px 0;
    transition: var(--transition);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo i {
    font-size: 1.8rem;
    margin-right: 10px;
    color: var(--accent-color);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-weight: 500;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a.active::after {
    width: 100%;
    background-color: var(--primary-color);
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
    z-index: 1002;
    position: relative;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .menu-toggle {
        display: block !important;
        z-index: 1002;
    }
}

@media (min-width: 769px) {
    .mobile-menu {
        display: none !important;
    }
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background-color: var(--white);
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1001;
    transition: var(--transition);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-content {
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.menu-close {
    align-self: flex-end;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.mobile-menu-content a {
    padding: 1rem 0;
    font-size: 1.1rem;
    border-bottom: 1px solid #eee;
    font-weight: 400;
}

.mobile-menu-content a.active {
    font-weight: 600;
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.mobile-menu-content .btn-primary {
    margin-top: 2rem;
    border-bottom: none;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: calc(100vh - 80px); /* Adjust height to account for fixed header */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
    /* Fallback background in case video fails to load */
    background-image: url('https://picsum.photos/id/1025/1920/1080');
    background-size: cover;
    background-position: center;
}

/* Hero Background Image */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Video Background (now unused but kept for reference) */
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Mission Section */
.mission-section {
    padding: 80px 0;
    background-color: var(--white);
    text-align: center;
}

.mission-content p {
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
    color: var(--light-text);
}

.mission-stats {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

.stat-item {
    flex: 1;
    min-width: 150px;
    padding: 2rem;
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-text {
    font-size: 1rem;
    color: var(--light-text);
}

/* About Section */
.about-section {
    padding: 80px 0;
    background-color: var(--light-color);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-image {
    flex: 1;
    min-width: 300px;
}

.img-responsive {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

/* Team Section */
.team {
    padding: 80px 0;
    background-color: var(--white);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.team-member {
    text-align: center;
    padding: 1.5rem;
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
}

.team-member h3 {
    margin-bottom: 0.5rem;
}

.team-title {
    color: var(--light-text);
    font-style: italic;
    margin-bottom: 1rem;
}

/* Services Section */
.services-section {
    padding: 80px 0;
    background-color: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header p {
    color: var(--light-text);
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    padding: 2rem;
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
}

/* Pricing Section */
.pricing {
    padding: 80px 0;
    background-color: var(--white);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.pricing-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border: 2px solid var(--light-color);
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.pricing-card h3 {
    margin-bottom: 1rem;
    color: var(--text-color);
}

.price {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.currency {
    font-size: 1.5rem;
    vertical-align: top;
}

.amount {
    font-size: 3rem;
}

.period {
    font-size: 1rem;
    vertical-align: bottom;
    color: var(--light-text);
}

.pricing-card ul {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-card ul li {
    padding: 0.5rem 0;
    color: var(--light-text);
}

.pricing-card ul li i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

/* Features Section (Why Choose Us) */
.features-section {
    padding: 80px 0;
    background-color: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background-color: var(--light-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: var(--text-color);
}

.feature-card p {
    color: var(--light-text);
    line-height: 1.6;
}

/* Adoption Process Section */
.adoption-process {
    padding: 80px 0;
    background-color: var(--light-color);
}

.process-step {
    background-color: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.step-number {
    display: inline-block;
    width: 60px;
    height: 60px;
    line-height: 60px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.process-step h3 {
    margin-bottom: 1rem;
    color: var(--text-color);
}

/* Service Process Section */
.service-process {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.service-process .section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.process-item {
    background-color: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.process-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.process-icon {
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--white);
    font-size: 1.5rem;
    margin: 0 auto 1.5rem;
}

.process-item h3 {
    margin-bottom: 1rem;
    color: var(--text-color);
    font-size: 1.25rem;
}

.process-item p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary-color);
}

.process-item ul {
    text-align: left;
    padding-left: 1.5rem;
}

.process-item ul li {
    margin-bottom: 0.5rem;
    color: var(--text-secondary-color);
    list-style-type: disc;
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 40px;
}

.gallery-item {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.gallery-item p {
    padding: 1.5rem;
    margin: 0;
    color: var(--text-color);
    font-weight: 500;
}

/* Pets Section */
.pets-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.pets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.pet-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.pet-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.pet-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.pet-info {
    padding: 20px;
}

.pet-name {
    font-size: 1.5rem;
    margin: 0 0 10px 0;
    color: #2c3e50;
}

.pet-breed {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin: 0 0 15px 0;
}

.pet-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--light-text);
    font-size: 0.9rem;
}

.pet-description {
    color: #34495e;
    margin-bottom: 20px;
    line-height: 1.6;
}

.pet-info .btn {
    width: 100%;
    text-align: center;
}

.pet-cta {
    display: flex;
    justify-content: center;
}

/* Success Stories Section */
.success-stories {
    padding: 80px 0;
    background-color: var(--white);
}

.success-stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.success-story-card {
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.success-story-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.story-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.story-content h3 {
    padding: 1.5rem 1.5rem 0;
    margin-bottom: 0.5rem;
}

.story-content p {
    padding: 0 1.5rem 1rem;
    margin-bottom: 0;
}

.story-author {
    padding: 0 1.5rem 1.5rem;
    font-style: italic;
    color: var(--light-text);
    margin-bottom: 0;
}

.success-stories-cta {
    text-align: center;
    margin-top: 3rem;
}

/* Partners & Supporters Section */
.partners-section {
    padding: 80px 0;
    background-color: var(--white);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.partner-item {
    background-color: var(--light-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.partner-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.partner-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.partner-logo i {
    font-size: 3rem;
    color: var(--primary-color);
}

.partner-logo span {
    font-weight: 500;
    color: var(--text-color);
}

.partners-cta {
    text-align: center;
    margin-top: 3rem;
    font-size: 1.1rem;
}

/* CTA Section */
.cta-section {
    padding: 80px 20px;
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.cta-content h2 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn-secondary {
    color: var(--white);
    border-color: var(--white);
}

.cta-buttons .btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

/* Testimonials Section */
.testimonials-section {
    padding: 80px 0;
    background-color: var(--primary-color);
    color: var(--white);
}

.testimonials-section .section-header h2 {
    color: var(--white);
}

.testimonials-section .section-header h2::after {
    background-color: var(--accent-color);
}

.testimonials-section .section-header p {
    color: rgba(255, 255, 255, 0.8);
}

.testimonial-carousel {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}

.testimonials-container {
    display: flex;
    transition: transform 0.3s ease;
    gap: 20px;
    padding: 20px 0;
}

.testimonial-card {
    flex: 0 0 auto;
    width: calc(33.333% - 20px);
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 2rem;
    transition: var(--transition);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* FAQ Section Styles */
.faq-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.faq-container {
    margin-top: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.faq-item {
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.faq-question {
    background-color: #f8f9fa;
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #e9ecef;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.2rem;
    color: #2c3e50;
}

.faq-icon {
    color: #3498db;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: white;
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 300px;
}

.faq-answer p {
    margin: 0;
    color: #34495e;
    line-height: 1.6;
}

/* Newsletter Section Styles */
.newsletter-section {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
    text-align: center;
}

.newsletter-section h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.newsletter-section p {
    color: #7f8c8d;
    margin-bottom: 25px;
    line-height: 1.6;
}

.newsletter-section .form-group {
    margin-bottom: 20px;
}

.newsletter-section input {
    width: 100%;
    max-width: 400px;
    padding: 12px 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    margin: 0 auto;
    display: block;
}

.newsletter-section .btn {
    width: 100%;
    max-width: 200px;
    margin: 0 auto;
}

.testimonial-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 2rem;
    transition: var(--transition);
}

.testimonial-card:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.testimonial-text {
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    color: var(--white);
    margin-bottom: 0.2rem;
}

.author-info p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-size: 0.9rem;
}

/* Donation Section */
.donation-section {
    padding: 80px 0;
    background-color: var(--light-accent);
}

.donation-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.donation-text {
    flex: 1;
    min-width: 300px;
}

.donation-stats {
    flex: 1;
    min-width: 300px;
}

.donation-progress {
    background-color: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.progress-bar {
    width: 100%;
    height: 20px;
    background-color: #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.progress-fill {
    height: 100%;
    background-color: var(--primary-color);
    transition: width 0.5s ease;
}

.donation-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background-color: var(--white);
}

.contact-content {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-form {
    flex: 1;
    min-width: 300px;
}

.contact-details {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.contact-item i {
    color: var(--primary-color);
    margin-top: 5px;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--dark-color);
    transform: translateY(-3px);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Footer Section */
.footer {
    background-color: var(--dark-color);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    flex-direction: column;
}

.footer-logo a {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-logo a i {
    font-size: 1.8rem;
    margin-right: 10px;
    color: var(--accent-color);
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
}

.footer-links h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover {
    color: var(--accent-color);
}

/* Legal Links Styles */
.legal-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
}

.legal-links a {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.legal-links a:hover {
    color: var(--accent-color);
}

.legal-links span {
    color: white;
}

.footer-newsletter h4 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-newsletter p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
}

.footer-newsletter form {
    display: flex;
}

.footer-newsletter input {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    font-family: inherit;
}

.footer-newsletter button {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 0 15px;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    cursor: pointer;
    transition: var(--transition);
}

.footer-newsletter button:hover {
    background-color: var(--accent-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-bottom-links {
    display: flex;
    gap: 1rem;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-bottom-links a:hover {
    color: var(--accent-color);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    z-index: 999;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--dark-color);
    transform: translateY(-3px);
}

/* Pet Detail Page Styles */
.pet-detail-section {
    padding: 120px 0 80px;
    background-color: var(--light-color);
}

.pet-detail-content {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.pet-detail-image {
    flex: 1;
    min-width: 300px;
}

.pet-detail-info {
    flex: 1;
    min-width: 300px;
    background-color: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.pet-detail-name {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.pet-detail-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
}

.pet-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pet-meta-item i {
    color: var(--primary-color);
}

.pet-detail-description {
    margin-bottom: 2rem;
}

.pet-detail-description h3 {
    margin-top: 2rem;
    color: var(--primary-color);
}

.pet-detail-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Volunteer Opportunities Section */
.volunteer-section {
    padding: 80px 0;
    background-color: var(--light-color);
}

.volunteer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.volunteer-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.volunteer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.volunteer-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.volunteer-card h3 {
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.volunteer-info {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.volunteer-requirements, .volunteer-benefits {
    display: flex;
    flex-direction: column;
}

.volunteer-requirements h3, .volunteer-benefits h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.volunteer-requirements ul, .volunteer-benefits ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.volunteer-requirements li, .volunteer-benefits li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.volunteer-requirements i, .volunteer-benefits i {
    color: var(--accent-color);
}

.volunteer-cta {
    text-align: center;
}

/* Responsive Styles */
@media (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .menu-toggle {
        display: block;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    h3 {
        font-size: 1.3rem;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .mission-stats {
        justify-content: center;
    }
    
    .stat-item {
        flex: 0 0 calc(50% - 1rem);
    }
    
    .pets-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .pet-card {
        margin: 0;
    }
    
    .pet-image {
        height: 150px;
    }
    
    .pet-info {
        padding: 15px;
    }
    
    .pet-name {
        font-size: 1.2rem;
    }
    
    .pet-meta {
        font-size: 0.8rem;
    }
    
    .pet-description {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    /* Team grid two columns on mobile */
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .team-member {
        padding: 15px;
    }
    
    .team-member img {
        width: 120px;
        height: 120px;
    }
    
    .team-member h3 {
        font-size: 1.1rem;
    }
    
    .team-title {
        font-size: 0.9rem;
    }
    
    .team-member p:not(.team-title) {
        font-size: 0.85rem;
        line-height: 1.3;
    }
    
    /* Gallery grid two columns on mobile */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        margin-top: 30px;
    }
    
    .gallery-item img {
        height: 150px;
    }
    
    .gallery-item p {
        padding: 12px;
        font-size: 0.9rem;
    }
    
    /* Testimonial Section Mobile Styles */
    .testimonial-card {
        width: calc(50% - 10px);
        padding: 1.5rem;
    }
    
    .testimonial-text {
        font-size: 0.9rem;
        line-height: 1.4;
        margin-bottom: 1rem;
    }
    
    .testimonial-author {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.5rem;
    }
    
    .author-image {
        width: 60px;
        height: 60px;
    }
    
    .author-info h4 {
        font-size: 0.9rem;
        white-space: normal;
        max-width: none;
    }
    
    .author-info p {
        font-size: 0.8rem;
        white-space: normal;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.4rem;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .mission-stats {
        gap: 1rem;
    }
    
    .stat-item {
        flex: 0 0 calc(50% - 0.5rem);
        padding: 1.2rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .stat-text {
        font-size: 0.9rem;
    }
    
    .mobile-menu {
        width: 90%;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }
    
    /* Grid layouts on mobile */
    .features-grid,
    .pricing-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Process grid on mobile */
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
    }
    
    .process-item {
        padding: 1.2rem;
    }
    
    .process-item h3 {
        font-size: 1.2rem;
    }
    
    .process-item p,
    .process-item ul li {
        font-size: 0.75rem;
        line-height: 1.2;
    }
    
    /* Services grid on mobile */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .service-card h3 {
        font-size: 1.3rem;
    }
    
    .service-card p,
    .service-card ul li,
    .service-benefits p {
        font-size: 0.9rem;
    }
    
    /* Mobile text truncation */
    .service-card p,
    .service-card ul li,
    .service-benefits p,
    .story-content p,
    .story-author,
    .testimonial-content,
    .partner-logo span,
    .process-item p,
    .process-item ul li {
        display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    /* Keep partners grid as two columns on mobile */
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    /* Adjust partner item styles for mobile */
    .partner-item {
        padding: 1.5rem;
    }
    
    .partner-logo {
        gap: 0.8rem;
    }
    
    .partner-logo i {
        font-size: 2rem;
    }
    
    .partner-logo span {
        font-size: 0.9rem;
    }
    
    /* Keep pets, team, and gallery grids as two columns on mobile */
    .pets-grid,
    .team-grid,
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    /* Adjust pet card elements for very small screens */
    .pet-image {
        height: 120px;
    }
    
    .pet-info {
        padding: 12px;
    }
    
    .pet-name {
        font-size: 1.1rem;
        margin-bottom: 5px;
    }
    
    .pet-description {
        font-size: 0.85rem;
        line-height: 1.3;
    }
    
    /* Adjust gallery item elements for very small screens */
    .gallery-item img {
        height: 120px;
    }
    
    .gallery-item p {
        padding: 10px;
        font-size: 0.85rem;
    }
    
    /* Testimonial Card Styles for Extra Small Screens */
    .testimonial-card {
        width: calc(50% - 10px);
        padding: 1.2rem;
    }
    
    .testimonial-text {
        font-size: 0.85rem;
        line-height: 1.3;
        margin-bottom: 0.8rem;
    }
    
    .testimonial-author {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.4rem;
    }
    
    .author-image {
        width: 50px;
        height: 50px;
    }
    
    .author-info h4 {
        font-size: 0.85rem;
        white-space: normal;
        max-width: none;
    }
    
    .author-info p {
        font-size: 0.75rem;
        white-space: normal;
    }
    

    
    /* Adjust padding on mobile */
    .about-section,
    .features-section,
    .services-section,
    .service-process,
    .cta-section {
        padding: 40px 0;
    }
}

/* Success Stories Section Mobile Styles */
@media (max-width: 768px) {
    .success-stories-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }
    
    .story-image img {
        height: 150px;
    }
    
    .story-content h3 {
        padding: 1.2rem 1.2rem 0;
        font-size: 1.1rem;
    }
    
    .story-content p,
    .story-author {
        padding: 0 1.2rem 1rem;
        font-size: 0.9rem;
    }
}

/* Success Stories Section Extra Small Screens */
@media (max-width: 576px) {
    .success-stories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .story-image img {
        height: 120px;
    }
    
    .story-content h3 {
        padding: 1rem 1rem 0;
        font-size: 1rem;
    }
    
    .story-content p,
    .story-author {
        padding: 0 1rem 0.8rem;
        font-size: 0.85rem;
    }
