﻿/* ---------- General ---------- */
body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f9f9f9;
}

a {
    color: #007bff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}
.card-body a {
    color: #000; /* makes it black */
    text-decoration: none; /* removes underline if any */
}

    .card-body a:hover {
        color: #555; /* optional: slightly lighter on hover */
        text-decoration: underline; /* optional hover effect */
    }
/* ---------- Cards Section ---------- */
.contact-cards-section {
    padding: 80px 20px;
    background-color: #f0f2f5;
}

.cards-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.contact-card {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    flex: 1 1 300px;
    max-width: 350px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .contact-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 25px rgba(0,0,0,0.15);
    }

.card-image-wrapper {
    position: relative;
    overflow: hidden;
}

    .card-image-wrapper img {
        width: 100%;
        display: block;
        transition: transform 0.3s ease;
    }

.contact-card:hover .card-image-wrapper img {
    transform: scale(1.05);
}

.card-title-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: #fff;
}

    .card-title-overlay h3 {
        margin: 0;
        font-size: 1.5rem;
        font-weight: 700;
    }

.card-body {
    padding: 20px;
    background-color: #fff;
}

    .card-body p {
        margin: 0;
        font-size: 1rem;
    }

/* ---------- Form Section ---------- */
.contact-form-section {
    padding: 80px 20px;
    background-color: #fff;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info {
    flex: 1 1 400px;
}

.contact-info h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: #111;
}

.divider.big {
    height: 4px;
    background-color: #66C3EF;
    width: 60px;
    margin: 20px 0;
    border-radius: 2px;
}

.divider.small {
    height: 2px;
    background-color: #66C3EF;
    width: 40px;
    margin: 20px 0;
    border-radius: 2px;
}

.contact-details p {
    margin: 15px 0;
}

.contact-number {
    display: flex;
    align-items: center;
    font-size: 1.25rem;
    font-weight: 600;
 
}

.icon-circle {
    display: inline-flex;
    width: 45px;
    height: 45px;
    background-color: #66C3EF;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 1.2rem;
}

.contact-number .icon-circle i {
    color: #fff !important; /* force white, override anything else */
}
.contact-number .phone-link {
    color: #fff; /* makes the phone number white */
}

.contact-number .phone-link:hover {
    color: #e0e0e0; /* optional: slightly lighter on hover */
}
/* ---------- Contact Form ---------- */
.contact-form-wrapper {
    flex: 1 1 450px;
    background-color: #f8f9fa;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px 20px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0,123,255,0.3);
}

.contact-form textarea {
    resize: vertical;
    min-height: 150px;
}

.contact-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #66C3EF;
    color: #fff;
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

    .contact-submit i {
        margin-left: 10px;
    }

    .contact-submit:hover {
        background-color: #0056b3;
        transform: translateY(-2px);
    }

/* ---------- Responsive ---------- */
/* ---------------------------------------------------
   PROFESSIONAL SMALL-SCREEN OPTIMIZATION
--------------------------------------------------- */

@media (max-width: 768px) {

    /* ---- Global page spacing ---- */
    body {
        background-color: #ffffff;
    }

    .contact-cards-section,
    .contact-form-section {
        padding: 50px 15px;
    }

    /* ---- Cards layout ---- */
    .cards-container {
        flex-direction: column;
        align-items: stretch;
        gap: 25px;
    }

    .contact-card {
        max-width: 100%;
        border-radius: 16px;
        box-shadow: 0 8px 18px rgba(0,0,0,0.08);
    }

    .card-title-overlay h3 {
        font-size: 1.3rem;
    }

    .card-body {
        padding: 18px;
        text-align: center;
    }

    /* ---- Contact left text ---- */
    .contact-info {
        text-align: center;
    }

        .contact-info h2 {
            font-size: 2rem;
            margin-bottom: 15px;
        }

    .divider.big {
        margin: 15px auto;
    }

    .divider.small {
        margin: 20px auto;
    }

    .contact-details p {
        font-size: 1.1rem;
    }

    /* ---- Phone line ---- */
    .contact-number {
        justify-content: center;
        font-size: 1.15rem;
    }

    .icon-circle {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .phone-link {
        font-size: 1.1rem;
        font-weight: 600;
        color: #333 !important; /* more professional on light background */
    }

        .phone-link:hover {
            color: #555 !important;
        }

    /* ---- Contact form ---- */
    .contact-form-wrapper {
        padding: 25px;
        border-radius: 14px;
        box-shadow: 0 6px 15px rgba(0,0,0,0.06);
    }

    .contact-form input,
    .contact-form textarea {
        padding: 14px;
        font-size: 1rem;
    }

    .contact-submit {
        width: 100%;
        padding: 15px;
        font-size: 1.05rem;
        border-radius: 40px;
    }

        .contact-submit i {
            font-size: 1.2rem;
        }
}

/* ---------------------------------------------------
   EXTRA SMALL PHONES (iPhone SE etc)
--------------------------------------------------- */

@media (max-width: 480px) {

    .contact-info h2 {
        font-size: 1.8rem;
    }

    .contact-number {
        font-size: 1rem;
    }

    .phone-link {
        font-size: 1rem !important;
    }

    .contact-form-wrapper {
        padding: 20px;
    }

    .contact-form input,
    .contact-form textarea {
        padding: 12px;
        font-size: 0.95rem;
    }

    .contact-submit {
        padding: 14px;
        font-size: 1rem;
    }
}
