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

body {
    font-family: 'Poppins', sans-serif;
    background-color: rgb(250, 249, 246);
    color: rgb(51, 51, 51);
    line-height: 1.6;
    scroll-behavior: smooth;
}

header {
    position: sticky;
    top: 0;
    background-color: rgb(248, 237, 235);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 100;
}

.navbar {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    padding: 10px 20px;
    justify-content: space-between;
}

.logo {
    font-size: 1.5rem;
    font-weight: 600;
    color: rgb(51, 51, 51);
    text-decoration: none;
}

.nav-menu {
    list-style: none;
    display: flex;
}

.nav-menu li {
    margin-left: 20px;
}

.nav-menu li a {
    color: rgb(51, 51, 51);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.nav-menu li a:hover {
    background-color: rgb(241, 192, 232);
    color: rgb(255, 255, 255);
}

.hero {
    height: 100vh;
    display: flex;
    background: url(bg.jpeg);
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}


.hero h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    font-weight: 700;
    text-shadow: 0px 4px 15px rgba(194, 120, 145, 0.7);
}

.hero p {
    margin-bottom: 15px;
    font-size: 2rem;
    text-shadow: 0px 2px 10px rgba(194, 120, 145, 0.6);
}

.hero a {
    padding: 12px 28px;
    background-color: rgb(255, 255, 255);
    color: rgb(194, 120, 145);
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.hero-btn:hover {
    background-color: rgb(194, 120, 145);
    color: white;
    transform: translateY(-2px);
}

.products-container,
.clinic-cards,
.adoption-profiles {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.product-card {
    background-color: rgb(255, 255, 255);
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 1px solid rgb(241, 192, 232);
}

.product-card img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.product-card h3 {
    margin: 15px 0 10px;
    font-size: 1.1rem;
    color: rgb(51, 51, 51);
}

.product-card p.price {
    color: rgb(227, 123, 64);
    font-weight: 600;
    margin: 10px 0;
    font-size: 1rem;
}

.product-card button {
    background-color: rgb(163, 210, 202);
    color: rgb(51, 51, 51);
    border: none;
    padding: 10px 15px;
    border-radius: 20px;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.product-card button:hover {
    background-color: rgb(129, 166, 155);
    color: rgb(255, 255, 255);
}

.product-card img,
.profile-card img,
.clinic-card img {
    transition: transform 0.4s ease;
}

.product-card:hover img,
.profile-card:hover img,
.clinic-card:hover img {
    transform: scale(1.05);
}

.section-title {
    text-align: center;
    margin: 60px 0 20px;
    font-size: 2rem;
    color: rgb(51, 51, 51);
    font-weight: 600;
}

section:nth-child(even) {
    background-color: rgb(255, 255, 255);
}

section {
    scroll-margin-top: 80px;
}

.clinic-card {
    background-color: rgb(255, 255, 255);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.clinic-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
    border: 1px solid rgb(241, 192, 232);
}

.clinic-card h4 {
    margin-bottom: 10px;
    color: rgb(51, 51, 51);
    font-size: 1.1rem;
}

.clinic-card p {
    font-size: 0.95rem;
    color: rgb(85, 85, 85);
}

.clinic-card img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.profile-card {
    background-color: rgb(255, 255, 255);
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.profile-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    border: 1px solid rgb(241, 192, 232);
}

.profile-card img {
    width: 100%;
    height: auto;
    display: block;
}

.profile-info {
    padding: 15px;
}

.profile-info h4 {
    margin-bottom: 8px;
    color: rgb(51, 51, 51);
}

.profile-info p {
    font-size: 0.9rem;
    color: rgb(85, 85, 85);
    margin-bottom: 10px;
}

.profile-info button {
    background-color: rgb(247, 200, 218);
    color: rgb(51, 51, 51);
    border: none;
    padding: 8px 12px;
    border-radius: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 0.9rem;
}

.profile-info button:hover {
    background-color: rgb(227, 166, 182);
    color: rgb(255, 255, 255);
}

.cart-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
}

.cart-container table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.cart-container th,
.cart-container td {
    border: 1px solid rgb(221, 221, 221);
    padding: 12px;
    text-align: left;
    font-size: 0.95rem;
}

.cart-container th {
    background-color: rgb(243, 233, 243);
}

.cart-total {
    text-align: right;
    font-weight: 600;
    margin-bottom: 20px;
    color: rgb(51, 51, 51);
    font-size: 1.1rem;
}

.cart-container button {
    background-color: rgb(163, 210, 202);
    color: rgb(51, 51, 51);
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 1rem;
}

.cart-container button:hover {
    background-color: rgb(129, 166, 155);
    color: rgb(255, 255, 255);
}

.contact-section {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
}

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

.contact-form label {
    margin-top: 10px;
    margin-bottom: 5px;
    font-weight: 500;
}

.contact-form input,
.contact-form textarea {
    padding: 10px;
    border: 1px solid rgb(204, 204, 204);
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
}

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

.contact-form button {
    margin-top: 15px;
    background-color: rgb(247, 200, 218);
    color: rgb(51, 51, 51);
    border: none;
    padding: 12px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background-color: rgb(227, 166, 182);
    color: rgb(255, 255, 255);
}

footer {
    background-color: rgb(248, 237, 235);
    padding: 20px 0;
    text-align: center;
    font-size: 0.9rem;
    color: rgb(85, 85, 85);
    margin-top: 40px;
}

footer {
    background-color: rgb(248, 237, 235);
    padding: 50px 20px;
    text-align: center;
    margin-top: 60px;
}

.footer-container h3 {
    font-size: 1.6rem;
    margin-bottom: 10px;
    color: rgb(51, 51, 51);
}

.footer-container p {
    margin: 8px 0;
    color: rgb(85, 85, 85);
    font-size: 0.95rem;
}

.footer-contact a {
    text-decoration: none;
    font-size: 1.3rem;
    color: rgb(194, 120, 145);
    font-weight: 600;
    transition: 0.3s ease;
}

.footer-contact a:hover {
    color: rgb(227, 166, 182);
    text-decoration: underline;
}

.footer-social {
    margin-top: 15px;
}

.footer-social a {
    margin: 0 10px;
    font-size: 1.4rem;
    text-decoration: none;
    color: rgb(194, 120, 145);
    transition: 0.3s ease;
}

.footer-social a:hover {
    color: rgb(129, 166, 155);
}

footer .copyright {
    margin-top: 20px;
    font-size: 0.85rem;
    color: rgb(120, 120, 120);
}

#menu-toggle {
    display: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: rgb(51, 51, 51);
    border-radius: 3px;
    transition: 0.3s ease;
}

@media (max-width: 768px) {

    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: rgb(248, 237, 235);
        flex-direction: column;
        align-items: center;
        display: none;
        padding: 15px 0;
    }

    .nav-menu li {
        margin: 10px 0;
    }

    #menu-toggle:checked~.nav-menu {
        display: flex;
    }

    #menu-toggle:checked+.hamburger span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    #menu-toggle:checked+.hamburger span:nth-child(2) {
        opacity: 0;
    }

    #menu-toggle:checked+.hamburger span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    .product-card,
    .clinic-card,
    .profile-card {
        padding: 12px;
        border-radius: 6px;
    }

    .product-card h3,
    .clinic-card h4,
    .profile-info h4 {
        font-size: 0.95rem;
    }

    .product-card p,
    .clinic-card p,
    .profile-info p {
        font-size: 0.8rem;
    }

    .product-card button,
    .profile-info button {
        padding: 6px 10px;
        font-size: 0.8rem;
    }

    .product-card img,
    .clinic-card img,
    .profile-card img {
        max-height: 180px;
        object-fit: cover;
    }
}