/* Root Variables */
:root {
    --primary-color: #323b4c;
    --secondary-color: #232a35;
    --accent-color: #3a6d8c;
    --text-dark: #1a2732;
    --text-light: #5a6c7d;
    --bg-light: #f5f7fa;
    --white: #ffffff;
    --shadow-sm: 0 1px 3px 0 rgba(42, 77, 109, 0.08);
    --shadow-md: 0 4px 12px -2px rgba(42, 77, 109, 0.12);
    --shadow-lg: 0 12px 24px -4px rgba(42, 77, 109, 0.15);
    --shadow-xl: 0 20px 32px -8px rgba(42, 77, 109, 0.18);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
    font-weight: 400;
    letter-spacing: -0.01em;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-dark);
    letter-spacing: -0.02em;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 36px;
    font-weight: 500;
    font-size: 15px;
    border-radius: 6px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    text-align: center;
    letter-spacing: 0.01em;
}

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

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-light:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

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

.btn-block {
    width: 100%;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
    /* Dark transparent background */
    box-shadow: none;
    z-index: 1000;
    transition: var(--transition);
    padding: 10px 0;
    backdrop-filter: blur(2px);
    /* Optional: adds a nice blur effect */
}

.navbar.scrolled {
    background: #242a34;
    box-shadow: var(--shadow-lg);
    padding: 10px 0;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    padding: 20px 0;
}

.nav-cta {
    background: var(--white) !important;
    color: var(--primary-color) !important;
    font-weight: 700 !important;
}

.nav-cta:hover {
    background: #e6e6e6 !important;
    /* Slightly darker than white */
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.logo img {
    height: auto;
    max-height: 80px;
    /* Increased from 50px */
    width: auto;
    transition: var(--transition);
}

.logo-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    display: none;
}

.nav-menu {
    display: flex;
    gap: 32px;
    align-items: center;
    margin: 0 auto;
}

.nav-menu a {
    font-weight: 500;
    font-size: 15px;
    color: var(--white);
    position: relative;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-cta {
    margin-left: 16px;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--white);
    transition: var(--transition);
    border-radius: 2px;
}

/* Hero Page (Subpages) */
.hero-page {
    position: relative;
    height: 60vh;
    min-height: 500px;
    background-image: url('https://images.unsplash.com/photo-1548199973-03cce0bbc87b?q=80&w=2670&auto=format&fit=crop');
    /* Dogs running on beach - Happy Pets theme */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* Parallax effect */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0;
    padding-top: 80px;
    /* Push content down to clear header */
}

.hero-page-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 39, 50, 0.5);
    /* Slightly lighter overlay to show animals */
}

.hero-page-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
    margin-top: 60px;
    /* Additional spacing from the top */
}

.hero-page-content h1 {
    font-size: 64px;
    margin-bottom: 24px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.02em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-page-content p {
    font-size: 24px;
    opacity: 1;
    max-width: 800px;
    margin: 0 auto;
    font-weight: 400;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* About Page Content */
.about-page-content {
    padding: 50px 0 80px;
    background: var(--white);
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.lead-text {
    font-size: 22px;
    color: var(--text-dark);
    margin-bottom: 40px;
    line-height: 1.8;
    font-weight: 400;
    border-left: 4px solid var(--accent-color);
    padding-left: 24px;
}

.about-page-content p {
    font-size: 18px;
    color: var(--text-dark);
    /* Darker for better readability */
    margin-bottom: 28px;
    line-height: 1.9;
    font-weight: 300;
}

.about-page-content p:last-child {
    margin-bottom: 0;
}

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 100vh;
    margin-top: 0;
    /* Removed margin to allow header to overlay */
    overflow: hidden;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(50, 59, 76, 0.85) 0%, rgba(35, 42, 53, 0.75) 100%);
}

.hero-static-content {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    text-align: center;
    color: var(--white);
    padding: 20px;
    z-index: 10;
}

.slide-title {
    font-size: 52px;
    margin-bottom: 24px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #ffffff !important;
}

.slide-subtitle {
    font-size: 20px;
    margin-bottom: 36px;
    font-weight: 400;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: #ffffff !important;
    opacity: 1;
}

.slide-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.3);
    color: var(--white);
    border: none;
    z-index: 20;
    font-size: 48px;
    width: 60px;
    height: 60px;
    cursor: pointer;
    transition: var(--transition);
    border-radius: 50%;
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 5px;
    /* Visual adjustment for font alignment */
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.5);
}

