
:root {
    --primary-color: #4CAF50; /* Green for veterinary theme */
    --secondary-color: #6A1B9A; /* Purple accent */
    --dark-bg: #1A1A2E;
    --dark-card: #2E2E4A;
    --text-color: #E0E0E0;
    --light-text: #B0B0B0;
    --gradient-start: #2A005B;
    --gradient-end: #000000;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    color: var(--text-color);
    line-height: 1.6;
    background-attachment: fixed;
}

header {
    background-color: rgba(30, 30, 46, 0.9);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    background: -webkit-linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-left: 2.5rem;
}

nav ul li a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s ease;
}

nav ul li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

nav ul li a:hover {
    color: var(--primary-color);
}

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

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

section {
    padding: 6rem 0;
    margin-bottom: 2rem;
    border-radius: 15px;
    background-color: var(--dark-card);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease;
}

section:hover {
    transform: translateY(-5px);
}

h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 700;
}

h1 {
    font-size: 3.5rem;
    color: var(--text-color);
    background: -webkit-linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.hero {
    background: url('https://source.unsplash.com/random/1600x900/?pets,veterinary') no-repeat center center/cover;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 2rem;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 900px;
    padding: 0 2rem;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    font-family: 'Poppins', sans-serif;
    color: var(--light-text);
}

.btn {
    display: inline-block;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
}

.btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    opacity: 0.9;
}

.services, .about, .contact {
    text-align: center;
    padding: 4rem;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background-color: var(--dark-bg);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
    border: 1px solid rgba(var(--primary-color), 0.2);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    border-color: var(--primary-color);
}

.service-card h3 {
    color: var(--primary-color);
    font-size: 1.7rem;
    margin-bottom: 1rem;
    text-align: left;
}

.service-card p {
    color: var(--light-text);
    font-size: 1rem;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    text-align: left;
    margin-top: 3rem;
}

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

.about-content .text-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--light-text);
}

.testimonials {
    flex: 1;
    min-width: 280px;
    background-color: var(--dark-bg);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(var(--secondary-color), 0.2);
}

.testimonials h3 {
    color: var(--secondary-color);
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-align: center;
}

.testimonial-card {
    background-color: rgba(var(--primary-color), 0.1);
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--primary-color);
}

.testimonial-card p {
    font-style: italic;
    color: var(--text-color);
    margin-bottom: 0.8rem;
}

.testimonial-card span {
    display: block;
    text-align: right;
    font-weight: 600;
    color: var(--primary-color);
}

.contact-info {
    margin-top: 3rem;
    margin-bottom: 3rem;
    font-size: 1.1rem;
    color: var(--light-text);
}

.contact-info p {
    margin-bottom: 1rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem 1.5rem;
    border: 1px solid var(--primary-color);
    border-radius: 8px;
    background-color: var(--dark-bg);
    color: var(--text-color);
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(var(--secondary-color), 0.3);
    outline: none;
}

.contact-form textarea {
    resize: vertical;
}

footer {
    text-align: center;
    padding: 2rem;
    margin-top: 4rem;
    background-color: var(--dark-bg);
    color: var(--light-text);
    border-top: 1px solid rgba(var(--primary-color), 0.1);
    border-radius: 15px 15px 0 0;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        padding: 0 1rem;
    }

    nav ul {
        margin-top: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    nav ul li {
        margin: 0.5rem 1rem;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero {
        height: 60vh;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .btn {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }

    .services, .about, .contact {
        padding: 3rem 1.5rem;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .about-content {
        flex-direction: column;
    }

    .testimonials {
        margin-top: 2rem;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.5rem;
    }

    nav ul li {
        margin: 0.5rem 0.8rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .hero {
        height: 50vh;
    }

    .hero-content p {
        font-size: 0.9rem;
    }

    .btn {
        padding: 0.7rem 1.8rem;
        font-size: 0.9rem;
    }

    .service-card h3 {
        font-size: 1.5rem;
    }

    .contact-form {
        padding: 0 1rem;
    }
}
