/* ==========================================================================
   CSS Reset and Base Styles
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ==========================================================================
   Variables and Theme Configuration
   ========================================================================== */
:root {
    /* Color Palette */
    --primary: #FF8A5B;
    --primary-dark: #FF7043;
    --secondary: #5B8CFF;
    --accent: #A0E55B;
    --dark: #5D4E6D;
    --light: #FFF9F5;
    --text: #3D3A3A;
    --success: #76C893;
    --danger: #F25C54;
    --shadow: rgba(93, 78, 109, 0.15);
    
    /* Typography */
    --font-size-base: 18px;
    --font-size-h1: 2.2rem;
    --font-size-h2: 3rem;
    --font-size-h3: 1.8rem;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 2.5rem;
    
    /* Animations */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Border Radius */
    --radius-sm: 5px;
    --radius-md: 10px;
    --radius-lg: 15px;
}

/* ==========================================================================
   Global Styles
   ========================================================================== */
body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text);
    font-size: var(--font-size-base);
    background-color: var(--light);
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */
.hidden {
    display: none;
}

.visible {
    display: block;
}

.flex {
    display: flex;
}

.grid {
    display: grid;
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes wiggle {
    0%, 100% { transform: rotate(-5deg); }
    50% { transform: rotate(5deg); }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
        animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    }
    50% {
        transform: translateY(-8px);
        animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    }
}

@keyframes pawTrail {
    from {
        opacity: 0;
    }
    to {
        opacity: 0;
    }
}

@keyframes playfulRotate {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(5deg); }
    50% { transform: rotate(-5deg); }
    75% { transform: rotate(5deg); }
}

@keyframes modalSlideIn {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes cardFadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   Layout Components
   ========================================================================== */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--spacing-md);
}

.section {
    padding: var(--spacing-xl) 5%;
    position: relative;
}

/* Grid Layouts */
.grid-auto-fit {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: white;
    padding: var(--spacing-md) 5%;
    box-shadow: 0 2px 10px var(--shadow);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Navigation Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Hide links on mobile by default */
@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        gap: 1rem;
        padding: 1rem 5%;
        display: none;
    }

    .nav-links.show {
        display: flex;
    }

    .hamburger {
        display: block;
        cursor: pointer;
    }
}

/* Hamburger icon hidden on desktop */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
}

.hamburger div {
    width: 25px;
    height: 3px;
    background-color: black;
}


.nav-links li a {
    color: var(--dark);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.nav-links li a:hover {
    color: var(--primary);
}

.nav-links li a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Add playful paw print on hover */
.nav-links li a:hover::before {
    content: '🐾';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.9rem;
    opacity: 0;
    animation: pawAppear 0.3s ease forwards;
}

@keyframes pawAppear {
    from {
        opacity: 0;
        transform: translate(-50%, 10px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

/* Update logo styling */
.logo h1 {
    color: var(--primary);
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo h1::before {
    content: '🐾';
    font-size: 1.5rem;
    animation: wiggle 2s ease-in-out infinite;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        padding: 1rem;
        box-shadow: 0 4px 6px var(--shadow);
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .hamburger {
        display: block;
    }
}

/* Update hamburger menu */
.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0.5rem;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--primary);
    margin: 5px 0;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* ==========================================================================
   Components
   ========================================================================== */
/* Buttons */
.button {
    padding: var(--spacing-sm) var(--spacing-lg);
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-base);
    font-weight: 600;
}

.button-primary {
    background: var(--primary);
    color: white;
}

.button-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 138, 91, 0.3);
}

/* Cards */
.service-card {
    background-color: white;
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.service-card:hover i {
    transform: scale(1.2);
    color: var(--accent);
}

.service-card h3 {
    color: var(--dark);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.service-card p {
    color: var(--text);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Forms */
.form-group {
    margin-bottom: var(--spacing-md);
}

.form-label {
    display: block;
    margin-bottom: var(--spacing-xs);
    color: var(--dark);
    font-weight: 500;
}

.form-input {
    width: 100%;
    padding: var(--spacing-sm);
    border: 1px solid #ddd;
    border-radius: var(--radius-sm);
    font-size: 1rem;
}

/* ==========================================================================
   Modal Components
   ========================================================================== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 1001;
    overflow-y: auto;
}

.modal-content {
    background-color: var(--light);
    margin: 5vh auto;
    padding: 2rem;
    border-radius: 15px;
    width: 90%;
    max-width: 900px;
    position: relative;
    transform: translateY(20px);
    animation: modalSlideIn 0.3s ease forwards;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-content.scrollable {
    max-height: 85vh;
    overflow-y: auto;
    padding-right: 1rem;
}

.modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-track {
    background: rgba(255, 138, 91, 0.1);
    border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: var(--secondary);
}

/* Pet Sitting Modal Styles */
#petSittingModal .modal-content,
#petWalksModal .modal-content {
    max-width: 1000px;
    padding: 0;
    overflow: hidden;
}

.pet-sitting-tabs,
.pet-walks-tabs {
    position: sticky;
    top: 0;
    background: white;
    padding: 1rem 0;
    z-index: 2;
    margin: 0;
    padding: 2rem 3rem;
    border-bottom: 2px solid var(--primary);
    display: flex;
    gap: 1rem;
}

.pet-sitting-section,
.pet-walks-section {
    padding: 2rem 3rem;
    max-height: calc(85vh - 80px);
    overflow-y: auto;
}

.pet-sitting-section::-webkit-scrollbar,
.pet-walks-section::-webkit-scrollbar {
    width: 8px;
}

.pet-sitting-section::-webkit-scrollbar-track,
.pet-walks-section::-webkit-scrollbar-track {
    background: rgba(255, 138, 91, 0.1);
    border-radius: 10px;
}

.pet-sitting-section::-webkit-scrollbar-thumb,
.pet-walks-section::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

.pet-sitting-section::-webkit-scrollbar-thumb:hover,
.pet-walks-section::-webkit-scrollbar-thumb:hover {
    background: var(--secondary);
}

@media (max-width: 768px) {
    .modal-content {
        margin: 3vh auto;
        width: 95%;
        padding: 1.5rem;
    }

    .pet-sitting-tabs,
    .pet-walks-tabs {
        padding: 1.5rem;
    }

    .pet-sitting-section,
    .pet-walks-section {
        padding: 1.5rem;
        max-height: calc(90vh - 60px);
    }
}

.auth-form {
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.auth-form.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

#signupForm.auth-form {
    max-height: calc(90vh - 150px);
    overflow-y: auto;
    padding-right: 1rem;
}

#signupForm.auth-form::-webkit-scrollbar {
    width: 6px;
}

#signupForm.auth-form::-webkit-scrollbar-track {
    background: transparent;
}

#signupForm.auth-form::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

#signupForm.auth-form::-webkit-scrollbar-thumb:hover {
    background: var(--secondary);
}