.slider-btn.prev {
    left: 30px;
}

.slider-btn.next {
    right: 30px;
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
}

.slider-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.slider-dots .dot.active {
    background: var(--white);
    width: 32px;
    border-radius: 6px;
}

/* Features Section */
.features {
    padding: 80px 0;
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

.feature-card {
    text-align: center;
    padding: 48px 28px;
    border-radius: 16px;
    transition: var(--transition);
    background: var(--white);
    border: 1px solid rgba(42, 77, 109, 0.08);
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(42, 77, 109, 0.15);
}

.feature-icon {
    margin-bottom: 24px;
    color: var(--primary-color);
}

.feature-icon svg {
    stroke: var(--primary-color);
}

.feature-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
    font-weight: 600;
}

.feature-card p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.6;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 38px;
    margin-bottom: 16px;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.section-header p {
    font-size: 18px;
    color: var(--text-light);
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Services Section */
.services {
    padding: 100px 0;
    background: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.service-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(42, 77, 109, 0.06);
}

.service-card:hover {
    transform: translateY(-6px) scale(1.02);
    /* Added subtle scale up */
    box-shadow: var(--shadow-lg);
    border-color: rgba(42, 77, 109, 0.12);
}

.service-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

/* Section Headers Uppercase */
.section-header h2,
.about-content h2,
.footer-col h4 {
    text-transform: uppercase;
}

/* Quarantine Card Padding */
.service-card-img-wrapper {
    height: 250px;
    background: #000;
    /* Black background as requested */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    /* Reduced from 20px to give logo more space without touching edges */
}

.service-card-logo {
    width: 100%;
    height: 100%;
    object-fit: contain !important;
    /* Contain the image so it fits */
    transform: scale(1.15);
    /* Enlarge the image by 15% */
    max-height: 100%;
    max-width: 100%;
}

/* Why Choose Slider Styles to ensure fit */
.about-image .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Stretched Link for clickable cards */
.service-card {
    position: relative;
    /* Ensure stretched link works relative to card */
}

.stretched-link::after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    content: "";
}

.service-content {
    padding: 32px;
}

.service-content h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

.service-content p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.service-link {
    color: var(--primary-color);
    font-weight: 600;
    transition: var(--transition);
}

.service-link:hover {
    color: var(--secondary-color);
}

