:root {
    --primary: #26b4c4;
    --secondary: #f8976a;
    --light: #ffffff;
    --dark: #333333;
    --background: #f5f5f5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--background);
    color: var(--dark);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
}

/* Header Styles */

header {
    position: relative; /* Not sticky */
    box-shadow: none;
    background-color: transparent;
    z-index: 999; /* Lower than nav */
}

.top-bar {
    background-color: white;
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    width: 100%;
    z-index: 999;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 120px;
    width: auto;
    transition: transform 0.3s ease;
}

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

.contact-info {
    display: flex;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    font-size: 15px;
    color: var(--dark);
}

.contact-item i {
    color: var(--primary);
    margin-right: 8px;
    font-size: 18px;
}

.book-btn {
    background-color: var(--secondary);
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: bold;
    transition: background-color 0.3s;
    display: inline-block;
}

.book-btn:hover {
    background-color: #e58656;
}

/* Navigation */
nav {
    background-color: var(--primary);
    padding: 0 5%;
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000; /* Higher than header */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

/* Fixed height for nav to prevent jumping */
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px; /* Fixed height */
}

.nav-logo {
    display: none; /* Hidden by default */
    height: 40px;
    margin-right: 15px;
    transition: all 0.3s ease;
}

.nav-logo img {
    height: 100%;
    width: auto;
}

/* Class that will be added to nav when scrolling */
nav.scrolled .nav-logo {
    display: block;
}

/* Make sure the menu toggle button doesn't overlap with the small logo */
@media (max-width: 768px) {
    /* Top bar improvements */
    .top-bar {
        position: relative;
        width: 100%;
    }

    .logo {
        margin-bottom: 10px;
    }
    
    .logo img {
        height: 60px; /* Smaller logo for mobile */
    }
    
    .contact-info {
        display: none; /* Hide contact info on mobile to save space */
    }
    
    /* Navigation improvements */
    nav {
        position: sticky;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
    
    .nav-container {
        position: relative;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 15px;
        height: auto;
    }
    
    .nav-logo {
        display: block; /* Always show the small logo in mobile */
        position: absolute;
        left: 15px;
        top: 50%;
        transform: translateY(-50%);
        height: 40px;
    }

    nav.scrolled {
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    }
    
    .menu-toggle {
        display: block;
        margin-left: auto; /* Push to right */
        cursor: pointer;
        font-size: 24px;
        color: white;
        z-index: 1001;
    }
    
    .menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(38, 180, 196, 0.95);
        flex-direction: column;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        z-index: 1000;
		backdrop-filter: blur(3px);
		transition: all 0.3s ease;
    }
    
    .menu.active {
        display: flex;
    }
    
    .menu li {
        width: 100%;
        text-align: center;
        height: auto;
    }
    
    .menu li a {
        padding: 15px;
        width: 100%;
        display: block;
        border-bottom: 1px solid rgba(255, 255, 255, 0.5);
        justify-content: center;
        font-weight: 500;
        background-color: rgba(38, 180, 196, 0.95);
        transition: all 0.3s ease; /* Smooth transition for all properties */
    }
    
    .menu li a::after {
        display: none; /* Remove the underline effect on mobile */
    }
	
    .menu li a:hover, 
    .menu li a.active {
        background-color: rgba(38, 180, 196, 0.5) !important;  /* Your primary color with 50% opacity */
        color: #000; /* Black text on hover */
        font-weight: 600; /* Make text slightly bolder on hover for better contrast */
    }
    
    .social-icons {
        display: none;
    }
}


.menu {
    display: flex;
    list-style: none;
    height: 100%;
}

.menu li {
    height: 100%;
    display: flex;
    align-items: center;
}

