/* --- Full Smile Custom Replica CSS --- */

:root {
    --primary: #00768b;
    --primary-hover: #005d6e;
    --footer-bg: #cecece;
    --footer-text: #00768b;
    --text-color: #212529;
    --text-muted: #6c757d;
    --white: #ffffff;
}

/* Custom header class rules to match the original style */
.header-custom-background-color {
    background-color: var(--primary) !important;
}

.header-custom-text-color {
    color: var(--white) !important;
}

.header-custom-text-color:hover {
    color: rgba(255, 255, 255, 0.8) !important;
}

.nav-link.active-link {
    font-weight: 700;
    border-bottom: 2px solid var(--white);
}

/* Custom footer class rules to match the original style */
.footer-custom-background-color {
    background-color: var(--footer-bg) !important;
}

.footer-custom-text-color {
    color: var(--footer-text) !important;
}

.footer-custom-text-color a {
    color: var(--footer-text) !important;
    font-weight: 500;
}

.footer-custom-text-color a:hover {
    color: var(--primary-hover) !important;
    text-decoration: underline !important;
}

.footer-custom-text-color span {
    color: #333333 !important;
    font-size: 0.95rem;
    font-weight: 500;
}

/* WhatsApp Float Button (Original Style) */
.background-ws {
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    bottom: 40px;
    border-radius: 50%;
    overflow: hidden;
    font-size: 38px;
    line-height: 58px;
    margin: 0 20px;
    text-align: center;
    background-color: #4dc247;
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
    cursor: pointer;
    transition: box-shadow 2s, transform 250ms, filter 250ms ease-in-out;
}

.background-ws:hover {
    transform: scale(1.1);
}

.background-ws a {
    color: white;
}

.button-whatsapp-derecha {
    right: 25px;
}

/* Replicating the home section spacing */
.home-02 {
    background-color: rgb(239, 239, 239) !important;
    border-radius: 10px !important;
    overflow: hidden;
}

.home-02 h3 {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.25;
}

.home-02 p {
    font-size: 1.3rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Buttons */
.btn {
    border-radius: 20px !important;
    font-weight: 600;
    padding: 0.5rem 1.5rem;
    transition: all 0.25s ease;
}

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

.btn-primary:hover {
    background-color: var(--primary-hover) !important;
    border-color: var(--primary-hover) !important;
}

/* Info Cards */
.info-card {
    background-color: var(--white);
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: transform 0.2s, box-shadow 0.2s;
    height: 100%;
}

.info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.info-card-icon {
    font-size: 2.25rem;
    color: var(--primary);
    margin-bottom: 1.25rem;
}

.info-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--primary);
}

.info-card-desc {
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Accordions for FAQs */
.accordion-item {
    border: 1px solid rgba(0,0,0,0.08) !important;
    border-radius: 8px !important;
    margin-bottom: 1rem;
    overflow: hidden;
}

.accordion-header {
    background-color: var(--white);
    border: none;
    width: 100%;
    text-align: left;
    padding: 1rem 1.5rem;
    font-weight: 600;
    color: var(--primary);
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease-out;
    background-color: #f9fbfd;
}

.accordion-content p {
    padding: 1rem 1.5rem;
    margin: 0;
    color: var(--text-color);
    font-size: 0.95rem;
}

.accordion-item.active .accordion-content {
    max-height: 300px;
}

.accordion-icon {
    transition: transform 0.25s;
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

/* Form Styling */
.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
    font-size: 0.95rem;
}

.form-group input {
    width: 100%;
    padding: 0.65rem 1rem;
    border: 1px solid rgba(0,0,0,0.15);
    border-radius: 8px;
    font-size: 1rem;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 118, 139, 0.15);
}

/* Billing cards for Patient Page */
.billing-card {
    background: linear-gradient(135deg, #00768b, #005d6e);
    color: var(--white);
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 8px 30px rgba(0, 118, 139, 0.15);
    max-width: 680px;
    margin: 0 auto;
}

.billing-card-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 1.25rem;
    margin-bottom: 1.25rem;
}

.billing-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.billing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
}

.billing-item {
    background-color: rgba(255, 255, 255, 0.08);
    padding: 1rem 1.25rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.billing-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.2rem;
}

.billing-value {
    font-family: monospace;
    font-size: 1.05rem;
    font-weight: 600;
}

/* Responsive adjust for menu */
@media (max-width: 991px) {
    .nav-scroll {
        max-height: 60vh;
        overflow: auto;
    }
}
