@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playwrite+CU:wght@400&display=swap');

:root {
    --black: #324047;
    --background: #EFEFEF;
    --primary: #00cece;
    --secondary: #00a8a8;
    --grey: #757575;
}

body {
    background-color: var(--background);
    font-family: "Poppins", sans-serif;
    overflow-x: hidden;
}

/* Image Hover Effect (Grayscale) */
img {
    transition: all 0.4s ease-in-out !important;
}

img:hover {
    filter: grayscale(100%);
    transform: scale(1.03);
}

.navbar-brand img:hover,
.speciality-card img:hover {
    filter: none !important;
    transform: none !important;
}

/* Base Styles */
h1 {
    font-weight: 700 !important;
    font-size: 80px !important;
    line-height: 70px !important;
    color: var(--black);
}

h5 {
    color: var(--black) !important;
    font-weight: 600;
}

p {
    color: var(rgba(255, 255, 255, 0.873));
}

span {
    font-family: inherit;
    color: var(--secondary);
}

nav {
    backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.7);
}

.navbar-brand {
    font-family: "Playwrite CU", cursive;
}

.primary-button {
    background-color: var(--secondary);
    border: none;
    border-radius: 5px;
    color: white;
    padding: 10px 20px;
    font-weight: 500;
    transition: all 0.3s;
}

.primary-button:hover {
    transform: translateY(-3px);
}

.small-badge {
    padding: 2px 10px;
    width: 230px;
    text-align: center;
    border: 1px solid var(--secondary);
    border-radius: 40px;
    color: var(--secondary);
}

.bg-primary {
    background-color: var(--secondary) !important;
}

/* --- ABOUT CARDS --- */
.about-card {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    min-height: 150px;
    height: auto;
}

.about-icon i {
    font-size: 80px;
    color: var(--secondary);
}

/* --- SPECIALITY CARD STYLES --- */
.speciality-card {
    min-height: 320px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.speciality-card .card-description {
    font-size: 0.9rem;
    flex-grow: 1;
    margin-top: 0.75rem;
    margin-bottom: 1.25rem;
}

.speciality-card img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.speciality-card .button-group {
    display: flex;
    gap: 0.5rem;
    width: 100%;
}

.speciality-card .btn-contact {
    flex: 1;
    padding: 10px 5px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.speciality-card .btn-contact.whatsapp {
    background-color: #25d366;
    color: white;
    animation: pulse-whatsapp 2s infinite;
}

.speciality-card .btn-contact.call {
    background-color: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.speciality-card .btn-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}


/* --- FLOATING WHATSAPP AND POPUP --- */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.7);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.notification-popup {
    position: fixed;
    bottom: 110px;
    right: 40px;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    border-left: 5px solid #25d366;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    z-index: 101;
    max-width: 280px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease-in-out;
    visibility: hidden;
}

.notification-popup.show {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

.popup-content {
    position: relative;
    text-align: left;
}

.popup-content p {
    margin: 0;
    color: #333;
    font-size: 0.9rem;
    line-height: 1.5;
}

.close-popup {
    position: absolute;
    top: -20px;
    right: -28px;
    background: #f1f1f1;
    color: #777;
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.close-popup:hover {
    background: #e0e0e0;
    color: #333;
    transform: rotate(90deg);
}

/* --- FOOTER & COPYRIGHT --- */
.footer li {
    list-style: none;
    padding-top: 10px;
}

.footer a,
address {
    text-decoration: none;
    color: var(--grey);
}

.copyright {
    background-color: var(--secondary);
}

.icon-btn-whatsapp {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 0;
    transition: all .5s;
    border: 2px solid var(--secondary);
    background-color: transparent;
    color: var(--secondary);
}

.icon-btn-whatsapp:hover {
    background-color: var(--secondary);
    color: white;
}


/* --- CTA SECTION --- */
.cta-animated {
    background: linear-gradient(-45deg, #00a8a8, #00cece, #008f8f, #00a8a8);
    background-size: 400% 400%;
    animation: gradient-flow 15s ease infinite;
}

@keyframes gradient-flow {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.cta-animated .btn-whatsapp {
    animation: pulse-whatsapp-cta 2s infinite;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

@keyframes pulse-whatsapp-cta {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 12px rgba(255, 255, 255, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

/* --- RESPONSIVENESS --- */
@media only screen and (max-width: 767.98px) {
    h1 {
        font-size: 50px !important;
        line-height: 55px !important;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 25px;
    }

    .notification-popup {
        bottom: 80px;
        right: 20px;
        left: 20px;
        max-width: none;
    }
}
/* --- BATCH BUTTON STYLES --- */
.quantity-btn {
    transition: all 0.3s ease;
    min-height: 70px;
    padding: 12px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px !important;
    border: 2px solid #007bff !important;
    background-color: white !important;
}

.quantity-btn .fw-bold {
    font-size: 1.15rem;
    line-height: 1.3;
    color: #007bff !important;
    font-weight: 600 !important;
}

.quantity-btn:hover {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 206, 206, 0.3);
}

.quantity-btn:hover .fw-bold {
    color: white !important;
    font-weight: 700 !important;
}

.quantity-btn.active {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
}

.quantity-btn.active .fw-bold {
    color: white !important;
    font-weight: 700 !important;
}