@media (max-width: 768px) {
    .modal-content {
        margin: 3vh auto;
        padding: 1.5rem;
        width: 95%;
        max-height: 94vh;
    }

    #signupForm.auth-form {
        max-height: calc(94vh - 120px);
        padding-right: 0.5rem;
    }
}

.design-description {
    text-align: center;
    color: var(--text);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* ==========================================================================
   Pet Service Components
   ========================================================================== */
/* Service Cards */
.service-card {
    text-align: center;
    position: relative;
}

.service-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: var(--spacing-md);
    animation: wiggle 3s infinite;
}

/* Pet Sitter Cards */
.sitter-card {
    opacity: 0;
    animation: fadeIn var(--transition-base) forwards;
}

.sitter-image {
    height: 250px;
    position: relative;
    overflow: hidden;
}

.sitter-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

/* ==========================================================================
   Decorative Elements
   ========================================================================== */
.decorative-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    opacity: 0.1;
}

.paw-pattern {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 24 24' fill='%23A0E55B'%3E%3Cpath d='M12 2c-1.1 0-2 .9-2 2 0 1.1.9 2 2 2s2-.9 2-2-.9-2-2-2zm-5 4c-1.1 0-2 .9-2 2 0 1.1.9 2 2 2s2-.9 2-2-.9-2-2-2zm10 0c-1.1 0-2 .9-2 2 0 1.1.9 2 2 2s2-.9 2-2-.9-2-2-2z'/%3E%3C/svg%3E");
}

/* ==========================================================================
   Media Queries
   ========================================================================== */
@media (max-width: 768px) {
    :root {
        --font-size-base: 16px;
        --font-size-h1: 1.8rem;
        --font-size-h2: 2.2rem;
        --font-size-h3: 1.5rem;
    }

    .grid-auto-fit {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
    }

    .modal-content {
        width: 95%;
        padding: var(--spacing-lg);
    }
}

/* ==========================================================================
   Print Styles
   ========================================================================== */
@media print {
    .no-print {
        display: none;
    }
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(93, 78, 109, 0.7), rgba(93, 78, 109, 0.7)), url('https://images.unsplash.com/photo-1583511655857-d19b40a7a54e?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 0 1rem;
}

.hero-content {
    max-width: 800px;
}

.hero h2 {
    font-size: 3.8rem;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #FF7043;
}

/* Services Section */
.services {
    padding: 5rem 5%;
    background-color: var(--light);
    position: relative;
    z-index: 1;
}

.services h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 3.5rem;
    color: var(--dark);
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

/* Remove all decorative patterns */
.services::before,
.services::after,
.services h2::before,
.services h2::after {
    display: none;
}

/* Remove paw print animations */
@keyframes pawTrail {
    from {
        opacity: 0;
    }
    to {
        opacity: 0;
    }
}

@keyframes floatingStickers {
    from {
        opacity: 0;
    }
    to {
        opacity: 0;
    }
}

/* General hover effect for all service cards */
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* Make the mating service card appear clickable */
.service-card:first-child {
    cursor: pointer;
}

.service-card:first-child:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(255, 138, 91, 0.2);
    border-color: var(--primary);
}

.service-card:first-child:hover i,
.service-card:first-child:hover h3 {
    color: var(--primary);
    transform: scale(1.2);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    animation: playfulRotate 3s ease-in-out infinite;
}

.service-card:hover i {
    transform: scale(1.2) rotate(10deg);
}

.service-card h3 {
    margin-bottom: 1.5rem;
    color: #333;
    font-size: 1.8rem;
}

.service-card p {
    font-size: 1.2rem;
}

/* Contact Section */
.contact {
    padding: 5rem 5%;
}

.contact h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 3.5rem;
    color: var(--dark);
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 15px var(--shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    color: #333;
    font-size: 1.2rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1.1rem;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.submit-button {
    width: 100%;
    padding: 1rem;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background-color: #FF7043;
}

/* Footer */
footer {
    background-color: var(--dark);
    color: white;
    padding: 3rem 5% 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1.5rem;
    color: var(--primary);
    font-size: 1.8rem;
}

.footer-section p {
    font-size: 1.2rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: white;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero h2 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    body {
        font-size: 16px;
    }

    .logo h1 {
        font-size: 1.8rem;
    }

    .services h2,
    .contact h2,
    .pet-browsing h2 {
        font-size: 2.2rem;
    }

    .service-card h3,
    .footer-section h3 {
        font-size: 1.5rem;
    }

    .nav-links a,
    .service-card p,
    .footer-section p,
    .pet-info p {
        font-size: 1.1rem;
    }
}

/* Auth Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1001;
}

.modal-content {
    position: relative;
    background-color: white;
    margin: 10% auto;
    padding: 2.5rem;
    width: 90%;
    max-width: 550px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.close-modal {
    position: absolute;
    right: 1.5rem;
    top: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
}

.auth-tabs {
    display: flex;
    margin-bottom: 2rem;
    border-bottom: 1px solid #ddd;
}

.auth-tab {
    flex: 1;
    padding: 1.2rem;
    text-align: center;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.3rem;
    color: #666;
    transition: all 0.3s ease;
}

.auth-tab.active {
    color: var(--primary);
    border-bottom: 2px solid var(--primary);
}

.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
}

.auth-form h2 {
    margin-bottom: 2rem;
    color: #333;
    text-align: center;
    font-size: 2.2rem;
}

.auth-switch {
    text-align: center;
    margin-top: 1rem;
    color: #666;
}

.auth-switch a {
    color: var(--primary);
    text-decoration: none;
}

.auth-switch a:hover {
    text-decoration: underline;
}

.otp-message {
    text-align: center;
    color: #666;
    margin-bottom: 1.5rem;
}

.resend-otp {
    text-align: center;
    margin-top: 1rem;
    color: #666;
}

.resend-otp a {
    color: var(--primary);
    text-decoration: none;
}

.resend-otp a:hover {
    text-decoration: underline;
}

/* Auth Button in Navbar */
.auth-button {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: background-color 0.3s ease;
}

.auth-button:hover {
    background-color: #FF7043;
}

.auth-button.logged-in {
    background-color: var(--secondary);
}

/* Dropdown styles */
.auth-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 5px;
    padding: 0.5rem;
    min-width: 120px;
    display: none;
    z-index: 1001;
    margin-top: 0.5rem;
}

