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

html {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Times New Roman', Times, serif;
    background: linear-gradient(135deg, #eb4873 0%, #6240a2 100%);
    min-height: 100vh;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    position: relative;
}

.contact-page-container {
    margin: 0 60px 0 0;
    position: relative;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;

}

/* ==========================================
       CONTACT PAGE - UNIQUE CLASS NAMES
       ========================================== */

.contact-badge-section {
    background: #6240a2;
    width: 90%;
    max-width: 450px;
    height: 160px;
    border-bottom-left-radius: 450px;
    border-bottom-right-radius: 450px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 10;
}

.contact-badge-h1 {
    color: white;
    font-size: 28px;
    font-weight: bold;
    letter-spacing: 2px;
    line-height: 1.3;
    text-align: center;
    font-family: 'Times New Roman', Times, serif;
}

.contact-form-wrapper {
    display: flex;
    justify-content: center;
    margin-top: -80px;
    padding-bottom: 0;
    padding-left: 20px;
    padding-right: 20px;
    position: relative;
    z-index: 8;
    width: 100%;
}

.contact-form-container {
    background: linear-gradient(135deg, #eb4873, #6240a2);
    padding: 120px 60px 100px;
    border-radius: 20px;
    width: 100%;
    max-width: 650px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    position: relative;
}

.contact-form-group {
    margin-bottom: 25px;
}

.contact-form-group label {
    display: block;
    color: white;
    font-size: 15px;
    margin-bottom: 8px;
    font-weight: 500;
}

.contact-form-group input,
.contact-form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: none;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-family: 'Times New Roman', Times, serif;
}

.contact-form-group input:focus,
.contact-form-group textarea:focus {
    outline: 2px solid white;
    background: white;
}

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

/* Clinic Selection Cards */
.contact-clinic-selection {
    margin-bottom: 25px;
}

.contact-clinic-selection>label {
    display: block;
    color: white;
    font-size: 15px;
    margin-bottom: 15px;
    font-weight: 500;
}

.contact-clinic-cards-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.contact-clinic-card {
    position: relative;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.contact-clinic-card:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.contact-clinic-card.selected {
    background: rgba(255, 255, 255, 0.3);
    border-color: white;
    border-width: 3px;
}

.contact-clinic-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.contact-clinic-card-icon {
    font-size: 40px;
    color: white;
    margin-bottom: 15px;
}

.contact-clinic-card-title {
    font-size: 18px;
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
}

.contact-clinic-card-address {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
}

.contact-clinic-card-check {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 28px;
    height: 28px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.contact-clinic-card.selected .contact-clinic-card-check {
    opacity: 1;
}

.contact-clinic-card-check i {
    color: #6240a2;
    font-size: 14px;
}

/* Submit Button */
.contact-submit-btn {
    width: 100%;
    padding: 14px 30px;
    background: #ff5a7e;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    font-family: 'Times New Roman', Times, serif;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    margin-top: 10px;
}

.contact-submit-btn:hover {
    background: #ff3d61;
    transform: translateY(-2px);
}

.contact-submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Alert Messages */
.contact-alert {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    display: none;
    animation: slideIn 0.3s ease;
}

.contact-alert-success {
    background: #4caf50;
    color: white;
}

.contact-alert-error {
    background: #f44336;
    color: white;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Bottom Cards Section - Overlapping under form */
.contact-bottom-cards-wrapper {
    margin-top: -60px;
    position: relative;
    z-index: 5;
    padding: 20px 20px 50px 20px;
    width: 100%;
    overflow-x: hidden;
}

.contact-bottom-cards {
    display: flex;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info-card {
    flex: 1;
    background: #ff5a7e;
    padding: 80px 25px;
    text-align: center;
    border-radius: 15px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.25);
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.3);
}

.contact-info-card h3 {
    color: white;
    font-size: 20px;
    margin-bottom: 20px;
    font-weight: bold;
    padding: 0;
}

.contact-info-card p,
.contact-info-card a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    line-height: 1.8;
    display: block;
    margin: 0;
}

.contact-info-card a:hover {
    text-decoration: underline;
}

.contact-social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}

.contact-social-icon {
    width: 40px;
    height: 40px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    font-size: 22px;
    transition: transform 0.3s, background 0.3s;
}

.contact-social-icon:hover {
    transform: scale(1.2);
    background: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
}

/* Locations Section */
.contact-locations-section {
    margin-top: 60px;
    margin-bottom: 30px;
    padding: 0 20px;
    width: 100%;
    overflow-x: hidden;
}

.contact-locations-header {
    text-align: center;
    margin-bottom: 40px;
}

.contact-locations-header h2 {
    color: white;
    font-size: 32px;
    letter-spacing: 3px;
    font-weight: bold;
}

.contact-locations-grid {
    display: flex;
    justify-content: center;

    max-width: 1200px;
    margin: 0 auto;
}

.contact-location-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.contact-map-container {
    width: 100%;
    height: 300px;
    background: #ddd;
    position: relative;
}

.contact-map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.contact-location-info {
    padding: 25px;
    color: white;
    text-align: center;
    background: rgba(98, 64, 162, 0.6);
}

.contact-location-info p {
    line-height: 1.6;
    font-size: 14px;
}

/* ==========================================
       RESPONSIVE MEDIA QUERIES
       ========================================== */

@media (max-width: 992px) {
    .contact-locations-grid {
        grid-template-columns: 1fr;
    }

    .contact-bottom-cards {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .contact-badge-section {
        width: 90%;
        max-width: 320px;
        height: 140px;
        /* margin-top: 10px; */
    }

    .contact-badge-h1 {
        font-size: 24px;
    }

    .contact-form-wrapper {
        margin-top: -60px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .contact-form-container {
        padding: 90px 25px 70px;
        width: 100%;
    }

    .contact-clinic-cards-row {
        grid-template-columns: 1fr;
    }

    .contact-clinic-card {
        padding: 15px;
    }

    .contact-clinic-card-icon {
        font-size: 32px;
    }

    .contact-clinic-card-title {
        font-size: 16px;
    }

    .contact-bottom-cards {
        flex-direction: column;
    }

    .contact-bottom-cards-wrapper {
        margin-top: 20px;
        width: 100%;
        overflow-x: hidden;
    }

    .contact-map-container {
        height: 250px;
    }

    .contact-locations-section {
        width: 100%;
        overflow-x: hidden;
        padding: 0 15px;
    }
}

@media (max-width: 480px) {

    html,
    body {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100vw !important;
    }

    .contact-page-container {
        overflow-x: hidden !important;
    }

    .contact-badge-section {
        width: 85%;
        max-width: 280px;
    }

    .contact-form-wrapper {
        padding-left: 10px;
        padding-right: 10px;
    }

    .contact-form-container {
        padding: 80px 15px 60px;
        width: 100%;
    }

    .contact-clinic-cards-row {
        grid-template-columns: 1fr;
    }

    .contact-locations-header h2 {
        font-size: 24px;
    }

    .contact-bottom-cards-wrapper {
        margin-top: 20px;
        padding: 0 10px 40px 10px;
        width: 100%;
    }

    .contact-info-card {
        padding: 30px 20px;
    }

    .contact-info-card h3 {
        font-size: 16px;
    }

    .contact-info-card p,
    .contact-info-card a {
        font-size: 14px;
    }

    .contact-locations-section {
        padding: 0 10px;
    }
}


.connect-section {
    float: -1;
    margin: 0 auto 20px auto;
    max-width: 600px;
    background: #ff5a7e;
    padding: 60px 25px 20px 25px;
    text-align: center;
    border-radius: 15px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.25);
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.connect-section:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.3);
}
.connect-heading {
    font-size: 32px;
        letter-spacing: 2px;
    color: #fff;
    margin-bottom: 10px;
}

.connect-heading span {
    color: #fff;
}

.connect-subtext {
    font-size: 1.1rem;
    color: #f8f8f8;
    margin-bottom: 40px;
}

.connect-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.connect-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 35px;
    border: solid 3px black;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 40px;
    color: #fff;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.connect-btn i {
    font-size: 1.2rem;
}

.connect-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Individual button styles */
.fb-btn {
    background-color: #1877f2;
}

.insta-btn {
    background: linear-gradient(45deg, #f9ce34, #ee2a7b, #6228d7);
}

.yt-btn {
    background: linear-gradient(120deg, #d60e0e,#d72323, #282828);
    flex-direction: column;
    line-height: 1.2;
}

.yt-btn span {
    font-size: 0.9rem;
    font-weight: 400;
}

.wa-btn {
    background-color: #25d366;
}

.li-btn {
    background-color: #0077b5;
}

/* Responsive */
@media (max-width: 576px) {
    .connect-btn {
        width: 100%;
        max-width: 320px;
    }
}