body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: #4A5568;
    background-color: #f8f9fa;
}

header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    padding: 15px 5%;
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: #3C78D8;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: transform 0.3s ease;
    padding: 5px 10px;
}

.logo:hover {
    transform: scale(1.05);
}

.logo img {
    height: 50px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.logo span {
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
    letter-spacing: 0.5px;
    color: #2A4365;
}

nav {
    display: flex;
    align-items: center;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: flex-end;
    margin: 0;
    padding: 0;
    gap: 30px;
}

nav ul li {
    margin: 0;
    position: relative;
}

nav ul li a {
    text-decoration: none;
    color: #4A5568;
    font-weight: 600;
    font-size: 1.05rem;
    padding: 8px 0;
    transition: all 0.3s ease;
    position: relative;
}

nav ul li a:hover {
    color: #3C78D8;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #3C78D8;
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

.contact-button {
    background-color: #FF9966;
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    margin-left: 20px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
}

.contact-button:hover {
    background-color: #FF8040;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    header {
        padding: 15px 20px;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    nav ul {
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        flex-direction: column;
        background-color: white;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        padding: 20px;
        gap: 20px;
        transform: translateY(-150%);
        opacity: 0;
        transition: all 0.3s ease;
        z-index: 99;
    }
    
    nav ul.active {
        transform: translateY(0);
        opacity: 1;
    }
    
    .contact-button {
        margin-left: 0;
        margin-top: 15px;
        display: inline-block;
    }
    
    nav {
        flex-direction: column;
        align-items: flex-end;
    }
    
    .logo {
        font-size: 1.6rem;
    }
    
    .logo img {
        height: 45px;
    }
}

.hero {
    text-align: center;
    padding: 120px 20px;
    background: linear-gradient(135deg, #66CCCC, #3C78D8);
    color: #FFF;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('images/paw-pattern.png');
    opacity: 0.11;
    z-index: 0;
}

.hero h1 {
    margin: 0;
    font-size: 3.5em;
    font-weight: 800;
    position: relative;
    z-index: 1;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
    color: #FFFFFF;
}

.hero p {
    font-size: 1.5em;
    margin: 25px 0;
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero button {
    padding: 15px 30px;
    font-size: 1.2em;
    background-color: #FF9966;
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.hero button:hover {
    background-color: #FF8040;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.gallery {
    padding: 80px 5%;
    background-color: #fafbfc;
    text-align: center;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.gallery::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('images/paw-pattern.png');
    opacity: 0.03;
    z-index: 0;
    pointer-events: none;
}

.gallery h2,
.gallery .gallery-container {
    position: relative;
    z-index: 1;
}

.gallery h2 {
    font-size: 2.2em;
    margin-bottom: 50px;
    color: #2A4365;
    position: relative;
    padding-bottom: 15px;
    display: inline-block;
}

.gallery h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #FF9966;
}

.gallery-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px !important;
    transition: all 0.4s ease;
    transform: scale(1);
}

.gallery .image-wrapper {
    width: 22%;
    max-height: 600px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
}

.gallery .image-wrapper:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.gallery .image-wrapper:hover img {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .gallery .image-wrapper {
        width: 100%;
        margin-bottom: 20px;
    }
    
    .gallery-container {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .gallery h2 {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
}

@media (max-width: 1200px) and (min-width: 769px) {
    .gallery .image-wrapper {
        width: 48%;
        margin-bottom: 20px;
    }
    
    .gallery-container {
        justify-content: center;
    }
}

#experience {
    padding: 80px 20px;
    background-color: #f8f9fa;
}

.experience-content {
    display: flex;
    align-items: flex-start;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    flex-wrap: wrap;
}

.experience-text {
    flex: 1;
    min-width: 300px;
}

.experience-text h2 {
    font-size: 2.2em;
    margin-bottom: 30px;
    color: #2A4365;
    position: relative;
    padding-bottom: 15px;
}

.experience-text h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background-color: #FF9966;
}

.experience-text ul li {
    font-size: 1.2em;
    margin-bottom: 15px;
    position: relative;
    padding-left: 30px;
    line-height: 1.6;
}

.experience-text ul li::before {
    content: '✔';
    position: absolute;
    left: 0;
    color: #3C78D8;
    font-weight: bold;
}

.experience-images {
    flex: 1;
    display: flex;
    gap: 1.5rem;
    min-width: 300px;
}

.experience-images img {
    width: calc(50% - 0.75rem);
    height: 400px;
    object-fit: cover;
    object-position: left center;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
}

.experience-images img:hover {
    transform: scale(1.03);
}

/* Testimonials Section */
#testimonials {
    padding: 80px 0; /* Adjust padding if needed */
    background-color: #f0f4f8; /* Existing */
    text-align: center; /* Existing */
}

#testimonials h2 {
    margin-bottom: 50px; /* Existing */
    font-size: 2.2em; /* Existing */
    color: #2A4365; /* Existing */
    position: relative; /* Existing */
    padding-bottom: 15px; /* Existing */
    display: inline-block; /* Existing */
}

#testimonials h2::after {
    content: ''; /* Existing */
    position: absolute; /* Existing */
    bottom: 0; /* Existing */
    left: 50%; /* Existing */
    transform: translateX(-50%); /* Existing */
    width: 80px; /* Existing */
    height: 3px; /* Existing */
    background-color: #FF9966; /* Existing */
}