.auth-dropdown.show {
    display: block;
}

.logout-button {
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    padding: 0.8rem 1rem;
    font-size: 1.1rem;
    color: #333;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.logout-button:hover {
    background-color: #f1f1f1;
    color: var(--danger);
}

/* Position the nav-links li that contains auth-button */
.nav-links li:last-child {
    position: relative;
}

/* Responsive adjustments for auth modal */
@media (max-width: 768px) {
    .modal-content {
        margin: 5% auto;
        width: 95%;
        padding: 1.5rem;
    }

    .auth-tab {
        padding: 0.8rem;
        font-size: 1rem;
    }
}

/* Pet Browsing Section */
.pet-browsing {
    padding: 5rem 5%;
    background-color: var(--light);
    position: relative;
    z-index: 1;
}

.pet-browsing h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 2.5rem;
    color: var(--dark);
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.pet-browsing h2::before, 
.pet-browsing h2::after {
    content: "🐱";
    position: absolute;
    left: -40px;
    top: 5px;
    font-size: 2rem;
    animation: bounce 2s ease infinite;
}

.pet-browsing h2::before, 
.pet-browsing h2::after {
    content: "🐶";
    position: absolute;
    left: -40px;
    top: 5px;
    font-size: 2rem;
    animation: bounce 2s ease infinite;
    animation-delay: 1s;
}

.pet-filters {
    display: flex;
    gap: 1.2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px var(--shadow);
}

.filter-group {
    flex: 1;
    min-width: 200px;
    position: relative;
}

.filter-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary);
    font-weight: 600;
    font-size: 1.1rem;
}

.pet-filters select {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    background-color: white;
    font-size: 1.1rem;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF8A5B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
}

.pet-filters select:hover {
    border-color: var(--primary);
}

.pet-filters select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 138, 91, 0.1);
}

.search-button {
    min-width: 200px;
    padding: 1rem 2rem;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    z-index: 1;
}

.search-button:hover {
    background-color: #FF7043;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 138, 91, 0.3);
}

.search-button i {
    font-size: 1.2rem;
}

.match-highlight {
    border: 3px solid var(--accent) !important;
    box-shadow: 0 4px 15px rgba(160, 229, 91, 0.2) !important;
}

.no-matches {
    text-align: center;
    padding: 2rem;
    font-size: 1.2rem;
    color: #666;
    background: white;
    border-radius: 10px;
    margin-top: 2rem;
}

.pet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.pet-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px var(--shadow);
    transition: all 0.3s ease;
    border: 2px dashed transparent;
}

.pet-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.pet-image {
    height: 200px;
    background: linear-gradient(45deg, rgba(255,138,91,0.1) 0%, rgba(91,140,255,0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.pet-image::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    /* background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 24 24' fill='%23FFFFFF' opacity='0.1'%3E%3Cpath d='M12 2c-1.1 0-2 .9-2 2 0 1.1.9 2 2 2s2-.9 2-2-.9-2-2-2zm-5 4c-1.1 0-2 .9-2 2 0 1.1.9 2 2 2s2-.9 2-2-.9-2-2-2zm10 0c-1.1 0-2 .9-2 2 0 1.1.9 2 2 2s2-.9 2-2-.9-2-2-2zm-1.5 5.5c0-1.1-.9-2-2-2s-2 .9-2 2 .9 2 2 2 2-.9 2-2zm-8 0c0-1.1-.9-2-2-2s-2 .9-2 2 .9 2 2 2 2-.9 2-2z'/%3E%3C/svg%3E"); */
    background-repeat: repeat;
    z-index: 0;
}

.pet-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pet-image i {
    font-size: 4rem;
    color: var(--primary);
}

.pet-info {
    padding: 1.5rem;
}

.pet-info h3 {
    margin-bottom: 1.2rem;
    color: #333;
    font-size: 1.8rem;
}

.pet-info p {
    margin-bottom: 0.8rem;
    color: #666;
    font-size: 1.2rem;
}

.contact-button {
    width: 100%;
    padding: 1rem;
    background-color: var(--primary);
    color: white;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-button:hover {
    background-color: #FF7043;
}

/* Responsive adjustments for pet browsing */
@media (max-width: 768px) {
    .pet-filters {
        flex-direction: column;
        padding: 1.5rem;
    }

    .filter-group {
        width: 100%;
    }

    .search-button {
        width: 100%;
        margin-top: 1rem;
    }

    .pet-grid {
        grid-template-columns: 1fr;
    }
}

/* Pet Profile Modal */
#petProfileModal .modal-content {
    max-width: 900px;
    width: 95%;
    max-height: 85vh;
    overflow-y: auto;
    padding: 3rem;
    animation: modalSlideIn 0.4s ease-out;
    transform-origin: top;
}

@media (max-width: 768px) {
    #petProfileModal .modal-content {
        width: 95%;
        max-width: none;
        padding: 2rem;
    }
}

/* Form row for two-column layout */
.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 1.5rem;
}

