/* Footer Main Styles */
:root {
    --footer-bg-color: #E0F7FF;
    --footer-primary-text: #063851;
    --footer-secondary-text: #232323;
    --footer-link-color: #333;
    --footer-link-hover: #00a5a8;
    --clinic-name-color: #0182B0;
    --clinic-name-last-color: #00A668;
    --footer-accent-color: #00A8E0;
}

.footer-section {
    background-color: var(--footer-bg-color);
    position: relative;
    padding-top: 40px;
}

/* Shared Elements */
.footer-heading {
    color: var(--footer-primary-text);
    font-size: 18px;
    font-weight: 700;
}

.footer-text,
.address-text,
.clinic-email a,
.copyright-text {
    color: var(--footer-secondary-text);
    font-size: 13px;
    font-weight: 400;
}

.follow-text,
.connect-text {
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--footer-primary-text);
}

/* Container Layouts */
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    position: relative;
    z-index: 1;
}

/* Left Section Styles */
.footer-left {
    flex: 0 0 300px;
    padding-right: 30px;
}

/* Logo Styles */
.clinic-logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}



/* Contact Info */
.clinic-address,
.clinic-email {
    display: flex;
    margin-bottom: 15px;
    line-height: 1.5;
}

.location-icon,
.email-icon {
    margin-right: 10px;
    flex-shrink: 0;
    color: var(--footer-secondary-text);
}

.clinic-email a {
    text-decoration: none;
}

.clinic-email a:hover {
    color: var(--footer-link-hover);
}

/* Social Media Section */
.social-section {
    margin-bottom: 20px;
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.2s ease;
}

.social-link:hover {
    transform: translateY(-4px);
}

/* Connect Section */
.connect-section {
    margin-top: 20px;
    max-width: 500px;
}

.email-input-container {
    position: relative;
    border-radius: 8px;
    box-shadow: 0px 1px 8px 0px rgba(0, 0, 0, 0.24);
    background: white;
    overflow: hidden;
}

.email-input {
    width: 100%;
    padding: 15px;
    padding-right: 50px;
    color: #474747;
    border: none;
    outline: none;
    font-size: 13px;
    font-weight: 500;
    box-sizing: border-box;
}

.submit-button {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
}

/* Footer Links Styles */
.footer-links-container {
    flex: 1;
    display: flex;
    font-size: 14px;
    font-weight: 500;
    color: #000;
    justify-content: space-between;
}

.footer-links-section {
    flex: 1;
    padding: 0 40px;
}

.footer-links {
    list-style-type: none;
    padding: 0;
    margin: 0;
    color: #000;
    font-size: 14px;
    font-weight: 500;
    display: inline-flex;
    flex-direction: column;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--footer-link-color);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--footer-link-hover);
}

/* Copyright Section Styles */
.copyright-section {
    text-align: center;
    padding: 15px 0;
    margin-top: 30px;
    position: relative;
    overflow: hidden;
}

.vector-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/assets/healthcare/images/vector_bg_file.svg');
    background-repeat: repeat;
    background-size: 1800px;
    opacity: 1;
    z-index: 0;
    pointer-events: none;
}

.copyright-text {
    font-size: 16px;
    font-weight: 500;
    margin: 0;
    position: relative;
    z-index: 1;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .footer-links-section {
        flex: 0 0 50%;
    }
}

@media (max-width: 576px) {
    .footer-links-container {
        flex-direction: column;
    }

    .footer-links-section {
        flex: 0 0 100%;
        padding: 0;
    }
}


@media (max-width: 992px) {
    .footer-container {
        flex-direction: column;
        position: relative;
    }

    /* Push the left section to the bottom */
    .footer-left {
        order: 2;
        margin-top: 8px !important;
    }

    /* Links section comes first */
    .footer-links-container {
        order: 1;
        width: 100%;
    }

    .email-input-container {
        max-width: 320px;
    }

    .copyright-text {
        font-size: 13px;
    }

}

.btn-gotit {
    background: #00A8E0;
    color: white;
    border: none;
    padding: 8px 24px !important;
    border-radius: 6px;
    font-weight: 500;
    font-size: 14px;
    height: 40px;
    transition: all 0.3s ease;
}

.btn-gotit:hover {
    background: #0093c4;
    color: white;
    transform: translateY(-1px);
}

#newsletterAlreadyModal .modal-content {
    height: 250px !important;
    min-height: 250px !important;
}

#newsletterSuccessModal .modal-content {
    height: 250px !important;
    min-height: 300px !important;
}