/* About Section */
.about {
    padding: 100px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image img {
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.about-content h2 {
    font-size: 38px;
    margin-bottom: 20px;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.lead {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 32px;
    line-height: 1.7;
}

.about-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.about-list li {
    display: flex;
    gap: 16px;
}

.checkmark {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.about-list strong {
    display: block;
    font-size: 18px;
    margin-bottom: 4px;
}

.about-list p {
    color: var(--text-light);
    margin: 0;
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background: var(--bg-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.testimonial-card {
    background: var(--white);
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(42, 77, 109, 0.06);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(42, 77, 109, 0.12);
}

.stars {
    color: var(--accent-color);
    font-size: 20px;
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
}

.testimonial-author strong {
    font-size: 18px;
    margin-bottom: 4px;
}

.testimonial-author span {
    color: var(--text-light);
    font-size: 14px;
}

/* Contact Section */
.contact {
    padding: 100px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h2 {
    font-size: 42px;
    margin-bottom: 20px;
}

.contact-details {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-item {
    display: flex;
    gap: 20px;
}

.contact-icon {
    flex-shrink: 0;
    color: var(--primary-color);
}

.contact-icon svg {
    stroke: var(--primary-color);
}

.contact-item strong {
    display: block;
    font-size: 18px;
    margin-bottom: 4px;
}

.contact-item p {
    color: var(--text-light);
    margin: 0;
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--white);
    padding: 48px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(42, 77, 109, 0.08);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 16px;
    border: 1px solid rgba(42, 77, 109, 0.15);
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    transition: var(--transition);
    background: var(--bg-light);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(42, 77, 109, 0.08);
}

.form-group label {
    position: absolute;
    left: 16px;
    top: 16px;
    color: var(--text-light);
    transition: var(--transition);
    pointer-events: none;
    background: var(--white);
    padding: 0 4px;
}

.form-group input:focus+label,
.form-group textarea:focus+label,
.form-group select:focus+label,
.form-group input:not(:placeholder-shown)+label,
.form-group textarea:not(:placeholder-shown)+label,
.form-group select:valid+label {
    top: -10px;
    font-size: 12px;
    color: var(--primary-color);
}

/* Footer */
.footer {
    background: var(--secondary-color);
    color: var(--white);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    font-size: 15px;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
    font-size: 15px;
}

.footer-col a:hover {
    color: var(--white);
    padding-left: 4px;
}

.footer-col:last-child {
    text-align: center;
}

.social-links {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.social-links a {
    width: 56px;
    height: 56px;
    background: transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
}

.social-links a svg {
    fill: currentColor;
    width: 24px;
    height: 24px;
}

.social-links a:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
    padding-left: 0;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: underline;
}

.footer-bottom a:hover {
    color: var(--white);
}

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

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

/* Responsive Design */
@media (max-width: 968px) {
    .nav-wrapper {
        justify-content: space-between;
        gap: 0;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 100px;
        /* Adjusted for new header height */
        flex-direction: column;
        background: #000000;
        width: 100%;
        text-align: center;
        transition: var(--transition);
        margin: 0;
        box-shadow: var(--shadow-lg);
        padding: 32px;
        gap: 24px;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-cta {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .nav-cta {
        margin-left: 0;
        margin-right: 60px;
    }

    .slide-title {
        font-size: 36px;
    }

    .slide-subtitle {
        font-size: 18px;
    }

    .slide-buttons {
        flex-direction: column;
        align-items: center;
    }

    .slider-btn {
        width: 50px;
        height: 50px;
        font-size: 32px;
    }

    .slider-btn.prev {
        left: 15px;
    }

    .slider-btn.next {
        right: 15px;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .section-header h2 {
        font-size: 32px;
    }

    .about-content h2,
    .contact-info h2 {
        font-size: 32px;
    }
}

@media (max-width: 640px) {
    .slide-title {
        font-size: 28px;
    }

    .slide-subtitle {
        font-size: 16px;
    }

    .features-grid,
    .services-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .section-header p {
        font-size: 16px;
    }
}

/* Page Header */
.page-header {
    height: 400px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 0;
    padding-top: 120px;
    /* Push content down to account for fixed navbar */
    /* Offset fixed navbar */
}

.page-title {
    color: var(--white);
    font-size: 48px;
    font-weight: 700;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.page-content {
    background: var(--light-gray);
}

.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    padding: 60px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.content-wrapper p {
    margin-bottom: 24px;
    font-size: 18px;
    color: var(--text-dark);
    line-height: 1.8;
}

.content-wrapper strong {
    color: var(--primary-color);
    font-weight: 600;
}

@media (max-width: 768px) {
    .page-header {
        height: 300px;
    }

    .page-title {
        font-size: 32px;
        padding: 0 20px;
    }

    .content-wrapper {
        padding: 30px;
    }

    /* Slider Responsive Styles */
    .hero-static-content {
        margin-top: 50px;
        /* Pushes the entire block down */
    }

    .logo img {
        max-height: 50px;
    }

    .slide-title {
        font-size: 40px;
        margin-bottom: 16px;
    }

    .slide-subtitle {
        font-size: 18px;
        margin-bottom: 24px;
        padding: 0 20px;
    }

    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 30px;
    }

    .hero-slider {
        height: 600px;
        /* Ensure height on mobile if vh triggers address bar issues */
    }
}

/* Terms Page Specific Styles */
.terms-section h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    margin-top: 32px;
    /* Added spacing between numbered sections */
    color: var(--text-dark);
}

.terms-section p {
    font-size: 16px;
    /* Requested 16px */
    line-height: 1.7;
    /* Requested 1.6-1.8 */
    margin-bottom: 16px;
    color: var(--text-dark);
}