.form-row .form-group {
    flex: 1;
    margin-bottom: 0;
}

/* Style the pet profile form */
#petProfileForm {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

#petProfileForm .submit-button {
    margin-top: 1rem;
    padding: 1.2rem;
    font-size: 1.2rem;
    background-color: var(--primary);
    font-weight: 600;
    letter-spacing: 0.5px;
}

#petProfileForm input[type="file"] {
    background-color: white;
    padding: 0.8rem;
    border: 1px dashed var(--primary);
}

/* Media query for small screens */
@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .form-row .form-group {
        margin-bottom: 0;
    }
}

#petProfileModal h2 {
    text-align: center;
    color: var(--primary);
    font-size: 2.4rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 1rem;
}

#petProfileModal .close-modal {
    font-size: 2rem;
    top: 1.5rem;
    right: 2rem;
}

/* Add some paw print background elements to selected sections */
.pet-browsing::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 24 24' fill='%23A0E55B' opacity='0.1'%3E%3Cpath d='M12 2c-1.1 0-2 .9-2 2 0 1.1.9 2 2 2s2-.9 2-2-.9-2-2-2zm-5 4c-1.1 0-2 .9-2 2 0 1.1.9 2 2 2s2-.9 2-2-.9-2-2-2zm10 0c-1.1 0-2 .9-2 2 0 1.1.9 2 2 2s2-.9 2-2-.9-2-2-2zm-1.5 5.5c0-1.1-.9-2-2-2s-2 .9-2 2 .9 2 2 2 2-.9 2-2zm-8 0c0-1.1-.9-2-2-2s-2 .9-2 2 .9 2 2 2 2-.9 2-2z'/%3E%3C/svg%3E"); */
    /* animation: pawTrail 40s linear infinite; */
}

.services::after,
.pet-browsing::after,
.contact::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: -1;
    /* background-image: 
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='50' height='50' viewBox='0 0 24 24' fill='%23FF8A5B' opacity='0.1'%3E%3Cpath d='M12 2c-1.1 0-2 .9-2 2 0 1.1.9 2 2 2s2-.9 2-2-.9-2-2-2zm-5 4c-1.1 0-2 .9-2 2 0 1.1.9 2 2 2s2-.9 2-2-.9-2-2-2zm10 0c-1.1 0-2 .9-2 2 0 1.1.9 2 2 2s2-.9 2-2-.9-2-2-2zm-1.5 5.5c0-1.1-.9-2-2-2s-2 .9-2 2 .9 2 2 2 2-.9 2-2zm-8 0c0-1.1-.9-2-2-2s-2 .9-2 2 .9 2 2 2 2-.9 2-2z'/%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 24 24' fill='%235B8CFF' opacity='0.1'%3E%3Cpath d='M12 2c-1.1 0-2 .9-2 2 0 1.1.9 2 2 2s2-.9 2-2-.9-2-2-2zm-5 4c-1.1 0-2 .9-2 2 0 1.1.9 2 2 2s2-.9 2-2-.9-2-2-2zm10 0c-1.1 0-2 .9-2 2 0 1.1.9 2 2 2s2-.9 2-2-.9-2-2-2z'/%3E%3C/svg%3E");
    background-repeat: repeat;
    animation: floatingStickers 60s linear infinite; */
}

/* Add corner stickers */
.service-card::before {
    content: "🐱";
    position: absolute;
    top: -10px;
    left: -10px;
    font-size: 24px;
    transform: rotate(-15deg);
    opacity: 0.7;
    animation: wiggle 3s ease-in-out infinite;
}

.service-card:nth-child(2n)::before {
    content: "🐶";
    left: auto;
    right: -10px;
    transform: rotate(15deg);
}

/* Add floating stickers animation */
@keyframes floatingStickers {
    from {
        background-position: 0 0;
    }
    to {
        background-position: 100% 100%;
    }
}

/* Add wiggle animation for emojis */
@keyframes wiggle {
    0%, 100% {
        transform: rotate(-15deg);
    }
    50% {
        transform: rotate(15deg);
    }
}

/* Add pet stickers to modal corners */
#petSittingModal .modal-content::before,
#petSittingModal .modal-content::after {
    content: "🐾";
    position: absolute;
    font-size: 32px;
    opacity: 0.7;
}

#petSittingModal .modal-content::before {
    top: 10px;
    left: 10px;
    transform: rotate(-15deg);
}

#petSittingModal .modal-content::after {
    bottom: 10px;
    right: 10px;
    transform: rotate(15deg);
}

/* Add decorative elements to section headings */
.services h2::before,
.pet-browsing h2::before,
.contact h2::before {
    content: "🐱";
    animation: bounce 2s ease infinite;
}

.services h2::after,
.pet-browsing h2::after,
.contact h2::after {
    content: "🐶";
    animation: bounce 2s ease infinite;
    animation-delay: 1s;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Add playful stickers to form elements */
.form-group:focus-within::after {
    content: "🦮";
    position: absolute;
    right: -25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(20px) translateY(-50%);
    }
    to {
        opacity: 1;
        transform: translateX(0) translateY(-50%);
    }
}

/* Add floating hearts around service cards on hover */
.service-card:hover::after {
    content: "❤️";
    position: absolute;
    animation: float 1s ease-out forwards;
    font-size: 20px;
    pointer-events: none;
}

@keyframes float {
    0% {
        top: 50%;
        right: 10px;
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        top: -20px;
        opacity: 0;
        transform: translateY(-20px) rotate(45deg);
    }
}