.menu li a {
    display: flex;
    align-items: center;
    height: 100%;
    color: white;
    padding: 0 20px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background-color: white;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.menu li a:hover::after, 
.menu li a.active::after {
    width: 60%;
}

.menu li a:hover, 
.menu li a.active {
    background-color: rgba(255, 255, 255, 0.1);
}

.social-icons {
    display: flex;
    align-items: center;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    margin-left: 12px;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Make navigation fixed and add smooth scroll effect */

html {
    scroll-behavior: smooth;
    scroll-padding-top: 120px; /* Adjust based on your header height */
}

/* Responsive header improvements */
@media (max-width: 992px) {
    .top-bar {
        flex-wrap: wrap;
    }
    
    .contact-info {
        order: 3;
        width: 100%;
        justify-content: center;
        margin-top: 15px;
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .nav-container {
        position: relative;
    }
    
    .menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        background-color: var(--primary);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        display: none;
    }
    
    .menu.active {
        display: flex;
    }
    
    .menu li {
        width: 100%;
        height: auto;
    }
    
    .menu li a {
        width: 100%;
        padding: 15px 20px;
        justify-content: center;
    }
    
    .menu-toggle {
        display: block;
        cursor: pointer;
        font-size: 24px;
        color: white;
    }
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 24px;
    color: white;
}

/* Hero Section */
.hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('images/hero-dog.jpg') no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
}

.hero h1 {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn-outlined {
    border: 2px solid white;
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: bold;
    transition: all 0.3s;
    display: inline-block;
}

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

/* Services Section */
.section {
    padding: 80px 5%;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
}

.section-header p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

/* Make sure service cards have consistent heights */
.service-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.service-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.service-content h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--primary);
}

.service-content p {
    font-size: 16px;
    margin-bottom: 15px;
}

.service-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 15px;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* About Section */
.about-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.about-image {
    flex: 1;
    min-width: 300px;
    max-width: 450px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-image img {
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    max-width: 100%;
    max-height: 400px;
    object-fit: cover;
    display: block;
}

.about-content {
    flex: 1;
    min-width: 300px;
}

.about-content h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
}

.about-content p {
    font-size: 16px;
    margin-bottom: 20px;
}

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info-box {
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-info-item {
    display: flex;
    margin-bottom: 20px;
}

.contact-info-item i {
    font-size: 24px;
    color: var(--primary);
    margin-right: 15px;
}

.contact-info-content {
    flex: 1;
}

.contact-info-content h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}

.contact-form {
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 5px;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-control:focus {
    border-color: var(--primary);
    outline: none;
}

textarea.form-control {
    min-height: 120px;
}

/* Form Message Styling */
.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 5px;
    display: none;
}

.form-message.success {
    display: block;
    background-color: rgba(40, 167, 69, 0.15);
    border: 1px solid rgba(40, 167, 69, 0.5);
    color: #155724;
}

.form-message.error {
    display: block;
    background-color: rgba(220, 53, 69, 0.15);
    border: 1px solid rgba(220, 53, 69, 0.5);
    color: #721c24;
}

.form-message.loading {
    display: block;
    background-color: rgba(0, 123, 255, 0.15);
    border: 1px solid rgba(0, 123, 255, 0.5);
    color: #004085;
}

/* Testimonials Section */
.testimonial-slider {
    margin-top: 40px;
    position: relative;
}

.testimonial-card {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin: 0 15px;
    text-align: center;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
}

.testimonial-text::before {
    content: '"';
    font-size: 60px;
    color: rgba(38, 180, 196, 0.2);
    position: absolute;
    top: -20px;
    left: -20px;
}

.client-info {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.client-info img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin-bottom: 15px;
}

.client-name {
    font-weight: 600;
    color: var(--primary);
}

/* Footer */
footer {
    background-color: var(--dark);
    color: white;
    padding-top: 60px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding: 0 5% 60px;
}

.footer-widget h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-widget h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary);
}

.footer-widget p {
    margin-bottom: 15px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links li a {
    transition: color 0.3s;
}

.footer-links li a:hover {
    color: var(--primary);
}

.footer-bottom {
    background-color: #222;
    padding: 20px 5%;
    text-align: center;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .top-bar {
        flex-direction: column;
        gap: 20px;
    }
    
    .contact-info {
        flex-direction: column;
        align-items: center;
    }
    
    .hero h1 {
        font-size: 42px;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--primary);
        flex-direction: column;
    }
    
    .menu.active {
        display: flex;
    }
    
    .social-icons {
        display: none;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .about-container {
        flex-direction: column;
    }
}