/* Wrapper hides the overflow and positions the arrow */
.testimonials-wrapper {
    position: relative; 
    max-width: 1200px; 
    margin: 0 auto;
    overflow: hidden;
    padding: 0 60px; /* Symmetrical padding for left and right arrows */
    box-sizing: border-box;
}

/* === ADD THESE STYLES FOR THE LEFT ARROW === */
.testimonials-wrapper::before {
    content: '❮';
    position: absolute;
    top: 50%;
    left: 10px;  /* We might adjust this if padding alone isn't enough */
    transform: translateY(-50%);
    font-size: 2.5rem;
    color: #3C78D8; /* Blue */
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    opacity: 0;
    pointer-events: none;
    padding: 10px 5px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.testimonials-wrapper.has-scroll-prev::before { /* Shows LEFT arrow when class is present */
    opacity: 1;
    pointer-events: auto;
}

.testimonials-wrapper.has-scroll-prev:hover::before { /* Slight visual change on hover for left arrow */
    color: #2A4365; /* Darker Blue */
    background-color: rgba(255, 255, 255, 1); /* Opaque white background */
}
/* === END OF STYLES FOR THE LEFT ARROW === */

/* Container holds all cards and scrolls */
.testimonials-container {
    display: flex;
    gap: 30px; 
    padding-bottom: 20px; 
    margin: 0; 
    /* Keep scroll enabled but hidden */
    overflow-x: scroll; 
    -ms-overflow-style: none;  
    scrollbar-width: none;  
    overscroll-behavior-x: contain; 
}
.testimonials-container::-webkit-scrollbar {
    display: none;
}

.testimonial {
    flex: 0 0 350px; /* Fixed width is ESSENTIAL for calculations */
    max-width: 350px; /* Reinforce fixed width */
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    padding: 30px; /* Adjust padding as needed */
    width: 350px; /* Keep this or adjust based on design */
    flex-shrink: 0;
    scroll-snap-align: start; /* Optional: Helps with snapping on mobile */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    box-sizing: border-box; /* Add this */
}

.testimonial:hover {
    transform: translateY(-10px); /* Existing */
    box-shadow: 0 15px 30px rgba(0,0,0,0.15); /* Existing */
}

.testimonial-content {
    display: flex;
    flex-direction: column;
    height: auto; /* Changed from 100% to auto */
    position: relative;
    padding-left: 20px;
    text-align: left;
}

.testimonial-content::before {
    content: '"'; /* Use single quotes for the CSS string */
    font-size: 4em;
    color: #66CCCC;
    opacity: 0.3;
    position: absolute;
    top: -10px; /* Adjust position */
    left: -5px; /* Adjust position */
    font-family: Georgia, serif;
    line-height: 1; /* Prevent extra space */
    z-index: 0; /* Ensure it's behind text */
}

/* Style the new paragraph elements if needed (they might inherit fine) */
.testimonial-preview,
.testimonial-full {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #555;
    position: relative;
    z-index: 1;
}

.read-more-btn {
    background-color: transparent;
    color: #3C78D8;
    border: none;
    padding: 0;
    font-size: 0.9em;
    font-weight: 600;
    cursor: pointer;
    margin: 0 0 15px 0; /* Adjusted margin */
    transition: color 0.3s ease;
    align-self: flex-start;
}

.read-more-btn:hover {
    color: #FF9966;
    text-decoration: underline;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 15px; /* Changed from auto to fixed margin */
}

.author-name {
    font-weight: 700;
    font-size: 1.1em;
    margin: 0;
    color: #2A4365;
}

.author-location {
    font-size: 0.9em;
    color: #777;
    margin: 5px 0 0 0;
}

/* NEW: Arrow Button styled on the WRAPPER */
.testimonials-wrapper::after {
    content: '❯'; 
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    font-size: 2.5rem;
    color: #3C78D8; 
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease; /* THIS IS PRESENT */
    opacity: 0; 
    pointer-events: none; 
    padding: 10px 5px;
    background-color: rgba(255, 255, 255, 0.8); 
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.testimonials-wrapper.has-scroll-next::after {
    opacity: 1;
    pointer-events: auto;
}

.testimonials-wrapper.has-scroll-next:hover::after {
    color: #2A4365; /* Darker Blue */
    background-color: rgba(255, 255, 255, 1); /* Opaque white background */
}

/* --- Responsive Adjustments for Wrapper --- */
/* Ensure padding is adjusted */
@media (max-width: 1200px) { 
    .testimonials-wrapper {
        max-width: 805px; 
        padding: 0 50px 0 15px; 
    }
    .testimonials-wrapper::after { right: 5px; /* Adjust position */ }
}
@media (max-width: 820px) { 
     .testimonials-wrapper {
        max-width: 425px; 
        padding: 0 45px 0 15px; 
    }
     .testimonials-wrapper::after { right: 5px; /* Adjust position */ }
}

@media (max-width: 480px) {
    /* Adjustments for very small screens if needed */
     .testimonials-wrapper {
        max-width: 100%; 
        padding: 0 10px; /* Reduce padding slightly */
    }
     .testimonial {
         flex-basis: 300px; /* Maybe slightly smaller card */
         max-width: 300px;
    }
    .testimonials-container {
        gap: 15px; /* Reduce gap */
    }
     /* Recalculate wrapper widths if card size/gap changes */
}

#faq {
    padding: 80px 20px;
    background-color: #f0f4f8;
}

#faq h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.2em;
    color: #2A4365;
    position: relative;
    padding-bottom: 15px;
}