/* Add paw prints trail effect */
.pet-browsing::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    /* background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 24 24' fill='%23A0E55B' opacity='0.1'%3E%3Cpath d='M12 2c-1.1 0-2 .9-2 2 0 1.1.9 2 2 2s2-.9 2-2-.9-2-2-2zm-5 4c-1.1 0-2 .9-2 2 0 1.1.9 2 2 2s2-.9 2-2-.9-2-2-2zm10 0c-1.1 0-2 .9-2 2 0 1.1.9 2 2 2s2-.9 2-2-.9-2-2-2zm-1.5 5.5c0-1.1-.9-2-2-2s-2 .9-2 2 .9 2 2 2 2-.9 2-2zm-8 0c0-1.1-.9-2-2-2s-2 .9-2 2 .9 2 2 2 2-.9 2-2z'/%3E%3C/svg%3E");
    animation: pawTrail 40s linear infinite; */
}

@keyframes pawTrail {
    from {
        background-position: 0 0;
    }
    to {
        background-position: -1000px 1000px;
    }
}

/* Add playful rotation to service icons */
.service-card i {
    animation: playfulRotate 3s ease-in-out infinite;
}

@keyframes playfulRotate {
    0%, 100% {
        transform: rotate(-5deg);
    }
    50% {
        transform: rotate(5deg);
    }
}

/* Pet Sitting Modal Styles */
#petSittingModal .modal-content {
    max-width: 900px; /* Increased from default */
    width: 95%;
    max-height: 85vh;
    overflow-y: auto;
    padding: 3rem;
    animation: modalSlideIn 0.4s ease-out;
    transform-origin: top;
}

/* Animation for modal opening */
@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-100px) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Smooth scrollbar for modal content */
#petSittingModal .modal-content::-webkit-scrollbar {
    width: 8px;
}

#petSittingModal .modal-content::-webkit-scrollbar-track {
    background: rgba(255, 138, 91, 0.1);
    border-radius: 10px;
}

#petSittingModal .modal-content::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

#petSittingModal .modal-content::-webkit-scrollbar-thumb:hover {
    background: #FF7043;
}

/* Enhanced tab styling */
.pet-sitting-tabs {
    position: sticky;
    top: 0;
    background: white;
    padding: 1rem 0;
    z-index: 2;
    margin: -3rem -3rem 2rem -3rem;
    padding: 2rem 3rem;
    border-bottom: 2px solid var(--primary);
    display: flex;
    gap: 1rem;
}

.pet-sitting-tab {
    padding: 1rem 2.5rem;
    font-size: 1.3rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.pet-sitting-tab::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.pet-sitting-tab:hover::before {
    transform: scaleX(1);
}

.pet-sitting-tab.active::before {
    transform: scaleX(1);
}

/* Enhanced grid layout for sitters */
.sitters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
    padding: 1rem;
}

/* Card animations */
.sitter-card {
    opacity: 0;
    transform: translateY(20px);
    animation: cardFadeIn 0.5s ease forwards;
}

@keyframes cardFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stagger the animation of cards */
.sitter-card:nth-child(1) { animation-delay: 0.1s; }
.sitter-card:nth-child(2) { animation-delay: 0.2s; }
.sitter-card:nth-child(3) { animation-delay: 0.3s; }
.sitter-card:nth-child(4) { animation-delay: 0.4s; }
.sitter-card:nth-child(5) { animation-delay: 0.5s; }

/* Enhanced filter section */
.sitter-filters {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px var(--shadow);
    margin-bottom: 2rem;
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #petSittingModal .modal-content {
        width: 95%;
        padding: 2rem;
        margin: 5% auto;
    }

    .pet-sitting-tabs {
        margin: -2rem -2rem 2rem -2rem;
        padding: 1.5rem 2rem;
        flex-direction: column;
    }

    .pet-sitting-tab {
        width: 100%;
        text-align: center;
        padding: 1rem;
    }

    .sitters-grid {
        grid-template-columns: 1fr;
    }
}

/* Sitter card and section styles */
.pet-sitting-section {
    display: none;
    animation: sectionFadeIn 0.4s ease-out;
}

.pet-sitting-section.active {
    display: block;
}

@keyframes sectionFadeIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.sitter-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px var(--shadow);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
}

.sitter-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 8px 25px rgba(255, 138, 91, 0.2);
}

.sitter-image {
    height: 250px;
    background: linear-gradient(45deg, rgba(255,138,91,0.1) 0%, rgba(91,140,255,0.1) 100%);
    overflow: hidden;
    position: relative;
}

.sitter-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.5));
}

.sitter-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.sitter-card:hover .sitter-image img {
    transform: scale(1.1);
}

.sitter-info {
    padding: 2rem;
}

.sitter-info h3 {
    color: var(--dark);
    margin-bottom: 1.2rem;
    font-size: 1.8rem;
    font-weight: 600;
}

.sitter-info p {
    margin-bottom: 1rem;
    color: #666;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.sitter-info i {
    color: var(--primary);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 138, 91, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.sitter-card:hover .sitter-info i {
    transform: scale(1.2);
    background: var(--primary);
    color: white;
}

/* Checkbox Group Styles */
.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    margin-top: 0.8rem;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
    padding: 0.5rem 1rem;
    background: rgba(255, 138, 91, 0.1);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.checkbox-group label:hover {
    background: rgba(255, 138, 91, 0.2);
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: var(--primary);
}

/* Contact button in sitter cards */
.sitter-info .contact-button {
    width: 100%;
    padding: 1.2rem;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1.5rem;
    font-weight: 600;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
}

.sitter-info .contact-button:hover {
    background-color: #FF7043;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 138, 91, 0.3);
}

.sitter-info .contact-button i {
    background: none;
    color: white;
}

.sitter-info .fa-star {
    color: #FFD700;
    background: none !important;
    transition: transform 0.3s ease;
}

.sitter-info p:hover .fa-star {
    transform: scale(1.2) rotate(5deg);
    color: #FFD700 !important;
}

@media (max-width: 768px) {
    .checkbox-group {
        flex-direction: column;
    }
    
    .checkbox-group label {
        width: 100%;
    }
    
    .sitter-info {
        padding: 1.5rem;
    }
    
    .sitter-info h3 {
        font-size: 1.5rem;
    }
}

/* Pet Walks Modal Styles */
.pet-walks-tabs {
    position: sticky;
    top: 0;
    background: white;
    padding: 1rem 0;
    z-index: 2;
    margin: -3rem -3rem 2rem -3rem;
    padding: 2rem 3rem;
    border-bottom: 2px solid var(--primary);
    display: flex;
    gap: 1rem;
}

.pet-walks-tab {
    padding: 1rem 2.5rem;
    font-size: 1.3rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    background: none;
    border: none;
    color: var(--dark);
    opacity: 0.8;
    cursor: pointer;
}

.pet-walks-tab::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.pet-walks-tab:hover::before {
    transform: scaleX(1);
}

.pet-walks-tab.active {
    color: var(--dark);
    opacity: 1;
}

.pet-walks-tab.active::before {
    transform: scaleX(1);
}

.pet-walks-section {
    display: none;
    animation: sectionFadeIn 0.4s ease-out;
}

.pet-walks-section.active {
    display: block;
}

/* Walker Cards Grid */
.walkers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
    padding: 1rem;
}

