/* ===============================
   GLOBAL
=================================*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', sans-serif;
     background: linear-gradient(135deg, #faf5de, #eaddff, #ffd6e8);
    color: #303153;
}

/* ===============================
   TOP BAR
=================================*/
.contact-top-bar {
    padding: 20px 40px;
    display: flex;
    flex-direction: column;   /* Stack vertically */
    align-items: flex-start;  /* Align left */
    gap: 40px;
}

/* Logo */
.logo-brand{
    font-size: 1.6rem;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo-medi{
    color: #0055ff;
}

.logo-coupons{
    color: #ff1de1;
    margin-left: 2px;
}

.logo-brand:hover .logo-coupons{
    color: #ff4da6;
    transition: 0.3s ease;
}

/* Back Link */
.back-home-link{
    text-decoration: none;
    font-size: 0.95rem;
    color: #303153;
    font-weight: 500;
    transition: 0.3s ease;
}

.back-home-link:hover{
    color: #000;
}

/* ===============================
   CONTACT SECTION
=================================*/
#contact-section {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 20px;
}

.contact-wrapper {
    max-width: 1100px;
    width: 100%;
    display: flex;
    gap: 60px;
    align-items: center;
    justify-content: space-between;
}

/* LEFT SIDE */
.contact-left {
    flex: 1;
}

.contact-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.contact-subtitle {
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.form-footer{
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
}
.contact-form input,
.contact-form textarea {
    padding: 14px 20px;
    border-radius: 12px;
    border: 1px solid #ddd;
    outline: none;
    font-size: 1rem;
    transition: 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #303153;
    box-shadow: 0 0 10px rgba(48, 49, 83, 0.2);
}

.contact-form textarea {
    min-height: 120px;
    resize: none;
}

/* Button */
.contact-btn {
    background: #303153;
    color: white;
    padding: 14px 25px;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    transition: 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
}

.contact-btn:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

/* RIGHT SIDE */
.contact-right {
    flex: 1;
    display: flex;
    justify-content: center;
}

.contact-info-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    text-align: center;
    max-width: 350px;
    transition: 0.3s ease;
}

.contact-info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.contact-info-card h3 {
    margin-bottom: 15px;
}

.contact-info-card p {
    margin-bottom: 10px;
    font-size: 0.95rem;
}

/* ===============================
   RESPONSIVE
=================================*/
@media (max-width: 900px) {
    .contact-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .contact-btn {
        align-self: center;
    }
}

@media (max-width: 600px){
    .contact-top-bar{
        flex-direction: column;
        gap: 10px;
    }
}



.contact-details p{
    margin: 10px 0;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-details a{
    text-decoration: none;
    color: #303153;
    transition: 0.3s ease;
}

.contact-details a:hover{
    color: #ff4da6;
}

.contact-details i{
    font-size: 1rem;
    color: #ff69b4;
}

/* ===============================
   COMMUNITY SECTION
=================================*/
.community-section{
    padding: 80px 20px;
    background: transparent;
}

.community-container{
    max-width: 1000px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

/* Card */
.community-card{
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 12px 30px rgba(0,0,0,0.06);
    transition: 0.3s ease;
}

.community-card:hover{
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.1);
}

/* Icons */
.community-card i{
    font-size: 3rem;
    margin-bottom: 20px;
}

/* Specific Colors */
.whatsapp-card i{
    color: #25D366;
}

.telegram-card i{
    color: #0088cc;
}

/* Heading */
.community-card h3{
    margin-bottom: 12px;
    color: #303153;
}

/* Text */
.community-card p{
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 20px;
}

/* Button */
.community-btn{
    display: inline-block;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    color: white;
    transition: 0.3s ease;
}

.btn-w{
    background-color: #25D366;
}
.btn-t{
    background-color: #0088cc;
}
.community-btn:hover{
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    background: linear-gradient(135deg, #dff5f7, #fff5f9);
    color: #303153;
}

/* Mobile spacing */
@media (max-width: 600px){
    .community-card{
        padding: 30px 20px;
    }

    .community-card i{
        font-size: 2.5rem;
    }
}

/* ===============================
   CONTACT FOOTER
=================================*/
.contact-footer{
    background: #303153;
    color: #ffffff;
    padding: 20px 40px;
    flex-direction: column;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}


/* Heading */
.footer-heading{
    font-size: 30px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

/* Links */
.footer-links{
    width: 40vw;
    display: flex;
    gap: 30px;
    justify-content: space-evenly;
}

.footer-links a{
    color: #ffffff;
    font-size: 2rem;
    transition: 0.3s ease;
}

.footer-links a:hover{
    color: #ff8fc7;
    transform: translateY(-3px);
}

/* Copyright */
.footer-copy{
    font-size: 0.85rem;
    opacity: 0.8;
}

/* ===============================
   RESPONSIVE
=================================*/
@media (max-width: 768px){

    .contact-footer{
        flex-direction: column;
        text-align: center;
        justify-content: center;
        padding: 20px 0px;
    }

    .footer-links{
        width: 90vw;
    }
}

.brand-logo{
    height: 40px;
    width: 40px;
    border-radius: 50%;
    margin-right: 4px;
}