#faq h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #FF9966;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    background-color: white;
}

.faq-question {
    cursor: pointer;
    padding: 20px;
    position: relative;
    margin: 0;
    transition: 0.3s;
    font-weight: 600;
    color: #2A4365;
    background-color: white;
    user-select: none; /* Prevents text selection when clicking */
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 20px;
    font-size: 24px;
    transition: all 0.3s ease;
    color: #3C78D8;
}

.faq-question.active {
    background-color: #f8f9fa;
}

.faq-question.active::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background-color: white;
}

.faq-answer p {
    padding: 20px;
    margin: 0;
    color: #4A5568;
    line-height: 1.6;
}

#contact {
    padding: 80px 20px;
    background-color: #ffffff;
    position: relative;
}

#contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(to right, #66CCCC, #3C78D8);
}

#contact h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.2em;
    color: #2A4365;
    position: relative;
    padding-bottom: 15px;
}

#contact h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #FF9966;
}

/* Updated form styling to match the image */
#contact form {
    max-width: 500px;
    margin: 0 auto;
    padding: 0;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 100%;
}

#contact form h2 {
    margin: 0;
    padding: 50px 20px;
    background-color: rgba(60, 120, 216, 0.57);
    color: white;
    font-size: 24px;
    background-image: url('images/forest-dogs.jpg');
    background-size: cover;
    background-position: center;
    background-blend-mode: normal;
    text-align: center;
    position: relative;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#contact form p {
    color: #777;
    text-align: center;
    margin: 15px 0;
    font-size: 16px;
    padding: 0 20px;
}

#contact form input,
#contact form textarea {
    width: calc(100% - 50px);
    margin: 10px 25px;
    padding: 12px;
    border: 1px solid #FF9966;
    border-radius: 4px;
    font-family: inherit;
    font-size: 16px;
    color: #333;
    box-sizing: border-box;
}

#contact form textarea {
    min-height: 100px;
    resize: vertical;
}

#contact form button {
    background-color: #FF9966;
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 24px;
    margin: 15px auto 20px;
    display: block;
    cursor: pointer;
    transition: background-color 0.3s;
}

#contact form button:hover {
    background-color: #FF8040;
}

.form-footer {
    font-size: 13px !important;
    color: #999 !important;
    margin-top: 0 !important;
    margin-bottom: 20px !important;
}

/* Remove the separator line with circle styling */
#contact form::before {
    display: none; /* This will hide the element */
}

#contact form::after {
    display: none; /* This will hide the element */
}

footer {
    padding: 30px;
    background-color: #3C78D8;
    color: white;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.footer-logo img {
    height: 40px;
    width: auto;
}

.footer-logo span {
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
}

footer p {
    margin: 0;
    font-size: 1.1em;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

/* Mobile menu toggle button - add this where the cursor is positioned */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #3C78D8;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Add this media query */
@media (min-width: 769px) {
    .testimonials-wrapper {
        overflow-x: hidden; /* Prevent manual horizontal scroll on wrapper */
        /* Keep existing padding if needed */
    }
    .testimonials-container {
         overflow-x: hidden; /* Also prevent scroll on the container itself */
    }

    /* Ensure arrow is only visible when needed */
     .testimonials-wrapper.has-scroll-next::after {
         opacity: 1;
         pointer-events: auto;
     }
     .testimonials-wrapper.has-scroll-prev::before {
        opacity: 1;
        pointer-events: auto;
    }

     /* MODIFIED HOVER STYLES FOR BOTH ARROWS */
     .testimonials-wrapper.has-scroll-next:hover::after,
     .testimonials-wrapper.has-scroll-prev:hover::before {
         background-color: #FF8040; /* Darken on hover - Orange */
         transform: translateY(-50%) scale(1.1); /* Slight scale effect */
         color: #FFFFFF; /* Optional: Change arrow character to white for better contrast on orange */
     }
}

/* Optional: Adjustments for smaller screens if needed */
@media (max-width: 1200px) { 
    .testimonials-wrapper {
        max-width: 805px; 
        padding: 0 50px 0 15px; 
    }
    .testimonials-wrapper::after { right: 5px; /* Adjust position */ }
}