.walker-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px var(--shadow);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    opacity: 0;
    transform: translateY(20px);
    animation: cardFadeIn 0.5s ease forwards;
}

.walker-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 8px 25px rgba(255, 138, 91, 0.2);
}

/* Walker Image Styles */
.walker-image {
    height: 250px;
    background: linear-gradient(45deg, rgba(255,138,91,0.1) 0%, rgba(91,140,255,0.1) 100%);
    overflow: hidden;
    position: relative;
}

.walker-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.5));
}

.walker-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.walker-card:hover .walker-image img {
    transform: scale(1.1);
}

/* Walker Info Styles */
.walker-info {
    padding: 2rem;
}

.walker-info h3 {
    color: var(--dark);
    margin-bottom: 1.2rem;
    font-size: 1.8rem;
    font-weight: 600;
}

.walker-info p {
    margin-bottom: 1rem;
    color: #666;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.walker-info i {
    color: var(--primary);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 138, 91, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.walker-card:hover .walker-info i {
    transform: scale(1.2);
    background: var(--primary);
    color: white;
}

/* Schedule Group Styles */
.schedule-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.schedule-group label {
    padding: 0.8rem 1.5rem;
    background: rgba(255, 138, 91, 0.1);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.schedule-group label:hover {
    background: rgba(255, 138, 91, 0.2);
}

.schedule-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
}

/* Walker Filters */
.walker-filters {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px var(--shadow);
    margin-bottom: 2rem;
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* Stagger the animation of cards */
.walker-card:nth-child(1) { animation-delay: 0.1s; }
.walker-card:nth-child(2) { animation-delay: 0.2s; }
.walker-card:nth-child(3) { animation-delay: 0.3s; }
.walker-card:nth-child(4) { animation-delay: 0.4s; }
.walker-card:nth-child(5) { animation-delay: 0.5s; }

/* Responsive adjustments */
@media (max-width: 768px) {
    .pet-walks-tabs {
        margin: -2rem -2rem 2rem -2rem;
        padding: 1.5rem 2rem;
        flex-direction: column;
    }

    .pet-walks-tab {
        width: 100%;
        text-align: center;
        padding: 1rem;
    }

    .walkers-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .walker-filters {
        flex-direction: column;
        padding: 1.5rem;
    }

    .schedule-group {
        flex-direction: column;
    }

    .schedule-group label {
        width: 100%;
        justify-content: center;
    }
}

/* Add decorative elements */
.walker-card::before {
    content: "🦮";
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 24px;
    transform: rotate(15deg);
    opacity: 0.7;
    animation: wiggle 3s ease-in-out infinite;
    z-index: 1;
}

.walker-card:nth-child(2n)::before {
    content: "🐕";
    left: -10px;
    right: auto;
    transform: rotate(-15deg);
}

/* Add paw print trail for walker cards */
.walker-card::after {
    content: "🐾";
    position: absolute;
    bottom: 10px;
    right: 10px;
    font-size: 20px;
    opacity: 0.5;
    transform: rotate(-15deg);
}

/* Pet Profile Modal Animations */
#petProfileModal .modal-content {
    max-width: 900px;
    width: 95%;
    max-height: 85vh;
    overflow-y: auto;
    padding: 3rem;
    animation: modalSlideIn 0.4s ease-out;
    transform-origin: top;
}

#petProfileModal .modal-content::-webkit-scrollbar {
    width: 8px;
}

#petProfileModal .modal-content::-webkit-scrollbar-track {
    background: rgba(255, 138, 91, 0.1);
    border-radius: 10px;
}

#petProfileModal .modal-content::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

#petProfileModal .modal-content::-webkit-scrollbar-thumb:hover {
    background: #FF7043;
}

/* Add staggered animation for pet cards */
.pet-card {
    opacity: 0;
    transform: translateY(20px);
    animation: cardFadeIn 0.5s ease forwards;
}

/* Stagger the animation of pet cards */
.pet-card:nth-child(1) { animation-delay: 0.1s; }
.pet-card:nth-child(2) { animation-delay: 0.2s; }
.pet-card:nth-child(3) { animation-delay: 0.3s; }
.pet-card:nth-child(4) { animation-delay: 0.4s; }
.pet-card:nth-child(5) { animation-delay: 0.5s; }

/* Add smooth transitions for form elements */
#petProfileForm input,
#petProfileForm select,
#petProfileForm textarea {
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

#petProfileForm input:focus,
#petProfileForm select:focus,
#petProfileForm textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 138, 91, 0.1);
}

#petWalksModal .modal-content {
    max-width: 900px;
    width: 95%;
    max-height: 85vh;
    overflow-y: auto;
    padding: 3rem;
    animation: modalSlideIn 0.4s ease-out;
    transform-origin: top;
}

#petWalksModal .modal-content::-webkit-scrollbar {
    width: 8px;
}

#petWalksModal .modal-content::-webkit-scrollbar-track {
    background: rgba(255, 138, 91, 0.1);
    border-radius: 10px;
}

#petWalksModal .modal-content::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

