/* ======================================
   General Typography & Colors
   ====================================== */
body {
    font-family: 'Roboto', sans-serif;
    color: #222;
    line-height: 1.5;
    background: linear-gradient(
        180deg, 
        #f0f4ff, 
        #d9e4ff 50%, 
        #ffffff 100%
    );
    background-attachment: fixed; /* Gradient stays on scroll */
    transition: background 0.3s ease;
}

/* ======================================
   Contact Section - Compact Styling
   ====================================== */

/* Base contact container */
.contact-container {
    width: 90%;
    max-width: 850px;
    margin: 40px auto;
    padding: 30px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

/* Section heading */
.contact-container h2 {
    font-family: "Permanent Marker", cursive;
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 15px;
    color: #333;
}

/* Form base */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 12px; /* smaller spacing */
    margin-top: 10px;
}

.contact-form label {
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 3px;
    color: #444;
}

/* Form inputs */
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
    padding: 10px 12px; /* smaller padding */
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    background: #fdfdfd;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #0c72ed;
    box-shadow: 0 0 0 2px rgba(0, 115, 230, 0.1);
    outline: none;
}

.contact-form textarea {
    min-height: 100px; /* smaller height */
    resize: vertical;
}

/* Submit button */
.submit-btn {
    background: linear-gradient(135deg, #0c72ed, #005bb5);
    color: #fff;
    padding: 10px 0;
    border: none;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.3s ease;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #0c72ed, #004494);
    transform: translateY(-1px);
}

.submit-btn:active {
    transform: translateY(0);
}

/* Result message */
.form-result {
    font-weight: 500;
    margin-top: 8px;
    text-align: center;
    color: #0c72ed;
}

/* ======================================
   Split Contact Layout
   ====================================== */
.split-contact {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    padding: 60px;
    border-radius: 16px;
    background: linear-gradient(135deg, #f0f4ff, #d9e4ff);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
    max-width: 1000px;
    margin: 60px auto;
}

/* Left panel */
.contact-left {
    flex: 1;
    padding-right: 20px;
}
.contact-left h2 {
    font-family: "Roboto", sans-serif;
    font-size: 2.2rem;
    margin-bottom: 60px;
    color: #0c72ed;
}
.contact-left p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #333;
    text-align: center;
}

/* Right panel */
.contact-right {
    flex: 1;
    background: #fff;
    padding: 30px;
    border-radius: 14px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}
.contact-right .contact-form {
    gap: 12px;
}
.contact-right .contact-form input,
.contact-right .contact-form textarea {
    font-size: 14px;
    padding: 10px 12px;
}
.contact-right .submit-btn {
    font-size: 0.95rem;
    padding: 12px;
}

/* Center reCAPTCHA with scaling */
.recaptcha-wrapper {
    display: flex;
    justify-content: center;   /* horizontal centering */
    margin: 0 auto 10px auto;  /* vertical spacing below */
}

.recaptcha-wrapper .g-recaptcha {
    transform: scale(0.85);      /* shrink widget */
    transform-origin: top center; /* scale from center to stay centered */
}

.privacy-notice {
    font-size: 0.70rem;
    color: #666;
    text-align: center;
    margin-top: 8px;
}

.privacy-notice a {
    color: #0c72ed;
    text-decoration: none;
}

.privacy-notice a:hover {
    text-decoration: underline;
}

/* Mobile responsiveness for contact */
@media screen and (max-width: 650px) {
    .split-contact {
        flex-direction: column;
        padding: 30px 30px;
        align-items: center; /* centers children */
    }
    .contact-right {
        width: 100%;
        max-width: 450px;   /* keeps form from being too wide */
        margin: 0 auto;     /* center horizontally */
    }

    .contact-left {
        padding-right: 0;
        margin-bottom: 30px;
        text-align: center;
    }

    .recaptcha-wrapper {
        display: flex;
        justify-content: center;   /* horizontal centering */
        margin: 10px auto; /* breathing space */
        width: 100%;
    }

    .recaptcha-wrapper .g-recaptcha {
        transform: scale(0.65);      /* shrink widget */
        transform-origin: center; /* scale from center to stay centered */
    }
}

/* ======================================
   Services Section
   ====================================== */
.services-container {
    width: 90%;
    max-width: 1100px;
    margin: 80px auto;
    text-align: center;
    padding: 20px;
}

.services-container h2 {
    font-family: "Roboto", sans-serif;
    font-size: 2.2rem;
    margin-bottom: 40px;
    color: #333;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: #fff;
    padding: 30px;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-icon {
    font-size: 3rem;
    /* color: #0073e6; */
    
    color: #C0DBFC;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}
.service-card:hover .service-icon {
    color: #0c72ed;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    /* color: #222; */
    color: #031C3A;
}
.service-card p {
    font-size: 1rem;
    color: #555;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

/* Mobile responsiveness for services */
@media screen and (max-width: 650px) {
    .contact-container {
        padding: 20px;
    }
    .contact-container h2 {
        font-size: 1.3rem;
        margin-bottom: 20px;
    }

    .contact-left p {
        font-size: 1rem;
        line-height: 1.6;
        color: #333;
        text-align: center;
    }
    .contact-form {
        gap: 12px;
    }
    .submit-btn {
        font-size: 0.95rem;
        padding: 12px;
    }
    .services-container h2 {
        font-size: 1.8rem;
    }
    .service-card {
        padding: 20px;
    }
    .service-card h3 {
        font-size: 1.3rem;
    }
}