#petWalksModal .modal-content::-webkit-scrollbar-thumb:hover {
    background: #FF7043;
}

/* Add staggered animation for walker cards */
.walker-card {
    opacity: 0;
    transform: translateY(20px);
    animation: cardFadeIn 0.5s ease forwards;
}

/* Stagger the animation of walker cards */
.walker-card:nth-child(1) { animation-delay: 0.1s; }
.walker-card:nth-child(2) { animation-delay: 0.2s; }
.walker-card:nth-child(3) { animation-delay: 0.3s; }
.walker-card:nth-child(4) { animation-delay: 0.4s; }
.walker-card:nth-child(5) { animation-delay: 0.5s; }

/* Add smooth transitions for form elements */
#walkerRegistrationForm input,
#walkerRegistrationForm select,
#walkerRegistrationForm textarea {
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

#walkerRegistrationForm input:focus,
#walkerRegistrationForm select:focus,
#walkerRegistrationForm textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 138, 91, 0.1);
}

/* Responsive adjustments for all modals */
@media (max-width: 768px) {
    #petProfileModal .modal-content,
    #petSittingModal .modal-content,
    #petWalksModal .modal-content {
        width: 95%;
        padding: 2rem;
        margin: 5% auto;
    }
}

#petMerchandise {
    padding: 5rem 0;
    background-color: var(--light);
    position: relative;
    z-index: 1;
}

.merchandise-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
    padding: 1rem;
}

.merch-option {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 4px 6px var(--shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.merch-option img {
    width: 100%;
    max-width: 120px;
    height: auto;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
    object-fit: contain;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .merchandise-options {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
        padding: 0.5rem;
    }

    .merch-option {
        padding: 1rem;
    }

    .merch-option img {
        max-width: 80px;
    }

    .merch-option h4 {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .merchandise-options {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 0.8rem;
    }

    .merch-option {
        padding: 0.8rem;
    }

    .merch-option img {
        max-width: 60px;
    }

    .merch-option h4 {
        font-size: 0.9rem;
        margin-top: 0.5rem;
    }
}

/* Service icons responsive adjustments */
.service-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
}

@media (max-width: 768px) {
    .service-card i {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .service-card i {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
    }
}

/* Fix icon alignment in navigation */
.nav-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

@media (max-width: 768px) {
    .nav-icon {
        width: 20px;
        height: 20px;
    }
}

/* Printify Designer Modal Styles */
#printifyModal .modal-content {
    background: var(--light);
    border-radius: 15px;
    padding: 2rem;
    width: 90%;
    max-width: 800px;
}

.design-options {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 1rem;
}

.upload-section {
    margin-bottom: 2rem;
}

.upload-section label {
    display: block;
    margin-bottom: 1rem;
    font-weight: 600;
}

.customization-options {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.color-picker, .size-picker, .text-customization {
    margin-bottom: 1.5rem;
}

.color-picker label, .size-picker label, .text-customization label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.preview-section {
    grid-column: 1 / -1;
    text-align: center;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 10px;
}

.product-preview {
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    border-radius: 10px;
}

.product-preview img {
    max-width: 300px;
    height: auto;
    margin-bottom: 1rem;
}

/* Form Controls */
#printifyDesigner select,
#printifyDesigner input[type="text"] {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

#printifyDesigner select:focus,
#printifyDesigner input[type="text"]:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 138, 91, 0.1);
}

#printifyDesigner input[type="file"] {
    width: 100%;
    padding: 1rem;
    border: 2px dashed #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

#printifyDesigner input[type="file"]:hover {
    border-color: var(--primary);
    background: rgba(255, 138, 91, 0.05);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .design-options {
        grid-template-columns: 1fr;
    }

    #printifyModal .modal-content {
        padding: 2rem;
    }

    .product-preview img {
        max-width: 200px;
    }
}

/* Mission Statement Section */
.mission-statement {
    padding: 5rem 5%;
    background-color: var(--light);
    position: relative;
    z-index: 1;
}

.mission-statement h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--primary);
}

.mission-content {
    max-width: 800px;
    margin: 0 auto;
    background-color: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 6px var(--shadow);
}

.mission-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text);
    margin-bottom: 2rem;
}

.disclaimer {
    background-color: var(--light);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid var(--danger);
}

.disclaimer h3 {
    color: var(--danger);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.disclaimer p {
    font-size: 1rem;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .mission-statement {
        padding: 3rem 5%;
    }

    .mission-statement h2 {
        font-size: 2rem;
    }

    .mission-content {
        padding: 1.5rem;
    }

    .mission-content p {
        font-size: 1rem;
    }
}

/* Coming Soon Animation Styles */
.coming-soon-wrapper {
    margin-top: 1rem;
    text-align: center;
    position: relative;
}

.coming-soon-text {
    display: inline-block;
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 3px;
    position: relative;
    animation: textGlow 3s ease-in-out infinite;
    text-shadow: 0 0 5px rgba(255, 138, 91, 0.3);
    background: linear-gradient(45deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    padding: 0.5rem 1rem;
}

.coming-soon-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary) 0%, var(--accent) 100%);
    opacity: 0.1;
    border-radius: 8px;
    transform: scale(1.1);
    animation: pulseBackground 3s ease-in-out infinite;
}

.paw-prints {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.paw-prints i {
    font-size: 1.2rem;
    background: linear-gradient(45deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    transform: translateY(10px);
}

.paw-prints i:nth-child(1) {
    animation: pawRise 3s ease-in-out infinite;
}

.paw-prints i:nth-child(2) {
    animation: pawRise 3s ease-in-out infinite 0.5s;
}

.paw-prints i:nth-child(3) {
    animation: pawRise 3s ease-in-out infinite 1s;
}

@keyframes textGlow {
    0%, 100% {
        transform: scale(1);
        filter: brightness(1);
    }
    50% {
        transform: scale(1.05);
        filter: brightness(1.2);
    }
}

@keyframes pulseBackground {
    0%, 100% {
        transform: scale(1.1);
        opacity: 0.1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.2;
    }
}

@keyframes pawRise {
    0% {
        transform: translateY(10px) rotate(-10deg);
        opacity: 0;
    }
    20% {
        transform: translateY(-5px) rotate(0deg);
        opacity: 1;
    }
    80% {
        transform: translateY(-15px) rotate(10deg);
        opacity: 1;
    }
    100% {
        transform: translateY(-25px) rotate(0deg);
        opacity: 0;
    }
}

/* Update service card styles for merchandise */
.service-card:last-child {
    position: relative;
    overflow: hidden;
}

.service-card:last-child::before {
    content: '';    
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background: linear-gradient(135deg, rgba(255,138,91,0.1) 0%, rgba(160,229,91,0.1) 100%); */
    z-index: 0;
    pointer-events: none;
}

/* Decorative Elements */
.decorative-left {
    position: fixed;
    left: 5%;
    bottom: 20%;
    width: 250px;
    height: auto;
    z-index: -1;
    opacity: 0.8;
    pointer-events: none;
}

.decorative-right {
    position: fixed;
    right: 5%;
    bottom: 20%;
    width: 250px;
    height: auto;
    z-index: -1;
    opacity: 0.8;
    pointer-events: none;
}

@media (max-width: 1200px) {
    .decorative-left {
        left: 2%;
    }
    .decorative-right {
        right: 2%;
    }
}

@media (max-width: 768px) {
    .decorative-left,
    .decorative-right {
        display: none;
    }
}

/* Pet Sitter Search Section */
.pet-sitter-search {
    background: var(--light);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 8px 24px var(--shadow);
    margin: 2rem auto;
    max-width: 1000px;
}

.pet-sitter-search h2 {
    color: var(--dark);
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.2rem;
    position: relative;
}

.pet-sitter-search h2::before,
.pet-sitter-search h2::after {
    content: "🐾";
    position: absolute;
    font-size: 1.8rem;
}

.pet-sitter-search h2::before {
    left: -40px;
}

.pet-sitter-search h2::after {
    right: -40px;
}

.search-filters {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    align-items: end;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-group label {
    color: var(--dark);
    font-weight: 600;
    font-size: 1rem;
}

.filter-group select {
    padding: 0.8rem 1rem;
    border: 2px solid var(--primary);
    border-radius: 8px;
    background-color: white;
    font-size: 1rem;
    color: var(--text);
    transition: all 0.3s ease;
}

.filter-group select:hover,
.filter-group select:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(91, 140, 255, 0.2);
}

.find-sitters-btn {
    background: var(--primary);
    color: white;
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.find-sitters-btn:hover {
    background: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow);
}

@media (max-width: 768px) {
    .pet-sitter-search {
        padding: 1.5rem;
        margin: 1rem;
    }

    .pet-sitter-search h2 {
        font-size: 1.8rem;
    }

    .pet-sitter-search h2::before,
    .pet-sitter-search h2::after {
        display: none;
    }

    .search-filters {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

.pet-walker-search {
    background: var(--light);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 8px 24px var(--shadow);
    margin: 2rem auto;
    max-width: 1000px;
}

.pet-walker-search h2 {
    color: var(--dark);
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.2rem;
    position: relative;
}

.pet-walker-search h2::before,
.pet-walker-search h2::after {
    content: "🐾";
    position: absolute;
    font-size: 1.8rem;
}

.pet-walker-search h2::before {
    left: -40px;
}

.pet-walker-search h2::after {
    right: -40px;
}

.find-walkers-btn {
    background: var(--primary);
    color: white;
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.find-walkers-btn:hover {
    background: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow);
}

.walkers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

@media (max-width: 768px) {
    .pet-walker-search {
        padding: 1.5rem;
        margin: 1rem;
    }

    .pet-walker-search h2 {
        font-size: 1.8rem;
    }

    .pet-walker-search h2::before,
    .pet-walker-search h2::after {
        display: none;
    }

    .search-filters {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .walkers-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1rem 0;
    }
}

.artwork-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.art-option {
    background: var(--light);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px dashed transparent;
    cursor: pointer;
}

.art-option:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.art-preview {
    padding: 1.5rem;
}

.art-preview i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.art-preview h4 {
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 1rem;
}

.art-preview p {
    color: var(--text);
    margin-bottom: 1.5rem;
}

.art-details {
    list-style: none;
    padding: 0;
    text-align: left;
}

.art-details li {
    padding: 0.5rem 0;
    color: var(--text);
    position: relative;
    padding-left: 1.5rem;
}

.art-details li::before {
    content: "🎨";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.9rem;
}

.order-section {
    background: var(--light);
    padding: 2rem;
    border-radius: 15px;
    margin-top: 2rem;
}

.order-section h4 {
    font-size: 1.8rem;
    color: var(--dark);
    margin-bottom: 1.5rem;
    text-align: center;
}

#artworkOrderForm {
    display: grid;
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

#artworkOrderForm .form-group {
    margin-bottom: 1rem;
}

#artworkOrderForm label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--dark);
    font-weight: 500;
}

#artworkOrderForm select,
#artworkOrderForm textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--shadow);
    border-radius: 8px;
    background: white;
    color: var(--text);
    transition: all 0.3s ease;
}

#artworkOrderForm select:focus,
#artworkOrderForm textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(255, 138, 91, 0.1);
    outline: none;
}

.file-info {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: var(--text);
    opacity: 0.8;
}

@media (max-width: 768px) {
    .artwork-options {
        grid-template-columns: 1fr;
    }

    .art-option {
        padding: 1.5rem;
    }

    .order-section {
        padding: 1.5rem;
    }

    #artworkOrderForm {
        gap: 1rem;
    }
}

// Update the modal content styles
#printifyModal .modal-content {
    max-width: 1000px;
    padding: 2rem;
}

.design-options h3 {
    font-size: 2.2rem;
    color: var(--dark);
    text-align: center;
    margin-bottom: 1rem;
}

.design-description {
    text-align: center;
    color: var(--text);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
  